Energy produced by a machine or a moving part