The energy calculation seems to be always positive and not take into account negatieve power.
Although current was negatieve and power too the energy is positive.
Also noticed that in a phase where current was pos at first and neg later the energy keeps adding which makes the energy calculation incorrect.
Energy is defined as a 32-bit float so it should be able to handle pos and negatieve loads.
Although current was negatieve and power too the energy is positive.
Also noticed that in a phase where current was pos at first and neg later the energy keeps adding which makes the energy calculation incorrect.
Energy is defined as a 32-bit float so it should be able to handle pos and negatieve loads.


