Dynamic Branch
PowerSystems.DynamicBranch — TypeExtends an ACTransmission branch with the information required for dynamic modeling.
Arguments
branch::ACTransmission: The static AC transmission branch that this struct extends with dynamic modeling datan_states::Int64: Number of dynamic statesstates::Vector{Symbol}: Names of the dynamic statesinternal::InfrastructureSystems.InfrastructureSystemsInternal: (Do not modify.) PowerSystems.jl internal reference
InfrastructureSystems.get_available — Methodget_available(value::DynamicBranch) -> Any
Return available from the underlying branch of a DynamicBranch.
InfrastructureSystems.set_available! — Methodset_available!(value::DynamicBranch, val::Bool) -> Any
Set available on the underlying branch of a DynamicBranch.
PowerSystems.get_active_power_flow — Methodget_active_power_flow(value::DynamicBranch)
Return active_power_flow from the underlying branch of a DynamicBranch.
PowerSystems.get_angle_limits — Methodget_angle_limits(
value::DynamicBranch
) -> @NamedTuple{min::Float64, max::Float64}
Return angle_limits from the underlying branch of a DynamicBranch.
PowerSystems.get_arc — Methodget_arc(value::DynamicBranch) -> Any
Return the Arc from the underlying branch of a DynamicBranch.
PowerSystems.get_b — Methodget_b(value::DynamicBranch) -> Any
Return susceptance b from the underlying branch of a DynamicBranch.
PowerSystems.get_ext — Methodget_ext(value::DynamicBranch) -> Any
Return ext from the underlying branch of a DynamicBranch.
PowerSystems.get_n_states — Methodget_n_states(value::DynamicBranch) -> Int64
Return the number of dynamic states of a DynamicBranch.
PowerSystems.get_r — Methodget_r(value::DynamicBranch) -> Any
Return resistance r from the underlying branch of a DynamicBranch.
PowerSystems.get_rating — Methodget_rating(value::DynamicBranch) -> Any
Return the rating from the underlying branch of a DynamicBranch.
PowerSystems.get_rating_b — Methodget_rating_b(value::DynamicBranch) -> Any
Return the second rating (rating_b, e.g., a short-term emergency rating) from the underlying branch of a DynamicBranch.
PowerSystems.get_rating_c — Methodget_rating_c(value::DynamicBranch) -> Any
Return the third rating (rating_c, e.g., an emergency rating) from the underlying branch of a DynamicBranch.
PowerSystems.get_reactive_power_flow — Methodget_reactive_power_flow(value::DynamicBranch)
Return reactive_power_flow from the underlying branch of a DynamicBranch.
PowerSystems.get_services — Methodget_services(value::DynamicBranch) -> Any
Return services from the underlying branch of a DynamicBranch.
PowerSystems.get_states — Methodget_states(value::DynamicBranch) -> Vector{Symbol}
Return the vector of dynamic state symbols of a DynamicBranch.
PowerSystems.get_x — Methodget_x(value::DynamicBranch) -> Any
Return reactance x from the underlying branch of a DynamicBranch.
PowerSystems.set_active_power_flow! — Methodset_active_power_flow!(
value::DynamicBranch,
val::Float64
) -> Any
Set active_power_flow on the underlying branch of a DynamicBranch.
PowerSystems.set_angle_limits! — Methodset_angle_limits!(
value::DynamicBranch,
val::@NamedTuple{min::Float64, max::Float64}
) -> @NamedTuple{min::Float64, max::Float64}
Set angle_limits on the underlying branch of a DynamicBranch.
PowerSystems.set_arc! — Methodset_arc!(value::DynamicBranch, val::Arc) -> Any
Set the Arc on the underlying branch of a DynamicBranch.
PowerSystems.set_b! — Methodset_b!(value::DynamicBranch, val) -> Any
Set susceptance b on the underlying branch of a DynamicBranch.
PowerSystems.set_ext! — Methodset_ext!(
value::DynamicBranch,
val::Dict{String, Any}
) -> Any
Set ext on the underlying branch of a DynamicBranch.
PowerSystems.set_n_states! — Methodset_n_states!(value::DynamicBranch, val::Int64) -> Int64
Set the number of dynamic states on a DynamicBranch.
PowerSystems.set_r! — Methodset_r!(value::DynamicBranch, val::Float64) -> Any
Set resistance r on the underlying branch of a DynamicBranch.
PowerSystems.set_rating! — Methodset_rating!(value::DynamicBranch, val::Float64) -> Any
Set the rating on the underlying branch of a DynamicBranch.
PowerSystems.set_reactive_power_flow! — Methodset_reactive_power_flow!(
value::DynamicBranch,
val::Float64
) -> Any
Set reactive_power_flow on the underlying branch of a DynamicBranch.
PowerSystems.set_services! — Methodset_services!(
value::DynamicBranch,
val::Vector{Service}
) -> Any
Set services on the underlying branch of a DynamicBranch.
PowerSystems.set_states! — Methodset_states!(
value::DynamicBranch,
val::Vector{Symbol}
) -> Vector{Symbol}
Set the vector of dynamic state symbols on a DynamicBranch.
PowerSystems.set_x! — Methodset_x!(value::DynamicBranch, val::Float64) -> Any
Set reactance x on the underlying branch of a DynamicBranch.