Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines

Synchronous machine examples

Information

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit SMPM_OpenCircuit Test example: PermanentMagnetSynchronousMachine with inverter
Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains SMPM_Mains Permanent magnet synchronous machine operated at mains with step torque load
Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource SMPM_CurrentSource Test example: PermanentMagnetSynchronousMachine fed by current source
Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA SMPM_MTPA Test example: PermanentMagnetSynchronousMachine, investigating maximum torque per Amps
Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator SMEE_Generator Electrical excited synchronous machine operating as generator
Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource SMR_CurrentSource Test example: Synchronous reluctance machine fed by current source

Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit

Test example: PermanentMagnetSynchronousMachine with inverter

Information

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):

Note

The 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).

Parameters

NameDescription
mNumber of phases
smpmDataSynchronous machine data

Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains

Permanent magnet synchronous machine operated at mains with step torque load

Information

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):

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

NameDescription
mNumber of phases
fSupply frequency [Hz]
VSupply voltage [V]
T_LoadNominal load torque [N.m]
tStepTime of load torque step [s]
J_LoadLoad inertia [kg.m2]
smpmDataSynchronous machine data

Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource

Test example: PermanentMagnetSynchronousMachine fed by current source

Information

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):

Note

The 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).

Parameters

NameDescription
mNumber of phases
VNominalNominal RMS voltage per phase [V]
fNominalNominal frequency [Hz]
fActual frequency [Hz]
tRampFrequency ramp [s]
TLoadNominal load torque [N.m]
tStepTime of load torque step [s]
JLoadLoad's moment of inertia [kg.m2]
smpmDataSynchronous machine data

Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA

Test example: PermanentMagnetSynchronousMachine, investigating maximum torque per Amps

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:

Simulate for 1 second and plot (versus angle epsilon):

Note

The 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).

Parameters

NameDescription
mNumber of phases
VNominalNominal RMS voltage per phase [V]
fNominalNominal frequency [Hz]
fActual frequency [Hz]
tRampFrequency ramp [s]
TLoadNominal load torque [N.m]
tStepTime of load torque step [s]
JLoadLoad's moment of inertia [kg.m2]
wNominalNominal angular velocity [rad/s]
positiveRangeUse positive range of angles, if true
smpmDataSynchronous machine data

Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator

Electrical excited synchronous machine operating as generator

Information

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:

Since 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).

Parameters

NameDescription
mNumber of stator phases
VsNominalNominal RMS voltage per phase [V]
fsNominalNominal frequency [Hz]
wNominal speed [rad/s]
IeExcitation current [A]
Ie0Initial excitation current [A]
gamma0Initial rotor displacement angle [rad]
smeeDataSynchronous machine data

Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource

Test example: Synchronous reluctance machine fed by current source

Information

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):

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

NameDescription
mNumber of phases
VNominalNominal RMS voltage per phase [V]
fNominalNominal frequency [Hz]
fActual frequency [Hz]
tRampFrequency ramp [s]
TLoadNominal load torque [N.m]
tStepTime of load torque step [s]
JLoadLoad's moment of inertia [kg.m2]
smrDataSynchronous machine data
Automatically generated Thu Oct 1 16:07:51 2020.