A method to detect an operation condition of a compressor of a transport refrigeration system comprising: obtaining an operation parameter of a generator set, wherein the generator set includes a prime mover that is configured to drive a generator that supplies power to the compressor; and determining an operation parameter pattern based on the operation parameter over a period of time; characterized by determining whether the operation parameter pattern includes a periodic fluctuation of the operation parameter over the period of time, wherein the periodic fluctuation of the operation parameter is indicative of a periodical load/unload duty cycle of the compressor; determining a first operation condition of the compressor when the operation parameter pattern lacks the periodic fluctuation of the operation parameter over the period of time; determining a second operation condition of the compressor that is different from the first operation condition of the compressor when the operation parameter pattern includes the periodic fluctuation of the operation parameter over the period of time, wherein the second operation condition is when the compressor has the periodical load/unload duty cycle occurring when the transport refrigeration system approaches or has reached a temperature setpoint; and adjusting a speed of the prime mover from a first speed to a second speed that is lower than the first speed when the second operation condition of the compressor is determined. obtaining an operation parameter of a generator set, wherein the generator set includes a prime mover that is configured to drive a generator that supplies power to the compressor; and determining an operation parameter pattern based on the operation parameter over a period of time; characterized by determining whether the operation parameter pattern includes a periodic fluctuation of the operation parameter over the period of time, wherein the periodic fluctuation of the operation parameter is indicative of a periodical load/unload duty cycle of the compressor; determining a first operation condition of the compressor when the operation parameter pattern lacks the periodic fluctuation of the operation parameter over the period of time; determining a second operation condition of the compressor that is different from the first operation condition of the compressor when the operation parameter pattern includes the periodic fluctuation of the operation parameter over the period of time, wherein the second operation condition is when the compressor has the periodical load/unload duty cycle occurring when the transport refrigeration system approaches or has reached a temperature setpoint; and adjusting a speed of the prime mover from a first speed to a second speed that is lower than the first speed when the second operation condition of the compressor is determined. determining a first operation condition of the compressor when the operation parameter pattern lacks the periodic fluctuation of the operation parameter over the period of time; determining a second operation condition of the compressor that is different from the first operation condition of the compressor when the operation parameter pattern includes the periodic fluctuation of the operation parameter over the period of time, wherein the second operation condition is when the compressor has the periodical load/unload duty cycle occurring when the transport refrigeration system approaches or has reached a temperature setpoint; and adjusting a speed of the prime mover from a first speed to a second speed that is lower than the first speed when the second operation condition of the compressor is determined.