SMPM_CurrentSourceTest example: PermanentMagnetSynchronousMachine fed by current source |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
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.
m |
Value: 3 Type: Integer Description: Number of phases |
---|---|
VNominal |
Value: 100 Type: Voltage (V) Description: Nominal RMS voltage per phase |
fNominal |
Value: smpmData.fsNominal 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: Synchronous machine data |
smpm |
Type: SM_PermanentMagnet |
|
---|---|---|
signalCurrent |
Type: SignalCurrent |
|
star |
Type: Star |
|
ground |
Type: Ground |
|
dqToThreePhase |
Type: DQToThreePhase |
|
iq |
Type: Constant |
|
id |
Type: Constant |
|
voltageQuasiRMSSensor |
Type: VoltageQuasiRMSSensor |
|
starM |
Type: Star |
|
groundM |
Type: Ground |
|
terminalBox |
Type: MultiTerminalBox |
|
rotorAngle |
Type: RotorDisplacementAngle |
|
angleSensor |
Type: AngleSensor |
|
inertiaLoad |
Type: Inertia |
|
quadraticSpeedDependentTorque | ||
smpmData |
Type: SM_PermanentMagnetData Description: Synchronous machine data |
|
currentRMSsensor |
Type: CurrentQuasiRMSSensor |
|
smpmQS |
Type: SM_PermanentMagnet |
|
inertiaLoadQS |
Type: Inertia |
|
quadraticSpeedDependentTorqueQS | ||
starMachineQS |
Type: Star |
|
groundMQS |
Type: Ground |
|
terminalBoxQS |
Type: MultiTerminalBox |
|
dqToThreePhaseQS |
Type: CurrentController |
|
angleSensorQS |
Type: AngleSensor |
|
referenceCurrentSourceQS |
Type: ReferenceCurrentSource |
|
starQS |
Type: Star |
|
groundeQS |
Type: Ground |
|
resistorQS |
Type: Resistor |
|
rotorAngleQS |
Type: RotorDisplacementAngle |
|
currentRMSSensorQS |
Type: CurrentQuasiRMSSensor |
|
voltageQuasiRMSSensorQS |
Type: VoltageQuasiRMSSensor |
|
starMQS |
Type: Star |
|
starMachine |
Type: Star |