Quick Answer: To size a backup generator for off-grid battery recharging, calculate the required DC battery charging power (P_DC = V_batt × I_charge), convert it to required AC input power by dividing by the inverter’s AC-to-DC conversion efficiency (η ≈ 0.93), add any concurrent AC pass-through loads (P_load), and convert the total power demand into generator apparent power (kVA) using the power factor (PF) and applicable derating factors. Proper sizing keeps the generator within the recommended 70% to 80% continuous load range and avoids engine glazing, excessive thermal stress, and inverter AC input rejection caused by unstable generator output.
In off-grid solar energy storage systems (ESS), the auxiliary generator serves as a backup power source to maintain system availability during extended periods of insufficient solar generation. When solar irradiance falls during extended winter periods or prolonged inclement weather, an AC generator must step in to recharge the lithium battery bank and keep critical facility loads operating.
However, sizing a backup generator for battery recharging requires a fundamental shift from traditional standby generator design. In standard standby applications, a generator simply tracks fluctuating building loads. In an off-grid battery storage system, the generator interacts simultaneously with an active hybrid inverter, an AC-to-DC battery charger, and dynamic pass-through loads.
Under-sizing a generator can lead to voltage sag, frequency instability, and hybrid inverter rejection of the AC input source. Oversizing a generator, on the other hand, causes long-term engine damage due to light-load engine glazing. This engineering guide explains the physical principles, mathematical formulas, hardware specifications, and automation control parameters required to correctly size diesel and gas generators for off-grid battery recharging.
1. Core Physics of Off-Grid Battery Recharging via AC Generator
1.1 The Dual Load Profile: Charging Power vs. Pass-Through Load
When an off-grid hybrid inverter detects an acceptable AC voltage and frequency from a generator at its AC input terminal, it enables AC input acceptance through its internal transfer switching mechanism. At this point, the generator is subjected to a dual load profile:
- AC-to-DC Battery Charging Load: The hybrid inverter’s internal charger draws AC power from the generator, converts it to DC power, and charges the 51.2V LiFePO₄ battery bank according to the configured charging current limit.
- AC Pass-Through Load: The inverter routes incoming generator power directly to the AC loads through its internal AC transfer path, supplying active facility appliances without converting the power through the battery DC bus.
Understanding this total combined demand is critical. The generator must supply both the battery charging power demand and the active AC loads connected to the inverter during the recharge cycle.
1.2 The Engine Glazing Risk: Why Oversizing Causes Failure
In off-grid engineering, excessive generator capacity does not always improve system performance. A common field error is installing an excessively large diesel generator (e.g., 20 kVA to power a system that only requires 5 kW of charging power) under the assumption that excess capacity provides safety.
Diesel engines are designed to operate under continuous mechanical load. When a diesel generator operates below 30% of its rated continuous capacity for extended periods, the cylinder pressure remains too low to establish an effective seal between the piston rings and cylinder walls. This operating condition can result in two major failure modes:
- Wet Stacking & Engine Glazing: Extended low-load operation can cause incomplete combustion, allowing unburnt fuel and combustion byproducts to accumulate in the exhaust system. Fuel deposits may also form hardened glaze layers on cylinder walls, reducing lubrication performance and accelerating engine wear.
- Reduced Fuel Efficiency: Internal combustion engines generally operate less efficiently at low load conditions. A generator operating at 20% load typically consumes more fuel per kilowatt-hour produced than a generator operating closer to its rated operating range.
Engineering Tip: Design the system so that the combined AC battery charging power and continuous pass-through load keep the generator operating within the recommended 70% to 80% continuous load range.
| Generator Load Level (% of Rated Power) | Engine Glazing & Wet Stacking Risk | Specific Fuel Efficiency | Suitable Continuous Application |
|---|---|---|---|
| 0% – 30% | Critical Risk | Very Low | Unsuitable (Rapid carbon buildup & failure) |
| 30% – 50% | Moderate Risk | Sub-optimal | Short-duration emergency standby only |
| 70% – 80% | Low Risk | Optimal Operating Band | Recommended Battery Recharging Target |
| 90% – 100% | Low Risk | High Stress | Peak support only (< 2 hours continuous) |
2. Mathematical Framework for Generator Capacity Calculations
To eliminate guesswork, generator sizing must follow a strict step-by-step mathematical derivation.
2.1 Step 1: Calculating Required DC Charging Power
First, calculate the actual DC power (P_DC) required to charge the battery bank at the inverter’s maximum configured charging current:
P_DC = V_batt × I_charge
Where:
- V_batt = Nominal DC system voltage (For standard 16S LiFePO4 battery architecture, nominal voltage is 51.2V DC).
- I_charge = Target DC charging current programmed into the inverter’s Energy Management System (EMS) in Amperes.
2.2 Step 2: Accounting for Inverter AC-to-DC Conversion Losses
No power conversion process is 100% efficient. When the hybrid inverter acts as an AC charger, internal transformer and semiconductor switching losses reduce power transfer efficiency. Calculate the required AC input power (P_AC_charge):
P_AC_charge = P_DC / η_inverter
Where:
- η_inverter = Inverter AC-to-DC conversion efficiency factor (Typically 0.93 for high-performance off-grid hybrid inverters).
2.3 Step 3: Factoring Concurrent Load Demand (Pass-Through)
Add the continuous electrical load (P_load_passthrough) expected to run while the generator is operating (e.g., refrigeration, water pumps, lighting, HVAC):
P_AC_total = P_AC_charge + P_load_passthrough
2.4 Step 4: Applying Derating Factors (Altitude, Temperature, Power Factor)
Generator nameplate ratings reflect Standard Temperature and Pressure (STP) conditions (typically 25°C at sea level) and assume a resistive load (Power Factor = 1.0). Real-world applications require four correction factors:
- Power Factor (PF): Commercial AC generators are rated in apparent power (kVA) based on a nominal inductive power factor of 0.8 lagging (PF = 0.8).
- Elevation Derating (k_alt): Naturally aspirated engines lose approximately 3.5% of output power per 300 meters (1,000 feet) of elevation above 100 meters above sea level.
- Temperature Derating (k_temp): Engines lose approximately 1% output power for every 5.5°C (10°F) rise above 25°C ambient temperature.
- Continuous Load Target (k_continuous): To prevent thermal fatigue and ensure long service life, continuous standby loads should not exceed 80% (k_continuous = 0.80) of the generator’s prime rating.
The complete equation for required generator apparent power (S_gen_kVA) is used as the final step in the generator sizing calculation:
S_gen_kVA = P_AC_total / (PF × k_alt × k_temp × k_continuous)
Derating Equation Matrix:
((V_batt × I_charge) / η_inverter) + P_load_passthrough
S_gen_kVA (kVA) = ───────────────────────────────────────────────────────────
PF × k_alt × k_temp × k_continuous
Worked Sizing Example:
- Battery Bank: 51.2V nominal LiFePO4.
- Target DC Charge Current: 100A DC.
- Inverter AC-to-DC Efficiency: 93% (η_inverter = 0.93).
- Active Pass-Through Load: 2,000W (2.0 kW).
- Site Conditions: Elevation 100m, Ambient Temperature 25°C (k_alt = 1.0, k_temp = 1.0).
- Generator Ratings: PF = 0.8, k_continuous = 0.80.
- P_DC = 51.2V × 100A = 5,120W (5.12 kW)
- P_AC_charge = 5,120W / 0.93 = 5,505.38W (5.505 kW)
- P_AC_total = 5.505 kW + 2.0 kW = 7.505 kW
- S_gen_kVA = 7.505 kW / (0.8 × 1.0 × 1.0 × 0.80) = 7.505 / 0.64 = 11.72 kVA
Engineering Conclusion: A generator with a minimum prime continuous rating of 12 kVA (or ~10 kW continuous / 12 kW standby) is required for this installation.
| Altitude (m) | Ambient Temp (°C) | Altitude Derating (k_alt) | Temp Derating (k_temp) | Net Derating Multiplier |
| 0 – 100m | 25°C | 1.00 | 1.00 | 1.00 |
| 600m | 25°C | 0.94 | 1.00 | 0.94 |
| 1,200m | 35°C | 0.87 | 0.98 | 0.85 |
| 1,800m | 40°C | 0.80 | 0.97 | 0.78 |
3. Matching Generator Ratings with Hybrid Inverter Specifications
Different hybrid inverter models impose different generator loading requirements based on their maximum AC charging current, internal charging capacity, and connected AC load demand.
3.1 Sizing for 6kW Single MPPT Hybrid Inverters (100A AC Charge)
The Haven Deer ALL 486000 Pro is a 6kW 48V single-phase hybrid inverter with a maximum solar charging current of 100A DC and supports AC battery charging according to the configured charging parameters.
- Maximum DC Charging Output: 51.2V × 100A = 5,120W (5.12 kW)
- Required Generator AC Input (Charging Only): 5.12 kW / 0.93 = 5.505 kW
- Minimum Generator Continuous Rating (No Pass-Through Load): 5.505 kW / (0.8 × 0.80) = 8.6 kVA
- Minimum Generator Continuous Rating (With 3kW Pass-Through Load): (5.505 kW + 3.0 kW) / 0.64 = 13.3 kVA
If a smaller generator must be integrated due to site limitations, the installer must adjust the inverter charging current settings to reduce the generator loading demand and ensure the AC input remains within the generator’s continuous output capability.
3.2 Sizing for 12kW Dual MPPT Hybrid Inverters (160A AC Charge)
The Haven Deer ALL 4812000 Pro is a 12kW 48V hybrid inverter with dual independent MPPT channels and a maximum solar charging current of 160A DC, designed for higher-capacity residential and light commercial energy storage systems.
- Maximum DC Charging Output: 51.2V × 160A = 8,192W (8.192 kW)
- Required Generator AC Input (Charging Only): 8.192 kW / 0.93 = 8.808 kW
- Minimum Generator Continuous Rating (No Pass-Through Load): 8.808 kW / (0.8 × 0.80) = 13.76 kVA
- Minimum Generator Continuous Rating (With 3kW Pass-Through Load): (8.808 kW + 3.0 kW) / 0.64 = 18.45 kVA
For a 12kW hybrid inverter operating near its maximum configured charging current with active AC loads, a generator in the 15 kVA to 20 kVA range is typically selected based on the calculated continuous load requirement.
| Hybrid Inverter Model | Max AC Charging Current | Nominal DC Charging Power | Min. Generator Rating (Recharge Only) | Min. Generator Rating (+ 3kW Pass-Through Load) |
|---|---|---|---|---|
| ALL 486000 Pro (6kW) | 100A DC | 5.12 kW | 8.6 kVA | 13.3 kVA |
| ALL 4812000 Pro (12kW) | 160A DC | 8.19 kW | 13.8 kVA | 18.5 kVA |
Engineering Tip: When configuring systems with parallel inverters, each inverter charging circuit contributes to the total generator demand. The generator capacity should be calculated based on the combined AC charging power and connected load requirements.
4. Automated Generator Controls via Dry Contact Thresholds
To achieve automated off-grid operation, manual generator starting can be replaced with signal control managed by the hybrid inverter’s internal Energy Management System (EMS).
4.1 SOC vs. Voltage Relay Trigger Logic
Haven Deer hybrid inverters include a hardware Dry Contact relay interface with normally open (NO), normally closed (NC), and common (COM) potential-free contacts. This relay connects to the generator’s Automatic Generator Start (AGS) module to control start and stop signals.
While legacy systems often relied on battery voltage for generator triggering, lithium energy storage systems should use Battery State of Charge (SOC%) as the primary generator control parameter:
- Why Voltage Triggering Is Less Accurate on LiFePO₄ Batteries: Lithium Iron Phosphate chemistry exhibits a relatively flat discharge voltage curve. The 51.2V battery pack voltage changes only slightly across the main operating SOC range, making voltage-based estimation less accurate than BMS-reported SOC data. Heavy inductive motor startup currents can also create temporary voltage sag events that may trigger unnecessary generator starts.
- Optimal Parameter Trigger Configuration:
- Generator Start Relay Trigger: Programmed at Battery SOC < 20% (with a backup emergency voltage trigger set to 48.0V DC sustained for > 60 seconds).
- Generator Stop Relay Trigger: Programmed at Battery SOC ≥ 80% (with a backup voltage trigger configured according to the battery charging voltage settings).
+-------------------------------------------------------------------------------------------------------------------+
| AUTOMATION CONTROL FLOW LOGIC |
+-------------------------------------------------------------------------------------------------------------------+
[Battery SOC Drops < 20%] ──► [Inverter Closes Dry Contact Relay] ──► [AGS Module Initiates Engine Crank]
│
▼
[Battery SOC Reaches 80%] ◄── [Inverter Accepts AC & Charges Battery] ◄── [Generator Stabilizes & Supplies AC Power]
│
▼
[Inverter Opens Dry Contact Relay] ──► [AGS Initiates Engine Cool-Down Sequence] ──► [Generator Shut-Off]
Configuring the stop trigger at 80% SOC rather than 100% reduces generator operating time during the low-current charging stage. As LiFePO₄ batteries approach full charge, charging current gradually decreases during the voltage regulation stage. Solar PV generation can complete the remaining charging process when available.
| Parameter Setting | Recommended Target | Engineering Purpose |
|---|---|---|
| Generator Auto-Start (SOC) | 20% SOC | Prevents deep battery discharge while maintaining reserve capacity. |
| Generator Auto-Start (Voltage) | 48.0V DC | Hardware protection backup against BMS communication loss. |
| Generator Auto-Stop (SOC) | 80% SOC | Avoids low-current absorption phase; maximizes fuel efficiency. |
| Generator Auto-Stop (Voltage) | 56.0V DC | Secondary voltage-based charging limit reference. |
| Warm-Up Delay Time | 60–120 Seconds | Allows engine thermal stability and voltage stabilization before load connection. |
| Cool-Down Delay Time | 180–300 Seconds | Cools turbochargers and engine block without load before shutdown. |
4.2 Shared AC Terminal Switching Protocol
Off-grid hybrid inverters typically utilize a single AC input connection terminal to accept external AC power.
Common Mistake: Connecting both a Utility Grid source and a Backup Generator directly in parallel to the inverter’s single AC input terminal without an isolation device.
Connecting two unsynchronized AC power sources to the same input terminal can cause abnormal current flow, AC faults, and damage to the inverter’s internal transfer switching components. If an off-grid site has access to a weak utility grid alongside a backup generator, an external Manual or Automatic Transfer Switch (ATS) must be installed upstream of the inverter’s AC input port to guarantee physical isolation between the two AC sources.
5. Engineering Best Practices & Commissioning Checklist
5.1 Fuel Efficiency Optimization & THD Compliance
Even if the generator power rating (kVA) is calculated correctly, electrical power quality issues can prevent the hybrid inverter from accepting the generator AC input:
- Total Harmonic Distortion (THD < 5%): Low-quality generators may produce distorted AC waveforms with high THD levels. Hybrid inverter control electronics monitor AC waveform quality before accepting the generator input. If waveform distortion exceeds the inverter acceptance range, the inverter may reject the generator source and prevent battery charging. Specify generators with stable voltage regulation and THD levels compatible with the inverter input requirements.
- Frequency Acceptance Window: Generator frequency must remain stable during load transitions. Hybrid inverters typically require a stable nominal 50 Hz or 60 Hz AC input within the configured acceptance range. Ensure the generator governor can respond quickly to sudden load changes.
- Neutral-Ground (N-G) Bonding Alignment: The generator neutral and protective earth conductors must be configured according to applicable local electrical codes. Proper N-G bonding coordination prevents grounding faults, nuisance RCD trips, and abnormal protection behavior during generator pass-through operation.
5-Point Pre-Commissioning Checklist for Installers:
- THD & Voltage Verification: Measure generator AC output voltage and THD under a 50% resistive load using a power quality analyzer prior to connecting to the inverter. Confirm THD < 5%.
- Dry Contact Control Wiring: Verify potential-free relay wiring between inverter dry contact terminals and generator AGS module. Test continuity during simulated manual relay closure.
- EMS Parameter Configuration: Program the inverter’s maximum AC charging current according to the calculated generator continuous output capability and verify that the charging demand remains within the generator operating limit.
- N-G Bonding Continuity Check: Test neutral-to-ground resistance during active generator pass-through mode to ensure system earthing integrity.
- Step-Load Testing: Initiate an auto-start cycle under representative load conditions. Observe frequency stability during transfer and verify that the generator maintains stable output during initial load pickup.
Generator-Inverter Field Troubleshooting Guide:
| Symptom / Error Code | Root Cause | Engineering Remediation |
|---|---|---|
| Inverter continuously flashes “AC Input Abnormal” and rejects generator. | Generator THD > 5% or frequency drifting outside 45–65 Hz range. | Adjust generator engine governor speed; install an AVR kit, or upgrade to a generator with improved AC waveform quality. |
| Generator stalls or trips breaker immediately when transfer relay closes. | Inverter AC charge current limit is set higher than generator capacity. | Access inverter settings; reduce AC charging current parameter according to generator capability. |
| Generator turns on but never turns off automatically. | Trigger logic is configured incorrectly or the stop threshold is not reached. | Reconfigure EMS settings using SOC-based auto-stop control with closed-loop BMS communication. |
| Black smoke and oil deposits from generator exhaust (Wet Stacking). | Generator is oversized and operating below the recommended continuous load range. | Increase generator loading through higher battery charging demand or adjust the generator selection to better match the system power requirement. |
6. Frequently Asked Questions
Why does my hybrid inverter reject power from my backup generator?
A hybrid inverter monitors AC voltage, frequency, and waveform quality before accepting generator power. If the generator produces excessive Total Harmonic Distortion (THD), unstable voltage, or frequency deviations outside the inverter acceptance range, the inverter’s EMS may reject the AC input source to protect connected loads.
Can I use a small 3kW generator to charge a 10kWh LiFePO4 battery bank?
Yes, but the inverter’s AC charging current must be reduced according to the generator’s continuous output capability. A 3kW generator can only support a limited charging power level after considering conversion losses and other connected AC loads. On a 51.2V DC system, the configured charging current should be calculated according to the available generator power to avoid overloading the AC source.
What is engine glazing and how do off-grid battery systems cause it?
Engine glazing occurs when an internal combustion generator operates below approximately 30% of its continuous output rating for extended periods. Low-load operation can cause incomplete combustion and fuel deposits on cylinder surfaces, reducing engine efficiency and accelerating wear. In off-grid systems, this condition may occur when an oversized generator is selected for a relatively small charging requirement.
Should generator auto-start trigger on battery voltage or SOC%?
Automated generator start signals should primarily use Battery State of Charge (SOC%) information. LiFePO₄ batteries have a relatively flat discharge voltage curve, making voltage-based estimation less accurate across the main operating range. Voltage triggers can be configured as secondary protection references, while BMS-reported SOC provides the primary control signal.
Does the generator power loads directly or pass through the inverter?
Power flows into the inverter’s AC input port, where the internal transfer mechanism supplies connected AC loads through the pass-through path. At the same time, the inverter’s AC-to-DC charging circuit draws part of the available generator power to recharge the battery bank. The total generator output must support both charging demand and connected AC loads simultaneously.
Can I connect both Utility Grid and Generator to the same inverter AC input?
No. Off-grid hybrid inverters typically use a shared AC input terminal for external AC sources. Utility grid and generator sources must not be directly connected in parallel to the same input without an isolation device. An external Manual or Automatic Transfer Switch (ATS) must be installed upstream when both AC sources are available at the site.
What generator power factor should be used in sizing calculations?
Many industrial diesel and gas generators use a nominal Power Factor of 0.8 lagging for kVA ratings. When converting required active power (kW) into generator apparent power (kVA), apply the generator’s rated power factor according to the manufacturer specifications.
Why is an inverter generator better than a standard framing generator for off-grid systems?
Inverter generators electronically regulate their AC output and can provide stable voltage and frequency characteristics suitable for sensitive electronic loads. Conventional generators rely primarily on engine speed regulation and may require additional voltage regulation or waveform quality verification before integration with hybrid inverters.
How long does it take a generator to recharge a 15kWh battery bank?
Recharge time depends on the configured DC charging current, battery capacity, and charging efficiency. With a Haven Deer 12kW hybrid inverter configured for a 100A DC charging current (~5.12 kW DC power), the required generator operating time can be estimated based on the actual energy required and system conversion losses.
How does site altitude affect generator sizing for off-grid sites?
Naturally aspirated internal combustion engines lose available output power at higher elevations due to reduced air density. An altitude derating factor should be included in the generator sizing calculation to prevent overloading when operating at elevated sites.
7. Need Assistance Sizing Generator & Battery Storage Kits?
Avoid generator sizing errors and system integration issues. Connect with Haven Deer Application Engineers for a comprehensive Single-Line Diagram (SLD) and System Sizing Review.
Request Engineering Review & Customized Solution