InterconnectingConverter
PowerSystems.InterconnectingConverter
— Typemutable struct InterconnectingConverter <: StaticInjection
name::String
available::Bool
bus::ACBus
dc_bus::DCBus
active_power::Float64
rating::Float64
active_power_limits::MinMax
base_power::Float64
dc_current::Float64
max_dc_current::Float64
loss_function::Union{LinearCurve, QuadraticCurve}
services::Vector{Service}
dynamic_injector::Union{Nothing, DynamicInjection}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
Interconnecting Power Converter (IPC) for transforming power from an ACBus to a DCBus
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 on the AC side of this converterdc_bus::DCBus
: Bus on the DC side of this converteractive_power::Float64
: Active power (MW) on the DC side, validation range:active_power_limits
rating::Float64
: Maximum output power rating of the converter (MVA), validation range:(0, nothing)
active_power_limits::MinMax
: Minimum and maximum stable active power levels (MW)base_power::Float64
: Base power of the converter in MVA, validation range:(0, nothing)
dc_current::Float64
: (default:0.0
) DC current (A) on the convertermax_dc_current::Float64
: (default:1e8
) Maximum stable dc current limits (A)loss_function::Union{LinearCurve, QuadraticCurve}
: (default:LinearCurve(0.0)
) Linear or quadratic loss function with respect to the converter currentservices::Vector{Service}
: (default:Device[]
) Services that this device contributes todynamic_injector::Union{Nothing, DynamicInjection}
: (default:nothing
) corresponding dynamic injection deviceext::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::InterconnectingConverter) -> String
Get InterconnectingConverter
name
.
PowerSystems.get_active_power
— Methodget_active_power(value::InterconnectingConverter) -> Any
Get InterconnectingConverter
active_power
.
PowerSystems.get_active_power_limits
— Methodget_active_power_limits(
value::InterconnectingConverter
) -> NamedTuple{(:min, :max), <:Tuple{Any, Any}}
Get InterconnectingConverter
active_power_limits
.
PowerSystems.get_available
— Methodget_available(value::InterconnectingConverter) -> Bool
Get InterconnectingConverter
available
.
PowerSystems.get_base_power
— Methodget_base_power(value::InterconnectingConverter) -> Float64
Get InterconnectingConverter
base_power
.
PowerSystems.get_bus
— Methodget_bus(value::InterconnectingConverter) -> ACBus
Get InterconnectingConverter
bus
.
PowerSystems.get_dc_bus
— Methodget_dc_bus(value::InterconnectingConverter) -> DCBus
Get InterconnectingConverter
dc_bus
.
PowerSystems.get_dc_current
— Methodget_dc_current(value::InterconnectingConverter) -> Float64
Get InterconnectingConverter
dc_current
.
PowerSystems.get_dynamic_injector
— Methodget_dynamic_injector(
value::InterconnectingConverter
) -> Union{Nothing, DynamicInjection}
Get InterconnectingConverter
dynamic_injector
.
PowerSystems.get_ext
— Methodget_ext(
value::InterconnectingConverter
) -> Dict{String, Any}
Get InterconnectingConverter
ext
.
PowerSystems.get_loss_function
— Methodget_loss_function(
value::InterconnectingConverter
) -> Union{LinearCurve, QuadraticCurve}
Get InterconnectingConverter
loss_function
.
PowerSystems.get_max_dc_current
— Methodget_max_dc_current(
value::InterconnectingConverter
) -> Float64
Get InterconnectingConverter
max_dc_current
.
PowerSystems.get_rating
— Methodget_rating(value::InterconnectingConverter) -> Any
Get InterconnectingConverter
rating
.
PowerSystems.get_services
— Methodget_services(
value::InterconnectingConverter
) -> Vector{Service}
Get InterconnectingConverter
services
.
PowerSystems.set_active_power!
— Methodset_active_power!(
value::InterconnectingConverter,
val
) -> Any
Set InterconnectingConverter
active_power
.
PowerSystems.set_active_power_limits!
— Methodset_active_power_limits!(
value::InterconnectingConverter,
val
) -> Any
Set InterconnectingConverter
active_power_limits
.
PowerSystems.set_available!
— Methodset_available!(value::InterconnectingConverter, val) -> Any
Set InterconnectingConverter
available
.
PowerSystems.set_base_power!
— Methodset_base_power!(value::InterconnectingConverter, val) -> Any
Set InterconnectingConverter
base_power
.
PowerSystems.set_bus!
— Methodset_bus!(value::InterconnectingConverter, val) -> Any
Set InterconnectingConverter
bus
.
PowerSystems.set_dc_bus!
— Methodset_dc_bus!(value::InterconnectingConverter, val) -> Any
Set InterconnectingConverter
dc_bus
.
PowerSystems.set_dc_current!
— Methodset_dc_current!(value::InterconnectingConverter, val) -> Any
Set InterconnectingConverter
dc_current
.
PowerSystems.set_ext!
— Methodset_ext!(value::InterconnectingConverter, val) -> Any
Set InterconnectingConverter
ext
.
PowerSystems.set_loss_function!
— Methodset_loss_function!(
value::InterconnectingConverter,
val
) -> Any
Set InterconnectingConverter
loss_function
.
PowerSystems.set_max_dc_current!
— Methodset_max_dc_current!(
value::InterconnectingConverter,
val
) -> Any
Set InterconnectingConverter
max_dc_current
.
PowerSystems.set_rating!
— Methodset_rating!(value::InterconnectingConverter, val) -> Any
Set InterconnectingConverter
rating
.
PowerSystems.set_services!
— Methodset_services!(value::InterconnectingConverter, val) -> Any
Set InterconnectingConverter
services
.