MapleSim 5 Questions and Posts

These are Posts and Questions associated with the product, MapleSim 5

I am currently working on a MapleSim model that is similar to the Stewart Platform, yet less complex. I have built a tripod that is fixed to the ground with three legs connecting to a platform. Connecting the leg to the ground is a revolute joint and connecting the leg to the platform is a spherical joint. When I change the initial conditions of the spherical joint from 'Treat as Guess' to 'Ignore' 2 of the 3 legs will change orientiation. I'm not sure why this occurs to only 2 legs, can someone help me?

If I have a MapleSim file that successfully runs and I want to manipulate the data and equations in Maple, how would I do that? I know how to link a MapleSim file to a Maple document, and how to pull out the system of reduced DAE's, ODE's, parameters, etc. My question is whether or not there's a simple way to have Maple solve those equations and be able to display the same type of data (graphs, export the numerical solution to the system to an Excel file, etc.) that...


I need to get inverse kinematics model of a double inverted pendulum. I got a model but it gives error when I run. It seems to me that the inverse kinematics model is not quite right. If you are able to help me, I will be very pleased.DoublePendulumI.msim 

Thanks for your help....









How can we re-initialize a multi-body system, for example a three link pendulum, based on measurements obtained from various sensors? Can we generate a modelica custom component which has inputs from various sensors and the output is the re-initialized states for the multi-body system?

Thanks for your help....


I have a system consisting of a multi-body system and various modelica/maple custom components. The problem is whenever I re-run the simulation even though all the simulation settings are same, the simulation results are inconsistent. There should be no difference between each simulation as all the parameters/settings are same. I am attaching two pictures which are both obtained from two successive simulations

please in nead help in this aaplication (HydraulicsStewartPl) :

1-How  do i change the position of platform in playback mode ?

2-How do i connect this model to the out side world

Hi everyone,

I've been able to generate equations of motion for my system. I want to linearize the obtained equations. How to do it? I've been trying to find some example on it, however, haven't been lucky as yet. Can anyone please help me with this? Anticipating a quick reply!





I am trying to get the linearized model of a multibody system which has multiple inputs and multiple outputs. I initially used the "linearization template" of the MapleSim for an inverted pendulum, it worked fine. However, when I tried to get the linearized model for the double inverted pendulum, it gave this error message "problem at initial time: system is underdetermined; cannot solve for the following variables: 'Main.DFPSubsys1inst.eM_MyPendulum1_R1(t)'". 

Does anyone know how to switch a joint between having a prescribed motion driver and acting as a passive joint? More specifically, I am building a bed of spring to serve as a model for haptic feedback on a Phantom Omni device. Therefore, I need to read the position of the device (which is not a problem) and then based on the position of the device calculate a force to feed back to the device.

Consider the simplified example below. In one situation I may need to give...


Well, I'm trying to connect a translational spring to a revolute joint. But, I'm unable to do so. I'm new to MapleSim and I ain't a mechanical engineer either. I need you to help me a little. Anticipating a quick response!


I have a simulation file consisting of a number of modelica custom componets and maple custom components. I initially generated Random Data with mean 1 and standard deviation 0.5. Constructed all the blocks and combined with a multibody system, it worked fine. However, when I generated Random data with zero mean, then I have this error/problem "Simulation Problem: maximum number of event iterations reached (100) at 1.85000".

I used a couple of pre() function with clock=sample(0,0.01...

Hi all,

I have a modelica custom componet which has inputs from angle/speed sensors and the output is a vector. I have an error "Attempted to retrieve property of unknown component". Can anyone see mistakes from the code below;

model basisFunction
    extends Maplesoft.Icons.CustomComponent;
    parameter Real bPen[sn*sn] "The normalized output for the basis function";
    parameter Integer sn=5 "The number of samples in each axist";

Hi All,

I am trying to apply a learning algorithm to a pendulum. The algorithm has Modelica custom components and also MapleSim custom components. I need to reinitialize the simulation  (i.e new initial states for the pendulum) without stopping the simulation. I think I have to use a Modelica custom component since there is a "if" condition and there is a function called "reinit()" in Modelica, but I am not sure how this works...


if you have...

Hi all,

I'm currently running a parameter space search via Maple scripting. The pseudo-code goes something like this:


fopen text file to write data to;

initialize parameters (variable) x, y, and z;

for x number of iterations

   A:-Simulate(model.msim, with [parameters]);

   Update parameters with new values;

   Write to text file;

end do;

fclose(text file)

dear sir, I want to use maplesim to import the modelica model of truetime network, but failed. the model is writen in modelica 2, is there any way to sovle this problem?

1 2 3 Page 2 of 3