Case description
Index
Case type
The incorporation of the AbstractElement
s requires a change to the provided input.
The original structure of the Case
of EnergyModelsBase
when only considering Node
s and Link
s is given by:
case = Case(
T,
products,
[nodes, links],
[[get_nodes, get_links]],
)
As outlined in the documentation, this corresponds to an energy system with Node
s coupled by Link
s with a given time structure T
and resources products
.
Including areas and transmission corridors requires to declare the case as
case = Case(
T,
products,
[nodes, links, areas, transmissions],
[[get_nodes, get_links], [get_areas, get_transmissions]],
)
that is including the areas
and transmissions
vectors in the field elements
and adding a new vector to the field couplings
given by the functions to access areas
and transmissions
vectors in the field elements
, get_areas
and get_transmissions
as described below. This extends the existing model with the constraints for the Area
s Transmission
corridors as well as the coupling between them.
Functions for accessing different information
EnergyModelsGeography.get_areas
— Functionget_areas(case::Case)
get_areas(𝒳::Vector{Vector})
Returns the vector of areas of the Case case
or the vector of elements vectors 𝒳.
EnergyModelsGeography.get_transmissions
— Functionget_transmissions(case::Case)
get_transmissions(𝒳::Vector{Vector})
Returns the vector of transmission corridors of the Case case
or the vector of elements vectors 𝒳.