A simple electricity API which allows to unify the transfer of energy between machines and generators.