modelSMPM_CurrentSource
Test example: PermanentMagnetSynchronousMachine fed by current source
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example compares a time transient and a quasi-static model of a permanent magnet synchronous machine. The machines are fed by a current source. The current components are oriented at the magnetic field orientation and transformed to the stator fixed reference frame. This way the machines are operated at constant torque. The machines start to accelerate from standstill.
Simulate for 2 seconds and plot (versus time):
smpm|smpmQS.wMechanical: machine speedsmpm|smpmQS.tauElectrical: machine torque
Note
The resistors connected to the terminals of the windings of the quasi-static machine model are necessary to numerically stabilize the simulation.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | m | 3 | Number of phases |
| SI.Voltage | VNominal | 100 | Nominal RMS voltage per phase |
| SI.Frequency | fNominal | smpmData.fsNominal | Nominal frequency |
| SI.Frequency | f | 50 | Actual frequency |
| SI.Time | tRamp | 1 | Frequency ramp |
| SI.Torque | TLoad | 181.4 | Nominal load torque |
| SI.Time | tStep | 1.2 | Time of load torque step |
| SI.Inertia | JLoad | 0.29 | Load's moment of inertia |
| Modelica.Electrical.Machines.Utilities.ParameterRecords.SM_PermanentMagnetData | smpmData | Synchronous machine data |