ACBus
PowerSystems.ACBus — Typemutable struct ACBus <: Bus
number::Int
name::String
available::Bool
bustype::Union{Nothing, ACBusTypes}
angle::Union{Nothing, Float64}
magnitude::Union{Nothing, Float64}
voltage_limits::Union{Nothing, MinMax}
base_voltage::Union{Nothing, Float64}
area::Union{Nothing, Area}
load_zone::Union{Nothing, LoadZone}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
endAn ACBus
Arguments
number::Int: A unique bus identification number (positive integer)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 simulations. This field should not be confused with the ISOLATED value inACBusTypesbustype::Union{Nothing, ACBusTypes}: TheACBusTypesof this bus, describing its connectivity and behaviorangle::Union{Nothing, Float64}: angle of the bus in radiansmagnitude::Union{Nothing, Float64}: voltage as a multiple ofbase_voltage, validation range:voltage_limitsvoltage_limits::Union{Nothing, MinMax}: limits on the voltage variation as multiples ofbase_voltagebase_voltage::Union{Nothing, Float64}: the base voltage in kV, validation range:(0, nothing)area::Union{Nothing, Area}: (default:nothing) theAreacontaining the busload_zone::Union{Nothing, LoadZone}: (default:nothing) theLoadZonecontaining the busext::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
InfrastructureSystems.get_available — Methodget_available(value::ACBus) -> Bool
Get ACBusavailable.
InfrastructureSystems.get_name — Methodget_name(value::ACBus) -> String
Get ACBusname.
InfrastructureSystems.set_available! — Methodset_available!(value::ACBus, val) -> Any
Set ACBusavailable.
PowerSystems.get_angle — Methodget_angle(value::ACBus) -> Union{Nothing, Float64}
Get ACBusangle.
PowerSystems.get_area — Methodget_area(value::ACBus) -> Union{Nothing, Area}
Get ACBusarea.
PowerSystems.get_base_voltage — Methodget_base_voltage(value::ACBus) -> Union{Nothing, Float64}
Get ACBusbase_voltage.
PowerSystems.get_bustype — Methodget_bustype(value::ACBus) -> Union{Nothing, ACBusTypes}
Get ACBusbustype.
PowerSystems.get_ext — Methodget_ext(value::ACBus) -> Dict{String, Any}
Get ACBusext.
PowerSystems.get_load_zone — Methodget_load_zone(value::ACBus) -> Union{Nothing, LoadZone}
Get ACBusload_zone.
PowerSystems.get_magnitude — Methodget_magnitude(value::ACBus) -> Union{Nothing, Float64}
Get ACBusmagnitude.
PowerSystems.get_number — Methodget_number(value::ACBus) -> Int64
Get ACBusnumber.
PowerSystems.get_voltage_limits — Methodget_voltage_limits(
value::ACBus
) -> Union{Nothing, @NamedTuple{min::Float64, max::Float64}}
Get ACBusvoltage_limits.
PowerSystems.set_angle! — Methodset_angle!(value::ACBus, val) -> Any
Set ACBusangle.
PowerSystems.set_area! — Methodset_area!(value::ACBus, val) -> Area
Set ACBusarea.
PowerSystems.set_base_voltage! — Methodset_base_voltage!(value::ACBus, val) -> Any
Set ACBusbase_voltage.
PowerSystems.set_bustype! — Methodset_bustype!(value::ACBus, val) -> Any
Set ACBusbustype.
PowerSystems.set_ext! — Methodset_ext!(value::ACBus, val) -> Any
Set ACBusext.
PowerSystems.set_load_zone! — Methodset_load_zone!(value::ACBus, val) -> LoadZone
Set ACBusload_zone.
PowerSystems.set_magnitude! — Methodset_magnitude!(value::ACBus, val) -> Any
Set ACBusmagnitude.
PowerSystems.set_voltage_limits! — Methodset_voltage_limits!(value::ACBus, val) -> Any
Set ACBusvoltage_limits.