This is NOT a simulation, this is the real thing.
System Configuration.
SDM630 meter
Sinexcel 30kW inverter which is talking CAN bus directly to the BMS. The inverter uses the new V120 protocol, I have modified the existing 'Sinexcel Battery Inverter 'component to speak the new protocol.
Using ‘ESS Generic Managed Symmetric’ for the ESS.
Using ‘Control ESS Fix Active Power’ set to -6000W to charge the battery.
There is an additional 2kW load.
To satisfy the ESS need for a battery, we are using a ‘Simulator Battery’ component.
That is, the Storage System is a ‘Simulator Battery’ component.
Below are some displays from our working system.
The grid value is correct at 8 kW, it is read from an SDM630 meter.
The Storage System value is wrong, it should be 6kW, not 0.6kW and it should be Charge power (not discharge).
Load of 8.6 kW value has been calculated (I assume) from 8 + 0.6 but it should read 8 - 6 = 2 kW. (there is a 2kW load)
ISSUES summary
The Storage system values needs the sign reversed and multiplied by 10.
Please point me in the right direction to fix this.
Thanks.
Here is debug output from Edge.
2023-10-16T22:13:07,179 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Ok Ess SoC:80 %|L:600 W Grid:8032 W Consumption:8632 W] batteryInverter0[Running|Grid:On-Grid] ess0[Started|SoC:80 %|L:600 W|Allowed:-30000;8313] meter0[L:8032 W]
2023-10-16T22:13:08,182 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Ok Ess SoC:80 %|L:600 W Grid:8031 W Consumption:8631 W] batteryInverter0[Running|Grid:On-Grid] ess0[Started|SoC:80 %|L:600 W|Allowed:-30000;8313] meter0[L:8031 W]
2023-10-16T22:13:09,182 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Ok Ess SoC:80 %|L:590 W Grid:8034 W Consumption:8624 W] batteryInverter0[Running|Grid:On-Grid] ess0[Started|SoC:80 %|L:590 W|Allowed:-30000;8313] meter0[L:8034 W]
2023-10-16T22:13:10,210 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Ok Ess SoC:80 %|L:600 W Grid:8028 W Consumption:8628 W] batteryInverter0[Running|Grid:On-Grid] ess0[Started|SoC:80 %|L:600 W|Allowed:-30000;8313] meter0[L:8028 W]
2023-10-16T22:13:11,193 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Ok Ess SoC:80 %|L:590 W Grid:8029 W Consumption:8619 W] batteryInverter0[Running|Grid:On-Grid] ess0[Started|SoC:80 %|L:590 W|Allowed:-30000;8313] meter0[L:8029 W]