A stationary gas engine is a device that converts heat energy into mechanical energy. It has an input shaft and an output shaft. The input shaft is connected to the generator. The generator converts heat energy into electrical energy, which is then sent to the compressor. The engine’s output shaft is connected to the compressor, which converts electrical energy into mechanical work.