modelSMPM_CurrentSource

Permanent magnet synchronous machine fed by current source
Diagram of SMPM_CurrentSource

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

Information

Description

This example investigates a quasi static model of a permanent magnet synchronous machine. The machine is 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.

In this simulation the angle is the following angles are calculated:

  • phiv = angle of voltage phasor
  • phii = angle of current phasor
  • phis = phiv - phii = angle between voltage and current phasor
  • theta = rotor displacement angle
  • epsilon = phis - theta = current angle
Note

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

Plot the following variable(s)

  • smpm.wMechanical: speed
  • smpm.abs_vs[1]: RMS stator voltage of phase 1
  • smpm.abs_vs[1] against smpm.wMechanical: voltage versus speed characteristic of machine
  • phis against smpm.wMechanical: phase angle between voltage and current phasor against speed
  • epsilon against smpm.wMechanical: current angle against speed
  • theta against smpm.wMechanical: rotor displacement angle against speed

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
Modelica.Units.SI.VoltageVNominal100Nominal RMS voltage per phase
Modelica.Units.SI.FrequencyfNominalsmpmData.fsNominalNominal frequency
Modelica.Units.SI.Frequencyf50Actual frequency
Modelica.Units.SI.TimetRamp1Frequency ramp
Modelica.Units.SI.AngularFrequencywNominal2*pi*fNominal/smpmData.pNominal angular velocity
Modelica.Units.SI.TorqueTLoad139.3Nominal load torque
Modelica.Units.SI.TimetStep1.2Time of load torque step
Modelica.Units.SI.InertiaJLoad0.29Load's moment of inertia
Modelica.Units.SI.CurrentIsOperation100Operating current
Modelica.Units.SI.AngleepsilonOperation-0.741Operation current angle
BooleanpositiveRangefalseUse positive range of angles, if true
ParameterRecords.SMPM2smpmDataSynchronous machine data

Components

TypeNameDefaultDescription
Modelica.Units.SI.AnglethetarotorDisplacementAngle.rotorDisplacementAngleRotor displacement angle, quasi stastic
Modelica.Units.SI.AnglephiiModelica.Math.wrapAngle(smpm.arg_is[1], positiveRange)Angle of current
Modelica.Units.SI.AnglephivModelica.Math.wrapAngle(smpm.arg_vs[1], positiveRange)Angle of voltage
Modelica.Units.SI.AnglephisModelica.Math.wrapAngle(phiv - phii, positiveRange)Angle between voltage and current
Modelica.Units.SI.AngleepsilonModelica.Math.wrapAngle(phis - theta, positiveRange)Current angle
Modelica.Blocks.Sources.Constantiq
Modelica.Blocks.Sources.Constantid
Modelica.Magnetic.QuasiStatic.FundamentalWave.BasicMachines.SynchronousMachines.SM_PermanentMagnetsmpm
Modelica.Mechanics.Rotational.Components.InertiainertiaLoad
Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorquequadraticTorque
Modelica.Electrical.QuasiStatic.Polyphase.Basic.StarstarMachine
Modelica.Electrical.QuasiStatic.SinglePhase.Basic.GroundgroundM
Modelica.Magnetic.QuasiStatic.FundamentalWave.Utilities.MultiTerminalBoxterminalBox
Modelica.Magnetic.QuasiStatic.FundamentalWave.Utilities.CurrentControllercurrentController
Modelica.Mechanics.Rotational.Sensors.AngleSensorangleSensor
Modelica.Electrical.QuasiStatic.Polyphase.Sources.ReferenceCurrentSourcereferenceCurrentSource
Modelica.Electrical.QuasiStatic.Polyphase.Basic.Starstar
Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Groundgrounde
Modelica.Electrical.QuasiStatic.Polyphase.Basic.Resistorresistor
Modelica.Magnetic.QuasiStatic.FundamentalWave.Sensors.RotorDisplacementAnglerotorDisplacementAngle
Modelica.Electrical.QuasiStatic.Polyphase.Sensors.CurrentQuasiRMSSensorcurrentRMSSensor
Modelica.Electrical.QuasiStatic.Polyphase.Sensors.VoltageQuasiRMSSensorvoltageRMSSensor
Modelica.Electrical.QuasiStatic.Polyphase.Basic.StarstarM