SwitchedReluctanceMotor - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


JMAG

Switched Reluctance  switched-reluctance motor model using a JMAG-RT model

The Switched Reluctance Motor JMAG-RT component uses external code, provided through an attached .rtt file, to model a multiphase switched-reluctance stepper motor.

Use the following steps to attach and connect to an external rtt file:

1. 

Select the Attached Files tab.

2. 

Right-click on Documents, and then select Attach File....

3. 

In the Attach Document dialog, browse to the location of the .rtt motor file, select it, and then click Attach....

4. 

Select the JMAG-RT component in the Model Workspace.

5. 

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

Variables

Name

Units

Description

Modelica ID

v

V

m-phases of voltage

v

i

A

m-phases of current

i

φ

radian

Angular position of shaft

phi

τ

N·m

Torque on shaft

tau

Connections

Name

Description

Modelica ID

plugp

Positive 3-phase plug

plug_p

plugn

Negative 3-phase plug

plug_n

flange

Rotational flange of shaft

flange

support

(optional) Support/housing of component

support

tempCoilInput

(optional) Signal input to control coil temperature [K]

tempCoilInput

copperloss

(optional) Signal output of copper loss [W]

copperloss

Parameters

General

Name

Default

Units

Description

Modelica ID

rtt filename

 

 

Name of rtt file

rtt_filename

τsense

0

s

Time-constant of current/voltage sense filter

tau_sense

use support

false

 

True means add a 1-D rotational port to support the torque on the shell of the motor

useSupport

set initial angle

false

 

True means set the initial angular displacement of the shaft

setDisplacement0

initial angle

0

rad

Initial angular position of the shaft

displacement0

set resistance

false

 

True means set the winding resistance

setRes

Rwinding

0

Ω

Winding resistance; used only if set resistance is true

Rwinding

use copper loss

false

 

True means enable a signal output for copper loss

use_copper_loss

Coil Temperature

Name

Default

Units

Description

Modelica ID

set coil temperature

false

 

True means assign the coil temperature; activates the following four parameters

setCoilTemp

use coil temp. input

false

 

True enables the real input TempCoilInput

useTempCoilInput

fixed coil temp.

20

C

Fixed temperature of coil

TempCoilFixed

base coil temp.

20

C

Base temperature of coil

TempCoilBase

coil tc

3810

ppmC

Temperature coefficient of coil

TempCoeffCoil

Corrections

The corrections section consists of boolean parameters that enable corresponding real constants. When enabled, the correction factor is used, otherwise the value defined in the rtt file is used, or if none is defined there, then 1 is used.

Name

Default

Units

Description

Modelica ID

correct turn1

false

 

Enable correction to turn 1 windings

corr_turn1

correct turn2

false

 

Enable correction to turn 2 windings

corr_turn2

correct flux

false

 

Enable correction to the flux

corr_flux

correct inductance

false

 

Enable correction to the inductance

corr_induct

correct magnet

false

 

Enable correction to the magnet

corr_magnet

correct steel

false

 

Enable correction to the steel

corr_steel

correct torque

false

 

Enable correction to the torque

corr_torque

turn1 correction

1

 

Correction factor for turn 1 windings

turn1_corr

turn2 correction

1

 

Correction factor for turn 2 windings

turn2_corr

flux correction

1

 

Correction factor for flux

flux_corr

inductance correction

1

 

Correction factor for inductance

inductance_corr

magnet correction

1

 

Correction factor for magnet

magnet_corr

steel correction

1

 

Correction factor for steel

steel_corr

torque correction

1

 

Correction factor for torque

torque_corr

See Also

Getting Started with the MapleSim Connector for JMAG-RT

MapleSim Help System

MapleSim Library Overview