Synchronous machine examples
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Name | Description |
---|---|
SMPM_OpenCircuit | Test example: PermanentMagnetSynchronousMachine with inverter |
SMPM_Mains | Permanent magnet synchronous machine operated at mains with step torque load |
SMPM_CurrentSource | Test example: PermanentMagnetSynchronousMachine fed by current source |
SMPM_MTPA | Test example: PermanentMagnetSynchronousMachine, investigating maximum torque per Amps |
SMEE_Generator | Electrical excited synchronous machine operating as generator |
SMR_CurrentSource | Test example: Synchronous reluctance machine fed by current source |
Test example: PermanentMagnetSynchronousMachine with inverter
This example compares a time transient and a quasi-static model of a permanent magnet synchronous machine. The machines are operated at constant mechanical angular velocity.
Simulate for 0.1 second and plot (versus time):
potentialSenor.phi|potentialSensorQS.abs_y[1]
: potential of terminalThe resistors connected to the terminals of the windings of the quasi-static machine model are necessary to numerically stabilize the simulation.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Name | Description |
---|---|
m | Number of phases |
smpmData | Synchronous machine data |
Permanent magnet synchronous machine operated at mains with step torque load
This example compares a time transient and a quasi-static model of a permanent magnet synchronous machine. The machines start with zero load and synchronous speed. At time tStep
the machines are loaded with nominal torque.
Simulate for 1 second and plot (versus time):
currentRMSsensor.I|currentSensorQS.abs_i[1]
: (equivalent) RMS stator currentsmpm|smpmQS.wMechanical
: machine speedsmpm|smpmQS.tauElectrical
: machine torqueExtends from Modelica.Icons.Example (Icon for runnable examples).
Name | Description |
---|---|
m | Number of phases |
f | Supply frequency [Hz] |
V | Supply voltage [V] |
T_Load | Nominal load torque [N.m] |
tStep | Time of load torque step [s] |
J_Load | Load inertia [kg.m2] |
smpmData | Synchronous machine data |
Test example: PermanentMagnetSynchronousMachine fed by current source
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 torqueThe resistors connected to the terminals of the windings of the quasi-static machine model are necessary to numerically stabilize the simulation.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Name | Description |
---|---|
m | Number of phases |
VNominal | Nominal RMS voltage per phase [V] |
fNominal | Nominal frequency [Hz] |
f | Actual frequency [Hz] |
tRamp | Frequency ramp [s] |
TLoad | Nominal load torque [N.m] |
tStep | Time of load torque step [s] |
JLoad | Load's moment of inertia [kg.m2] |
smpmData | Synchronous machine data |
Test example: PermanentMagnetSynchronousMachine, investigating maximum torque per Amps
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 angleSimulate 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 phasorThe resistors connected to the terminals of the windings of the quasi-static machine model are necessary to numerically stabilize the simulation.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Name | Description |
---|---|
m | Number of phases |
VNominal | Nominal RMS voltage per phase [V] |
fNominal | Nominal frequency [Hz] |
f | Actual frequency [Hz] |
tRamp | Frequency ramp [s] |
TLoad | Nominal load torque [N.m] |
tStep | Time of load torque step [s] |
JLoad | Load's moment of inertia [kg.m2] |
wNominal | Nominal angular velocity [rad/s] |
positiveRange | Use positive range of angles, if true |
smpmData | Synchronous machine data |
Electrical excited synchronous machine operating as generator
This example compares a time transient and a quasi-static model of a electrically excited synchronous machine. The electrically excited synchronous generators are connected to the grid and driven with constant speed. Since speed is slightly smaller than synchronous speed corresponding to mains frequency, rotor angle is very slowly increased. This allows to see several characteristics dependent on rotor angle.
Simulate for 30 seconds and plot versus rotorAngle|rotorAngleQS.rotorDisplacementAngle
:
smpm|smpmQS.tauElectrical
: machine torqueSince the rotor slip is very low the transient and quasi-static electromagnetic torque are practically equal.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Name | Description |
---|---|
m | Number of stator phases |
VsNominal | Nominal RMS voltage per phase [V] |
fsNominal | Nominal frequency [Hz] |
w | Nominal speed [rad/s] |
Ie | Excitation current [A] |
Ie0 | Initial excitation current [A] |
gamma0 | Initial rotor displacement angle [rad] |
smeeData | Synchronous machine data |
Test example: Synchronous reluctance machine fed by current source
This example compares a time transient and a quasi-static model of a synchronous reluctance 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 torqueExtends from Modelica.Icons.Example (Icon for runnable examples).
Name | Description |
---|---|
m | Number of phases |
VNominal | Nominal RMS voltage per phase [V] |
fNominal | Nominal frequency [Hz] |
f | Actual frequency [Hz] |
tRamp | Frequency ramp [s] |
TLoad | Nominal load torque [N.m] |
tStep | Time of load torque step [s] |
JLoad | Load's moment of inertia [kg.m2] |
smrData | Synchronous machine data |