modelSlackBus

Slack Bus
Diagram of SlackBus

Extends from BaseClasses.OnePortAC (Base class for AC components with one port), Icons.Bus.

Information

Slack bus: prescribes voltage magnitude and phase (default zero).

Exactly one slack bus is required in each interconnected AC system. If the system is isolated, the active and reactive power flows port.P and port.Q should be small, ideally zero; they are not if the system is not balanced in terms of active and reactive power production and consumption.

Parameters

TypeNameDefaultDescription
Types.VoltageUNom (from OnePortAC)Nominal/rated line-to-line voltage
Types.ApparentPowerSNom (from OnePortAC)Nominal/rated apparent power
BooleanportVariablesPhases (from OnePortAC)falseCompute voltage and current phases for monitoring purposes only
BooleanportVariablesPu (from OnePortAC)trueAdd per-unit variables to model
BooleangeneratorConvention (from OnePortAC)falseAdd currents with generator convention (i > 0 when exiting the device) to model
LocalInitializationOptionlocalInit (from OnePortAC)LocalInitializationOption.noneInitialize the component locally in steady state from port start values
Types.VoltageUUNomVoltage magnitude, phase-to-phase
Types.Angletheta0Phase of voltage phasor
Initialization
Types.VoltageUStart (from OnePortAC)UNomStart value of phase-to-phase voltage phasor, absolute value
Types.AngleUPhaseStart (from OnePortAC)0Start value of phase-to-phase voltage phasor, phase angle
Types.ActivePowerPStart (from OnePortAC)SNomStart value of active power flowing into the port
Types.ReactivePowerQStart (from OnePortAC)0Start value of reactive power flowing into the port

Connectors

TypeNameDefaultDescription
PowerGrids.Interfaces.TerminalACterminal (from OnePortAC)

Components

TypeNameDefaultDescription
PortACport (from OnePortAC)AC port of node
Electrical.SystemsystemPowerGrids (from OnePortAC)Reference to system object