MapleSim Questions and Posts MapleSim Questions and Posts Feed

These are Posts and Questions associated with the product, MapleSim


I'm trying to solve numerically an ODE system with piecewise. And this piecewise is very important for this task.

This system describes behavior of a pulley with friction. There are some constants: m, c, g, mu and J. Values of this constants are not important.

> sys := m*a(t) = piecewise(a(t) < a0, F0*time, a(t) >= a0, 0), v(t) = diff(x(t), t), a(t) = diff(v(t), t);
> m := 5; F0 := 10; a0 := 5;
> initialconditions := x(0) = 0, v(0) = 0;


When i start the simulation of my model, which is a rotor-stator interaction, i get an error message where the rotor first touches the stator: "Simulation problem: maximum number of event iterations reached (100) at t= ....". I made a custom component to handle the contact event (change of the derivatives), but i don't know where i can change the maximum iteration to a higher number.

Thank you.


I want to generate a source component,namely,acceleration function,y(t)=(1/2)*t^2,where y(t) is output of the component. Is there any way to generate it?

By the way,I find a component,named 'Real Expression',which located in Signal Blocks\Sources\Real. I thought it may solve my problem,but after reading the help document,I felt the description was too simple to understand. Can you give me an example of how it can be used?

Thank you!

Hi all,

I need to define a state machine in MapleSim. A Maple procedure would help to solve this issue. How do I include a Maple procedure in my MapleSim model?

I am looking forward to your answers.




I use maplesim to construct a cart, which is controlled by a DC magnet. As the model in the document illustrated, the cart is drived by a prismatic, and there is a rigid body frame between the cart and the prismatic. This rigid body frame is used to sustain the cart....

Hi all,

I'm working on systems with discontinuities and need to define a finite state machine.

I tried to define one by myself and encountered some errors. The computation of initial conditions complains about either cycles and suggests using a pre-block - I am allready using one - or about inconsistent initial conditions and ignores some constraints. Does the initial condition computing algorithm loop insufficiently?

I also tried to use the modelica...




I use maplesim to simulate two simple pendulum, as the figure illustrated. The model works well. I want to let the names "pendulum A" and "pendulum B" appear in the 3D graphical view, so the audience will distinguish them...



I am very beginner of Maple softs, in order to proceed with my project i need to model a simple Human Knee joint and  to do its simulation, Somebody please help on this, otherwise i cant able to proceed with my project.


Waiting for a solution


Hello, MaplePrimes!

I want to create a custom component to model dynamics of a movable pulley, which can rotate and move along some direction (translational motion). I’ve got dynamic system, which describes both motions of a pulley. Some information about this dynamic system:


New to maple sim...

February 15 2011 cometservice 3

Hey all you clever people


I have been leaning simulink in school today. The problem is that i like maple, and would like to solve all my problems in maple

The problem we solved i attached in a zip file.

Can anyone make a simulation in maplesim, that does the same, and mail it to me?


Looking forward to hear from you


Rune Behnk Eriksen

I'm learning maplesim 4.5 for my project. I need to create a custom component for throttle area in engine modeling?

when I created I faced an error  like  'invalid input: Modelica expects value for keyword parameter parameters to be of type list (name =realcons)'


please suggest me to create the custom component. . .

I am new to maple, and looking for som tourturial to get me started. My school dont offer any education in the program.


Can maple do the same things as matlab? i have a little program i wrote i matlab. Is it possible for me to write that i maple?

% Afkøling af 1L mælk
% 08.02.2011/RBE

clc                   % sletter skærmen

Hello, MaplePrimes!

I want to create a custom component to solve a pulley dynamics problem using MapleSim. But I don’t know, how to do it, I’m a beginner in MapleSim.

So I decided to start my work with a simple model – I decided to create a custom component, which is equivalent with a standard component from MapleSim component library – Wheel Axle.

I’ve read a Help topic on Wheel Axle, from where I’ve found out differential...


I want to make a model with an inner moving circle touching a non-moving, stiff outer circle. 2 differential equations describe the movement of the inner circle, i already have modelled thisand i have the x and y coordinates of the most "exposed point" which will touch the outer circle, as output variables (i could also add the derivatives as output). When the 2 circles touch, i want to "tell" the differential equation model the 2 new derivatives for x and y...

Hello, MaplePrimes!

Could you please tell me, how to select which variables are “input” and which ones are “output” during a custom component definition in MapleSim?

Thank you.

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