Grid-forming BESS