Ok, this seems too simple which is perhaps how I overlooked it.
With no ESS power, Grid = Consumption.
With ESS power supplied, which I presume IS measured and provided by the ESS…
Consumption = ESS + Grid
Consumption is calculated… not measured.
BUT, how is the CSV file data being used in the simulation after you start the Controller ESS Balancing?
I don’t see how this reflects a real system? If you push power in from the ESS, the meter reading goes down… so how is the data from the CSV file being used if it’s not the meter reading?
Ok… I guess the Simulator Grid Meter Acting not like a real meter, but using the data from the ESS and CSV, to produce the Grid result.
perhaps this topic helps you to understand the simulation better.
The system is not meant to make SIMULATIONS, it is just for testing propose. The simulations should be improved, but cause everybody is fokused on real Systems, there is no time. But feel free and build a good fitting simulation.