# Constraints¶

## Minimal renewable factor constraint¶

The minimal renewable factor constraint requires the capacity and dispatch optimization of the open-plan-tool to reach at least the minimal renewable factor defined within the constraint. The renewable share of the optimized energy system may also be higher than the minimal renewable factor.

The minimal renewable factor is applied to the minimal renewable factor of the whole, sector-coupled energy system, but not to specific sectors. As such, energy carrier weighting plays a role and may lead to unexpected results. The constraint reads as follows:

Please be aware that the minimal renewable factor constraint defines bounds for the Renewable factor (renewable_factor) of the system, ie. taking into account both local generation as well as renewable supply from the energy providers. The constraint explicitly does not aim to reach a certain Renewable share of local generation (renewable_share_of_local_generation) on-site.

Depending on the energy system, especially when working with assets which are not to be capacity-optimized, it is possible that the minimal renewable factor criterion cannot be met. The simulation terminates in that case. If you are not sure if your energy system can meet the constraint, set all `optimize_Cap`

parameters of your optimizable assets to `True`

, and then investigate further.

Also, if you are aiming at very high minimal renewable factors, the simulation time can increase drastically. If you do not get a result after an execessive simulation time (e.g. 10 times the simulation without constraints), you should consider terminating the simulation and trying with a lower minimum renewable share.

## Minimal degree of autonomy constraint¶

The minimal degree of autonomy constraint requires the capacity and dispatch optimization of the open-plan-tool to reach at least the minimal degree of autonomy defined within the constraint. The degree of autonomy of the optimized energy system may also be higher than the minimal degree of autonomy. For more details, refer to the definition of degree of autonomy

The minimal degree of autonomy is applied to the whole, sector-coupled energy system, but not to specific sectors. As such, energy carrier weighting plays a role and may lead to unexpected results.

The constraint reads as follows:

Depending on the energy system, especially when working with assets which are not subject to the optimization of their capacities, it is possible that the minimal degree of autonomy criterion cannot be met. The simulation terminates in that case. If you are not sure if your energy system can meet the constraint, set all optimizeCap parameters of your optimizable assets to `True`

, and then investigate further.

## Maximum emission constraint¶

The maximum emission constraint limits the maximum amount of total emissions per year of the energy system. It allows the capacity and dispatch optimization of the open-plan-tool to result into a maximum amount of emissions defined by the maximum emission constraint. The yearly emissions of the optimized energy system may also be lower than the maximum emission constraint.

Note

The maximum emissions constraint currently does not take into consideration life cycle emissions, also see Total GHG emissions (total_emissions) section for an explanation.

The unit of the constraint is kgCO2eq/a. To pick a realistic value for this constraint you can e.g.:

Firstly, optimize your system without the constraint to get an idea about the scale of the emissions and then, secondly, set the constraint and lower the emissions step by step until you reach an unbound problem (which then represents the non-achievable minimum of emissions for your energy system)

Check the emissions targets of your region/country and disaggregate the number

## Net zero energy (NZE) constraint¶

The net zero energy (NZE) constraint requires the capacity and dispatch optimization of the open-plan-tool to result into a net zero system, but can also result in a plus energy system. The degree of NZE of the optimized energy system may be higher than 1, in case of a plus energy system. Please find the definition of net zero energy (NZE) and the KPI here: Degree of Net Zero Energy (degree_of_nze).

Some definitions of NZE systems in literature allow the energy system’s demand solely be provided by locally generated renewable energy. In the open-plan-tool this is not the case - all locally generated energy is taken into consideration. To enlarge the share of renewables in the energy system you can use the Minimal renewable factor constraint.

The NZE constraint is applied to the whole, sector-coupled energy system, but not to specific sectors. As such, energy carrier weighting plays a role and may lead to unexpected results. The constraint reads as follows:

Depending on the energy system, especially when working with assets which are not subject to the optimization of their capacities, it is possible that the NZE criterion cannot be met. The simulation terminates in that case. If you are not sure whether your energy system can meet the constraint, set all optimizeCap parameters of your optimizable assets to `True`

, and then investigate further.