The Generator-Inverter Lockout: Why Hybrid Solar Systems Reject Backup Generators During Pakistani Load-Shedding

9/30/2026

It is a familiar scenario for many Pakistani homeowners and business owners: electricity load-shedding strikes during a rainy afternoon or thick winter fog in Punjab, solar generation plummets, and your lithium or tubular battery bank drains down to its safe limit. To keep the lights, fans, and refrigerators running, you pull the choke on your backup petrol or Sui Gas generator.

You connect the generator output to your hybrid inverter’s AC input port, expecting the inverter to seamlessly take over, run your household loads, and charge the batteries.

Instead, the inverter relay clicks repeatedly, the screen flashes "AC Grid Out of Range" or "Waveform Abnormal," and the system refuses to accept power from the generator. Your loads turn off, leaving you in the dark despite having a functional generator running outside.

At ApnaSolar, this is one of the most common service calls we receive during prolonged outage periods. The issue is rarely a broken inverter or a dead generator; it is a fundamental mismatch between how hybrid solar inverters evaluate power quality and how small combustion generators produce it.

Why Hybrid Inverters Reject Generator Power

Modern hybrid inverters (such as Deye, Inverex Nitrox, Solis, and Sunsynk) are precise microprocessor-driven devices designed primarily to synchronize with stable national electrical grids (LESCO, K-Electric, IESCO, etc.). They constantly monitor incoming AC power across three strict parameters before closing their internal relays to transfer load or draw charge:

  1. Frequency Stability (Hz): In Pakistan, standard grid power runs at 50 Hz. Hybrid inverters typically enforce a tight factory tolerance window between 49.5 Hz and 50.5 Hz. Standard 3kW to 10kW residential petrol or gas generators use mechanical engine governors. As heavy appliances turn on and off, the engine speed oscillates, causing output frequency to drift violently between 45 Hz and 58 Hz. The inverter detects this frequency "hunting" as dirty power and immediately disconnects to protect internal components.
  1. Voltage Waveform Distortion (THD): Commercial grid power delivers a smooth pure sine wave. Inexpensive or uncalibrated portable generators deliver a distorted sine wave with high Total Harmonic Distortion (THD), often exceeding 15% to 20%. Inverter safety chips flag this high THD as grid corruption, preventing connection.
  1. The Back-Feed Protection Safety Check: A hybrid inverter capable of net-metering is engineered never to push solar power back into an unpowered grid. When connected to a generator, if solar generation suddenly spikes due to a clearing cloud, the inverter might accidentally attempt to export excess power out through its AC input terminal. Standard generators cannot absorb reverse power; doing so can destroy the generator's alternator. To prevent this catastrophe, smart inverters perform strict reverse-current handshake checks before accepting the AC source.

How to Resolve the Generator Lockout

Fixing this lockout does not require buying a brand-new industrial generator. In most cases, proper commissioning and simple setting adjustments resolve the conflict.

#### 1. Change Inverter Input Mode to "Generator Mode" By default, hybrid inverters ship in "Grid Mode" with tight voltage and frequency limits. Access your inverter’s system settings menu (or ask your installer to do so via the technician menu) and switch the AC input profile from "Grid" or "UPS" to "Generator" (GEN).

Enabling Generator Mode widens the acceptable frequency window (typically expanding it from 45 Hz–65 Hz) and relaxes the voltage threshold (allowing 140V–280V), preventing the inverter from dropping the connection during minor engine speed drops.

#### 2. Set the Maximum AC Input Current A typical 5kW hybrid inverter charging a depleted battery while running home loads can draw up to 25–30 Amperes from its AC source. If your backup gas generator is only rated for 3.5kW (roughly 15A continuous), the inverter will instantly stall the generator engine the second the relay closes.

You must manually cap the "Max AC Input Current" or "Max Charge Current from GEN" in the inverter settings to match your generator’s continuous output limit. For a 3kW generator, limit the charging current to 10A–12A.

#### 3. Calibrate the Engine Governor and AVR If your generator uses an Automatic Voltage Regulator (AVR), ensure it is outputting 220V–230V under no load. Use a digital multimeter with frequency readout to check the generator's idle speed. Adjust the mechanical governor spring or throttle screw on the engine so it runs steadily at 51 Hz with zero load, dropping to roughly 49 Hz when a 50% load is applied.

#### 4. Utilize the Dedicated GEN Port Avoid feeding your generator directly into the inverter’s primary "GRID" port if your inverter model features a dedicated "GEN" input port. Dedicated generator ports utilize built-in frequency filtering algorithms and automatically disable net-metering export features on that line, ensuring zero risk of backfeeding power into your alternator.

Final Thoughts

A hybrid solar system should offer complete peace of mind, even during multiday winter fog or extreme summer grid failures. If your generator fails to sync with your solar system, avoid force-bypassing the inverter with manual changover switches, as this bypasses critical surge protections.

By properly matching your inverter’s software parameters to your generator’s hardware capabilities, you ensure continuous, safe, and automated backup power whenever the Pakistani grid drops out.