--- jupytext: text_representation: extension: .md format_name: myst format_version: 0.13 jupytext_version: 1.10.3 kernelspec: display_name: Python 3 language: python name: python3 ---
### Calculation The equation below is valid for any realization and is therefore implicitly indexed by test case. Let be $x_{a, e, n}$ the installed capacity returned by the KPI for a given asset $a$, energy $e$ and node $n$. Technology is directly deduced from the asset. The calculation of this energy storage capacity differs according to the behaviour of the asset. If the asset **has the behaviour “DISCHARGE_TIMES”**, the energy storage capacity is computed as follows: $$ x_{a, e, n} = p\_max_a . \Delta_a $$ with $p\_max_a$ the installed capacity of the storage asset, as computed in the KPI [Installed capacities](installed_capacities.md) and $\Delta_a$ the discharge time of asset $a$. If the asset **does not have the behaviour “DISCHARGE_TIMES”**, the energy storage capacity is a direct input parameter of the asset, which is the storage capacity parameter of asset $a$, $s\_max_a$ $$ x_{a, e, n} = s\_max_a $$ *Global variables and parameters notations definitions can be consulted [here](../notations.md).* ### Indexing - The asset index refers to the name of the asset - The energy index is the energy stored by the asset - The node index of this KPI refers to the node in which the asset consumes - The technology index refers to the technology type of the asset - The test case index corresponds the test case of the realization variables and parameters are taken fromModelling hint
The discharge time corresponds exactly to the time needed to empty the storage (no efficiency consideration) and not to "produce" as much energy as the size of the storage.