Optimal Solar and Battery Allocation (Sezibwa)
[!info] Conservative, bank-facing
basisbasis. Tariff: UEDCL Code 10.2 Q3 2026 (revised666.5after/independent562.1review)/ 429.7, configurable input). Turnkeyinstalled capex andcapex, realday-to-dayweather.weatherReproducible(seededfromvariable-irradiance year)nfe_solar_model.py.These are the numbers a lender should see.
Headline
Sweeping both dimensions (solar size and battery capacity) to find the allocation with the best 20-year return gives a clear, slightly counterintuitive answer:
The most business-optimal allocation is solar-heavy and battery-light. Put the money into panels on the battery already owned. Adding battery capacity lowers the return.return at today's battery price.
- No feed-in (today): about 5 kWp on the existing 8.9 kWh battery. Turnkey capex about 6.3M UGX, IRR about 42 percent, simple payback about 2.
23 years,IRRdiscounted payback about453.1percentyears, 20-year NPV about10.9.8MUGXat 15 percent. - With
feed-ina(ifusablenetexportmetering arrives):arrangement: about 8 kWp on the same battery. Capex about 10.1M,payback about2.1 years,IRR about4846 percent, NPV about19.6M18.5M. - In both, buying a second or third battery unit lowers NPV.
Method
A 2-D sweep over solar (0 to 8 kWp) and battery (existing one unit, or plus one or two SR-SE10B units). For each combination the model runs the real load through 20 years and computes discounted savings minus turnkey capex.
| Assumption | Value |
|---|---|
| Tariff | UEDCL Code 10.2 Q3 2026 (configurable) |
| Horizon | 20 years |
| Battery aging | usable capacity fades linearly to 50 percent by year 20 |
| Weather | seeded variable-irradiance year |
| Discount rate | |
| Solar capex | about 1.26M UGX per kWp turnkey |
| Extra battery capex | 5.568M UGX per SR-SE10B (8.9 kWh usable) |
| Existing inverter + 1 battery | sunk (9.4M already spent) |
Result


The greenest cells sit on the bottom row, the battery NFE already owns. Moving up (more battery) turns the map redder at every solar size. Moving right (more solar) raises NPV until spill, or keeps rising with feed-in.
Investment metrics and sensitivity
NPV shown across discount rates so you can see which allocation survives expensive capital (15metrics percentranked costNPV, ofIRR, capital)discounted payback, simple payback, then cumulative ROI):
| Allocation | IRR | NPV |
@15% | @20% | @25% | ||||
|---|---|---|---|---|---|---|---|---|---|
| 5 kWp (no |
6.3M | 42% | 2. |
6. |
4.1M | ||||
| 8 kWp ( |
10.1M | 46% | 2.1 / 2.8 yr |
Both survive a 25 percent cost of capital comfortably. (The undiscounted 20-year cumulative ROI is large, ~680 to 780 percent, but it is not a decision metric; NPV and IRR carry the case.)
Findings
- Do not buy more battery for return. At every solar size, adding a battery unit lowers 20-year NPV; two
extraunits go negative. The battery capex is not recovered within thehorizon.horizon Why:atbatterytoday'sis expensive per kWh (5.57M for 8.9 kWh is about~626,000per kWh) versus solar; the conservative aging assumption erodes its contribution; and the discount rate weights the faded later years lightly.UGX/kWh.- Solar income is resilient to battery
aging.aging;Battery-battery-only savings halve over 20years;years, the solar cases decline farless,less. - Value,
daytimenot penetration. Beyond ~4 to 5 kWp, extra panels spill and returns diminish unless storage gets cheaper or export becomes usable.
Battery replacement strategy
The model conservatively assumes the battery simply fades to 50 percent over 20 years. A real long-horizon plan should choose one of three strategies, and the economics differ:
- Operate the original battery for all 20 years (what the model assumes — the pessimistic bound; usable capacity, and so the evening-shift slice, keeps shrinking).
- Replace once when usable capacity hits a chosen threshold (say ~70 percent around year 10 to 12): restores capacity at the cost of a fresh battery, worth it only if battery prices have fallen (see the break-even case).
- Augment gradually by adding cells as load grows rather than replacing.
Importantly, the recommended allocation (solar-heavy, existing battery) is the least exposed to this: solar self-consumption does not depend on the battery.battery,
The one important caveat for the bank case
This prices energy savings only. It does not price the battery's real job, backup and reliability during outages. So for a lender: solar (and the existing battery)Solar is the return story, financed on the payback and NPV above;story; additional battery, if wanted,battery is a resilience decision justified separately, not folded into the ROI case.separately.
Recommendation
Fund about 5 kWp of solar on the existing battery now (about 6.3M turnkey, payback about 2.2 years, IRR about 4542 percent). If neta meteringusable arrives,export arrangement materialises, scaling to about 8 kWp becomes thebetter. better allocation. Treat any extra battery as reliability capex with its own justification.
For how cheap battery must get before expanding it pays, see Battery Price Break-Even. Companion cases: Battery Arbitrage (alone) and, Solar Plus Battery.