Battery threshold dispatch simulation calculator

Calculate interval [grid energy,charge input,discharge output,end stored,cost] JSON and total grid cost with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Choose the currency for these amounts. Changing it keeps your numbers and does not convert exchange rates.

Use interval [grid energy,charge input,discharge output,end stored,cost] JSON and total grid cost to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Interval site loads (kW)
2,5,4,1
Interval import prices (USD/kWh)
0.1,0.4,0.35,0.1
Interval duration (hours)
1
Battery usable capacity (kWh)
5
Initial stored energy (kWh)
0
Battery power limit (kW)
3
One-way charge/discharge efficiency
0.9
Buy/charge at or below price (USD/kWh)
0.15
Discharge at or above price (USD/kWh)
0.3
Interval [grid energy,charge input,discharge output,end stored,cost] JSON
[[5,3,0,2.7,0.5],[2.57,0,2.43,0,1.028],[4,0,0,0,1.4],[4,3,0,2.7,0.4]]
Total grid cost (USD)
$3.33
Savings versus no battery (USD)
$0.37

Try another scenario

Interval site loads (kW)
[3, 5, 4, 1]
Interval import prices (USD/kWh)
[0.1, 0.4, 0.35, 0.1]
Interval duration (hours)
1
Battery usable capacity (kWh)
5
Initial stored energy (kWh)
0
Battery power limit (kW)
3
One-way charge/discharge efficiency
0.9
Buy/charge at or below price (USD/kWh)
0.15
Discharge at or above price (USD/kWh)
0.3
Interval [grid energy,charge input,discharge output,end stored,cost] JSON
[[6,3,0,2.7,0.6],[2.57,0,2.43,0,1.028],[4,0,0,0,1.4],[4,3,0,2.7,0.4]]
Total grid cost (USD)
$3.43
Savings versus no battery (USD)
$0.37
Calculation method

Calculation method

Interval [grid energy,charge input,discharge output,end stored,cost] JSON

Explicit threshold dispatch without export: charge at low tariffs, discharge against load at high tariffs; respect power/storage/one-way efficiency, no optimization claim.

Total grid cost (USD)

Explicit threshold dispatch without export: charge at low tariffs, discharge against load at high tariffs; respect power/storage/one-way efficiency, no optimization claim.

Savings versus no battery (USD)

Explicit threshold dispatch without export: charge at low tariffs, discharge against load at high tariffs; respect power/storage/one-way efficiency, no optimization claim.

Symbols and units
a
Interval site loads (kW)
b
Interval import prices (USD/kWh)
c
Interval duration (hours)
d
Battery usable capacity (kWh)
e
Initial stored energy (kWh)
f
Battery power limit (kW)
g
One-way charge/discharge efficiency
h
Buy/charge at or below price (USD/kWh)
i
Discharge at or above price (USD/kWh)

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • User-supplied measurements and assumptions; Explicit threshold dispatch without export: charge at low tariffs, discharge against load at high tariffs; respect power/storage/one-way efficiency, no optimization claim. Supported limits: Finite numeric values bounded to 1e9 magnitude; lists and tables contain 1–100 records unless a stricter bound is stated. Inputs use the units shown. Lists explicitly paired by a method must have matching lengths; independent polynomial coefficient vectors may differ. Respect stated physical, interpolation, policy and computational domain limits.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.