If the ESS is connected to a mains, the ESS must use P/Q regulation. The controller calculates the power (P) set point for the ESS based on the operating conditions. This set point is dynamic. The controller continuously transmits the power set point (at the speed allowed by the Modbus communication).