Energy meter replacement with retention of historical data
Posted: Wednesday 05 January 2022 8:14
I am in the process of preparing an upgrade of my electrical installation from single phase to 3-phase supply. I currently have an Aotec energy meter in use, and will have to replace it with the 3-phase model. I would like to do so without losing the historical data I have accumulated. How do I do that?
As a matter of fact the situation is slightly more complex than described above. In fact I have two single-phase energy meters in use at the moment: one that measures grid energy and another that measures solar energy. I have created a dummy energy meter as well, and a LUA script calculates energy consumption as the difference between the two measured values. Since the solar inverter is and will remain single-phase, I will also continue using that energy meter.
So I guess that I have two goals:
1. replace the grid energy meter such that the historical readings of the single-phase meter become associated with the 3-phase meter;
2. modify the LUA script such that the energy consumption is calculated from the new 3-phase grid energy meter reading less the existing single-phase solar energy meter.
Any hints would be gratefully received.
As a matter of fact the situation is slightly more complex than described above. In fact I have two single-phase energy meters in use at the moment: one that measures grid energy and another that measures solar energy. I have created a dummy energy meter as well, and a LUA script calculates energy consumption as the difference between the two measured values. Since the solar inverter is and will remain single-phase, I will also continue using that energy meter.
So I guess that I have two goals:
1. replace the grid energy meter such that the historical readings of the single-phase meter become associated with the 3-phase meter;
2. modify the LUA script such that the energy consumption is calculated from the new 3-phase grid energy meter reading less the existing single-phase solar energy meter.
Any hints would be gratefully received.