Line
PowerSystems.Line
— Typemutable struct Line <: ACBranch
name::String
available::Bool
active_power_flow::Float64
reactive_power_flow::Float64
arc::Arc
r::Float64
x::Float64
b::NamedTuple{(:from, :to), Tuple{Float64, Float64}}
rate::Float64
angle_limits::NamedTuple{(:min, :max), Tuple{Float64, Float64}}
services::Vector{Service}
ext::Dict{String, Any}
time_series_container::InfrastructureSystems.TimeSeriesContainer
internal::InfrastructureSystemsInternal
end
Arguments
name::String
available::Bool
active_power_flow::Float64
reactive_power_flow::Float64
arc::Arc
r::Float64
: System per-unit value, validation range:(0, 4)
, action if invalid:warn
x::Float64
: System per-unit value, validation range:(0, 4)
, action if invalid:warn
b::NamedTuple{(:from, :to), Tuple{Float64, Float64}}
: System per-unit value, validation range:(0, 100)
, action if invalid:warn
rate::Float64
angle_limits::NamedTuple{(:min, :max), Tuple{Float64, Float64}}
, validation range:(-1.571, 1.571)
, action if invalid:error
services::Vector{Service}
: Services that this device contributes toext::Dict{String, Any}
time_series_container::InfrastructureSystems.TimeSeriesContainer
: internal time_series storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
InfrastructureSystems.get_name
— Methodget_name(value::Line) -> String
Get Line
name
.
InfrastructureSystems.get_time_series_container
— Methodget_time_series_container(value::Line) -> InfrastructureSystems.TimeSeriesContainer
Get Line
time_series_container
.
InfrastructureSystems.set_name!
— Methodset_name!(value::Line, val) -> Any
Set Line
name
.
PowerSystems.get_active_power_flow
— Methodget_active_power_flow(value::Line) -> Any
Get Line
active_power_flow
.
PowerSystems.get_angle_limits
— Methodget_angle_limits(value::Line) -> NamedTuple{(:min, :max), Tuple{Float64, Float64}}
Get Line
angle_limits
.
PowerSystems.get_arc
— Methodget_arc(value::Line) -> Arc
Get Line
arc
.
PowerSystems.get_available
— Methodget_available(value::Line) -> Bool
Get Line
available
.
PowerSystems.get_b
— Methodget_b(value::Line) -> NamedTuple{(:from, :to), Tuple{Float64, Float64}}
Get Line
b
.
PowerSystems.get_ext
— Methodget_ext(value::Line) -> Dict{String, Any}
Get Line
ext
.
PowerSystems.get_r
— Methodget_r(value::Line) -> Float64
Get Line
r
.
PowerSystems.get_rate
— Methodget_rate(value::Line) -> Any
Get Line
rate
.
PowerSystems.get_reactive_power_flow
— Methodget_reactive_power_flow(value::Line) -> Any
Get Line
reactive_power_flow
.
PowerSystems.get_services
— Methodget_services(value::Line) -> Vector{Service}
Get Line
services
.
PowerSystems.get_x
— Methodget_x(value::Line) -> Float64
Get Line
x
.
PowerSystems.set_active_power_flow!
— Methodset_active_power_flow!(value::Line, val) -> Any
Set Line
active_power_flow
.
PowerSystems.set_angle_limits!
— Methodset_angle_limits!(value::Line, val) -> Any
Set Line
angle_limits
.
PowerSystems.set_arc!
— Methodset_arc!(value::Line, val) -> Any
Set Line
arc
.
PowerSystems.set_available!
— Methodset_available!(value::Line, val) -> Any
Set Line
available
.
PowerSystems.set_b!
— Methodset_b!(value::Line, val) -> Any
Set Line
b
.
PowerSystems.set_ext!
— Methodset_ext!(value::Line, val) -> Any
Set Line
ext
.
PowerSystems.set_r!
— Methodset_r!(value::Line, val) -> Any
Set Line
r
.
PowerSystems.set_rate!
— Methodset_rate!(value::Line, val) -> Any
Set Line
rate
.
PowerSystems.set_reactive_power_flow!
— Methodset_reactive_power_flow!(value::Line, val) -> Any
Set Line
reactive_power_flow
.
PowerSystems.set_services!
— Methodset_services!(value::Line, val) -> Any
Set Line
services
.
PowerSystems.set_time_series_container!
— Methodset_time_series_container!(value::Line, val) -> Any
Set Line
time_series_container
.
PowerSystems.set_x!
— Methodset_x!(value::Line, val) -> Any
Set Line
x
.