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 AC bus
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 enum value (@ref acbustypes_list)bustype::Union{Nothing, ACBusTypes}: Used to describe the connectivity and behavior of this bus. Options are listed here.angle::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) the area containing the busload_zone::Union{Nothing, LoadZone}: (default:nothing) the load zone containing 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 ACBus available.
InfrastructureSystems.get_name — Methodget_name(value::ACBus) -> String
Get ACBus name.
InfrastructureSystems.set_available! — Methodset_available!(value::ACBus, val) -> Any
Set ACBus available.
PowerSystems.get_angle — Methodget_angle(value::ACBus) -> Union{Nothing, Float64}
Get ACBus angle.
PowerSystems.get_area — Methodget_area(value::ACBus) -> Union{Nothing, Area}
Get ACBus area.
PowerSystems.get_base_voltage — Methodget_base_voltage(value::ACBus) -> Union{Nothing, Float64}
Get ACBus base_voltage.
PowerSystems.get_bustype — Methodget_bustype(value::ACBus) -> Union{Nothing, ACBusTypes}
Get ACBus bustype.
PowerSystems.get_ext — Methodget_ext(value::ACBus) -> Dict{String, Any}
Get ACBus ext.
PowerSystems.get_load_zone — Methodget_load_zone(value::ACBus) -> Union{Nothing, LoadZone}
Get ACBus load_zone.
PowerSystems.get_magnitude — Methodget_magnitude(value::ACBus) -> Union{Nothing, Float64}
Get ACBus magnitude.
PowerSystems.get_number — Methodget_number(value::ACBus) -> Int64
Get ACBus number.
PowerSystems.get_voltage_limits — Methodget_voltage_limits(
value::ACBus
) -> Union{Nothing, @NamedTuple{min::Float64, max::Float64}}
Get ACBus voltage_limits.
PowerSystems.set_angle! — Methodset_angle!(value::ACBus, val) -> Any
Set ACBus angle.
PowerSystems.set_area! — Methodset_area!(value::ACBus, val) -> Area
Set ACBus area.
PowerSystems.set_base_voltage! — Methodset_base_voltage!(value::ACBus, val) -> Any
Set ACBus base_voltage.
PowerSystems.set_bustype! — Methodset_bustype!(value::ACBus, val) -> Any
Set ACBus bustype.
PowerSystems.set_ext! — Methodset_ext!(value::ACBus, val) -> Any
Set ACBus ext.
PowerSystems.set_load_zone! — Methodset_load_zone!(value::ACBus, val) -> LoadZone
Set ACBus load_zone.
PowerSystems.set_magnitude! — Methodset_magnitude!(value::ACBus, val) -> Any
Set ACBus magnitude.
PowerSystems.set_voltage_limits! — Methodset_voltage_limits!(value::ACBus, val) -> Any
Set ACBus voltage_limits.