modelSMPM_MTPA1
Permanent magnet synchronous machine fed by current source, parameter record SMPM1
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Description
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 within the simulation period of one second.
In this simulation the angle is the following angles are calculated:
phiv= angle of voltage phasorphii= angle of current phasorphis = phiv - phii= angle between voltage and current phasortheta= rotor displacement angleepsilon = phis - theta= current angle
The intention is to compare the results of the following simulation models in one plot:
- SMPM_MTPA1: machine data smpmData1
- SMPM_MTPA2: machine data smpmData2
Note
The resistors connected to the terminals of the windings of the quasi static machine model are necessary to numerically stabilize the simulation.
Plot the following variable(s)
smpm.abs_vs[1]againstepsilon: RMS phase voltage against current anglesmpm.tauElectricalagainstepsilon: electromagnetic torque against current anglephisagainstepsilon: phase angle between voltage and current phasor against current anglethetaagainstepsilon: rotor displacement angle against current angle
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | m | 3 | Number of phases |
| Modelica.Units.SI.Voltage | VNominal | 100 | Nominal RMS voltage per phase |
| Modelica.Units.SI.Frequency | fNominal | 50 | Nominal frequency |
| Modelica.Units.SI.Frequency | f | 50 | Actual frequency |
| Modelica.Units.SI.Time | tRamp | 1 | Frequency ramp |
| Modelica.Units.SI.Torque | TLoad | 181.4 | Nominal load torque |
| Modelica.Units.SI.Time | tStep | 1.2 | Time of load torque step |
| Modelica.Units.SI.Inertia | JLoad | 0.29 | Load's moment of inertia |
| Modelica.Units.SI.AngularVelocity | wNominal | 2*pi*fNominal/smpmData1.p | Nominal angular velocity |
| Boolean | positiveRange | false | Use positive range of angles, if true |
| HanserModelica.SynchronousMachines.ParameterRecords.SMPM1 | smpmData1 | Data of synchronous machine SMPM_MTPA1 | |
| ParameterRecords.SMPM2 | smpmData2 | Data of synchronous machine SMPM_MTPA2 |