MapleSim JMAG-RT Connector Getting Started Guide
MapleSim JMAG-RT Connector Getting Started Guide
Maplesoft, Maple, and MapleSim are all trademarks of Waterloo Maple Inc.
Microsoft, Windows, Windows Server, Windows Vista, Excel, and Internet Explorer are registered trademarks of
Microsoft Corporation.
iii
Introduction
The MapleSim™ Connector for JMAG-RT simulation package provides all of the tools you need to import JMAG®-
RT motor files into your MapleSim model and then use them as a component in your simulations.
Requirements
Requires JMAG-Designer version 12.0.
For installation instructions and system requirements, see the Install.html file on the product disc or visit the Maplesoft
System Requirements website at http://www.maplesoft.com/products/system_requirements.aspx.
In order to do this, you first need to add the directory that contains the JMAG-RT library file (either RTTCalculator.dll
or libRTTCalculator.so) to your search path. This involves appending this directory to either your PATH environment
variable (for Windows) or your LD_LIBRARY_PATH environment variable (for Linux).
If you are not sure where Maple is installed, perform the following steps.
a. Start Maple.
b. At the command prompt, enter the following command:
kernelopts(mapledir);
The output of kernelopts(mapledir) is the installation directory for Maple. We will refer this directory as $MAPLE
for this procedure.
2. Determine the directory that contains the JMAG-RT library file for your operating system from the table below.
Operating System Directory
32-bit Windows $MAPLE\toolbox\JMAGRTConnector\bin.win
64-bit Windows $MAPLE\toolbox\JMAGRTConnector\bin.X86_64_WINDOWS
64-bit Linux $MAPLE/toolbox/JMAGRTConnector/bin.X86_64_LINUX
iv
Introduction
Consult the help for your operating system for instructions on how to edit these environment variables.
4. Restart your computer.
1 Getting Started
This chapter describes how to use the MapleSim Connector for JMAG-RT. With this connector you configure a JMAG-
RT component with a motor file created in JMAG-RT (that is, an .rtt file) and then use the component in your simulations.
This is accomplished by performing the following steps.
1. Generating a JMAG-RT Motor File (page 1)
2. Configuring MapleSim to Use the JMAG-RT Motor File (page 1)
3. Running Your Simulation (page 2)
For information about the JMAG-RT components, refer to the MapleSimJMAGRTConnector,Overview help page.
The motor file is attached to your MapleSim model in the Documents palette.
5. Select the Library Components tab ( ), expand the JMAG palette, open either the Rotational or Translational
sub-palette, and then drag the desired JMAG-RT component on to the Model Workspace.
6. Select the JMAG-RT component.
7. Select the Properties tab ( ), open the Parameters > General section, and then select the attached .rtt file from
the rtt_filename list.
8. Connect the JMAG-RT component to the other components in your model.
The JMAG-RT component is configured to simulate your motor in MapleSim using the attached motor file. To
have the motor file available for future simulations, save your MapleSim model.
Note:
All JMAG-RT components have an optional support connection which provides a second 1D mechanical flange so
that the torque/force generated by the component is applied between the two flanges.
• To enable the support connection, select the JMAG-RT component, select the Properties tab ( ), open the
Parameters > General section, and then select use support.
1
2 • Getting Started
When the simulation is complete, a graph for each specified quantity is displayed in the Simulation Results tab
of the Analysis window.
For more information on MapleSim, building MapleSim models, attaching files to MapleSim models, and simulating
a model with MapleSim, see the MapleSim Help system.
Note: If you plan to export your MapleSim model using another MapleSim connector, see Library Requirements for
Other Connectors (page iv) for instructions on how to add the path to the JMAG-RT library file to your search path.