What's New in MapleSim
What's New in MapleSim 6.4
Powerful Tools for Custom Components
MapleSim 6.4 includes several updates to the custom component template that make custom components even easier to build and use.
- You can provide additional information about the parameters of your custom component, such as their dimensions and the relationships that must hold for your initial conditions to be valid. By providing this information as part of the definition of the component, MapleSim will be able to detect when the component is being used incorrectly, such as when the units or initial conditions are inconsistent.
- When using Modelica to define your component, you can now take advantage of a new Modelica-aware code editor that provides syntax highlighting, automatic indenting, and more.
- You can define custom port types, and MapleSim will apply the same port consistency checking as it does for built-in port types to prevent illegal connections.
- Ports now snap to grid for cleaner placement.
- More examples are available to use as a basis for your own development.
Solvers in MapleSim 6.4 are faster, and provide you with more information and control.
- New solver diagnostics help you deeply investigate the behavior of your simulation with plots showing the log of the integrator step size, event iterations per step, constraint iterations per step, and constraint residual.
- For all models, the symbolic preprocessing time prior to simulation has been further reduced, so the numerical simulation phase begins sooner. This improvement is especially significant for larger systems, with the preprocessing phase running up to 30 times faster for some models.
- Index error control can now be optionally turned off.
- A new option allows the use of quaternions for 3-D rotations, as an alternative to the default method.
- Many enhancements have been made to the MapleSim Connector, which generates models for use in Simulink®.
- Inputs and outputs can now be wrapped in a bus connector.
- The new solver diagnostics can be exported to Simulink®.
- Intermediate steps are now available to handle events that occur between steps in discrete-step simulations.
- A new Hold on Failure option allows recovery from errors without stopping the simulation, providing diagnostics which indicate where the error occurred and at what point the simulation recovered.
- The MapleSim Connector for FMI now exports to FMI for Co-Simulation version 2.0 RC1. As a result, MapleSim can be used to develop models for use in other systems that support this latest release of the FMI standard, such as dSPACE SCALEXIO®.
Control Design Toolbox
The MapleSim Control Design Toolbox now offers a more complete set of algorithms for PID control, new commands for computing closed-loop transfer functions, and numerous improvements to existing commands. These enhancements allow engineers to design a greater variety of controllers and controller-observer systems while taking advantage of the greater flexibility and analysis options available through the use of symbolic parameters. Learn more.
What's New in MapleSim 6.3
MapleSim 6.3 contains significant enhancements to the simulation engine in MapleSim.
- For all models, the symbolic pre-processing time prior to simulation has been reduced, so the numerical simulation phase will begin sooner. This improvement is especially significant for models that include Modelica-based custom components defined using functions and algorithms.
- Simulations of models that use the MapleSim Hydraulics Library from Modelon run significantly faster due to a dramatic improvement in the pre-processing time for these models.
- Code generation for all target platforms has been improved so that more model parameters are modifiable when the simulation is run outside of MapleSim.
- Support for Modelica-based custom components has been expanded so that a wider class of functions can now be included in the component definition.
What's New in MapleSim 6.2
Faster Model Development
With usability improvements across many different aspects of the interface, MapleSim 6.2 speeds up model development of both simple and complex models.
- Insert a new component between two connected components simply by dropping it onto the connecting line. MapleSim will automatically break and reform the connections appropriately to hook in the new component.
- See instantly if your intended connection will be compatible using a new popup that displays the port dimensions when you hover over the connection point.
- Easily join a dangling connection to an empty port or to another unattached line just by dragging to extend the connection.
Better Parameter Management
- Reorder your parameter list simply by dragging the parameter to the desired row.
- Delete parameters from the list easily with the click of a button.
More Intuitive Line Routing
- Invoke automatic line rerouting algorithms to clean up a subset of your diagram while leaving the rest untouched.
- When moving a component, improved rerouting algorithms make changes only when necessary, rather than automatically redrawing all affected connections.
- Copies of your model diagram retain the same routing as the original.
- Snap to Grid now applies to connections as well as components.
Improved Diagram Viewing
- Easily scale your model diagram to fit the workspace, so you can see the entire diagram at once.
- Return to the default zoom factor at any time.
Mass and Inertia for CAD Geometry Components
- The CAD Geometry component now automatically takes into account physical quantities such as mass and inertia during the simulation process.
- You simply specify a density parameter for the component, and then MapleSim uses the density and the information in the .stl file to automatically calculate the volume, mass, and inertia of the rigid body.
- MapleSim incorporates the mass and inertia information in the simulation to give you a truer representation of how your model behaves.
Updated Modelica Code View
- Updates to the Modelica Code View make it easier to read and work with the Modelica code for your model by displaying code annotations. Annotations provide an extra level of code markup and can be used to convey additional information on the appearance of the model.
- Multibody: A new axis component will display a set of Cartesian coordinate axes to help you visualize the local coordinate frame.
- Electrical: Five new semiconductor circuit components model the effects of junction temperature.
- For some applications, such as designing a controller, it is helpful to have a linearized version of a subsystem to achieve increased speed and scalability. The MapleSim API has been updated to make it easy to programmatically linearize a MapleSim subsystem.
- A new API command returns the linearized form of the linked subsystem as a DynamicSystems object in Maple, where it can then be analyzed and then returned back to MapleSim as a component.
MapleSim Hydraulics Library® from Modelon
Maplesoft has formed a technology partnership with Modelon, a renowned developer of high-quality Modelica libraries, to provide industry-tested hydraulics components within the system-level modeling environment of MapleSim. With the MapleSim Hydraulics Library from Modelon, available as a separate add-on component library, you can seamlessly incorporate advanced hydraulics components into your MapleSim models while continuing to take full advantage of all the modeling, analysis, and simulation abilities of MapleSim.
With the MapleSim Hydraulics Library from Modelon you can:
- Choose from over 150 components for modeling pumps, motors, cylinders, restrictions, valves, hydraulic lines, lumped volumes, and sensors
- Incorporate compressible oils and cavitation effects into your models
- Select from a list of pre-defined standard hydraulics oils or define your own
- Easily reuse, customize, and extend components to suit your specific needs
Learn more about MapleSim Hydraulics Library from Modelon.
- Feedthrough port designation: The MapleSim Connector now designates all input ports that do not affect the outputs as non-feedthrough. This identification helps Simulink® deal with algebraic loops between Simulink® blocks more effectively.
- External lookup tables: A new option exports the lookup tables used by your model to a file that your compiled code reads at run time. This allows you to modify the table data between simulation runs without having to recompile your model.
MapleSim Connector for FMI
- More solvers are now available when generating an FMU. In addition to Euler, the RK2, RK3, RK4, and Implicit Euler fixed-step solvers are also available.
MapleSim Connector for JMAG®-RT
- New specialized components have been added to simulate motors designed in JMAG-RT to replace the previous generic motor component, so model diagrams are more understandable and settings are always applicable to your particular component.
- There are five new components:
- Permanent Magnet Synchronous Motor: a permanent-magnet, three-phase, synchronous electric motor
- Stepper Motor: a two-phase stepper motor
- Switched Reluctance Motor: a multiphase switched-reluctance stepper motor
- Linear Synchronous Motor: a three-phase, linear synchronous electric motor
- Solenoid: a single-phase, linear solenoid
MapleSim Connector for VI-CarRealTime™
- Support has been expanded to include VI-CarRealTime v15. You can specify which version you are using to take full advantage of that particular release.
- You can specify if you want a 32-bit or 64-bit binary, according to the version of VI-CarRealTime you are using.
MapleSim Connector for B&R Automation Studio
- Numerous improvements were made to improve the efficiency of the generated code
- Support has been expanded to include B&R Automation Studio 4