SwitchedAdmittance
PowerSystems.SwitchedAdmittance — Typemutable struct SwitchedAdmittance <: ElectricLoad
name::String
available::Bool
bus::ACBus
Y::Complex{Float64}
number_of_steps::Int
Y_increase::Complex{Float64}
dynamic_injector::Union{Nothing, DynamicInjection}
services::Vector{Service}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
endA switched admittance, with discrete steps to adjust the admittance.
Most often used in power flow studies, iterating over the steps to see impacts of admittance on the results. Total admittance is calculated as: Y + number_of_steps * Y_increase
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 simulationsbus::ACBus: Bus that this component is connected toY::Complex{Float64}: Initial admittance at N = 0number_of_steps::Int: (default:0) Number of steps for adjustable shuntY_increase::Complex{Float64}: (default:0) Admittance increment for each of step increasedynamic_injector::Union{Nothing, DynamicInjection}: (default:nothing) corresponding dynamic injection model for admittanceservices::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::SwitchedAdmittance) -> String
Get SwitchedAdmittance name.
PowerSystems.get_Y — Methodget_Y(value::SwitchedAdmittance) -> ComplexF64
Get SwitchedAdmittance Y.
PowerSystems.get_Y_increase — Methodget_Y_increase(value::SwitchedAdmittance) -> ComplexF64
Get SwitchedAdmittance Y_increase.
PowerSystems.get_available — Methodget_available(value::SwitchedAdmittance) -> Bool
Get SwitchedAdmittance available.
PowerSystems.get_bus — Methodget_bus(value::SwitchedAdmittance) -> ACBus
Get SwitchedAdmittance bus.
PowerSystems.get_dynamic_injector — Methodget_dynamic_injector(
value::SwitchedAdmittance
) -> Union{Nothing, DynamicInjection}
Get SwitchedAdmittance dynamic_injector.
PowerSystems.get_ext — Methodget_ext(value::SwitchedAdmittance) -> Dict{String, Any}
Get SwitchedAdmittance ext.
PowerSystems.get_number_of_steps — Methodget_number_of_steps(value::SwitchedAdmittance) -> Int64
Get SwitchedAdmittance number_of_steps.
PowerSystems.get_services — Methodget_services(value::SwitchedAdmittance) -> Vector{Service}
Get SwitchedAdmittance services.
PowerSystems.set_Y! — Methodset_Y!(value::SwitchedAdmittance, val) -> Any
Set SwitchedAdmittance Y.
PowerSystems.set_Y_increase! — Methodset_Y_increase!(value::SwitchedAdmittance, val) -> Any
Set SwitchedAdmittance Y_increase.
PowerSystems.set_available! — Methodset_available!(value::SwitchedAdmittance, val) -> Any
Set SwitchedAdmittance available.
PowerSystems.set_bus! — Methodset_bus!(value::SwitchedAdmittance, val) -> Any
Set SwitchedAdmittance bus.
PowerSystems.set_ext! — Methodset_ext!(value::SwitchedAdmittance, val) -> Any
Set SwitchedAdmittance ext.
PowerSystems.set_number_of_steps! — Methodset_number_of_steps!(value::SwitchedAdmittance, val) -> Any
Set SwitchedAdmittance number_of_steps.
PowerSystems.set_services! — Methodset_services!(value::SwitchedAdmittance, val) -> Any
Set SwitchedAdmittance services.