MapleSim Questions and Posts

These are Posts and Questions associated with the product, MapleSim

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 want to compare two signals where intersections between the two signals represent the instant of command (like boolean pulse) of a thyristor. The two signals are volatges and command of thyristor is boolean. A conversion of voltage to boolean signal should also done, I think ?

Thanks in advance

See image below.

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)

Hi

 

I am working with mapleSim in two different computers, one in my school and another that is mine. I am using dropbox to keep the mapleSim documents and the costum component that i am creating synchronized in both PC´s. But i have noticed that mapleSim store the file that i attacht in another folder, so when i change the components equations in one document, on the other PC there are no changes. Is it possible to change the folder where the...

Hi All,

 

I want to create a MapleSim Custom Component which has a vector input and the output is a matrix. In this case how can I define the system (Dynamic system sys:=DynamicSystems[?])? Hence, how can I assign these input/output to component ports?

 

Thanks

Hi all,

I have some problems to model a DC-AC converter with transistor. Can some one take a look in my maplesim file and help to correct it

Thanks

transistor.msim

hi

I am a mechanical engineer student and i am trying to learn mapleSim, but i am having some dificulties.
I am first trying to model an heat exchanger from a domestic water heater. I have found on maples website a costum component and i am trying to do a similar one to start.
The component that i am talking about is this one:

http://www.maplesoft.com/applications/view.aspx?SID=35160


The problem is that after i put my own equations, parameters,...

I'am simulating a Simple AC-DC converter withTransistor NPN. When the load is just a resistance. It work. But, when I add an inductor of 10 mH to the load. Do not work. Why ?

transistor.msim

Thanks in advance

Dr. Gilbert Lai is a mentor for the FIRST Robotics team SWAT 771. He is helping an all girls team from grades 7-12 design a basketball-shooting robot for this year’s annual FIRST Robotics Competition. Dr. Lai is using MapleSim and Maple to help the team understand the principles involved and design their robot. This blog post is part of a series that chronicles the progress of the team.  Posts in the series include:

  • Part 1 - 

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?

How can we design a wind turbine and simulate it?


Hi all,

A while ago, I had asked a question relating to calling to an MapleSim .msim simulation within maple .mw worksheet. (Thank you Acer! :) I got it working but then another issue just popped up...The basic structure is as follows:

********************************************************************

A := MapleSim:-LinkModel('filename' = "TriplePendulum_WORKS_v2.msim")

for z from 1 to 50 do

     initialize_variables;

Hello,

 

I have created a MapleSim model including a few custom components. When I try to run the simulation, I receive the following error:

cannot resolve function `Main.'Typesetting:-mambiguous'`; there is no function `'Typesetting:-mambiguous'` visible in model `Main`

 

How do I know where the source of the error is?

 

Thank you,

Behzad

Dr. Gilbert Lai is a mentor for the FIRST Robotics team SWAT 771. He is helping an all girls team from grades 7-12 design a basketball-shooting robot for this year’s annual FIRST Robotics Competition. Dr. Lai is using MapleSim and Maple to help the team understand the principles involved and design their robot. This blog post is part of a series that chronicles the progress of the team.  Posts in the series include:

  • Part 1 - 

Hi everyone,

In MapleSim, I know that after running a model simulation, one can save the data via 'export data in excel or csv' format...

But is it possible to automate this process via a script? For example, if I wanted to see what the model data looks like by varying one parametere between 10 to 50?

Example:

for i = 1:50

   variable_in_model = i;

   run MapleSim model;

   save MapleSim model data;

First 30 31 32 33 34 35 36 Last Page 32 of 42