modelSM_PermanentMagnet

Permanent magnet synchronous machine

Extends from Machines.Interfaces.PartialBasicInductionMachine (Partial model for induction machine).

Information

Model of a three-phase permanent magnet synchronous machine.
Resistance and stray inductance of stator is modeled directly in stator phases, then using space phasor transformation and a rotor-fixed AirGap model. Resistance and stray inductance of rotor's squirrel cage is modeled in two axis of the rotor-fixed coordinate system. Permanent magnet excitation is modelled by a constant equivalent excitation current feeding the d-axis. The machine models take the following loss effects into account:

  • heat losses in the temperature dependent stator winding resistances
  • optional, when enabled: heat losses in the temperature dependent damper cage resistances
  • friction losses
  • core losses (only eddy current losses, no hysteresis losses)
  • stray load losses
  • permanent magnet losses

Whether a damper cage is present or not, can be selected with Boolean parameter useDamperCage (default = true).
Default values for machine's parameters (a realistic example) are:

number of pole pairs p 2
stator's moment of inertia 0.29kg.m2
rotor's moment of inertia 0.29kg.m2
nominal frequency fNominal 50Hz
nominal voltage per phase 100V RMS
no-load voltage per phase 112.3V RMS @ nominal speed
nominal current per phase 100A RMS
nominal torque 181.4Nm
nominal speed 1500rpm
nominal mechanical output 28.5kW
nominal rotor angle 20.75degree
efficiency 95.0%
power factor 0.98
stator resistance 0.03Ohm per phase at reference temperature
reference temperature TsRef 20°C
temperature coefficient alpha20s 01/K
stator reactance Xd 0.4Ohm per phase in d-axis
stator reactance Xq 0.4Ohm per phase in q-axis
stator stray reactance Xss 0.1Ohm per phase
damper resistance in d-axis 0.04Ohm at reference temperature
damper resistance in q-axis same as d-axis
reference temperature TrRef 20°C
temperature coefficient alpha20r 01/K
damper stray reactance in d-axis XDds 0.05Ohm
damper stray reactance in q-axis XDqs same as d-axis
stator operational temperature TsOperational 20°C
damper operational temperature TrOperational 20°C
These values give the following inductances:
main field inductance in d-axis (Xd - Xss)/(2*pi*fNominal)
main field inductance in q-axis (Xq - Xss)/(2*pi*fNominal)
stator stray inductance per phase Xss/(2*pi*fNominal)
damper stray inductance in d-axis XDds/(2*pi*fNominal)
damper stray inductance in q-axis XDqs/(2*pi*fNominal)

Parameters

TypeNameDefaultDescription
Integerm (from PartialBasicInductionMachine)3Number of phases
Integerp (from PartialBasicInductionMachine)Number of pole pairs (Integer)
SI.FrequencyfsNominal (from PartialBasicInductionMachine)Nominal frequency
BooleanuseZeroSystem (from PartialBasicInductionMachine)true= true, if zero current is explicitely computed
SI.InertiaJr (from PartialBasicMachine)Rotor's moment of inertia
BooleanuseSupport (from PartialBasicMachine)falseEnable / disable (=fixed stator) support
SI.InertiaJs (from PartialBasicMachine)JrStator's moment of inertia
BooleanuseThermalPort (from PartialBasicMachine)falseEnable / disable (=fixed temperatures) thermal port
SI.VoltageVsOpenCircuitOpen circuit RMS voltage per phase @ fsNominal
Operational temperatures
SI.TemperatureTsOperational (from PartialBasicInductionMachine)Operational temperature of stator resistance
SI.TemperatureTpmOperational293.15Operational temperature of permanent magnet
SI.TemperatureTrOperationalOperational temperature of (optional) damper cage
Nominal resistances and inductances
SI.ResistanceRs (from PartialBasicInductionMachine)Stator resistance per phase at TRef
SI.TemperatureTsRef (from PartialBasicInductionMachine)Reference temperature of stator resistance
Machines.Thermal.LinearTemperatureCoefficient20alpha20s (from PartialBasicInductionMachine)Temperature coefficient of stator resistance at 20 degC
SI.InductanceLszero (from PartialBasicInductionMachine)LssigmaStator zero sequence inductance
SI.InductanceLssigma (from PartialBasicInductionMachine)Stator stray inductance per phase
SI.InductanceLmdStator main field inductance per phase in d-axis
SI.InductanceLmqStator main field inductance per phase in q-axis
Losses
Machines.Losses.FrictionParametersfrictionParameters (from PartialBasicMachine)Friction loss parameter record
Machines.Losses.CoreParametersstatorCoreParameters (from PartialBasicInductionMachine)Stator core loss parameter record; all parameters refer to stator side
Machines.Losses.StrayLoadParametersstrayLoadParameters (from PartialBasicInductionMachine)Stray load loss parameter record
Machines.Losses.PermanentMagnetLossParameterspermanentMagnetLossParametersPermanent magnet loss parameter record
Nominal resistances and inductances › Damper cage
BooleanuseDamperCageEnable / disable damper cage
SI.InductanceLrsigmadDamper stray inductance in d-axis
SI.InductanceLrsigmaqLrsigmadDamper stray inductance in q-axis
SI.ResistanceRrdDamper resistance in d-axis at TRef
SI.ResistanceRrqRrdDamper resistance in q-axis at TRef
SI.TemperatureTrRefReference temperature of damper resistances in d- and q-axis
Machines.Thermal.LinearTemperatureCoefficient20alpha20rTemperature coefficient of damper resistances in d- and q-axis

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.Rotational.Interfaces.Flange_aflange (from PartialBasicMachine)Shaft
Modelica.Mechanics.Rotational.Interfaces.Flange_asupport (from PartialBasicMachine)Support at which the reaction torque is acting
Modelica.Electrical.Polyphase.Interfaces.PositivePlugplug_sp (from PartialBasicInductionMachine)Positive stator plug
Modelica.Electrical.Polyphase.Interfaces.NegativePlugplug_sn (from PartialBasicInductionMachine)Negative stator plug
Machines.Interfaces.InductionMachines.PartialThermalPortInductionMachinesthermalPort (from PartialBasicInductionMachine)
Modelica.Blocks.Interfaces.RealOutput[2]irDamper cage currents
Modelica.Blocks.Interfaces.RealOutput[2]idq_drDamper space phasor current / rotor fixed frame

Components

TypeNameDefaultDescription
SI.AnglephiMechanical (from PartialBasicMachine)flange.phi - internalSupport.phiMechanical angle of rotor against stator
SI.AngularVelocitywMechanical (from PartialBasicMachine)der(phiMechanical)Mechanical angular velocity of rotor against stator
SI.TorquetauElectrical (from PartialBasicMachine)inertiaRotor.flange_a.tauElectromagnetic torque
SI.TorquetauShaft (from PartialBasicMachine)-flange.tauShaft torque
Modelica.Mechanics.Rotational.Components.InertiainertiaRotor (from PartialBasicMachine)
Modelica.Mechanics.Rotational.Components.InertiainertiaStator (from PartialBasicMachine)
Modelica.Mechanics.Rotational.Components.Fixedfixed (from PartialBasicMachine)
Machines.Losses.Frictionfriction (from PartialBasicMachine)
Machines.Interfaces.InductionMachines.PartialPowerBalanceInductionMachinespowerBalance (from PartialBasicInductionMachine)Power balance
SI.Voltage[m]vs (from PartialBasicInductionMachine)plug_sp.pin.v - plug_sn.pin.vStator instantaneous voltages
SI.Current[m]is (from PartialBasicInductionMachine)plug_sp.pin.iStator instantaneous currents
SI.Currenti_0_s (from PartialBasicInductionMachine)spacePhasorS.zero.iStator zero-sequence current
SI.Current[2]idq_ss (from PartialBasicInductionMachine)Stator space phasor current / stator fixed frame
SI.Current[2]idq_sr (from PartialBasicInductionMachine)Stator space phasor current / rotor fixed frame
SI.Current[2]idq_rs (from PartialBasicInductionMachine)Rotor space phasor current / stator fixed frame
SI.Current[2]idq_rr (from PartialBasicInductionMachine)Rotor space phasor current / rotor fixed frame
Modelica.Electrical.Polyphase.Basic.Resistorrs (from PartialBasicInductionMachine)
Machines.BasicMachines.Components.Inductorlssigma (from PartialBasicInductionMachine)
BasicMachines.Components.ZeroImpedancelszero (from PartialBasicInductionMachine)
Machines.Losses.InductionMachines.CorestatorCore (from PartialBasicInductionMachine)
Machines.SpacePhasors.Components.SpacePhasorspacePhasorS (from PartialBasicInductionMachine)
Machines.Losses.InductionMachines.StrayLoadstrayLoad (from PartialBasicInductionMachine)
Machines.Interfaces.InductionMachines.PartialThermalAmbientInductionMachinesthermalAmbient (from PartialBasicInductionMachine)
Machines.BasicMachines.Components.AirGapRairGap
Components.PermanentMagnetWithLossespermanentMagnet
Machines.BasicMachines.Components.DamperCagedamperCage