modelSMPM_VoltageSourceWithLosses

Test example: PermanentMagnetSynchronousMachine fed by FOC

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

Information

A synchronous machine with permanent magnets accelerates a quadratic speed dependent load from standstill. The rms values of d- and q-current in rotor fixed coordinate system are controlled by the dqCurrentController, and the output voltages fed to the machine. The result shows that the torque is influenced by the q-current, whereas the stator voltage is influenced by the d-current.

Default machine parameters of model SM_PermanentMagnet are used.

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
SI.Current[2]Idq{-53.5, 84.6}Desired d- and q-current
SI.AngularVelocitywNominal2*pi*smpmData.fsNominal/smpmData.pNominal speed
SI.TorqueTLoad181.4Nominal load torque
SI.InertiaJLoad0.29Load's moment of inertia
Modelica.Electrical.Machines.Utilities.ParameterRecords.SM_PermanentMagnetDatasmpmData

Components

TypeNameDefaultDescription
Modelica.Electrical.Machines.BasicMachines.SynchronousMachines.SM_PermanentMagnetsmpm
Modelica.Electrical.Polyphase.Sources.SignalVoltagesignalVoltage
Modelica.Electrical.Polyphase.Basic.Starstar
Modelica.Electrical.Analog.Basic.Groundground
Modelica.Blocks.Sources.Constantiq
Modelica.Blocks.Sources.Constantid
Modelica.Electrical.Machines.Utilities.TerminalBoxterminalBox
Modelica.Mechanics.Rotational.Sensors.AngleSensorangleSensor
Modelica.Mechanics.Rotational.Components.InertiainertiaLoad
Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorquequadraticSpeedDependentTorque
Modelica.Electrical.Polyphase.Sensors.CurrentSensorcurrentSensor
Modelica.Electrical.Machines.Utilities.DQCurrentControllerdqCurrentController
Modelica.Mechanics.Rotational.Sensors.TorqueSensortorqueSensor
Modelica.Mechanics.Rotational.Sensors.SpeedSensorspeedSensor
Modelica.Electrical.Machines.Sensors.RotorDisplacementAnglerotorDisplacementAngle
Modelica.Electrical.Analog.Basic.GroundgroundM
Modelica.Electrical.Polyphase.Basic.StarstarM
Modelica.Electrical.Machines.Sensors.VoltageQuasiRMSSensorvoltageQuasiRMSSensor
Modelica.Electrical.Machines.Sensors.CurrentQuasiRMSSensorcurrentQuasiRMSSensor