MapleSim Questions and Posts

These are Posts and Questions associated with the product, MapleSim

Hi there!

I'm working on implementing a custom Modelica Library in MapleSim 2021. I have Maple 2021 installed and my software is up to date. The library I have developed is in a single file (extension ".mo") which I developed on an IDE for Modelica i.e., I did not create the library using MapleSim. During the import into MapleSim, no errors appear in the system logs. All my components and models have been imported except for an "expandable connector". It appears that the problem is with the term "expandable".

Since this expandable connector does not appear among my library components, I attempted to create a custom component using the Modelica code editor in MapleSim. However, the file cannot be saved while I prefix the term "expandable" to "connector". The software allows me to save the file with the new code after dropping the "expandable" term.

I know that expandable connectors are used by Modelica. Here are the references I used during development:

Working with Expandable Connectors - Claytex

However, there does not seem to be any information on expandable connectors in MapleSim. I'd appreciate it if any of you could throw some light on why I'm not able to import this component into MapleSim and fixes/suggestions on what I might be doing wrong. If any further information on my question is required, please do let me know.

In a multibody assembly I have three instances of identically connected prismatic joints (flanges not conneted and identical componets at the frames)

In the simulation results the joints are listed with the following variables:

Why are the variables not the same for three identical components and what do the Fi and Mi stand for?

Is there any documentation on variables listed in the simulation results? It seems that more variables can be available than listed in the component documentation.

I have seen that this is possible (for example in the example:  2-D Flexible Spin-up Beam).

When I copy an image to the Windows10 clipboard it does paste to other applications but not to MapleSim. Instead, I get an audio notification from the system that is played on other instances when an action cannot be performed.

Within MapleSim copy and paste works (also between models). However, copying an image from a Maplesim Model to another Windows App does not work.

Can someone confirm that pasting images works in recent verions?

(Clearing the Clipboard removes images copied with MapleSim.

Observed on 2 Windows 10 installations with the version 2022 and 2021.)

I have not found anything in the corresponding help page and mouse over does not work.




i am working and modling on brushless motor for my project but when i run that i get this error and i can not fix that could you please help me. error is :

equation generation

(}),At offset 4370 in `:-2108.m`, unexpected DAG type: 0,125

every project  i run  has the same error 


I build a small simple custom library in MapleSim, for some reaon MapleSim is keep giving me that a variable can't be resolved and that there is no "LibraryName" visible. 

The library loads successfully with no error though. 

exact msg:

Cannot resolve type `MyLibrary.Dh_Revolute` of variable `Main.DR1` in model `Main`; there is no `MyLibrary` visible

thanksf or your help. 

Hello everyone . I wish you all a happy new year and a great 2022.

i have a project in Maplesim and i just began working with it .

my project is about the creation of an umbrella using maple sim . I tried my best to create one of the mechanic system of the revolute system . But in an umbrella there are 8 system of a revolute , and it depends of the orientation . I don't knew how to create the other 7 system 

Can you please help me ?


Copying and Pasting of parameters (entered data) or text in text boxes does not work on my MapleSim 2021.1 Windows10 installation.

I tired the usual keys and context menus. Cutting works.

Thats what I get back when I paste text here after cutting

<math xmlns=''></math>

Copy&Paste of components works.  

Is this a known issue?

The 3-D Workspace of the stuart platfrom example

displays as follows. Clicking on the central object I get

Q1: What does "Unlayed out view mean"?

Q2: What is actually displayed in the center?

Q3: Why is only one leg shown in instead of 6?

I would really appreciate more insight into the 3-D Workspace. I use it to inspect structural integrity of models and assembly errors, but I am often lost by its behavior.

Thank you!

(I have tried to work it out myself with online resources, Maples help system and MapleSim user guide.)



I have constructed a model of an UR5e in maplesim with the hop to be able to test my controller writen in python on it. 

I hope to be able from the model to

  • Enter a tourqvalue for the joints.
  • Extract joint angles, joint velocitys as well as the forces and tourqes that affects the end effector.
  • (If posible) visualize the sumulated robot arm so I can se that the motion reflects that of the real robot arm.

the simulated robot arm 

The question is how to best do this in a semi realtime way?

I have been looking into generating a FMU but if there are other ways to do this, then I am open to ides. 

The contorller is based on a haptic algoritm for connecting two robot arms and I will only get one robot arm due to prise and space constraints.

This means that I will reseave realtime information from the real robot arm into my python controller that then i supose to take inforamtion from the simulated arm and with information from both arms calculate the tourqe values for both arms joints. 


Thanks in advance for all youre help

Eric Ragnarsson


I am trying to construct a controler for a UR5e robot, I have a simulation of the robot in maplesim and have started to look for a way to use multibody analysis to provide me with the Jacobian. However it only provieds the constraint Jacobian and as I have no position constraints on the robot, it returns nothing.

I then came across 


However it is old and does not exactly say how to do it.

So I thought I should ask this wonderful comunity if they have an recomended way to construct the Jacobian from a maplesimmodel? I am still a beginner at maplesim and maple so any help is appreciated.


With thanks for helping me

Eric Ragnarsson



I am trying to create a simulation of a UR5e, I have added a spring dampening systen in order to simulate the imput of external forces and torques. However I get a strange error for which I could not find an awnser for on the web.

The closest was

However it is quite old and not entirely a match. 

I get the following output

More information

Maplesim 2020

64 bit version

Windows 10

RAM - 16 GB

Do anybody know a solution for this?


Eric Ragnarsson



I'm new to Maplesim and Maple. I've modeled a planar slider-crank mechanism in Maplesim and it works.

Now I want to extract the equations of motion (DAE) for further analysis. From 'Template' --> 'Worksheet', I used A:-GetEquations() to try to get the DAE. However, the equations are too long and not shown. Moreover, I don't know what coordinates Maplesim used to generated those 'unseen' equations. Here are the equations that can be hand-derived:

where I and m represent inertia and mass respectively. Theta, beta and s are the chosen generalized coordiantes, s_theta is sin(theta), c_theta is cos(theta)s_beta is sin(beta), c_beta is cos(beta). Rx and Ry are lagrange multipliers representing the reaction force in the pin between the crank and the connecting rod.

How can I generate such DAEs using Maplesim? Thank you very much.

Hi all,

I am new to maplesim and trying to learn it.

While simulation of the battery operated 4 wheeled driven electric vehicle 

it tells can't find solution.



Same time if i connect a fixed reference all four wheels are running (same place) but not moving since the frame fixed.




thank you..


Hello guys, 

im not an expert of maplesim, I'm working on one of the default quarter car models (first pic).



I set a probe to measure the instant contact force between the tire and the post, but the graph shows that the force reaches both posite and negative values (as if the post were pulling back down the tire, is that right?)

What l have to do in order to see the real contact force graph? i just want to see the real positive value or 0. 



1 2 3 4 5 6 7 Last Page 1 of 37