The engine 18 is preferably an internal combustion engine, such as a diesel engine configured to both provide mechanical power to the generator 20 and to receive mechanical power from generator such that may function as a mechanical engine brake or air compressor.