AreaInterchange
PowerSystems.AreaInterchange — Type
mutable struct AreaInterchange <: Branch
name::String
available::Bool
active_power_flow::Float64
from_area::Area
to_area::Area
flow_limits::FromTo_ToFrom
services::Vector{Service}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
endFlow 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.,PowerLoadandACBus) 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 totalsservices::Vector{Service}: (default:Service[]) Service interfaces that this device contributes toext::Dict{String, Any}: (default:Dict{String, Any}()) An extra dictionary for users to add metadata that are not used in simulation.internal::InfrastructureSystemsInternal: (Do not modify.) PowerSystems.jl internal reference
InfrastructureSystems.get_available — Method
InfrastructureSystems.get_name — Method
InfrastructureSystems.set_available! — Method
PowerSystems.get_active_power_flow — Method
get_active_power_flow(value::AreaInterchange) -> Float64
Get AreaInterchange active_power_flow.
PowerSystems.get_ext — Method
PowerSystems.get_flow_limits — Method
get_flow_limits(
value::AreaInterchange
) -> @NamedTuple{from_to::Float64, to_from::Float64}
Get AreaInterchange flow_limits.
PowerSystems.get_from_area — Method
PowerSystems.get_services — Method
PowerSystems.get_to_area — Method
PowerSystems.set_active_power_flow! — Method
set_active_power_flow!(value::AreaInterchange, val) -> Any
Set AreaInterchange active_power_flow.