EMS (Energy Management System) is a word becoming common and common in recent times especially because of the massive spread of renewable energy sources.

Often the EMS can be identified as a part of a SCADA (Supervisory Control and Data Acquisition) system and to be more accurate we can consider the EMS as the "logic controller component " contained into a SCADA system. 

EMS

A working model of  EMS Online Simulator is available  24/7

 

During EMS engineering/tuning phase, a big amount of resources / time is taken by testing the code.

For these purpose, a big improvement should come by introducing a C-HIL (controller hardware in the loop) simulator

 EMS C HIL

In this tutorial (and next) I'll reproduce a simplified model of an "Energy Storage-EMS C-HIL: this:

EMS C HIL Com

Where:

  • EMS : Codesys 3.5 SoftPLC Linux Controller (IEC61131 source code) + integrated HMI
  • PCS Simulator: Arduino MEGA 2560 r3 prototype board (C source code)
  • BMS Simulator: Arduino MEGA 2560 r3 prototype board (C source code)
  • Physical Grid: Modbus RTU frequency reader (prototype board)

to be continue on next tutorial...