So far, we used in EnergyModelsGeography the old approach for introducing constraints on the capacities through dispatching on the function variables_capacity. This approach was discontinued in EnergyModelsBase v0.3.3 as it led to potential method ambiguities. Instead, a function constraints_capacity_installed was introduced.
This PR replicates these changes now in EnergyModelsGeography.
In addition the following changes were incorporated:
Changes in some docstrings
Adding the argument modeltype to a large fraction of the functions.
So far, we used in
EnergyModelsGeography
the old approach for introducing constraints on the capacities through dispatching on the functionvariables_capacity
. This approach was discontinued inEnergyModelsBase
v0.3.3 as it led to potential method ambiguities. Instead, a functionconstraints_capacity_installed
was introduced.This PR replicates these changes now in
EnergyModelsGeography
.In addition the following changes were incorporated:
modeltype
to a large fraction of the functions.