Add PGenerator

Added a power generator which translates a Watt demand with a shaft
speed to a required torque.