Energy storage circuit control principle