Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Storage System Dispatch

Updated: 22 Oct 2026

A variable power source (wind, solar, airborne wind energy) rarely matches a constant demand. An energy storage can smooth the output: it absorbs the surplus when production is high and releases energy when production is low.

After this tutorial you will be able to:

  1. define a storage system and a dummy power time series;

  2. implement a rule-based dispatch that targets a minimum (baseload) power;

  3. check the result with an energy balance;

  4. explain how the baseload and the storage size influence how often the baseload is met.

1. Storage system and power time series

The storage is described by its energy capacity, its power capacity and its round-trip efficiency. The efficiency is applied when charging: charging with PP for a time Δt\Delta t stores PΔtηP \Delta t \eta, while discharging is lossless.

The power series is dummy data: a daily cycle plus random fluctuations, with a time step of 1 hour.

<Figure size 900x300 with 1 Axes>

2. Rule-based dispatch for a baseload

The objective is to deliver at least a baseload power PminP_\mathrm{min}:

  • if the power produced is above PminP_\mathrm{min}, the surplus charges the storage, limited by the power capacity and the free energy capacity;

  • if the power produced is below PminP_\mathrm{min}, the storage discharges to cover the shortfall, limited by the power capacity and the energy stored.

Sign convention: the storage power stor_p is negative when charging and positive when discharging.

This code is adapted from shipp.kernel.os_rule_based in the SHIPP software (Iori (2025)).

3. Results

We choose a baseload and compute the power delivered, which is the sum of the power produced and the storage power.

Baseload met during 64 of 72 hours (89 %)
<Figure size 900x800 with 3 Axes>

The storage starts empty, so the baseload cannot be met in the first low-power period. Later, the stored energy bridges the dips.

A quick check of the energy balance: the energy delivered equals the energy produced minus the losses in the storage and the change in stored energy.

Produced:    2134.7 MWh
Delivered:   2042.3 MWh
Losses:        32.7 MWh
Stored:        59.6 MWh
Balance:    2.3e-13 MWh

4. Interactive: effect of the baseload and the storage size

Use the sliders to change the baseload and the energy capacity of the storage. A higher baseload is met less often, and a larger storage helps to bridge longer low-power periods.

<Figure size 900x600 with 2 Axes>
Loading...
References
  1. Iori, J. (2025). SHIPP - A design optimization software for hybrid power plants. 4TU.ResearchData. 10.4121/2ee36148-369f-4e1f-b770-c86752d7dca4