A method and system for controlling an engine that drives a reciprocating
compressor, such as the large compressors used for natural gas
transmission. A controller receives data from the compressor representing
operation conditions, such as load step, suction pressure, and discharge
pressure. The controller then calculates engine control parameters, such
as air intake and spark timing, based on the compressor data to optimize
engine performance and emissions.