--- 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 consumption 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{[c_{a, e, n}(t)-p_{a, e, n}(t)]} $$ This formula is only valid for asset $a$ consuming energy $e$ : this means that the calculation happens only if asset $a$ has the "modelling capacity" to consume energy $e$ (pure production assets are not taken into account here). For instance, the net electrical consumption of a CCGT isn't defined. Additionally, $p_{a, e, n}(t)$ is zero for all the timesteps if the asset doesn't produce the same energy it consumes. *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 consumed 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
This KPI enables to visualize the energy that is actually consumed 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.