AreaInterchange
PowerSystems.AreaInterchange
— Typemutable struct AreaInterchange <: Branch
name::String
available::Bool
active_power_flow::Float64
from_area::Area
to_area::Area
flow_limits::FromTo_ToFrom
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
Flow exchanged between Areas. This Interchange is agnostic to the lines connecting the areas. It does not substitute Interface which is the total flow across a group of lines
Arguments
name::String
: Name of the component. Components of the same type (e.g.,PowerLoad
) must have unique names, but components of different types (e.g.,PowerLoad
andACBus
) can have the same nameavailable::Bool
: Indicator of whether the component is connected and online (true
) or disconnected, offline, or down (false
). Unavailable components are excluded during simulationsactive_power_flow::Float64
: Initial condition of active power flow on the line (MW)from_area::Area
: Area from which the power is extractedto_area::Area
: Area to which the power is injectedflow_limits::FromTo_ToFrom
: Max flow between the areas. It ignores lines and other branches totalsext::Dict{String, Any}
: (default:Dict{String, Any}()
) An extra dictionary for users to add metadata that are not used in simulation, such as latitude and longitude.internal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
InfrastructureSystems.get_name
— Methodget_name(value::AreaInterchange) -> String
Get AreaInterchange
name
.
PowerSystems.get_active_power_flow
— Methodget_active_power_flow(value::AreaInterchange) -> Any
Get AreaInterchange
active_power_flow
.
PowerSystems.get_available
— Methodget_available(value::AreaInterchange) -> Bool
Get AreaInterchange
available
.
PowerSystems.get_ext
— Methodget_ext(value::AreaInterchange) -> Dict{String, Any}
Get AreaInterchange
ext
.
PowerSystems.get_flow_limits
— Methodget_flow_limits(
value::AreaInterchange
) -> NamedTuple{(:from_to, :to_from), <:Tuple{Any, Any}}
Get AreaInterchange
flow_limits
.
PowerSystems.get_from_area
— Methodget_from_area(value::AreaInterchange) -> Area
Get AreaInterchange
from_area
.
PowerSystems.get_to_area
— Methodget_to_area(value::AreaInterchange) -> Area
Get AreaInterchange
to_area
.
PowerSystems.set_active_power_flow!
— Methodset_active_power_flow!(value::AreaInterchange, val) -> Any
Set AreaInterchange
active_power_flow
.
PowerSystems.set_available!
— Methodset_available!(value::AreaInterchange, val) -> Any
Set AreaInterchange
available
.
PowerSystems.set_ext!
— Methodset_ext!(value::AreaInterchange, val) -> Any
Set AreaInterchange
ext
.
PowerSystems.set_flow_limits!
— Methodset_flow_limits!(value::AreaInterchange, val) -> Any
Set AreaInterchange
flow_limits
.
PowerSystems.set_from_area!
— Methodset_from_area!(value::AreaInterchange, val) -> Any
Set AreaInterchange
from_area
.
PowerSystems.set_to_area!
— Methodset_to_area!(value::AreaInterchange, val) -> Any
Set AreaInterchange
to_area
.