What's New in MapleSim 6 - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : Previous Releases : MapleSim 6 : previousReleases/MapleSim6/whatsNew

What's New in MapleSim 6

Advanced System-Level Modeling

MapleSim™ 6 has tighter Modelica® integration and new powerful features, connectivity capabilities and advanced symbolic computation power.  The advanced system-level modeling capabilities of MapleSim let you model and simulate complex multidomain systems.

 

Engine Improvements

• 

Enhanced API

• 

Faster Compiled Code for Symbolic Preprocessing

• 

More Solvers

• 

More Solver Options for Optimal Model Development

More Component Coverage

• 

Expanded Multibody and Signal Blocks components

• 

Enhanced Signal Blocks

Expanded Modelica Support

• 

A more powerful Modelica platform

• 

More Modelica support

• 

Open and save Modelica files directly

Documentation Updates

• 

Improved examples and tutorials

• 

Consolidated training material

• 

Enhanced tutorial examples

• 

Enhanced MapleSim Help

Connectivity Improvements

• 

New Connectors and Component Library

• 

External library/C code support

3-D Visualization Improvements

• 

Improved 3-D visualizations

• 

Enhancements to Grid Spacing, Fit Scene, Fit Selected, and Movie Export

• 

Improved Fit Animation feature

GUI Improvements

• 

User Experience improvements

• 

Enhanced Examples palette

• 

Simulation Settings

• 

Advanced Settings

Snapshots

• 

Use the new Snapshots feature to investigate 'what-if' modeling scenarios

• 

Eliminate rerunning your simulation from t = 0 every time

• 

Record and reuse state information of all variables at any time

New External Call Template

• 

Call external code as part of your simulation

 

More Component Coverage

MapleSim now includes over 550 components from many different domains with a vastly enhanced Component Library to let you quickly choose the right components for your model. With MapleSim 6, you can more quickly build and fine tune complex models by selecting pre-built  library components for your specific application requirements.

 

For more information, see What's New in MapleSim 6 Component Library.

 

Expanded Number of Components

New components in the MapleSim Component Library include Real Sources, Multiplexers and Demultiplexers,To Variable/From Variable Blocks and Mathematical Functions.

• 

The new To/From Signal Block components reduce model connection complexity by creating connections between two signal ports without routing between them

• 

The new n-port Boolean, integer or real Multiplexer components allow you to combine up to ten input signals into a single output signal

• 

The new n-port Boolean, integer or real Demultiplexer components allow you to separate up to ten output signals from a single input signal

• 

New Mathematical Functions include Harmonic, Mean, Rectified Mean, and Root Mean Square components

• 

New components to the Multibody Library include the Bushing and Euler Angle Sensor

• 

Updated and enhanced components in the Electrical Library

 

For more information, see What's New in MapleSim 6 Component Library and What's New in MapleSim 6: Existing Component and API Command Updates.

 

 

 

Simulation Engine Improvements

Simulation engine improvements, including improved core symbolic preprocessing, have resulted in faster auto-generated code resulting in:

• 

Faster generation of automatic code for custom components

• 

Faster exported models, including MATLAB® and Simulink® S-functions Export, C code, Functional Mockup Interface (FMI), and more

 

Enhanced API

MapleSim 6 provides a more powerful API to let you access the full functionality of MapleSim from Maple giving you a tighter interaction between the Maple and MapleSim environments.

 

Extended Maple/MapleSim Interface

An extended Maple/MapleSim interface allows you to open MapleSim .msim and Modelica .mo models in your Maple worksheet, giving you full programmatic access to the model. You can then automatically extract system equations and other information from your model and quickly retrieve and set the MapleSim model parameters via the API from within Maple. You can also retrieve and set simulation settings in the same way.

 

The extended MapleSim API also includes thread-safe function calls, that can be combined with Maple’s straightforward Task Programming Model to make it easy to use the full processing power of your computer. For a list of the updated commands see What's New: MapleSim 6 Component Updates.

 

The GetCompiledProc function now lets you access all the MapleSim solvers, including variable-step solvers and solver settings. This allows you to control your simulation from within Maple.

 

For more information, see MapleSim Application Programming Interface Overview,  LinkModel and Opening a MapleSim Model in a MapleSim Model Embedded Component.

 

More Solvers for More Stability and Performance

MapleSim’s powerful simulation engine provides you with more options for managing and controlling your simulations. There now are more solvers, letting you chose which one is the best for your model, including true fixed-step solvers to provide direct model validation for export into other real-time application tools. The new engine speeds up the simulation and provides you with faster, high-fidelity simulation results.

These solvers include:

• 

True fixed-step solver

• 

Euler

• 

Implicit Euler

• 

RK2 through to RK4

 

For more information, see Advanced Simulation Settings.

 

More Solver Options

There are now more solver options to allow for more user control. These new solver options give you greater control over your simulation and let you determine how you want to manage the tradeoff between preprocessing and simulation time. You can also increase the iteration limit and choose how to balance the various constraints on your system.

 

New options include:

• 

Precise adjustments for relative control over projection iterations

• 

Ability to turn scaling on and off

• 

Determine general event reduction

• 

Numeric or Symbolic Jacobian

• 

Implement Baumgarte constraint stabilization

• 

Set compiler optimizations

 

For more information, see Advanced Simulation Settings.

 

 

 

Expanded Modelica Support

MapleSim is a powerful Modelica platform for multidomain modeling, simulation, and analysis.  The symbolic computation power of MapleSim combined with the Modelica  language provides an open, object-oriented, system-level modeling environment.

 

The MapleSim platform lets you take advantage of the growing collection of Modelica-based components and allows component modeling. This platform provides you with the following capabilities:

• 

An open system-level modeling environment

• 

Ability to include third-party Modelica libraries

• 

Automatically generate corresponding Modelica code for MapleSim custom components

• 

Improved Modelica function support

• 

External C code support

 

Import Modelica Files

A wide variety of Modelica models can now be imported into MapleSim, as more Modelica function calls and language features are directly supported.

 

Export Modelica Files

The File > Export Modelica command now generates 'unflattened' Modelica preserving the topology and layout in the exported .mo file. Model files can also be exported as Functional Mock-up Units (.fmu) using the new MapleSim FMI Connector.

 

Save Modelica Files

All MapleSim models can now be saved directly as Modelica files, and the model topology and presentation information are preserved. This way, the model diagram itself can be displayed in other Modelica-based tools.

 

 

 

Connectivity Improvements

In addition to the connectors for Simulink®, National Instruments® LabVIEW and VeriStand, and dSpace®, connectors are now available for B&R Automation Studio, VI-CarRealTime™, and Functional Mockup Units (FMUs).

 

B&R Automation Studio

Develop the next generation of automation solutions by incorporating MapleSim models into the B&R workflow. The MapleSim Connector for B&R Automation Studio™ lets you extend your B&R toolchain by integrating high-performance, multidomain system models from MapleSim into B&R Automation Studio. Through the use of an add-on product, the MapleSim Connector for B&R Automation Studio, physical models designed in MapleSim can be easily transferred to the B&R Automation Studio controller hardware.

 

VI-Grade

Bring advanced topologies and more realistic powertrain models to the industry-leading VI-CarRealTime platform.  The MapleSim Connector for VI-CarRealTime allows you to incorporate high-fidelity, multidomain models created in MapleSim in the real-time vehicle simulation environment of VI-CarRealTime. Export any MapleSim model to VI-CarRealTime, including systems with discrete events such as high-fidelity powertrain systems, power-assisted steering mechanisms and hybrid-electric vehicle powertrains. Create ANSI C solver plugins, use any model subsystem to test in the context of the full vehicle simulation model, generate multi-input/output solver plugins with automatic mapping of the MapleSim system's inputs and outputs to the VI-CarRealTime vehicle system, and more.

 

FMI (Modelica)

Connect your fast and powerful MapleSim models into your existing toolchain via Modelica’s FMI. The MapleSim Connector for FMI gives you the ability to export MapleSim models in the standard Modelica Association format that is easily understood by other FMI-compliant tools in your toolchain.

 

External Library and C Code Support

Call external code as part of your simulation by defining and generating a custom component from external C Code/DLL. Use this custom component to reduce development time by calling on code that exists outside of MapleSim, as part of your simulation.

 

For more information, see MapleSim Application Programming Interface Overview,  LinkModel and Opening a MapleSim Model in a MapleSim Model Embedded Component.

 

 

 

Documentation Updates

The User’s Guide includes new and updated multidomain tutorial examples to explore multidisciplinary concepts. This includes a full tutorial suite for modeling domain-specific examples that you can launch from the MapleSim Library Examples Palette.

 

For more information, see Chapter 6: MapleSim Tutorials in the MapleSim User's Guide.

 

MapleSim Help Improvements

Usability improvements for better navigation including a reorganized Help table of contents.

 

 

 

Improved 3-D Visualization

In MapleSim, the 3-D visualization environment allows you to build and analyze 3-D graphical representations of multibody systems. As you build a model and change its parameters, you can validate the 3-D configuration of the model and visually analyze your simulation results. 3-D visualization enhancements include entire animation positioning to keep the entire 3-D animation completely within view, and more animated view transitions to help you maintain your sense of orientation as views change.

 

Smoother Animations

Improvements to default settings now produces smoother multibody model animations.

 

Improved Grid Controls

MapleSim now has controls for defining the extent of the grid drawn in the perspective view and the spacing between grid lines.

For information on Grid Spacing see Customizing Grid Settings.

 

Fit Animation

Fit Animation positions your entire 3-D animation in the 3-D Visualization Area during playback. This is especially useful for visualizing complex models with wide trajectories when otherwise, some of the components could move outside the 3D viewing area.

For more information, see Fit Animation: Centering a View in the 3-D Playback Area.

 

Fit Scene

Fit Scene now works with View Change Animations if enabled. You can center your 3-D model in the 3-D Visualization Area.

For more information, see Fit Scene: Centering a Model in the 3-D Workspace and  Enabling View Change Animations.

 

Fit Selected

Fit Selected now works with View Change Animations if enabled. You can center on the specific component or a group of components of your 3-D model in the 3-D Workspace.

For more information, see Fit Selected: Centering a Component in the 3-D Workspace and  Enabling View Change Animations.

 

Export Movie

The Export Movie feature now allows you to record a portion of your simulation output. When MapleSim begins recording the simulation, you can use the progress indicator to monitor the completed percentage of a particular playback and save the simulation at any time during the recording.

For more information, see Exporting a Simulation as Movie.

 

 

 

More Powerful Modeling and Analysis Environment

Snapshots

You can now quickly investigate 'what-if' scenarios for any model simulation time. A snapshot records the state of all the variables of your simulation at a particular time, allowing you to start a simulation of your model at any time using these states as initial conditions.

For more information, see Taking a Snapshot.

 

 

 

GUI Improvements

GUI Improvements include usability enhancements to the Settings tab that include the new Advanced Simulation section. A more intuitive user interface makes it simple to manipulate parameters.

 

User's Guide Examples

A new User's Guide Examples section contains tutorials based on the procedures in the User's Guide. These tutorial examples range from beginner to advanced and are specifically designed to help you get started with MapleSim.

 

Simulation Settings

In the Settings Panel, the Solver section is replaced with two sections; Simulation and Advanced Simulation. These sections present existing and new solver options for more control and easier navigation. You can now directly specify the best solver for your model to determine the optimal preprocessing and simulation time.

 

Simulation Tab

The Simulation Tab contains the following options:

• 

The Simulation Duration field replaces the Simulation end time

• 

The Solver Type selection is now variable or fixed

• 

DAE solvers are available when Solver Type is set to Variable; RKF45 (non-stiff), CK45 (semi-stiff), Rosenbrock (stiff)

• 

The following choices are available when Solver Type is set to Fixed; Euler, Implicit Euler, RK2, RK3 or RK4

 

For more information, see  Simulation Settings.

 

Advanced Simulation Tab

The Advanced Simulation Tab contains the following new selections:

• 

The new ‘Simulation Start Time’ allows you to set the starting point of your simulations

• 

The new Use Snapshot field lets you take a simulation snapshot and set new initial conditions. By using a snapshot in your simulation, you can override the existing initial conditions and replace the state your model to the time of the snapshot.

• 

Apply Baumgarte constraint stabilization to your model by setting the derivative and proportional gain

• 

Specify a symbolic or numeric solution for the system Jacobian. This option is only used with stiff solvers

• 

Set constraint projection, projection iterations and projection tolerance for your model

• 

Apply constraint projection to occur during event iterations

• 

Specify the maximum number of event iterations allowed before the integrator throws an error

• 

Specify the event hysteresis bandwidth

• 

Set the event hysteresis bandwidth for all event triggers at the start of the simulation

• 

Control the relative error on algebraic variables

• 

Specify the variable scaling method using minimum, maximum or geometric mean values

• 

Specify whether to use heuristics to reduce the number of events encountered during your simulation

• 

Specify whether to include extra plot points as events during the simulation

• 

Specify whether to optimize the code during compilation

 

For more information see Advanced Simulation Settings.

 

 

 


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