Introduction - MapleSim Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : MapleSim Toolboxes : MapleSim Connector for JMAG-RT : Getting Started Guide : MapleSimJMAGRTConnectorGSG/Preface

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.
 System Requirements For installation instructions and a complete list of system requirements, see the Install.html file on the product disc.

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

 1 Determine your Maple installation directory.

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.  1 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 32-bit Linux$MAPLE/toolbox/JMAGRTConnector/bin.IBM_INTEL_LINUX 64-bit Linux $MAPLE/toolbox/JMAGRTConnector/bin.X86_64_LINUX Note:$MAPLE is your Maple installation directory, found in step 1.

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

 3 Restart your computer.

Contents     Previous     Next



## Was this information helpful?

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