This video shows a facility energy management system (EMS) for a 100 MW / 200 MWh battery energy storage system (BESS) taking control commands from a grid operator's control centre over IEC 60870-5-104. The plant controller was built in ErgoTech's MIStudio from configured components, not custom code, and runs in the MIX runtime. The battery plant is fictional and simulated, set in Peninsular Malaysia, and the controller is written to the Malaysian Grid System Operator's (GSO) published EMS interfacing guideline for standalone BESS (2024).
What the video shows
A grid-connected battery plant does more than charge and discharge on a schedule. It answers to the control centre, follows setpoints at permitted ramp rates, responds to frequency excursions within seconds, and keeps delivering when equipment inside the plant fails. The video drives the plant through its own operator screens in a web browser. Every value on screen comes from the running plant controller and its simulator.
The grid operator is played by a control-centre simulator standing in for the National Load Despatch Centre (NLDC). It connects to the plant over two IEC 60870-5-104 links and issues active power control (APC), automatic HV voltage control (AHVC), run-back and run-up commands.
The video covers six operating events:
- Bumpless transfer of control. The control centre matches its setpoint to the plant's present output and requests control. The plant transfers from LOCAL to NLDC control with no step in output.
- Setpoint following with a ramp limit. NLDC sends a 50 MW setpoint, and the plant ramps to it at 25 MW per minute. The active power control display shows the control location, the setpoint in use and each transfer in the event log.
- Frequency response (droop). Grid frequency dips to 49.70 Hz. Droop response adds output on top of NLDC's setpoint and withdraws it as frequency recovers.
- PCS trip. One of the plant's twenty power conversion systems (PCS) trips. The other nineteen take up its share, so the plant still delivers the setpoint.
- Battery container cooling failure. A container loses its cooling. The battery screens show container temperatures and cell voltage spread, while automatic HV voltage control holds the 132 kV busbar.
- Run-back. The plant operator arms run-back, and the control centre triggers it after a line trip. Output falls by the armed 50 MW at 25 MW per minute, and control reverts to LOCAL.
The plant's single-line diagram runs from the twenty PCS blocks and their containers, through the 132/33 kV transformer, to the utility interface.
Chapters
- 0:00 Intro
- 0:08 Two simulated plants in Peninsular Malaysia
- 0:31 Control centre simulator: APC online, bumpless transfer
- 0:51 A 50 MW setpoint and its ramp
- 1:05 The plant's active power control display
- 1:16 Single-line diagram
- 1:28 Frequency dip: droop response
- 1:42 PCS trip
- 2:03 Cooling failure, battery temperatures and voltage control
- 2:31 Run-back
- 3:04 The making of Plant B's screen
- 3:11 Prompt 1: build the screen
- 4:03 Prompt 2: add it to every screen's navigation
- 4:53 Prompt 3: deploy to MIX
- 5:25 Plant B's new screen running in MIX
Frequently asked questions
What protocol connects the battery plant to the control centre?
IEC 60870-5-104, the telecontrol protocol used between grid control centres and power plants. The control-centre simulator connects to the plant over two IEC 104 links.
Is this a real battery plant?
No. Both plants are fictional and simulated, and no real battery has been driven by this controller.
What is MIStudio?
MIStudio is an industrial automation, SCADA/HMI, DataOps and application engineering platform that enables engineers and LLMs to build, inspect and maintain industrial applications using proven software components. MIX is the runtime the applications are deployed to, and its screens run in any web browser.
Which grid code is the controller written to?
The GSO's published EMS interfacing guideline for standalone BESS (2024). It covers active power control, droop, run-back and run-up, idle mode and automatic HV voltage control.
Related video: The Making of a BESS Screen: Claude Builds It in MIStudio, in which an AI agent adds a screen for a second plant to this project in three prompts.
SECS/GEM