EnergyModelsX / EnergyModelsGeography.jl

MIT License
3 stars 1 forks source link

Improvement of function calls #21

Closed JulStraus closed 1 month ago

JulStraus commented 1 month ago

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: