modelInfiniteBusVariableVoltage

Diagram of InfiniteBusVariableVoltage

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

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.VoltageUFixedUNomFixed source voltage modulus, phase-to-phase
Types.AnglethetaFixed0Fixed angle of source voltage
Types.ResistanceR0Series resistance
Types.ReactanceX0Series reactance
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
external inputs
BooleanuseUInfalseUse external input for source voltage magnitude
BooleanuseThetaInfalseUse external input for source voltage angle

Connectors

TypeNameDefaultDescription
PowerGrids.Interfaces.TerminalACterminal (from OnePortAC)
Modelica.Blocks.Interfaces.RealInputUInSource voltage modulus input, phase-to-phase, V
Modelica.Blocks.Interfaces.RealInputthetaInSource voltage phase angle input, rad

Components

TypeNameDefaultDescription
PortACport (from OnePortAC)AC port of node
Electrical.SystemsystemPowerGrids (from OnePortAC)Reference to system object
Types.ComplexVoltagee (from BusBase)Voltage of ideal generator, phase-to-ground
Types.ComplexImpedanceZ (from BusBase)Internal impedance
Types.ComplexVoltagev (from BusBase)port.vPort voltage, phase-to-ground
Types.ComplexCurrenti (from BusBase)port.iPort current