--- 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 net production returned by the KPI for a given asset $a$, energy $e$ and node $n$. Technology is directly deduced from the asset. We can then express $x_{a, e, n}$ as: $$ x_{a, e, n} = \frac{1}{N_h} * \sum_t{[p_{a, e, n}(t)-c_{a, e, n}(t)]} $$ This formula is only valid for asset $a$ producing energy $e$ and whose production capacity is not zero ($p\_max_a>0$): this means that the calculation happens only if asset $a$ has the "modelling capacity" to produce energy $e$. For instance, the net gas production of CCGT plant isn't defined. Additionally, $c_{a, e, n}(t)$ is zero for all the timesteps if the asset doesn't consume the same energy it produces. *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 produced by the asset - The node index of this KPI refers to the node in which the asset produces - 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
This KPI enables to visualize the energy that is actually produced during the period, without taking into account the energy that is stored, i.e. consumed and then "produced" from the model's point of view.