TwoTerminalGenericHVDCLine
PowerSystems.TwoTerminalGenericHVDCLine — Typemutable struct TwoTerminalGenericHVDCLine <: TwoTerminalHVDC
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
endA 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.,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)arc::Arc: AnArcdefining this linefroma bustoanother 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.internal::InfrastructureSystemsInternal: (Do not modify.) PowerSystems.jl internal reference
InfrastructureSystems.get_available — Methodget_available(value::TwoTerminalGenericHVDCLine) -> Bool
Get TwoTerminalGenericHVDCLine available.
InfrastructureSystems.get_name — Methodget_name(value::TwoTerminalGenericHVDCLine) -> String
Get TwoTerminalGenericHVDCLine name.
InfrastructureSystems.set_available! — Methodset_available!(
value::TwoTerminalGenericHVDCLine,
val
) -> Any
Set TwoTerminalGenericHVDCLine available.
PowerSystems.get_active_power_flow — Methodget_active_power_flow(
value::TwoTerminalGenericHVDCLine
) -> Float64
Get TwoTerminalGenericHVDCLine active_power_flow.
PowerSystems.get_active_power_limits_from — Methodget_active_power_limits_from(
value::TwoTerminalGenericHVDCLine
) -> @NamedTuple{min::Float64, max::Float64}
Get TwoTerminalGenericHVDCLine active_power_limits_from.
PowerSystems.get_active_power_limits_to — Methodget_active_power_limits_to(
value::TwoTerminalGenericHVDCLine
) -> @NamedTuple{min::Float64, max::Float64}
Get TwoTerminalGenericHVDCLine active_power_limits_to.
PowerSystems.get_arc — Methodget_arc(value::TwoTerminalGenericHVDCLine) -> Arc
Get TwoTerminalGenericHVDCLine arc.
PowerSystems.get_ext — Methodget_ext(
value::TwoTerminalGenericHVDCLine
) -> Dict{String, Any}
Get TwoTerminalGenericHVDCLine ext.
PowerSystems.get_loss — Methodget_loss(
value::TwoTerminalGenericHVDCLine
) -> Union{LinearCurve, PiecewiseIncrementalCurve}
Get TwoTerminalGenericHVDCLine loss.
PowerSystems.get_reactive_power_limits_from — Methodget_reactive_power_limits_from(
value::TwoTerminalGenericHVDCLine
) -> @NamedTuple{min::Float64, max::Float64}
Get TwoTerminalGenericHVDCLine reactive_power_limits_from.
PowerSystems.get_reactive_power_limits_to — Methodget_reactive_power_limits_to(
value::TwoTerminalGenericHVDCLine
) -> @NamedTuple{min::Float64, max::Float64}
Get TwoTerminalGenericHVDCLine reactive_power_limits_to.
PowerSystems.get_services — Methodget_services(
value::TwoTerminalGenericHVDCLine
) -> Vector{Service}
Get TwoTerminalGenericHVDCLine services.
PowerSystems.set_active_power_flow! — Methodset_active_power_flow!(
value::TwoTerminalGenericHVDCLine,
val
) -> Any
Set TwoTerminalGenericHVDCLine active_power_flow.
PowerSystems.set_active_power_limits_from! — Methodset_active_power_limits_from!(
value::TwoTerminalGenericHVDCLine,
val
) -> Any
Set TwoTerminalGenericHVDCLine active_power_limits_from.
PowerSystems.set_active_power_limits_to! — Methodset_active_power_limits_to!(
value::TwoTerminalGenericHVDCLine,
val
) -> Any
Set TwoTerminalGenericHVDCLine active_power_limits_to.
PowerSystems.set_arc! — Methodset_arc!(value::TwoTerminalGenericHVDCLine, val) -> Any
Set TwoTerminalGenericHVDCLine arc.
PowerSystems.set_ext! — Methodset_ext!(value::TwoTerminalGenericHVDCLine, val) -> Any
Set TwoTerminalGenericHVDCLine ext.
PowerSystems.set_loss! — Methodset_loss!(value::TwoTerminalGenericHVDCLine, val) -> Any
Set TwoTerminalGenericHVDCLine loss.
PowerSystems.set_reactive_power_limits_from! — Methodset_reactive_power_limits_from!(
value::TwoTerminalGenericHVDCLine,
val
) -> Any
Set TwoTerminalGenericHVDCLine reactive_power_limits_from.
PowerSystems.set_reactive_power_limits_to! — Methodset_reactive_power_limits_to!(
value::TwoTerminalGenericHVDCLine,
val
) -> Any
Set TwoTerminalGenericHVDCLine reactive_power_limits_to.
PowerSystems.set_services! — Methodset_services!(value::TwoTerminalGenericHVDCLine, val) -> Any
Set TwoTerminalGenericHVDCLine services.