JMAG
Induction Motor — three-phase induction motor model using a JMAG-RT model
The Induction Motor JMAG-RT component uses external code, provided through an attached .rtt file, to model a three-phase induction motor.
Use the following steps to attach and connect to an external rtt file:
Select the Attached Files tab.
Right-click on Documents, and then select Attach File....
In the Attach Document dialog, browse to the location of the .rtt motor file, select it, and then click Attach....
Select the JMAG-RT component in the Model Workspace.
Select the Properties tab, open the Parameters > General section, and then select the attached .rtt file from the rtt_filename list.
This component should be used with a fixed-step solver. To select a fixed-step solver, click the Settings tab, expand the Simulation section, and then select Fixed from the Solver Type list.
Variables
Connections
Parameters
Name
Units
Description
Modelica ID
v
V
3-phases of voltage
i
A
3-phases of current
φ
radian
Angular position of shaft
phi
τ
N·m
Torque on shaft
tau
plugp
Positive 3-phase plug
plug_p
plugn
Negative 3-phase plug
plug_n
flange
Rotational flange of shaft
support
(optional) Support/housing of component
tempCoilInput
(optional) Signal input to control coil temperature [K]
copperloss
(optional) Signal output of copper loss [W]
eddyloss
(optional) Signal output of eddy current loss [W]
hystloss
(optional) Signal output of hysteresis loss [W]
General
Default
rtt filename
Name of rtt file
rtt_filename
τsense
0
s
Time-constant of current/voltage sense filter
tau_sense
set accuracy type
false
True means enable a drop-down that selects the accuracy type calculation
setAccuracy
accuracy
dLdq
Can be either dLdq or Spatial Harmonic
use support
True means add a 1-D rotational port to support the torque on the shell of the motor
useSupport
set initial angle
True means set the initial angular displacement of the shaft
setDisplacement0
initial angle
rad
Initial angular position of the shaft
displacement0
set resistance
True means set the winding resistance
setRes
Rwinding
Ω
Winding resistance; used only if set resistance is true
use copper loss
True means enable a signal output for copper loss
use_copper_loss
use iron loss
True means enable signal outputs for eddy current loss and hysteresis loss
use_iron_loss
Coil Temperature
set coil temperature
True means assign the coil temperature; activates the following four parameters
setCoilTemp
use coil temp. input
True enables the real input TempCoilInput
useTempCoilInput
fixed coil temp.
20
C
Fixed temperature of coil
TempCoilFixed
base coil temp.
Base temperature of coil
TempCoilBase
coil tc
3810
ppmC
Temperature coefficient of coil
TempCoeffCoil
See Also
Getting Started with the MapleSim Connector for JMAG-RT
MapleSim Help System
MapleSim Library Overview
Download Help Document