JMAG - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim Toolboxes : MapleSim Connector for JMAG-RT : Rotational : JMAG/Rotational/SwitchedReluctanceMotor

JMAG

SwitchedReluctance  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. 

From File menu, select Attach File....

2. 

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

3. 

Select the JMAG-RT component in the Model Workspace.

4. 

Select the Inspector 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.

Connections

Name

Description

Modelica ID

plugp

Positive m-phase plug

plug_p

plugn

Negative m-phase plug

plug_n

flange

Rotational flange of shaft

flange

support

(optional) Support/housing of component

support

Parameters

Name

Default

Units

Description

Modelica ID

rtt filename

 

 

Name of rtt file

rtt_filename

τsense

0

s

Time-constant of current/voltage sense filter (typical number when enabled is 0.0003)

tau_sense

m

3

 

Number of phases.  Must match rtt file. Possible choices are 3, 4, or 5.

m

use support

false

 

True means add a 1D 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

correct turn2

false

 

True means apply correction factor to turn 2 windings

corr_turn2

See Also

Getting Started with the MapleSim Connector for JMAG-RT, MapleSim Help System, MapleSim Library Overview


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam