On-grid inverters are designed to work with grid-tied solar power systems, and they are not typically used with generator sets. However, in some cases, on-grid inverters may be used with generator sets to provide backup power during a grid outage. When an on-grid inverter is operating on a generator, there are several parameters that it may sense to ensure proper operation and protect the system components: Voltage and Frequency: On-grid inverters are designed to operate within a specific voltage and frequency range. When operating on a generator, the inverter will sense the voltage and frequency of the generator's output to ensure that it is within the allowable range. If the voltage or frequency exceeds the allowable range, the inverter may shut down to protect itself and other system components. Power Factor: On-grid inverters are designed to have a power factor of unity (1.0), which means that they provide a balanced amount of real power and reactive power. When operating on a generator, the inverter may sense the power factor of the generator's output and adjust its own power factor to match. Synchronization: When the grid is present, on-grid inverters synchronize their output with the grid's voltage and frequency. When operating on a generator, the inverter may sense the generator's voltage and frequency and adjust its own output to synchronize with the generator. This is important to ensure that the inverter's output is in phase with the generator's output and to prevent damage to the inverter and other system components. Overall, when an on-grid inverter is operating on a generator, it will sense several parameters related to voltage, frequency, power factor, and synchronization to ensure proper operation and protect system components.