Case description

Index

Case type

The incorporation of the AbstractElements requires a change to the provided input.

The original design of EnergyModelsBase when only considering Nodes and Links is given by:

case = Case(
    T,
    products,
    [nodes, links],
    [[get_nodes, get_links]],
)

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

EnergyModelsGeography.get_areasFunction
get_areas(case::Case)
get_areas(𝒳::Vector{Vector})

Returns the vector of areas of the Case case or the vector of elements vectors 𝒳.

source
EnergyModelsGeography.get_transmissionsFunction
get_transmissions(case::Case)
get_transmissions(𝒳::Vector{Vector})

Returns the vector of transmission corridors of the Case case or the vector of elements vectors 𝒳.

source