Source

PowerSystems.SourceType
mutable struct Source <: StaticInjection
    name::String
    available::Bool
    bus::ACBus
    active_power::Float64
    reactive_power::Float64
    R_th::Float64
    X_th::Float64
    internal_voltage::Float64
    internal_angle::Float64
    dynamic_injector::Union{Nothing, DynamicInjection}
    services::Vector{Service}
    ext::Dict{String, Any}
    internal::InfrastructureSystemsInternal
end

This struct acts as an infinity bus.

Arguments

  • name::String
  • available::Bool
  • bus::ACBus
  • active_power::Float64
  • reactive_power::Float64
  • R_th::Float64: Source Thevenin resistance, validation range: (0, nothing)
  • X_th::Float64: Source Thevenin reactance, validation range: (0, nothing)
  • internal_voltage::Float64: Internal Voltage, validation range: (0, nothing)
  • internal_angle::Float64: Internal Angle
  • dynamic_injector::Union{Nothing, DynamicInjection}: corresponding dynamic injection device
  • services::Vector{Service}: Services that this device contributes to
  • ext::Dict{String, Any}
  • internal::InfrastructureSystemsInternal: power system internal reference, do not modify
source