Contents Previous Next
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.
Scope of Model Support
MapleSim is a comprehensive modeling tool where it is possible to create models that could go beyond the scope of this Connector. In general, the MapleSim Connector for JMAG-RT supports systems of any complexity, including systems of DAEs of any index, in any mix of domains.
Requirements
Requires JMAG-Designer version 19.0.
Also requires Microsoft Visual Studio.
For details on supported platforms and a complete list of system requirements, visit the Maplesoft System Requirements website at http://www.maplesoft.com/products/system_requirements.aspx.
For installation instructions, see the Install.html file on the product disc or the website at http://www.maplesoft.com/documentation_center/installation_instructions.aspx.
Library Requirements for Other Connectors
You can export your model with a JMAG-RT component to other systems using other MapleSim connectors. For example, you can export your model to Simulink® as an S-function block using the MapleSim™ Connector or you can export your model as an FMU archive file using the MapleSim FMI Connector.
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).
To add the JMAG-RT library directory to your search path
Determine your Maple installation directory.
If you are not sure where Maple is installed, perform the following steps.
Start Maple.
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.
Determine the directory that contains the JMAG-RT library file for your operating system from the table below.
Operating System
Directory
64-bit Windows
$MAPLE\toolbox\JMAGRTConnector\bin.X86_64_WINDOWS
64-bit Linux
$MAPLE/toolbox/JMAGRTConnector/bin.X86_64_LINUX
Note: $MAPLE is your Maple installation directory, found in step 1.
Add the library directory found in step 2 to the appropriate environment variable for your operating system.
For Windows, add the library directory to your PATH environment variable.
For Linux, add the library directory to your LD_LIBRARY_PATH environment variable.
Consult the help for your operating system for instructions on how to edit these environment variables.
Restart your computer.
Download Help Document