FACTSControlDevice
PowerSystems.FACTSControlDevice
— Typemutable struct FACTSControlDevice <: StaticInjection
name::String
available::Bool
bus::ACBus
control_mode::Union{Nothing, FACTSOperationModes}
voltage_setpoint::Float64
max_shunt_current::Float64
reactive_power_required::Float64
services::Vector{Service}
dynamic_injector::Union{Nothing, DynamicInjection}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
Facts control devices.
Most often used in AC power flow studies as a control of voltage and, active and 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
: Sending end bus numbercontrol_mode::Union{Nothing, FACTSOperationModes}
: Control mode. Used to describe the behavior of the control device. Options are listed here.voltage_setpoint::Float64
: Voltage setpoint at the sending end bus, it has to be aPV
bus, in p.u. (SYSTEM_BASE
).max_shunt_current::Float64
: Maximum shunt current at the sending end bus; entered in MVA at unity voltage.reactive_power_required::Float64
: Total MVAr required to hold voltage at sending bus, in %.services::Vector{Service}
: (default:Device[]
) Services that this device contributes todynamic_injector::Union{Nothing, DynamicInjection}
: (default:nothing
) Corresponding dynamic injection model for FACTS control deviceext::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_name
— Methodget_name(value::FACTSControlDevice) -> String
Get FACTSControlDevice
name
.
PowerSystems.get_available
— Methodget_available(value::FACTSControlDevice) -> Bool
Get FACTSControlDevice
available
.
PowerSystems.get_bus
— Methodget_bus(value::FACTSControlDevice) -> ACBus
Get FACTSControlDevice
bus
.
PowerSystems.get_control_mode
— Methodget_control_mode(
value::FACTSControlDevice
) -> Union{Nothing, FACTSOperationModes}
Get FACTSControlDevice
control_mode
.
PowerSystems.get_dynamic_injector
— Methodget_dynamic_injector(
value::FACTSControlDevice
) -> Union{Nothing, DynamicInjection}
Get FACTSControlDevice
dynamic_injector
.
PowerSystems.get_ext
— Methodget_ext(value::FACTSControlDevice) -> Dict{String, Any}
Get FACTSControlDevice
ext
.
PowerSystems.get_max_shunt_current
— Methodget_max_shunt_current(value::FACTSControlDevice) -> Float64
Get FACTSControlDevice
max_shunt_current
.
PowerSystems.get_reactive_power_required
— Methodget_reactive_power_required(
value::FACTSControlDevice
) -> Float64
Get FACTSControlDevice
reactive_power_required
.
PowerSystems.get_services
— Methodget_services(value::FACTSControlDevice) -> Vector{Service}
Get FACTSControlDevice
services
.
PowerSystems.get_voltage_setpoint
— Methodget_voltage_setpoint(value::FACTSControlDevice) -> Float64
Get FACTSControlDevice
voltage_setpoint
.
PowerSystems.set_available!
— Methodset_available!(value::FACTSControlDevice, val) -> Any
Set FACTSControlDevice
available
.
PowerSystems.set_bus!
— Methodset_bus!(value::FACTSControlDevice, val) -> Any
Set FACTSControlDevice
bus
.
PowerSystems.set_control_mode!
— Methodset_control_mode!(value::FACTSControlDevice, val) -> Any
Set FACTSControlDevice
control_mode
.
PowerSystems.set_ext!
— Methodset_ext!(value::FACTSControlDevice, val) -> Any
Set FACTSControlDevice
ext
.
PowerSystems.set_max_shunt_current!
— Methodset_max_shunt_current!(
value::FACTSControlDevice,
val
) -> Any
Set FACTSControlDevice
max_shunt_current
.
PowerSystems.set_reactive_power_required!
— Methodset_reactive_power_required!(
value::FACTSControlDevice,
val
) -> Any
Set FACTSControlDevice
reactive_power_required
.
PowerSystems.set_services!
— Methodset_services!(value::FACTSControlDevice, val) -> Any
Set FACTSControlDevice
services
.
PowerSystems.set_voltage_setpoint!
— Methodset_voltage_setpoint!(value::FACTSControlDevice, val) -> Any
Set FACTSControlDevice
voltage_setpoint
.