MapleSim Questions and Posts MapleSim Questions and Posts Feed

These are Posts and Questions associated with the product, MapleSim

Liquid flowing in a pipeline has inertia.  If a valve at the end of the pipeline suddenly closes, a pressure surge hits the valve, and travels through the pipeline at the speed of sound. The damping effect of fluid friction gradually attenuates the pressure wave.

This phenomenon is called water hammer and can cause damage significant damage, sometimes even rupturing the pipeline.

The pressure wave often produces audible sound. If you’ve ever heard...


How can I model a ground pattern, like was done in the demos of the planetary rover (

I see in the block model of the planetary rover that there is a component called "ground pattern" and it is not connected to any of the other components of the model, and this component is also not part of any default libraries of Maplesim.

Dear Maplers

I would like to define a component in MapleSim, which is difficult to write with a single equation, but rather it would be defined with a bunch of equations (a procedure). Can it be done programatically, i.e. can I write my own code (procedure) in Maple programming language to define the component? Or should I subdivide the problem to smaller steps (equations) and define a component for each of them? What would be the best way? Could you possibly give an example?

let say I have a rod(x-direction) with a mass at each end. I want to apply two different forces(both z-direction) to the ends of the rod. Also, i want the force to be always perpendicular to the rod length. The rod is supposed to be spinning. However, the rod only move at the speed due to the larger force.

How can I make the rod to be spinning(each end move at different speed)?

And, how to use the solid green(flange A)? I am very curious about this asI believe...

Hello everyone.

When exporting the model in the picture, I want the variables to be:

s_P2(t), theta_R2(t) and theta_R3(t), as in the help example.

However, I obtain:

theta_R1(t), theta_R2(t) and theta_R3(t)

How can I choose the variables that I want?


Thanks for make learning easier!


I downloaded the Modelica_Fluid 1.0 Library from the Modelica website. When I try to import this library into MapleSim5 I get the following error:

Duplicate class definition found for Modelica_Fluid.Pipes.BaseClasses.WallFriction.Detailed.msim/UNKNOWN

I then click "ok" and the importing stops working with the last message being:

Querying Modelica classes...

Can anybody offer help with this?


Hello everyone.

When exporting by an multibody attachment, the name of the variables exported from a revolute or translational joint, are set by default, like "s_P2(t)", "theta_R", etc. If I wanted them to be named "x(t)",... , what will I have to do?

Is it possible to do directly, without using an alias?


Could you pleasу tell me, is it possible to make MapleSim not to simplify equation set of my model and solve equations without simplification? I want to do this because simplification process (reduction of equations number) takes too much time in comparison with integration process.

Thank you!


Hi all,

 i have a problem with the equation generation in MapleSim, when using spring/damper elements in a Multibody-System. As an example, I've created a model of a mass-spring-damper system:





I wan`t use maple to solve my problem

x1[n]= ej*( Π/6) *n


When I export my MapleSim 5 results to a CSV file, I get only 6 digits, I'm looking for effects in the 1/1000 ppm or ppb region, I'm lost here

The global Settings window allows me to adapt epsilon abs and rel, thats nice, but nothing on the data export side.

I find it logical and usefull to have a settings on the export tab to decide on precision, and or selection of time series (usefull if one does not want all data, but just the last 100 values of a loooong run ;)

Dear MapleSim users

How can I get a display block / digital meter ? I want to display the last (or at a triggered time) the numerical value of a point/connection of a system.

I do not need the full graph of the "probe just the one value. It's mainly for debugging purpouse, to have a few check points once run.

The probes are nice but sometimes you want just a number not the full graph ;)

Does anybody have a trick ? Or could the probe plot item...

Hi simulators

Is there an easy way to give a global time frame/limits for all plots: typically I need to simulate a few seconds to get rid of all my transients, and then I would like to zoom in on the effect of interest. Now I have only found out how to reset one by one each graph via the axis properties, I have a dozen graphs per simulation 4 variables to scan over ten points each, that makes a damn lot of graphs properties click to reset, results: I need 60 sec to...


I wanted to vary my mass item in MapleSim5, to have it appear and dissapear. I noted I could us the variable "1*t" [kg] in a rigid body mass item, that worked out fine

Then I wanted to have a force variable depending on the time, but now I get a message Main.t is not defined in Main

So finally how to refer correctly to the "time" ?


Subdiary question: how to use signal blocks to generate a named variable that I use elswhere in my model for a Parameter input


I have the same problem.

   "Simulation problem: maximum number of event iterations reached (100) at t= ...."

I have a model which worked without problem in maplesim2, using a lot of event iterations. The model can only work this way, becouse its a mechanic model where the friction is function of the sliding speed, thus where the speed changes value, the friction coefficient does also, and an event occurs.

I really need to know where...

First 13 14 15 16 17 18 19 Last Page 15 of 28