I am using ModbusTCP to program a battery control algorithm. I am looking for a way to track energy/power stored in the batteries.
There are no such registers, as far as I can see (with registers 1030-1038, I can track the cumulative energy produced by the PV installation; with 2603-2605 I can track the cumulative energy taken from the grid,etc). Does anybody know how I can track the energy charged/discharged in the battery.?
I could measure the battery power every second/minutre and sum them over time (integrate the curve) but that is a tedious process.
Any suggestions?