modelSlackBus
Slack Bus
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
| Type | Name | Default | Description |
|---|---|---|---|
| Types.Voltage | UNom (from OnePortAC) | Nominal/rated line-to-line voltage | |
| Types.ApparentPower | SNom (from OnePortAC) | Nominal/rated apparent power | |
| Boolean | portVariablesPhases (from OnePortAC) | false | Compute voltage and current phases for monitoring purposes only |
| Boolean | portVariablesPu (from OnePortAC) | true | Add per-unit variables to model |
| Boolean | generatorConvention (from OnePortAC) | false | Add currents with generator convention (i > 0 when exiting the device) to model |
| LocalInitializationOption | localInit (from OnePortAC) | LocalInitializationOption.none | Initialize the component locally in steady state from port start values |
| Types.Voltage | U | UNom | Voltage magnitude, phase-to-phase |
| Types.Angle | theta | 0 | Phase of voltage phasor |
| Initialization | |||
| Types.Voltage | UStart (from OnePortAC) | UNom | Start value of phase-to-phase voltage phasor, absolute value |
| Types.Angle | UPhaseStart (from OnePortAC) | 0 | Start value of phase-to-phase voltage phasor, phase angle |
| Types.ActivePower | PStart (from OnePortAC) | SNom | Start value of active power flowing into the port |
| Types.ReactivePower | QStart (from OnePortAC) | 0 | Start value of reactive power flowing into the port |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PowerGrids.Interfaces.TerminalAC | terminal (from OnePortAC) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| PortAC | port (from OnePortAC) | AC port of node | |
| Electrical.System | systemPowerGrids (from OnePortAC) | Reference to system object |