modelSMEE_Generator

Test example: ElectricalExcitedSynchronousMachine as Generator

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

An electrically excited synchronous generator is connected to the grid and driven with constant speed. Since speed is slightly smaller than synchronous speed corresponding to mains frequency, rotor angle is very slowly increased. This allows to see several characteristics dependent on rotor angle.

Simulate for 30 seconds and plot (versus rotorDisplacementAngle.rotorDisplacementAngle):

  • smee.tauElectrical
  • currentQuasiRMSSensor.I
  • electricalPowerSensor.P
  • electricalPowerSensor.Q
  • mechanicalPowerSensor.P

Default machine parameters are used.

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
SI.VoltageVNominal100Nominal RMS voltage per phase
SI.FrequencyfNominal50Nominal frequency
SI.AngularVelocitywActual1499*2*Modelica.Constants.pi/60Actual speed
SI.CurrentIe19Excitation current
SI.CurrentIe010Initial excitation current
SI.Anglegamma00Initial rotor displacement angle
Machines.Utilities.SynchronousMachineDatasmeeDataSynchronous machine data

Components

TypeNameDefaultDescription
Machines.BasicMachines.SynchronousMachines.SM_ElectricalExcitedsmee
Machines.Sensors.RotorDisplacementAnglerotorDisplacementAngle
Modelica.Electrical.Analog.Basic.GroundgroundExcitation
Modelica.Mechanics.Rotational.Sources.ConstantSpeedconstantSpeed
Machines.Sensors.MechanicalPowerSensormechanicalPowerSensor
Machines.Sensors.ElectricalPowerSensorelectricalPowerSensor
Machines.Sensors.CurrentQuasiRMSSensorcurrentQuasiRMSSensor
Modelica.Electrical.Polyphase.Sources.SineVoltagesineVoltage
Modelica.Electrical.Polyphase.Basic.Starstar
Modelica.Electrical.Analog.Basic.Groundground
Modelica.Electrical.Analog.Sources.RampCurrentrampCurrent
Machines.Utilities.TerminalBoxterminalBox