modelGenerator

Active power generator
Diagram of Generator

Information

This model describes the conversion between mechanical power and electrical power in an ideal synchronous generator, with ideal voltage control. Only active power generation is considered.

For proper system initialization and operation, it is recommended to use the generator model to represent the overall inertia of the turbo-generator group, i.e., to connect the generator model to turbine models that do not have any inertia on their own.

The inertia of the turbo-generator group is characterized by the acceleration time Ta, which is defined as two times the ratio between the turbo-group kinetic energy at nominal rotational speed and the nominal turbo-group power. Oftentimes, the time constant H is given instead, which is defined as just the ratio between the turbo-group kinetic energy at nominal rotational speed and the nominal turbo-group power. Obviously, Ta = 2*H. Typical values of Ta are beteween 5 s and 15 s.

In order to obtain well-posed initialization problems, it is also necessary to set referenceGenerator = true on one (and only one) generator for each synchronously connected island at the initial time. This ensures that all initial voltage angles are well defined. Please note this is not required if the generator belongs to a system connected to a Grid component, as the grid provides a reference for the initial voltage angles.

Parameters

TypeNameDefaultDescription
SI.PowerPnomNominal/rated power of the generator
SI.TimeTa10Acceleration time of the turbo-generator group
IntegerNp2Number of electrical poles
SI.PerUniteta1Electrical conversion efficiency
SI.AngularVelocityomega_e_nom2*pi*system.fnomNominal angular velocity of voltage vector
SI.AngularVelocityomega_m_nom2*pi*system.fnom/NpNominal angular velocity of turbo-group
SI.MomentOfInertiaJPnom*Ta/omega_m_nom^2Turbo-generator group moment of inertia
SI.PerUnitD0.01Damping coefficient
SI.TimeTf1Time constant of omega_e_filt
SI.Torquetau_d2*D*Pnom*sqrt(Ta/omega_m_nom)
BooleanreferenceGeneratorfalseSet to true if reference generator in a synchronous island
RealpiModelica.Constants.pi
Initialization
SI.Frequencyfstartsystem.fnomStart value of the electrical frequency
SI.Anglethetastart0Start value of the voltage phasor angle
ThermoPower.Choices.Init.OptionsinitOptsystem.initOptInitialization option

Connectors

TypeNameDefaultDescription
PowerConnectionport
Modelica.Mechanics.Rotational.Interfaces.Flange_ashaft

Components

TypeNameDefaultDescription
SystemsystemSystem object
SI.AnglethetaVoltage angle
SI.AnglephiShaft angle
SI.TorquetauTorque at shaft
SI.AngularVelocityomega_mAngular velocity of the shaft
SI.AngularVelocityomega_eAngular velocity of the voltage phasor
SI.FrequencyfElectrical frequency
SI.PowerPmMechanical power
SI.ActivePowerPeElectrical Power
SI.ActivePowerPdDamping power
SI.AngularVelocityomega_e_filtLow-pass filtered angular velocity of the voltage phasor
SI.AngularVelocitydeomega_e - omega_e_filt

Revisions