Large battery energy storage system connected to the distribution grid