fix #22 energy loop
Merge pull request #143 from HeisenBugDev/feature/22-fix-capacitor-enet-loop

Fix #22 energy loop