You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While writing an implementation for a meter I notices active energy production and consumption seem to be swapped in historic view.
In my meter implementation I do not use the calculate functions as I read the values for ACTIVE_CONSUMPTION_ENERGY and ACTIVE_PRODUCTION_ENERGY from the meter. Exporting the meter data shows me e.g. ActiveConsumptionEnergy 84130 Wh_Σ and ActiveProductionEnergy 13460 Wh_Σ which matches the display of the meter for Wirkleistung (Bezug) and Wirkleistung (Export), and also reality as PV production is not so high at the moment. The meter is placed right after the real grid meter and therefor I configured it as GRID meter.
As you can see the darker line had a lot of consumption during night but the legend only shows 0,6 in contrast to the violet line showing 15,7. But there was nearly no production during night/morning.
Some quick searching led me to openems/io.openems.edge.core/src/io/openems/edge/core/sum/SumImpl.java at line 286 and 287 could be swapped? I'm not that deep in openems, but just by the wording I would assign Buy with Consumption and Sell with Production on a grid meter. Of course this is a point of view ... but the graph does not match legend.
Screenshots
Operating System
No response
How to reproduce the Error?
Write a meter implementation and fill ACTIVE_CONSUMPTION_ENERGY and ACTIVE_PRODUCTION_ENERGY like described above.
The text was updated successfully, but these errors were encountered:
Description
While writing an implementation for a meter I notices active energy production and consumption seem to be swapped in historic view.
In my meter implementation I do not use the calculate functions as I read the values for ACTIVE_CONSUMPTION_ENERGY and ACTIVE_PRODUCTION_ENERGY from the meter. Exporting the meter data shows me e.g. ActiveConsumptionEnergy 84130 Wh_Σ and ActiveProductionEnergy 13460 Wh_Σ which matches the display of the meter for Wirkleistung (Bezug) and Wirkleistung (Export), and also reality as PV production is not so high at the moment. The meter is placed right after the real grid meter and therefor I configured it as GRID meter.
As you can see the darker line had a lot of consumption during night but the legend only shows 0,6 in contrast to the violet line showing 15,7. But there was nearly no production during night/morning.
Some quick searching led me to openems/io.openems.edge.core/src/io/openems/edge/core/sum/SumImpl.java at line 286 and 287 could be swapped? I'm not that deep in openems, but just by the wording I would assign Buy with Consumption and Sell with Production on a grid meter. Of course this is a point of view ... but the graph does not match legend.
Screenshots
Operating System
No response
How to reproduce the Error?
Write a meter implementation and fill ACTIVE_CONSUMPTION_ENERGY and ACTIVE_PRODUCTION_ENERGY like described above.
The text was updated successfully, but these errors were encountered: