modelSMPM_CurrentSource

Test example: PermanentMagnetSynchronousMachine fed by current source

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 converted to three-phase currents, and 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 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_PermanentMagnetDatasmpmDataSynchronous machine data

Components

TypeNameDefaultDescription
Magnetic.FundamentalWave.BasicMachines.SynchronousMachines.SM_PermanentMagnetsmpm
Modelica.Electrical.Polyphase.Sources.SignalCurrentsignalCurrent
Modelica.Electrical.Polyphase.Basic.Starstar
Modelica.Electrical.Analog.Basic.Groundground
Modelica.Electrical.Machines.Utilities.DQToThreePhasedqToThreePhase
Modelica.Blocks.Sources.Constantiq
Modelica.Blocks.Sources.Constantid
Modelica.Electrical.Machines.Sensors.VoltageQuasiRMSSensorvoltageQuasiRMSSensor
Modelica.Electrical.Polyphase.Basic.StarstarM
Modelica.Electrical.Analog.Basic.GroundgroundM
Modelica.Electrical.Machines.Utilities.TerminalBoxterminalBox
Modelica.Electrical.Machines.Sensors.RotorDisplacementAnglerotorDisplacementAngle
Modelica.Mechanics.Rotational.Sensors.AngleSensorangleSensor
Modelica.Mechanics.Rotational.Sensors.TorqueSensortorqueSensor
Modelica.Mechanics.Rotational.Sensors.SpeedSensorspeedSensor
Modelica.Mechanics.Rotational.Components.InertiainertiaLoad
Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorquequadraticSpeedDependentTorque
Modelica.Electrical.Machines.Sensors.CurrentQuasiRMSSensorcurrentQuasiRMSSensor
SI.AnglethetarotorDisplacementAngle.rotorDisplacementAngleRotor displacement angle, FundamentalWave machine