MapleSim 6 Questions and Posts MapleSim 6 Questions and Posts Feed

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

Hello,

In my model, it seems that I have parameters which are not evaluated.

Indeed, I'm not sure that the parameters defined with relations as you can see in the printscreen are evaluated.

 

One point which helps me to debug my model is to follow the evaluation of the construction of my model with the 3D visualization.

Questions :
1) How can I do to be sure that my parameters are evaluated ?

2) Is it possible to launch the update of the 3D visualization even if I still have some bugs in my model ?

Thank you for help.

Hello,

In a subsystem, i defined parameters like this in the "parameters" area :

 

In the "diagram" area, the parameters are not updated because i see this panel :

 

Do you know why the parameters are not updated (possibly only on visualization) ? And if yes, how i can do to visualize in this last panel the value of the parameters updated ?

Thanks a lot for your help

Hi,

 

I want to calculate a new position (X,Y,Z) for a cartesian model with 3 points (dX,dY,dZ) but  I got a problem, my point is a parameters, so I can't change it in the simulation in real time with a Input signal on the components. Does It exist a solution for convert a parameters to a variable to get a Input signal?

Exemple of my calcul:

eq:= [x(t)= dx+sin(dy/dz), y(t)=dy+20,z(t)=dz]

 

Thanks!

Hello all,

When I try to do this example, in the multibody analysis, http://www.maplesoft.com/products/maplesim/ModelGallery/detail.aspx?id=137

Thats already written :

 

but when I enter theses formulas(mModel & MB), that write instead of the example:

"Analyzing system..."
"Performing constraint analysis..."
"The system has 2 degree(s) of freedom. It is modeled using 2

generalized coordinate(s) coupled by 0 algebraic constraint(s\

And I have no result if i do vPosCons := MB:-GetPosCons(); . What am I doing wrong?

Thank you

I have some data for a model in MapleSim that I would like to use a time look up table with.  I've found that the two options for interpolation are linear and 1st derivative, but the data was intended to be interpretted as piecewise constant.  Is there any way to acheive this option in MapleSim?

Hi

I tried to import the modelica library Buildings1.6 from the modelica website and get always the error "Nothing found in the modelica library". 

Is it possible to import modelica libraries? 

Thank you very much

Natural Frequency...

March 24 2014 md7007 15

Hi

i want to calculate natural frequencies with MapleSim, but i can't. is it possible to calculate natural frequencies with MapleSim or not? if the answer is positive, how i can make it? Thnx

Hi MaplePrimers!

I have a simulation in MapleSIM, exported as a compiled procedure in maple using -LinkModel(), and -GetCompiledProc.

I'm trying to do parameter estimation on my MapleSIM model.  Within a optimization scheme, I call the MapleSIM model, and it will output a curve.  Using a least squares method, I compare this measurements to synthetic experimental data (I know the actual values), and generate an objective function.  The optimization algorithm will try different parameter values, and try to minimze the objective function.  When the curves are exactly the same, the objective function will be zero.

The problem I am having is certain parameter sets will cause the model to require very small steps.  I wish to put a timeout on these experiments, because speed is important.  However, I would also like to see the results up to the point of requiring very small steps.  For timeout, I was using code along the lines of:

out:= timelimit(30,cProc(params = PData)); #simulate with 30s limit

where PData are the parameter guessses, and cProc is the compiled MapleSim model.

I would like 'out' to be assigned whatever the results were after 30 seconds, even if the model had not finished integrating.

 

Thanks in advance for any help!

Hi,

Does Maplesim allow hardware integration such as a joystick so that I can feed in joystick commands (via USB or serial) from the computer and then control my Maplesim model in the virtual space? Suggestions?

 

Thank you.

Hi,

I'm currently working on a manipulator model in Maplesim and will import CAD attachments to each of the links. The Solidworks model, once imported to Maplesim, is not located in the same position as the Maplesim part but is offset by X,Y,Z. The scaling is also off. Is there some way to align the CAD to the component instead of trial and error?

Thank you.

 

Hello,

I want to optimal control, i.e. determine command which minimize an onjective function.

So I want know how I can use the Maple function "optimization[NLPSolve]" in a custom block of Maplesim ?

(I do that in Matlab with "fminsearch" and a Matlab function block but I don't manage to do it with maplesim)

Hi

I'm new to maple and maplesim and I'm trying to model a 6 DOF manipulator (IRB 140); derive its forward and inverse kinematics and control it.

I modeled the manipulator in maplesim and attached the CAD files, but I don't know how to derive the inverse kinematics!

I tried to define the end effector position and orientation symbolicly, by putting sympolics in end effector output frame an defining default values for them to use them...

MapleSim already developed a Template for Linearization.

The code behind "Linearize" button in the Linearization template is as follows:

"MapleSim:-Templates:-Linearization:-Linearize();"

The results, namely A,B,C,D matrices in the state-space presentation, are shown in the text area "mcEqs".

How can I save these matrices to some variables for further analysis?

In addition, without the linearization template, 

Hi everybody,

Like the title said, I have a DC circuit (*.msim attach here).  In two differents ways, I find the current in R3 to be equal to -1A (*.mw attach here).  The M17 file is in french but the equations speak for themselfs.  Can someone help me to sort this problem out.

problème_5-4.msim

Solution_5-4.mw

Thank you in advance for your help.

Hi,

I need to model the MapleSim ground as a hard ground. For example when the robot swing leg hits the ground, it should not have negative vertical position. Basically, the robot will move on a surface.

Thanks...

1 2 Page 1 of 2