In one embodiment according to the invention, there is provided a method for generating electrical energy using a thermal cycle of a working gas. The method comprises using the motion of a piston in a cylinder, containing the working gas performing the thermal cycle, to electromagnetically induce current in an electrical circuit coupled to the cylinder; using the electrical circuit to store the electrical energy, produced by the current induced in the electrical circuit, in an electrical storage device; and using the electrical energy stored in the electrical storage device to electromagnetically provide a motive force to the piston. Cyclically using the electrical circuit to store the electrical energy and using the stored energy to provide a motive force to the piston effect a net positive average power transfer into the electrical storage device over the course of the thermal cycle.