MapleSim 6 Questions and Posts MapleSim 6 Questions and Posts Feed

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

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...

Hello all,

 

as in title I have trouble with exporting simulation result data in MapleSim.

Storing the result works fine, but the problem occurs when it comes to exporting (and viewing the result again).

The console says

"at offset 67895293 in `C:\Users\YUKIHI~1\AppData\Local\Temp\_result2_68856801825556689291274099867619489771.m`, unexpected end of file "

 

the simulation settings are as follows.

td : 2 ms

Hi,

I'd like to change the font size in my MapleSim plots, especially when I resize the plot to take up the whole screen.  I know how to set the line thickness of the plot lines, but I can't seem to find an option for setting the font size in the legends, titles and axes.

Also, is there a way to change the default font and line width?  

 

thanks!

 

James

Hi,

I'd like to change the font size in my MapleSim plots, especially when I resize the plot to take up the whole screen.  I know how to set the line thickness of the plot lines, but I can't seem to find an option for setting the font size in the legends, titles and axes.

Also, is there a way to change the default font and line width?  

 

thanks!

 

James

Hello all,

 

I created an active high pass filter and tried to obtain bode plot from "Linear System Analysis."

I could do that but now I want a transfer function of the active hight pass filter.

 

So as in title, I want to know how to get transfer function of the system from "Linear System Analysis."

 

Any helps would be appriciated.

Yukihiro

1 2 Page 1 of 2