mechanical energy generation