SwitchedAdmittance

PowerSystems.SwitchedAdmittanceType
mutable struct SwitchedAdmittance <: ElectricLoad
    name::String
    available::Bool
    bus::ACBus
    Y::Complex{Float64}
    number_of_steps::Vector{Int}
    Y_increase::Vector{Complex{Float64}}
    admittance_limits::MinMax
    dynamic_injector::Union{Nothing, DynamicInjection}
    services::Vector{Service}
    ext::Dict{String, Any}
    internal::InfrastructureSystemsInternal
end

A 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., PowerLoad and ACBus) can have the same name
  • available::Bool: Indicator of whether the component is connected and online (true) or disconnected, offline, or down (false). Unavailable components are excluded during simulations
  • bus::ACBus: Bus that this component is connected to
  • Y::Complex{Float64}: Initial admittance at N = 0
  • number_of_steps::Vector{Int}: (default: Int[]) Vector with number of steps for each adjustable shunt block. For example, number_of_steps[2] are the number of available steps for admittance increment at block 2.
  • Y_increase::Vector{Complex{Float64}}: (default: Complex{Float64}[]) Vector with admittance increment step for each adjustable shunt block. For example, Y_increase[2] is the complex admittance increment for each step at block 2.
  • admittance_limits::MinMax: (default: (min=1.0, max=1.0)) Shunt admittance limits for switched shunt model
  • dynamic_injector::Union{Nothing, DynamicInjection}: (default: nothing) corresponding dynamic injection model for admittance
  • services::Vector{Service}: (default: Device[]) Services that this device contributes to
  • ext::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
source