When the power goes out, most households and small businesses in Africa and the Middle East reach for one of two solutions: a diesel generator, or a battery-based energy storage system (ESS). Both keep the lights on. They differ sharply in what they cost to run, what they can start, and how much attention they need.
This guide compares the two on the factors that actually decide the purchase, without sales language.
What each option actually does
A diesel generator converts fuel into electricity on demand. Its output is limited by engine size, and it produces power only while it is running.
A home energy storage system stores electricity — from solar panels, from the grid, or from a generator — in a battery bank, and discharges it through an inverter. It produces no power of its own; it moves energy in time.
This single difference explains most of the cost behaviour below: a generator burns money every hour it runs, while an ESS spends its cost upfront and then only pays for the electricity it stored.
The six factors that decide the choice
1. Cost per kWh of electricity you actually use
Generator fuel consumption is usually quoted in litres per hour, which is not very useful for comparison. Converted to energy terms, a typical small diesel genset running at moderate load consumes roughly 0.3–0.4 litres of diesel per kWh delivered. Actual figures vary with engine size, load factor and maintenance condition.
That gives you a simple formula:
Cost per kWh (generator) = fuel used per kWh × your local diesel price
+ oil, filters and servicing
+ eventual engine overhaul or replacement
An ESS has a different cost shape:
Cost per kWh (battery) = (battery price ÷ [cycle life × usable capacity])
+ cost of the electricity used to charge it
If the battery is charged from solar panels, the second term is close to zero after the panels are paid for. If it is charged from the grid, it is simply your tariff.
The practical consequence: for short daily outages, the battery wins on running cost in almost every case. For outages lasting many consecutive days, a generator that can be refuelled in two minutes still has an advantage that no battery can match.
2. How long and how often the power is out
Outage pattern matters more than outage length:
| Outage pattern | Better fit | Why |
|---|---|---|
| 1–4 hours, most days | ESS | Recharges between outages; no fuel handling |
| 6–12 hours, occasional | ESS with solar charging | Daytime generation refills the battery |
| 2–5 days, rare | Generator or hybrid | Battery capacity for multi-day outage is expensive |
| Unpredictable, weeks at a time | Generator as backup of the backup | Refuelling is faster than recharging |
3. Surge power and motor starting
This is the point most buyers get wrong. A 2.5 kW water pump does not draw 2.5 kW when it starts — an induction motor can draw three to seven times its running power for a second or two.
- A generator is often specified by kVA and can be oversized cheaply, but an undersized genset will stall or trip on motor start.
- An inverter-based ESS is specified by continuous and surge rating. A unit with a 3 kW continuous rating and a 6 kW surge rating for a few seconds will start a pump that a 3 kW generator struggles with — because the battery can deliver surge current instantly, while an engine has to accelerate.
Always check both numbers on the inverter datasheet, and size for the surge, not the running load. (We covered this in detail in Hybrid Solar Plus Storage Systems and How Resistive and Inductive Loads Affect Them.)
4. Noise, fumes and where it can be installed
A generator needs outdoor space, exhaust clearance, and fuel storage. Noise levels for portable diesel sets are typically loud enough that neighbours will notice.
A battery ESS is silent and produces no exhaust, so it can sit indoors — in a utility room, garage or shop — which is often the deciding factor for apartments and urban shops.
5. Maintenance and service intervals
| Diesel generator | Battery ESS | |
|---|---|---|
| Routine work | Oil and filter changes, fuel system care, periodic test runs | Firmware/setting checks, keeping terminals clean and dry |
| If left unused | Fuel degrades, starting problems | Self-discharge only; holds charge for weeks |
| Typical wear items | Engine, alternator, starter battery | Cells degrade gradually with cycles |
| Skill needed | Mechanical | Electrical, mostly at installation |
A generator that is not run regularly tends to fail exactly when you need it. This is the most common complaint from owners in markets where outages are irregular.
6. Refuelling versus recharging
Fuel is energy-dense and portable: five litres of diesel carries a large amount of energy and can be carried in by hand. Batteries need hours of sunshine or grid time to refill.
If your location has reliable sunshine, this rarely matters. If you face a week of heavy cloud combined with long outages, it matters a great deal.
Where a generator still wins
Being honest about this helps you plan correctly. A generator is still the better tool when:
- You need very high power for long periods — welding equipment, large compressors, workshop machinery.
- Outages routinely exceed the storage capacity you can afford.
- The site has no solar resource — a shaded apartment balcony, for example.
- Your upfront budget is very limited and you accept higher running cost.
- The load includes equipment that only tolerates generator-grade output (rare, but some older motor-driven tools are sensitive to inverter waveforms).
The hybrid option
For many homes and small businesses the best answer is not either/or. A common and practical configuration is:
- Solar panels charge the battery during the day.
- The ESS carries the daily load and short outages silently.
- A generator covers the rare multi-day outage and can also charge the battery through the inverter/charger.
In this arrangement the generator runs far fewer hours, so its fuel and maintenance cost drop sharply, and the battery does not need to be sized for the worst-case outage — only for the typical one.
Quick sizing guide
Add up what you need to run during an outage, then check surge:
| Load during outage | Typical running power | Suggested ESS continuous rating |
|---|---|---|
| Lights, fans, TV, phone charging | 200–400 W | 1 kW class — see the 1.2 kW + 2.56 kWh all-in-one unit |
| Above plus refrigerator | 400–800 W | 2–3 kW class — see the ESS2K5 2.5 kW unit |
| Above plus 1 HP water pump | 1.2–2 kW | 3–5 kW class with adequate surge rating |
| Whole home incl. air conditioning | 3–6 kW | 6.5 kW class and above — see solar system solutions |
For runtime, divide usable battery capacity (kWh) by your average running load (kW). A 4 kWh battery running a 400 W average load gives roughly 8–10 hours in practice, allowing for inverter losses and depth-of-discharge limits.
If you want to see what a 2.5 kW unit actually runs in practice, we measured it: What Can a 2.5kW 4kWh Plug-and-Play Energy Storage System Run.
Which one should you choose?
Choose an energy storage system if your outages are frequent but mostly short, you have roof or yard space for panels, you value silence, and you want predictable running cost.
Choose a diesel generator if outages are rare but very long, you need very high power occasionally, or solar access is poor.
Choose both if the cost of a power cut is higher than the cost of the equipment — for clinics, cold storage, and businesses where downtime loses money.
Browse our energy storage systems and complete solar system solutions to see configurations by size, or contact us with your load list and outage pattern for a sizing check.
FAQ
Is a battery energy storage system cheaper than running a generator?
For frequent, short outages, usually yes. A generator burns fuel every hour it runs, so its cost keeps accumulating. A battery's cost is mostly paid upfront, and if it is charged from solar panels the energy itself is free. The comparison flips when outages last several consecutive days and the battery would need to be very large to cover them.
How long will a 5 kWh battery run my home during an outage?
Divide usable capacity by average load. At a 500 W average load, 5 kWh gives roughly 8–10 hours in practice, after inverter losses and the depth-of-discharge limit. At 1 kW average load, expect around 4–5 hours. We worked through the same calculation for a smaller pack in How Long Can a 4kWh Battery Really Last in Daily Use?.
Can an energy storage system start a water pump or air conditioner?
Yes, if the inverter's surge rating is high enough. Induction motors draw several times their running power for a second or two at start-up. Check the surge rating on the inverter datasheet, not just the continuous rating, and size for the largest motor you need to start.
Do I still need a generator if I have solar panels and a battery?
Many households do not. A generator still makes sense when outages can last for several days, when the load is unusually large, or when solar access is poor. In a hybrid setup the generator runs far fewer hours and mainly covers the worst-case outage.
How long do LiFePO4 batteries last in backup use?
Service life depends on how deeply and how often the battery is cycled. LiFePO4 packs are commonly rated for several thousand charge cycles at a specified depth of discharge, which under daily cycling typically corresponds to many years of service. Deeper daily discharge shortens cycle life; shallow daily discharge extends it.
What size ESS do I need for a three-bedroom home?
List what must run during an outage — usually lights, fans, refrigerator, TV and small electronics — which is typically 500 W to 1.5 kW running, with a higher surge if a pump or air conditioner is included. Choose an inverter with a continuous rating above the running total and a surge rating above the largest motor, then pick battery capacity for the number of hours you want to cover.