FixedAdmittance
PowerSystems.FixedAdmittance
— Typemutable struct FixedAdmittance <: ElectricLoad
name::String
available::Bool
bus::ACBus
Y::Complex{Float64}
dynamic_injector::Union{Nothing, DynamicInjection}
services::Vector{Service}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
A fixed admittance.
Most often used in dynamics or AC power flow studies as a source of reactive power
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
andACBus
) 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}
: Fixed admittance in p.u. (SYSTEM_BASE
)dynamic_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::FixedAdmittance) -> String
Get FixedAdmittance
name
.
PowerSystems.get_Y
— Methodget_Y(value::FixedAdmittance) -> ComplexF64
Get FixedAdmittance
Y
.
PowerSystems.get_available
— Methodget_available(value::FixedAdmittance) -> Bool
Get FixedAdmittance
available
.
PowerSystems.get_bus
— Methodget_bus(value::FixedAdmittance) -> ACBus
Get FixedAdmittance
bus
.
PowerSystems.get_dynamic_injector
— Methodget_dynamic_injector(
value::FixedAdmittance
) -> Union{Nothing, DynamicInjection}
Get FixedAdmittance
dynamic_injector
.
PowerSystems.get_ext
— Methodget_ext(value::FixedAdmittance) -> Dict{String, Any}
Get FixedAdmittance
ext
.
PowerSystems.get_services
— Methodget_services(value::FixedAdmittance) -> Vector{Service}
Get FixedAdmittance
services
.
PowerSystems.set_Y!
— Methodset_Y!(value::FixedAdmittance, val) -> Any
Set FixedAdmittance
Y
.
PowerSystems.set_available!
— Methodset_available!(value::FixedAdmittance, val) -> Any
Set FixedAdmittance
available
.
PowerSystems.set_bus!
— Methodset_bus!(value::FixedAdmittance, val) -> Any
Set FixedAdmittance
bus
.
PowerSystems.set_ext!
— Methodset_ext!(value::FixedAdmittance, val) -> Any
Set FixedAdmittance
ext
.
PowerSystems.set_services!
— Methodset_services!(value::FixedAdmittance, val) -> Any
Set FixedAdmittance
services
.