modelInfiniteBusVariableVoltage
Extends from BaseClasses.BusBase, Icons.Bus.
Information
Infinite bus model with voltage e. The port voltage is v = e + Zi, where i is the current entering the bus. The default value of the series impedance Z = R + jX is zero.
The magnitude and angle of the voltage e can provided by external input connectors. If useUin = true, the UIn input is used to set the magnitude of voltage e, otherwise the constant value UFixed is used.
Similarly, if useThetaIn = true, the thetaIn input is used to set the phase angle of voltage e, otherwise the constant value thetaFixed is used.
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 | UFixed | UNom | Fixed source voltage modulus, phase-to-phase |
| Types.Angle | thetaFixed | 0 | Fixed angle of source voltage |
| Types.Resistance | R | 0 | Series resistance |
| Types.Reactance | X | 0 | Series reactance |
| 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 |
| external inputs | |||
| Boolean | useUIn | false | Use external input for source voltage magnitude |
| Boolean | useThetaIn | false | Use external input for source voltage angle |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PowerGrids.Interfaces.TerminalAC | terminal (from OnePortAC) | ||
| Modelica.Blocks.Interfaces.RealInput | UIn | Source voltage modulus input, phase-to-phase, V | |
| Modelica.Blocks.Interfaces.RealInput | thetaIn | Source voltage phase angle input, rad |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| PortAC | port (from OnePortAC) | AC port of node | |
| Electrical.System | systemPowerGrids (from OnePortAC) | Reference to system object | |
| Types.ComplexVoltage | e (from BusBase) | Voltage of ideal generator, phase-to-ground | |
| Types.ComplexImpedance | Z (from BusBase) | Internal impedance | |
| Types.ComplexVoltage | v (from BusBase) | port.v | Port voltage, phase-to-ground |
| Types.ComplexCurrent | i (from BusBase) | port.i | Port current |