Hi Community,
We have a Grid, PV power plant, variable load and ESS we are monitoring using:
Meters:
A meter for readings from the Grid (Meter type: GRID)
A meter for readings from a PV (Meter type: PRODUCTION)
A meter for readings from a variable Load(Meter type: CONSUMPTION_METERED)
Other Components:
Ess
4 Modbus bridges for the meters and ESS.
We have the means to measure the components (grid, pv, load and ESS) independently. The expectation was that values from the respective components would also show up on the OpenEMS UI correctly. The readings for PV, Grid and ESS are displaying correctly, but the load value is incorrect by quite a lot.
The meter implementation we use is inherited from ElectricityMeter and we are only reading the Active and reactive Power channels. The same meter is used for the Grid, PV and load with the appropriate meter type. Is this the correct way to measure load?
To understand the (sometimes “non-intuitive”) logic in OpenEMS, please see, how the different measurements relate to each other. This is best seen in the Sum-Component:
var consumptionActivePower = TypeUtils.sum(essActivePowerSum, gridActivePowerSum, productionAcActivePowerSum);
i.e. Consumption is calculated as the sum of Energy Storage System (ESS) (where discharge is positive), Grid (where buying from grid is positive) and Production (AC-side only, should be always positive).
This general formula unfortunately causes problems when using the same meter implementation to measure productions and consumptions, because one needs to be inverted.
We have a Grid, PV power plant, variable load and ESS we are monitoring using: