EMS Emulator
Purpose:
The purpose of the emulator is to provide a simulation environment to test the EMS SW and HW. The purpose is to evaluate different EMS functions and scenarios. Therefore, the EMS emulator is to be implemented in a separate device than the EMS itself.
The emulator shall simulate the internal grid (behind the meter), i.e. the grid meter, the inverter, the battery system, a load and eventually a solar panel installation.
Setup:
In a normal installation, the internal grid looks like this:
and the following equation applies: * P_grid = P_inverter + P_load + P_pv (we will assume that P_battery = P_load, i.e. without losses).
The emulator will communicate to the EMS on modbus TCP. In a real scenario, each device has its own ip address, in our case all the emulated devices will use the same ip address (the ip of the emulator). However, we will use different ports and create multiple modbus TCP clients. The EMS will be the modbus TCP server. The emulator will communicate with the BMS via CAN.
Simulations:
During a simulation: - P_pv can be set to constant power (sunny day) or 0W (night time). - P_load can be simulated as a constant load or with cyclic random profiles. - P_inverter is produced by EMS and is received by emulator over modbus. - P_grid is calculated according the equation above. - P_battery is sent on CAN to the EMS and is to be simulated as the battery power limits (constant).