ACBus
PowerSystems.ACBus
— Typemutable struct ACBus <: Bus
number::Int
name::String
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
end
A power-system bus.
Arguments
number::Int
: number associated with the busname::String
: the name of the busbustype::Union{Nothing, ACBusTypes}
: bus typeangle::Union{Nothing, Float64}
: angle of the bus in radians, validation range:(-1.571, 1.571)
, action if invalid:error
magnitude::Union{Nothing, Float64}
: voltage as a multiple of basevoltage, validation range:voltage_limits
, action if invalid:warn
voltage_limits::Union{Nothing, MinMax}
: limits on the voltage variation as multiples of basevoltagebase_voltage::Union{Nothing, Float64}
: the base voltage in kV, validation range:(0, nothing)
, action if invalid:error
area::Union{Nothing, Area}
: the area containing the busload_zone::Union{Nothing, LoadZone}
: the load zone containing the busext::Dict{String, Any}
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
InfrastructureSystems.get_name
— Methodget_name(value::ACBus) -> String
Get ACBus
name
.
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_number!
— Methodset_number!(value::ACBus, val) -> Any
Set ACBus
number
.
PowerSystems.set_voltage_limits!
— Methodset_voltage_limits!(value::ACBus, val) -> Any
Set ACBus
voltage_limits
.