Peak shaving battery calculator

Paste a month of 15-minute kW readings, one per line, first value at 00:00 on day 1. The default is the page's synthetic month. Demand price is an input: the default is the SRP E-36 winter figure used on the page.

ResultValue
Readings (days)-
Monthly peak before-
When it happens-
Lowest cap this battery can hold-
Monthly peak after-
Cut-
Demand charge before-
Demand charge after-
Saving this month-
For the target cut: battery power-
For the target cut: energy needed-

Method: the battery discharges to hold grid import at a cap and recharges only below the cap, starting full. The cap is the lowest one that holds, found with hindsight, so results are a best case for a fixed-cap schedule. Real controllers need load forecasts. A design aid, not a quote.