WOLFRAM SYSTEMMODELER

SMPM_CurrentSource

Test example: PermanentMagnetSynchronousMachine fed by current source

Diagram

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Simple field oriented control of permanent magnet synchronous machine

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 speed
  • smpm|smpmQS.tauElectrical: machine torque
Note

The resistors connected to the terminals of the windings of the quasi static machine model are necessary to numerically stabilize the simulation.

Parameters (9)

m

Value: 3

Type: Integer

Description: Number of phases

VNominal

Value: 100

Type: Voltage (V)

Description: Nominal RMS voltage per phase

fNominal

Value: 50

Type: Frequency (Hz)

Description: Nominal frequency

f

Value: 50

Type: Frequency (Hz)

Description: Actual frequency

tRamp

Value: 1

Type: Time (s)

Description: Frequency ramp

TLoad

Value: 181.4

Type: Torque (N·m)

Description: Nominal load torque

tStep

Value: 1.2

Type: Time (s)

Description: Time of load torque step

JLoad

Value: 0.29

Type: Inertia (kg·m²)

Description: Load's moment of inertia

smpmData

Value:

Type: SM_PermanentMagnetData

Description: Machine data

Components (29)

smpm

Type: SM_PermanentMagnet

Description:

signalCurrent

Type: SignalCurrent

Description:

star

Type: Star

Description:

ground

Type: Ground

Description:

currentController

Type: CurrentController

Description:

iq

Type: Constant

Description:

id

Type: Constant

Description:

voltageQuasiRMSSensor

Type: VoltageQuasiRMSSensor

Description:

starM

Type: Star

Description:

groundM

Type: Ground

Description:

terminalBox

Type: TerminalBox

Description:

rotorDisplacementAngle

Type: RotorDisplacementAngle

Description:

angleSensor

Type: AngleSensor

Description:

inertiaLoad

Type: Inertia

Description:

quadraticSpeedDependentTorque

Type: QuadraticSpeedDependentTorque

Description:

smpmData

Type: SM_PermanentMagnetData

Description: Machine data

currentRMSsensor

Type: CurrentQuasiRMSSensor

Description:

smpmQS

Type: SM_PermanentMagnet

Description:

inertiaLoadQS

Type: Inertia

Description:

quadraticSpeedDependentTorqueQS

Type: QuadraticSpeedDependentTorque

Description:

starMachineQS

Type: Star

Description:

groundMQS

Type: Ground

Description:

terminalBoxQS

Type: MultiTerminalBox

Description:

currentController1

Type: CurrentController

Description:

angleSensorQS

Type: AngleSensor

Description:

referenceCurrentSource

Type: ReferenceCurrentSource

Description:

starQS

Type: Star

Description:

groundeQS

Type: Ground

Description:

resistor

Type: Resistor

Description: