Solar and Battery Sizing for Night, Cloudy Days and Recovery

The useful question is not “How many batteries should I buy?” It is “Which loads can stay on, for how long, in which weather—and how does the system recover afterwards?”

Panels supply energy; batteries move some of it to another time. A large battery or a good daily solar average does not prove power will be available at every moment. A useful proposal must pass four checks: energy, instantaneous power, the weather sequence and safe operation without the grid.

This guide is for owners, installers, integrators and procurement teams planning small-building essential-load supply. Every worked example is synthetic: not weather from a city, an installed project, a product specification or an LJY supply commitment. It explains a method, not a ready-to-order system. It is not a Tier-rated data-center architecture or life-safety power design.

At a glance: what a sizing answer should show

Illustration only: not a recommendation, local forecast or product offer. Both rows assume the 11 kWh/day essential-load profile below, a new battery without temperature derating, 95% one-way efficiency each way, a 10–90% SOC window and 90% starting SOC. The “very-low” days are invented generation curves, not a definition of cloudy weather.

Hypothetical configurationPV / assumed 450 W panelsNominal batteryInternal working / deliverable AC energyBattery AC charge / dischargeBackup judgment in this simulation
Smaller bank4.5 kWp / 1020 kWh16 / 15.2 kWh3 / 3 kWRepeats the artificial clear-day cycle; runs short on the second very-low day
Larger bank, same PV4.5 kWp / 1042 kWh33.6 / 31.92 kWh3 / 3 kWNarrowly passes three invented very-low days plus recovery; not an annual reliability finding

Both rows assume a separate 5 kW AC PV converter and properly designed island-capable equipment; the model does not validate that equipment. To obtain an actual configuration, start with location + essential loads + outage duration. The designer then replaces these assumptions with local multi-year hourly generation, difficult-season checks and verified equipment limits. Reaching 90% SOC after a storm is a recovery checkpoint, not a measure of year-round reliability.

1. Choose what must stay on

Make two lists: essential loads, such as refrigeration, lighting, communications and limited office equipment; and full-building loads, adding discretionary heating, air conditioning, cooking, water heating, workshops or vehicle charging. Essential pumps need their own starting-power assessment. The owner decides what is essential; medical devices, health-critical cooling, animal ventilation and cold-chain processes may require much more stringent engineering.

Measure hourly consumption for both lists. Keep maximum simultaneous demand and motor starts separately. Bills are a starting point, not a load schedule. For circuit-boundary decisions, use the existing critical-loads versus whole-home checklist; this guide concentrates on chronological energy and recovery.

kW is power; kWh is energy. A 2 kW load running for three hours uses 6 kWh. A battery with enough kWh can still fail to start a motor if the inverter, BMS or discharge path cannot deliver the required real/apparent power. An inverter’s kW rating is not a battery’s energy capacity.

Illustrative 24-hour profiles

All values below are assumptions: average kW within each one-hour interval, numerically equal to that interval’s kWh. Both profiles include an assumed 0.05 kW continuous allowance for system auxiliaries. Replace that allowance and add actual battery heating/cooling demand when known.

Local standard-time intervalEssential average kWFull-building average kW
00:00–06:00, each of six hours0.250.60
06:00–07:000.501.20
07:00–08:000.751.80
08:00–09:000.501.20
09:00–16:00, each of seven hours0.350.80
16:00–17:000.501.20
17:00–18:000.601.40
18:00–19:001.002.50
19:00–20:001.002.50
20:00–21:000.802.00
21:00–22:000.601.40
22:00–23:000.500.90
23:00–24:000.300.70
Daily energy11 kWh26 kWh

These averages are not instantaneous peaks. For a separate power-screening assumption, suppose essential circuits need a 2.5 kW continuous coincident peak and 4 kVA for two seconds during motor starting. The inverter needs the corresponding continuous real/apparent power capability and a verified surge curve. These transient assumptions are not simulated in the hourly model. The full-building case needs its own peak audit; do not assume essential-circuit equipment can support it.

2. Decide whether the grid is available

ModeWhat supplies a shortfall?What must be confirmed?
Grid-connected self-consumptionUtility, when available and permittedImport/export limits, dispatch and protected backup reserve
Outage with selected backup circuitsPV, battery and any compatible backup sourceIntentional island operation, utility isolation, transfer behavior and restart
Permanently off-gridPV, battery and planned alternative sourcesWorst-season energy, long low-output spells, fuel/logistics and recovery

For the detailed procurement-mode checklist, see on-grid, weak-grid or off-grid home ESS. A grid-connected PV inverter is not automatically a backup inverter. DOE explains that ordinary residential solar generally shuts down when the grid fails; outage supply needs appropriately configured equipment.[1][2] A “hybrid” label alone does not establish the behavior of a complete installation.

Verify utility-approved isolation and anti-islanding arrangements, backup-output power, transfer interruption, island-mode PV operation, battery communications and restart after low-SOC shutdown. Black start from a depleted or disconnected battery must be verified for the exact inverter, battery, firmware and topology. Sensitive electronics may still need a suitable UPS. A battery does not automatically provide no-break power.

3. Use local chronological solar data—not a universal cloudy-day percentage

A real design needs location or coordinates; operating season; module direction, tilt and mounting; terrain horizon and nearby shading; temperature, snow and soiling; available space and structural limits; measured loads; outage duration and start time; existing equipment; and access to grid/generator charging.

The European Commission’s PVGIS models generation from site and array inputs. Its off-grid calculation works hour by hour over the selected multi-year solar database: surplus charges storage, deficits discharge it, and lost/missing energy is recorded.[3] Nearby trees and buildings need site assessment; terrain-horizon information is not a complete shade survey.

Inspect the difficult season and worst-month results, but preserve chronological low-generation spells. Test outages beginning at unfavorable times and SOC. A typical meteorological year is useful for preliminary yield, not a guarantee about the worst real multi-day event. Historical weather cannot prove future zero-outage performance.

PVWatts offers hourly AC and DC outputs for preliminary generation estimates.[4] Know which boundary is being imported. If the series already includes PV conversion and other modeled losses, do not deduct them again. PVWatts explicitly separates inverter conversion efficiency from its system-loss input and calculates temperature effects separately.[5]

There is no universal “cloudy-day percentage” or universal “four sun hours.” Thin cloud, storms, snow, shade and season produce different output shapes. Use local data for a project; label artificial teaching curves honestly.

Synthetic hourly loads and clear, cloudy and low PV generation
Original illustration. All curves are synthetic; PV curves refer to the 4.5 kWp example, not a place or product. LJY Energy — original calculation diagram. PNG converted losslessly to WebP; data unchanged. Reuse requires attribution, a licence link and identification of changes; no endorsement implied. CC BY 4.0.

4. Keep the energy boundary explicit

Here the boundary is a simplified AC bus. PV is already available AC after its own conversion. Battery charging and discharging have separate losses. This represents an AC-coupled abstraction with separate PV and battery conversion paths. It does not establish that actual devices can form an island together. A DC-coupled hybrid must be checked at its real DC/AC boundaries and shared-converter limits.

For an interval of duration Δt hours:

  • L_t: requested AC load energy, kWh.
  • G_t: available AC PV energy after PV-converter limits, kWh.
  • E_t: internal stored battery energy at the interval start, kWh.
  • η_c, η_d: AC-to-stored charging and stored-to-AC discharging efficiencies.
  • P_c, P_d: charging AC-input and discharging AC-output limits, kW.
C_effective = C_nominal × f_temperature × f_age
E_min = C_effective × SOC_min
E_max = C_effective × SOC_max

Capacity factors must come from the selected battery’s performance data and design-life requirement—not universal constants. SOC here refers to effective capacity. Temperature-dependent power restrictions or charging lockouts must also be included where relevant.

Dispatch without a grid/generator:

Direct_t = min(G_t, L_t)
Surplus_t = G_t − Direct_t
Deficit_t = L_t − Direct_t

Charge_t = min(Surplus_t, P_c × Δt, (E_max − E_t) / η_c)
Discharge_t = min(Deficit_t, P_d × Δt, (E_t − E_min) × η_d)

E_(t+1) = E_t + η_c × Charge_t − Discharge_t / η_d
Unserved_t = Deficit_t − Discharge_t
Curtailed_t = Surplus_t − Charge_t

Only surplus or deficit is positive, so this dispatch never charges and discharges simultaneously. Every interval must conserve energy:

PV + external supply = served AC load + curtailed energy
                       + battery conversion losses + change in stored energy

In assisted operation, explicitly add source-to-load and source-to-charger flows, source-power limits and charger headroom. Do not silently treat missing solar as free grid energy.

Hourly simulation is a planning screen, not a protection or transient study. Fast clouds, motor starts, phase imbalance, power factor and switching need separate checks. Actual charge power may fall near full SOC, when cold or when limited by the BMS; replace constant efficiencies and power limits with verified curves.

AC-bus energy accounting with PV, loads, battery and conditional backup
Accounting diagram only—not an electrical wiring or protection design. LJY Energy — original calculation diagram. PNG converted losslessly to WebP; data unchanged. Reuse requires attribution, a licence link and identification of changes; no endorsement implied. CC BY 4.0.

5. A reproducible example with no invented local weather

All following values are selected teaching assumptions, not typical values promised for every system:

InputAssumption
Essential load11 kWh/day, profile above
PV4.5 kWp DC nameplate: 10 hypothetical 450 W panels
PV converter5 kW AC limit, separate from battery conversion
BatteryInitially 20 kWh nominal; alternatives below
Operating SOC10% minimum to 90% maximum
Starting SOC90% at 00:00 unless stated otherwise
Battery efficiencies95% charging, 95% discharging; 90.25% round trip
Battery charge/discharge power3 kW AC input / 3 kW AC output; surge not modeled
Temperature and aging factorsBoth 1.0 in the base run
Other conditionsNo grid/export, self-discharge or equipment failure; auxiliaries included as above

The 20 kWh nameplate bank has 16 kWh internal working energy between 90% and 10% SOC. Starting at 90%, it could supply 15.2 kWh AC before the floor, if power and other conditions allow—not 20 kWh at the appliances.

For a no-solar interval, a preliminary capacity screen is:

C_nominal ≥ required AC energy /
            [η_d × (SOC_start − SOC_min) × f_temperature × f_age]

From 18:00 to 07:00 the essential profile consumes 6.2 kWh AC. Starting at 90% with a 10% floor, that interval screens at 6.2 / (0.95 × 0.80) = 8.16 kWh nominal before further design allowances. It does not cover three poor days, establish inverter power or prove daily recharge.

Artificial generation inputs

The table gives available AC energy per installed kWp within each hour. Other hours have zero PV. These are independent hand-selected curves, not observations or fixed cloud multipliers.

Hour startingClearCloudyVery lowIntermittent cloud
07:000.080.030.010.08
08:000.200.080.020.20
09:000.350.140.030.35
10:000.500.100.040.10
11:000.600.180.050.60
12:000.650.120.030.15
13:000.600.200.050.60
14:000.500.130.040.15
15:000.350.080.030.35
16:000.200.050.020.20
17:000.080.020.010.08
Daily AC kWh per kWp4.111.130.332.86
Daily AC kWh at 4.5 kWp18.4955.0851.48512.870

Convert an array target to whole panels using panels = ceil(target kWp × 1,000 / panel W). Rerun with the rounded-up capacity. A 5 kWp target with hypothetical 450 W panels means 12 panels and 5.4 kWp, not 11 panels. Panel wattage is only an assumption here; no roof area is stated without module dimensions, setbacks, access and structural assessment.

6. Day, night, clouds—and the following dawn

Clear days: a repeating cycle needs enough charging power

The base system serves the essential profile on repeated artificial clear days without hourly shortfall. Once its cycle settles, PV supplies 4.170 kWh/day directly and the battery supplies 6.830 kWh/day AC. Replacing that battery output needs 6.830 / (0.95 × 0.95) = 7.568 kWh of AC charging input. Total PV needed for this dispatch is 11.738 kWh/day; 6.757 kWh of the available 18.495 kWh is curtailed.

A preliminary array screen is (direct load energy + battery-supplied AC energy / round-trip efficiency) / site-specific daily AC yield per kWp. But direct use and charger headroom depend on hourly generation. Iterate PV and storage together. Using this particular favorable artificial clear yield gives about 2.86 kWp, or seven 450 W panels after rounding. That is not a weather-resilient recommendation: the direct-use share came from a larger array. A smaller array must be re-simulated with its actual hourly direct-use share, real weather and recovery requirements.

One cloudy day: watch the next morning

For clear → cloudy → clear with the 20 kWh bank, end-of-day SOC is 66.63% → 34.56% → 66.63%. No hourly shortfall occurs. On the recovering clear day SOC first falls to 21.98%. Daily totals hide that morning low point.

The intermittent-cloud curve also supports a repeating essential-load cycle in this hourly model. That does not validate fast cloud-ramp response: actual equipment must handle the instantaneous mismatch.

Two or three very-low days: storage runs out

Each very-low day has 1.485 kWh PV against 11 kWh load. Starting at 90%, the 20 kWh battery ends day one at 39.92% SOC. Day two reaches the 10% floor and misses 3.830 kWh. Day three misses another 9.515 kWh.

The next clear day misses 2.390 kWh before PV ramps up sufficiently. Across three very-low days plus seven clear days the shortfall is 15.735 kWh. Sunshine later cannot retroactively serve loads missed at dawn.

A 40 kWh bank survives three days—but not the recovery dawn

A nominal 40 kWh bank offers 30.4 kWh AC between 90% and 10% under the assumptions. Three very-low days require 28.545 kWh AC from storage, so a three-day energy-only check passes.

But day three ends at 14.88% SOC. Before useful PV returns it reaches the floor and misses 0.535 kWh on day four. “Three days of autonomy” is not necessarily three days plus the following dawn.

A hypothetical 42 kWh bank passes this ten-day hourly sequence without shortfall, but its recovery-day minimum is only 12.47% SOC, close to the 10% floor. That narrow teaching result is not a robust purchase recommendation. Different weather, aging, temperature and design margins can overturn it.

Synthetic SOC across three very-low days and seven clear recovery days
All runs start at 90% at 00:00. A clear sunrise does not mean storage has recovered. LJY Energy — original calculation diagram. PNG converted losslessly to WebP; data unchanged. Reuse requires attribution, a licence link and identification of changes; no endorsement implied. CC BY 4.0.

7. Recovery is its own sizing requirement

PV must supply today’s loads and yesterday’s missing stored energy. Before its upper limit, the 42 kWh / 4.5 kWp example gains about 6.419 kWh internal stored energy per clear day while serving essential loads. After three very-low days it first reaches 90% at 17:00 on the fourth clear recovery day—simulation day seven. Evening discharge then lowers its end-of-day SOC again.

Increasing PV to 6.75 kWp, or 15 hypothetical 450 W panels, with the same 42 kWh bank and 3 kW charging limit, first reaches 90% at 16:00 on the second clear recovery day. This alternative assumes a separate 7.5 kW AC PV-converter limit. Some midday energy is still curtailed because charging power is finite.

A rough estimate is stored-energy deficit / net stored-energy gain per recovery day, using battery-side energy for both quantities. Initial SOC, night consumption, clipping and changing weather make chronological checks necessary.

Compare the levers

Every row uses three very-low days followed by seven clear days, initially 90% SOC, the same efficiencies and 3 kW battery AC charge/discharge limits, with no external source unless specified. Shortfall includes recovery, not just the poor days.

ChangePV kWp / 450 W panelsNominal battery kWhLoad kWh/dayUnserved AC kWhMeaning
Base4.50 / 102011.015.735Insufficient carry-through storage
More storage4.50 / 104011.00.535Passes three days, fails next dawn
Slightly more storage4.50 / 104211.00.000Passes this sequence only; narrow SOC margin
More PV, small bank6.75 / 152011.013.328Better energy input cannot bridge every deficit
More PV and storage6.75 / 154211.00.000Faster recovery in this sequence
Every hourly load reduced to 60%4.50 / 10206.61.444Helps greatly, still insufficient here
Base with modeled external source4.50 / 102011.00.000Depends on available compatible external power

The last row assumes an ideal 5 kW AC external source immediately available at an hourly boundary when SOC is at or below 30%. It serves residual load first, then charges within the combined 3 kW AC charger limit up to an 80% target. It stops at the next hourly boundary once SOC is at least 80%. PV may still charge to 90%. All external kWh are recorded separately: 23.332 kWh AC in this particular ten-day run. That is a control-policy result, not an optimized minimum or a fuel estimate.

These are teaching controls, not universal settings or a generator recommendation. Real generators have starting delays, fuel, minimum-loading and maintenance constraints. Grid power is unavailable during the outage under study. Zero hourly shortfall in the ideal assisted run is not a reliability promise.

A practical plan sheds agreed discretionary loads and requests available backup before the hard low-SOC cutoff. Set triggers from forecast deficit, essential runtime, source starting delay and a fallback if starting fails—not a universal SOC percentage. Generator integration and siting require qualified professionals and applicable safety rules.

8. Checks that can overturn an attractive proposal

Temperature and aging: as a sensitivity test only, apply a 0.90 temperature-capacity factor and a 0.80 aging factor. A nominal 40 kWh bank then has 28.8 kWh effective capacity and only 21.888 kWh AC within the assumed SOC window. The ten-day sequence misses 9.047 kWh. These factors are not battery ratings: request real curves and design-life criteria. A low-temperature charging lockout cannot be solved simply by adding nameplate capacity.

Discharge power: limiting the 20 kWh example to 0.5 kW AC battery output misses 1.400 kWh even on its first clear day, despite ample stored energy. Capacity cannot fix a power bottleneck.

Charge power: limiting charging to 0.25 kW AC, while retaining 3 kW discharge, causes SOC to decline on repeated clear days; shortfall begins on day four. Over five clear days it misses 8.797 kWh although available PV exceeds daily load. Surplus that cannot enter the bank cannot power the next night.

Starting SOC: outages can begin after evening self-consumption. A 20 kWh bank starting at 40%, with a 10% floor, offers just 5.7 kWh AC from storage under the base assumptions. Test outage start times and protect an appropriate reserve when the grid is present. Do not count the same capacity both as protected reserve and as routine night supply.

9. When more batteries are the wrong answer

The full-building profile consumes 26 kWh/day, but the base array generates only 18.495 kWh even on the artificial clear day, before battery losses. That ongoing energy deficit is unsustainable. More batteries delay depletion; they do not create energy.

Depending on the site, compare:

  • Moving flexible water heating, pumping or other work into the solar window without sacrificing essential duties.
  • Adding PV where space, structure and local limits allow; rerunning conversion, charge-power and recovery checks.
  • Adding storage to bridge a demonstrated chronological deficit, not conceal inadequate generation.
  • An agreed essential-load operating mode during long poor-weather spells.
  • Properly designed grid/generator fallback with a clear trigger and realistic availability.

Use installed quotations, maintenance, fuel/logistics, reliability targets and the cost of unmet load for economic comparisons. There is no honest universal payback, cheapest-system claim or zero-outage guarantee without those inputs.

10. Start a configuration review with three things

Start with site location, a bill or rough load list, and the outage duration to cover. Say whether this means essentials or the entire building. Precise coordinates and interval data can follow as the design develops.

For refinement, add existing PV/inverter details, temperature range, motor starts, installation space, load-shedding preferences, backup-source access and the allowed recovery time. Installers and integrators should request documented energy/power limits, charge behavior, BMS/inverter compatibility and evidence relevant to the destination market. Confirm whole-module counts, parallel limits, compatibility, certifications and supply terms for the exact offered configuration; none is established by this example.

The existing solar battery sizing calculator provides a first no-solar autonomy estimate. It does not by itself verify hourly weather, repeating off-grid operation or recovery. See the solar storage overview or off-grid storage overview for application context, then request a configuration discussion. A useful proposal explains assumptions and limitations, rather than simply selecting the largest bank.

Final electrical design, structural assessment, protection, installation and grid connection require qualified local professionals under applicable rules. No live-wiring procedure is provided here.

Frequently asked questions

Can panels and batteries supply power all night?

Potentially, for specified loads and conditions. Verify usable AC energy, night load, inverter/BMS power, initial SOC and operation without the grid. Night coverage does not prove multi-day coverage or next-day recharge.

How many batteries cover three cloudy days?

There is no universal count. Simulate local chronological generation and hourly load through poor weather and recovery. Convert nominal kWh into whole compatible modules only after checking usable energy, temperature, aging, power and parallel limits.

Will more panels solve long cloudy periods?

They can reduce deficits and accelerate recovery, but limited poor-weather generation, charger limits and night demand remain. More panels do not replace sufficient storage for every interval. Test the combined system.

Is 24-hour backup the same as daily off-grid operation?

No. Backup runtime starts at a stated SOC and ends after allowed energy is used. Repeating off-grid operation must replenish that energy while supplying new loads. Recovery and worst-season energy can be the limiting factors.

Does this guarantee zero outages or data-center-grade power?

No. These energy-balance examples are not validated annual reliability or transient studies. Data centers, life-safety systems and critical processes need their own redundancy, UPS, protection, maintenance and reliability engineering.

Technical sources

  1. U.S. Department of Energy, Solar and Resilience Basics: why ordinary grid-connected solar does not establish outage supply.
  2. U.S. Department of Energy, Solar Integration: Inverters and Grid Services Basics: conversion, island operation, grid-following/grid-forming and black start.
  3. European Commission Joint Research Centre, PVGIS 5 user manual, especially off-grid, hourly and TMY sections: chronological method and site inputs.
  4. National Laboratory of the Rockies, PVWatts V8 API documentation: location/array inputs, hourly AC/DC output and weather datasets.
  5. PVWatts, System Losses: avoiding duplicate inverter and temperature losses.

Reproducibility: the accompanying calculation package contains exact artificial hourly inputs, simulation code, interval balances, scenario outputs and original image-generation code. Article numbers are rounded for reading. Assumptions are not sourced product specifications. Real projects must replace them with measured loads, local data and verified equipment behavior.

Discuss the site and essential-load requirement on WhatsApp.

B4 01 Home Solar Roof
Photo: Gray Watson User:E090, Wikimedia Commons, CC BY-SA 3.0 (resized, WebP). Illustrative image, not an LJY product.