From OpenSCADAWiki
The "Energy (KWh)" field is the local absolute counter with saving at change, due to the limit of the counters in float resolution, that is saturation the source counter on value more 2000. For setting the local absolute counter added the "Set Energy, KWh" field and the source counter is reset at the month begin or achieving its value 1000.