This icon indicates a package that contains executable examples.
Extends from Modelica.Icons.ExamplesPackage
(Icon for packages containing runnable examples).
Name | Description |
---|---|
SMEE_Generator | Electrical excited synchronous machine operating as generator |
SMPM_CurrentSource | Test example: PermanentMagnetSynchronousMachine fed by current source |
SMPM_Mains | Permanent magnet synchronous machine operated at mains with step torque load |
SMPM_MTPA | Test example: PermanentMagnetSynchronousMachine, investigating maximum torque per Amps |
SMPM_OpenCircuit | Test example: PermanentMagnetSynchronousMachine with inverter |
SMR_CurrentSource | Test example: Synchronous reluctance machine fed by current source |
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).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
SM_PermanentMagnetData | smpmData | Machine data |
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).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Frequency | f | 50 | Supply frequency |
Voltage | V | 112.3 | Supply voltage |
Torque | T_Load | 181.4 | Nominal load torque |
Time | tStep | 0.5 | Time of load torque step |
Inertia | J_Load | 0.29 | Load inertia |
SM_PermanentMagnetData | smpmData | Machine data |
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).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Voltage | VNominal | 100 | Nominal RMS voltage per phase |
Frequency | fNominal | smpmData.fsNominal | Nominal frequency |
Frequency | f | 50 | Actual frequency |
Time | tRamp | 1 | Frequency ramp |
Torque | TLoad | 181.4 | Nominal load torque |
Time | tStep | 1.2 | Time of load torque step |
Inertia | JLoad | 0.29 | Load's moment of inertia |
SM_PermanentMagnetData | smpmData | Machine data |
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).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Voltage | VNominal | 100 | Nominal RMS voltage per phase |
Frequency | fNominal | 50 | Nominal frequency |
Frequency | f | 50 | Actual frequency |
Time | tRamp | 1 | Frequency ramp |
Torque | TLoad | 181.4 | Nominal load torque |
Time | tStep | 1.2 | Time of load torque step |
Inertia | JLoad | 0.29 | Load's moment of inertia |
AngularVelocity | wNominal | 2 * pi * fNominal / smpmData.p | Nominal angular velocity |
Boolean | positiveRange | false | Use positive range of angles, if true |
SM_PermanentMagnetData | smpmData | Machine data |
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 electro magnetic torque are practically equal.
Extends from Modelica.Icons.Example
(Icon for runnable examples).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of stator phases |
Voltage | VsNominal | 100 | Nominal RMS voltage per phase |
Frequency | fsNominal | smeeData.fsNominal | Nominal frequency |
AngularVelocity | w | Modelica.SIunits.Conversions.from_rpm(1499) | Nominal speed |
Current | Ie | 19 | Excitation current |
Current | Ie0 | 10 | Initial excitation current |
Angle | gamma0 | 0 | Initial rotor displacement angle |
SynchronousMachineData | smeeData | Machine data |
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).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Voltage | VNominal | 100 | Nominal RMS voltage per phase |
Frequency | fNominal | smrData.fsNominal | Nominal frequency |
Frequency | f | 50 | Actual frequency |
Time | tRamp | 1 | Frequency ramp |
Torque | TLoad | 181.4 | Nominal load torque |
Time | tStep | 1.2 | Time of load torque step |
Inertia | JLoad | 0.29 | Load's moment of inertia |
SM_ReluctanceRotorData | smrData |   |
Generated 2018-12-12 12:11:16 EST by MapleSim.