Dynamic Branch
PowerSystems.DynamicBranch
— TypeExtends the branch type to add the information required for dynamic modeling of branches. Includes the fields for the states and the number of states
Arguments
branch::ACBranch
PowerSystems.get_active_power_flow
— Methodget_active_power_flow(value::DynamicBranch)
Get DynamicBranch activepowerflow.
PowerSystems.get_angle_limits
— Methodget_angle_limits(
value::DynamicBranch
) -> @NamedTuple{min::Float64, max::Float64}
Get DynamicBranch angle_limits.
PowerSystems.get_arc
— Methodget_arc(value::DynamicBranch) -> Any
Get DynamicBranch arc.
PowerSystems.get_available
— Methodget_available(value::DynamicBranch) -> Any
Get DynamicBranch available.
PowerSystems.get_b
— Methodget_b(
value::DynamicBranch
) -> @NamedTuple{from::Float64, to::Float64}
Get DynamicBranch b.
PowerSystems.get_ext
— Methodget_ext(value::DynamicBranch) -> Any
Get DynamicBranch ext.
PowerSystems.get_n_states
— Methodget_n_states(value::DynamicBranch) -> Int64
Get n_states
PowerSystems.get_r
— Methodget_r(value::DynamicBranch) -> Any
Get DynamicBranch r.
PowerSystems.get_rating
— Methodget_rating(value::DynamicBranch) -> Any
Get DynamicBranch rating.
PowerSystems.get_reactive_power_flow
— Methodget_reactive_power_flow(value::DynamicBranch)
Get DynamicBranch reactivepowerflow.
PowerSystems.get_services
— Methodget_services(value::DynamicBranch) -> Any
Get DynamicBranch services.
PowerSystems.get_states
— Methodget_states(value::DynamicBranch) -> Vector{Symbol}
Get states
PowerSystems.get_x
— Methodget_x(value::DynamicBranch) -> Any
Get DynamicBranch x.
PowerSystems.set_active_power_flow!
— Methodset_active_power_flow!(
value::DynamicBranch,
val::Float64
) -> Any
Set DynamicBranch activepowerflow.
PowerSystems.set_angle_limits!
— Methodset_angle_limits!(
value::DynamicBranch,
val::@NamedTuple{min::Float64, max::Float64}
) -> @NamedTuple{min::Float64, max::Float64}
Set DynamicBranch angle_limits.
PowerSystems.set_arc!
— Methodset_arc!(value::DynamicBranch, val::Arc) -> Any
Set DynamicBranch arc.
PowerSystems.set_available!
— Methodset_available!(value::DynamicBranch, val::Bool) -> Any
Set DynamicBranch available.
PowerSystems.set_b!
— Methodset_b!(value::DynamicBranch, val) -> Any
Set DynamicBranch b.
PowerSystems.set_ext!
— Methodset_ext!(
value::DynamicBranch,
val::Dict{String, Any}
) -> Any
Set DynamicBranch ext.
PowerSystems.set_n_states!
— Methodset_n_states!(value::DynamicBranch, val::Int64) -> Int64
Set n_states
PowerSystems.set_r!
— Methodset_r!(value::DynamicBranch, val::Float64) -> Any
Set DynamicBranch r.
PowerSystems.set_rating!
— Methodset_rating!(value::DynamicBranch, val::Float64) -> Any
Set DynamicBranch rating.
PowerSystems.set_reactive_power_flow!
— Methodset_reactive_power_flow!(
value::DynamicBranch,
val::Float64
) -> Any
Set DynamicBranch reactivepowerflow.
PowerSystems.set_services!
— Methodset_services!(
value::DynamicBranch,
val::Vector{Service}
) -> Any
Set DynamicBranch services.
PowerSystems.set_states!
— Methodset_states!(
value::DynamicBranch,
val::Vector{Symbol}
) -> Vector{Symbol}
Set states
PowerSystems.set_x!
— Methodset_x!(value::DynamicBranch, val::Float64) -> Any
Set DynamicBranch x.