---
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
---

<div style="text-align: justify"> 

Supply-demand balance (MW)
======

*indexed by: asset, data type (Demand or Production), energy, node, technology and test case*

### Description

This KPI returns the equilibrium between demand and supply for every asset, energy, node, and
technology of a given context  (except for CO2 energies: see [specific KPI](co2_sdb_ts.md)).

The results indicated in this KPI are directly those of the optimization problem.
If an asset produces, it will appear in the *Production* tag of the "Data type" index.

For example, a storage asset may appear in both the *Production* and *Demand* tags, as it
consumes energy to store it and produces energy during its life cycle.

<blockquote class="custom-hint">
  <h4>Modelling hint</h4>

  Voluntary Load Curtailment, which represents consumption curtailment, and Loss of Load, which represents failure, 
  are modelled as production assets. They will therefore appear in the *Production* tag.
</blockquote>

This KPI is particularly interesting to understand the equilibrium between the national production and the national demand over a node for a given energy.