modelSMPM_CurrentSource
Permanent magnet synchronous machine fed by current source
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Description
This example investigates a quasi static model of a permanent magnet synchronous machine. The machine is 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.
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
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.wMechanical: speedsmpm.abs_vs[1]: RMS stator voltage of phase 1smpm.abs_vs[1]againstsmpm.wMechanical: voltage versus speed characteristic of machinephisagainstsmpm.wMechanical: phase angle between voltage and current phasor against speedepsilonagainstsmpm.wMechanical: current angle against speedthetaagainstsmpm.wMechanical: rotor displacement angle against speed
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 | smpmData.fsNominal | Nominal frequency |
| Modelica.Units.SI.Frequency | f | 50 | Actual frequency |
| Modelica.Units.SI.Time | tRamp | 1 | Frequency ramp |
| Modelica.Units.SI.AngularFrequency | wNominal | 2*pi*fNominal/smpmData.p | Nominal angular velocity |
| Modelica.Units.SI.Torque | TLoad | 139.3 | 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.Current | IsOperation | 100 | Operating current |
| Modelica.Units.SI.Angle | epsilonOperation | -0.741 | Operation current angle |
| Boolean | positiveRange | false | Use positive range of angles, if true |
| ParameterRecords.SMPM2 | smpmData | Synchronous machine data |