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
Utilities.ParameterRecords.SM_PermanentMagnetDatasmpmDataSynchronous machine data

Components

TypeNameDefaultDescription
Machines.BasicMachines.SynchronousMachines.SM_PermanentMagnetsmpm
Modelica.Electrical.Polyphase.Sources.SignalCurrentsignalCurrent
Modelica.Electrical.Polyphase.Basic.Starstar
Modelica.Electrical.Analog.Basic.Groundground
Utilities.DQToThreePhasedqToThreePhase
Modelica.Blocks.Sources.Constantiq
Modelica.Blocks.Sources.Constantid
Sensors.VoltageQuasiRMSSensorvoltageQuasiRMSSensor
Modelica.Electrical.Polyphase.Basic.StarstarM
Modelica.Electrical.Analog.Basic.GroundgroundM
Machines.Utilities.TerminalBoxterminalBox
Machines.Sensors.RotorDisplacementAnglerotorDisplacementAngle
Mechanics.Rotational.Sensors.AngleSensorangleSensor
Mechanics.Rotational.Sensors.MultiSensormultiSensor
Mechanics.Rotational.Components.InertiainertiaLoad
Mechanics.Rotational.Sources.QuadraticSpeedDependentTorquequadraticSpeedDependentTorque
Sensors.CurrentQuasiRMSSensorcurrentQuasiRMSSensor