modelSMPM_MTPA
Test example: PermanentMagnetSynchronousMachine, investigating maximum torque per Amps
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example investigates the maximum torque per amps (MTPA) of a quasi-static permanent magnet synchronous machine. The machines is operated at constant speed. The current magnitude is kept constant and the current angle is rotated from 0 to 360 degrees with the simulation period of one second.
In this simulation the angle is the following angles are calculated:
phi_v= angle of voltage phasorphi_i= angle of current phasorphiphi_v - phi_i= angle between voltage and current phasortheta= rotor displacement angleepsilon = phi - theta= current angle
Simulate for 1 second and plot (versus angle epsilon):
smpmQS.tauElectrical: machine torquesmpmQS.abs_vs[1]: machine phase voltage magnitudephi: phase angle between voltage and current phasor
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 | 50 | 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 |
| SI.AngularVelocity | wNominal | 2*pi*fNominal/smpmData.p | Nominal angular velocity |
| Boolean | positiveRange | false | Use positive range of angles, if true |
| Modelica.Electrical.Machines.Utilities.ParameterRecords.SM_PermanentMagnetData | smpmData | Synchronous machine data |