TwoTerminalHVDCLine
PowerSystems.TwoTerminalHVDCLine
— Typemutable struct TwoTerminalHVDCLine <: ACBranch
name::String
available::Bool
active_power_flow::Float64
arc::Arc
active_power_limits_from::MinMax
active_power_limits_to::MinMax
reactive_power_limits_from::MinMax
reactive_power_limits_to::MinMax
loss::Union{LinearCurve, PiecewiseIncrementalCurve}
services::Vector{Service}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
A High Voltage DC line, which must be connected to an ACBus
on each end.
This model is appropriate for operational simulations with a linearized DC power flow approximation with losses proportional to the power flow. For modeling a DC network, see TModelHVDCLine
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)arc::Arc
: AnArc
defining this linefrom
a busto
another busactive_power_limits_from::MinMax
: Minimum and maximum active power flows to the FROM node (MW)active_power_limits_to::MinMax
: Minimum and maximum active power flows to the TO node (MW)reactive_power_limits_from::MinMax
: Minimum and maximum reactive power limits to the FROM node (MVAR)reactive_power_limits_to::MinMax
: Minimum and maximum reactive power limits to the TO node (MVAR)loss::Union{LinearCurve, PiecewiseIncrementalCurve}
: (default:LinearCurve(0.0)
) Loss model coefficients. It accepts a linear model with a constant loss (MW) and a proportional loss rate (MW of loss per MW of flow). It also accepts a Piecewise loss, with N segments to specify different proportional losses for different segments.services::Vector{Service}
: (default:Device[]
) Services 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, such as latitude and longitude.internal::InfrastructureSystemsInternal
: (Do not modify.) PowerSystems.jl internal reference
InfrastructureSystems.get_name
— Methodget_name(value::TwoTerminalHVDCLine) -> String
Get TwoTerminalHVDCLine
name
.
PowerSystems.get_active_power_flow
— Methodget_active_power_flow(value::TwoTerminalHVDCLine) -> Any
Get TwoTerminalHVDCLine
active_power_flow
.
PowerSystems.get_active_power_limits_from
— Methodget_active_power_limits_from(
value::TwoTerminalHVDCLine
) -> NamedTuple{(:min, :max), <:Tuple{Any, Any}}
Get TwoTerminalHVDCLine
active_power_limits_from
.
PowerSystems.get_active_power_limits_to
— Methodget_active_power_limits_to(
value::TwoTerminalHVDCLine
) -> NamedTuple{(:min, :max), <:Tuple{Any, Any}}
Get TwoTerminalHVDCLine
active_power_limits_to
.
PowerSystems.get_arc
— Methodget_arc(value::TwoTerminalHVDCLine) -> Arc
Get TwoTerminalHVDCLine
arc
.
PowerSystems.get_available
— Methodget_available(value::TwoTerminalHVDCLine) -> Bool
Get TwoTerminalHVDCLine
available
.
PowerSystems.get_ext
— Methodget_ext(value::TwoTerminalHVDCLine) -> Dict{String, Any}
Get TwoTerminalHVDCLine
ext
.
PowerSystems.get_loss
— Methodget_loss(
value::TwoTerminalHVDCLine
) -> Union{LinearCurve, PiecewiseIncrementalCurve}
Get TwoTerminalHVDCLine
loss
.
PowerSystems.get_reactive_power_limits_from
— Methodget_reactive_power_limits_from(
value::TwoTerminalHVDCLine
) -> NamedTuple{(:min, :max), <:Tuple{Any, Any}}
Get TwoTerminalHVDCLine
reactive_power_limits_from
.
PowerSystems.get_reactive_power_limits_to
— Methodget_reactive_power_limits_to(
value::TwoTerminalHVDCLine
) -> NamedTuple{(:min, :max), <:Tuple{Any, Any}}
Get TwoTerminalHVDCLine
reactive_power_limits_to
.
PowerSystems.get_services
— Methodget_services(value::TwoTerminalHVDCLine) -> Vector{Service}
Get TwoTerminalHVDCLine
services
.
PowerSystems.set_active_power_flow!
— Methodset_active_power_flow!(
value::TwoTerminalHVDCLine,
val
) -> Any
Set TwoTerminalHVDCLine
active_power_flow
.
PowerSystems.set_active_power_limits_from!
— Methodset_active_power_limits_from!(
value::TwoTerminalHVDCLine,
val
) -> Any
Set TwoTerminalHVDCLine
active_power_limits_from
.
PowerSystems.set_active_power_limits_to!
— Methodset_active_power_limits_to!(
value::TwoTerminalHVDCLine,
val
) -> Any
Set TwoTerminalHVDCLine
active_power_limits_to
.
PowerSystems.set_arc!
— Methodset_arc!(value::TwoTerminalHVDCLine, val) -> Any
Set TwoTerminalHVDCLine
arc
.
PowerSystems.set_available!
— Methodset_available!(value::TwoTerminalHVDCLine, val) -> Any
Set TwoTerminalHVDCLine
available
.
PowerSystems.set_ext!
— Methodset_ext!(value::TwoTerminalHVDCLine, val) -> Any
Set TwoTerminalHVDCLine
ext
.
PowerSystems.set_loss!
— Methodset_loss!(value::TwoTerminalHVDCLine, val) -> Any
Set TwoTerminalHVDCLine
loss
.
PowerSystems.set_reactive_power_limits_from!
— Methodset_reactive_power_limits_from!(
value::TwoTerminalHVDCLine,
val
) -> Any
Set TwoTerminalHVDCLine
reactive_power_limits_from
.
PowerSystems.set_reactive_power_limits_to!
— Methodset_reactive_power_limits_to!(
value::TwoTerminalHVDCLine,
val
) -> Any
Set TwoTerminalHVDCLine
reactive_power_limits_to
.
PowerSystems.set_services!
— Methodset_services!(value::TwoTerminalHVDCLine, val) -> Any
Set TwoTerminalHVDCLine
services
.