Investigation of a Novel Mechanical to Thermal Energy Converter Based on the Inverse Problem of Electric Machines