Worked example
Example: Illustrative 25 kWh PV, 10 + 12 kWh load, 10 kWh battery. The inputs, in the units selected above:
| Input | Value |
|---|---|
| PV energy per day | 25.000 kWh |
| Load during PV hours per day | 10.000 kWh |
| Load outside PV hours per day | 12.000 kWh |
| Usable battery capacity | 10.000 kWh |
| Battery round-trip efficiency | 90.000 % |
Applying the formula below gives:
| Result | Value |
|---|---|
| PV used directly | 10.000 kWh |
| PV stored in the battery | 10.541 kWh |
| Energy from the battery | 9.4868 kWh |
| PV exported | 4.4591 kWh |
| Grid import | 2.5132 kWh |
| Self-consumption ratio | 82.164 % |
| Self-sufficiency | 88.577 % |
Open this example in the calculator and change any input.
Formula
\(E_{direct} = \min(E_{PV}, E_{day}), \quad E_{bat,out} = \min\left(\eta E_{bat,in}, E_{night}\right), \quad SS = \frac{E_{direct} + E_{bat,out}}{E_{day} + E_{night}}\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(E_{PV}\) | PV energy per day | J |
| \(E_{day}\) | Load during PV hours per day | J |
| \(E_{night}\) | Load outside PV hours per day | J |
| \(C\) | Usable battery capacity | J |
| \(\eta\) | Battery round-trip efficiency | - |
| \(E_{direct}\) | PV used directly | J |
| \(E_{bat,in}\) | PV stored in the battery | J |
| \(E_{bat,out}\) | Energy from the battery | J |
| \(E_{export}\) | PV exported | J |
| \(E_{import}\) | Grid import | J |
| \(SC\) | Self-consumption ratio | - |
| \(SS\) | Self-sufficiency | - |
Method and standards
PV-battery energy balance.
Where it is used
- Home and commercial PV-battery sizing.
- Tariff and export planning.
Common mistakes
- Counting exported PV as self-consumed.
- Sizing the battery for the PV surplus rather than the night load.
Assumptions and limits
- One representative day; battery empty at sunrise.
References
- Daily energy balance of PV with storage
Questions and answers
What is the difference between self-consumption and self-sufficiency?
Self-consumption is the share of PV used on site; self-sufficiency is the share of the load met by PV. A large PV system has high self-sufficiency but low self-consumption.
How big should a home battery be?
About the evening and night load it can cover from the daily surplus; beyond that extra capacity sits unused most days.
What do the defaults represent?
An illustrative home: 25 kWh of PV a day, 10 kWh used while the sun shines, 12 kWh in the evening and night, and a 10 kWh battery at 90 % round trip.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.
Sources
Gilbert Masters, Renewable and Efficient Electric Power Systems (Wiley, 2004), ch. 9