Worked example
Example: Illustrative 1200 to 1000 kW, 3 h. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Peak demand | 1,200.0 kW |
| Target demand limit | 1,000.0 kW |
| Duration of the peak above the limit | 3.0000 h |
| Peak shape factor (1 flat, 0.5 triangular) | 60.000 % |
| Usable depth of discharge | 90.000 % |
| Discharge efficiency (battery and inverter) | 93.000 % |
| Demand charge (per kW per month) | 12.000 - |
Applying the formula below gives:
| Result | Value |
|---|---|
| Battery power rating | 200.00 kW |
| Energy to shave | 360.00 kWh |
| Battery nameplate energy | 430.11 kWh |
| Demand charge saving per year | 28,800 |
| Storage duration at rated power (h) | 2.1505 |
Open this example in the calculator and change any input.
Formula
\(P_b = P_{pk} - P_{lim}, \quad E = P_bt\,k_s, \quad C = \frac{E}{DoD\,\eta_d}\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(P_{pk}\) | Peak demand | W |
| \(P_{lim}\) | Target demand limit | W |
| \(t\) | Duration of the peak above the limit | s |
| \(k_s\) | Peak shape factor (1 flat, 0.5 triangular) | - |
| \(DoD\) | Usable depth of discharge | - |
| \(\eta_d\) | Discharge efficiency (battery and inverter) | - |
| \(c_d\) | Demand charge (per kW per month) | - |
| \(P_b\) | Battery power rating | W |
| \(E\) | Energy to shave | J |
| \(C\) | Battery nameplate energy | J |
| \(S\) | Demand charge saving per year | - |
| \(C/P_b\) | Storage duration at rated power (h) | - |
Method and standards
Peak shaving.
Where it is used
- Commercial and industrial battery projects.
- Demand management planning.
Common mistakes
- Sizing on an average day.
- Forgetting recharge time between peaks.
Assumptions and limits
- Single daily peak; constant efficiency.
References
- Peak-shaving storage sizing
Questions and answers
Why does peak shape matter?
A short spike needs little energy for its power; a long flat peak needs much more energy for the same power reduction.
Does peak shaving pay?
Where demand charges are high and peaks are short and predictable; savings are lost if the battery is empty when the monthly peak arrives.
What do the defaults represent?
An illustrative site peaking at 1,200 kW, capped at 1,000 kW over a 3-hour peak of shape factor 0.6, 90 % DoD, 93 % efficiency and a demand charge of 12 per kW-month.
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