Items tagged with maplesim maplesim Tagged Items Feed

hello

i have some problem when iuse the digital libray with the delay components:

i have this error: delay variable not found in dependent variable list, [`Main.TransportDelay1.x`(T)]

it seems that the delay function in the modelica language is not well treated in MapleSim . At this level:

 

equation
    y = if 0 < delayTime then if delayTime <= time then x_delayed else y0 else pre(x);
    x_delayed = integer(delay(x, delayTime));
end Modelica.Electrical.Digital.Delay.TransportDelay;

 

Thank you for your help.

 

 

Maplesim 7.0(1) installer looks for Maple 18 installation.  Will Maplesim work with Maple 2015?

If not, what is the expected date of making both products compatible?

Regards,

G

Hi! I'm having trouble with the MapleSim "Equation Extraction" template. I have an extremely simple dynamics scenario with RigidBody at a particular position in a world; when the simulation starts, the body should simply start fallin with a constant acceleration, and I'm looking to extract kinematic equations for this situation.

However, the problem I have with the extracted equations is that they contain some rotational dependent terms that I wish to avoid - a lot of sines and cosines with arguments that I actually cannot match up to any variables in the model, or when I enable quaternion representation, terms like this:

What I don't understand is what exactly these rotation terms represent. The object should be falling straight downwards, and gravitation should be applied straight downwards, and when I start the simulation it does run through, also indicating that there should be no unbound variables. I'm not sure exactly what parameters in the Modelica model do they correspond to? I did not find any such angles in the object settings. And can I ask MapleSim to generate equations without these unbound rotation variables?

Hi! I'm trying to use MapleSim 7 to simulate some very simple physical situations, however after great many hours spent at this, I'm still unable to convince MapleSim to load and run even the simplest Modelica models, like:

model Main
  Modelica.Mechanics.MultiBody.Parts.Body o(r_CM = zeros(3));
  inner .Modelica.Mechanics.MultiBody.World world;
equation
  o.frame_b.f = {0,-9.8,0};
end Main;

It will report that o and world are "unknowns" and apparently does not recongize Modelica.Mechanics.MultiBody.Parts.Body nor Modelica.Mechanics.MultiBody.World. Do I need to do some extra steps to import extra libraries or enable some non-default components?  I went through various YouTube and other tutorials and didn't find a mention of anything.

When I look at some examples, often they refer to things like Maplesoft.Multibody.World - but these are proprietary Maple packages, and I need my code to use standard Modelica. Does this mean that MapleSim cannot run generic Modelica code like this?

I also tried running e.g. https://github.com/xogeny/HarmonicMotion and some other examples, with absolutely no success either. I'm quite confused because MapleSim has a lot of advertising about Modelica support... :-(

We’ve just released a free maintenance release to MapleSim 7. This update includes improvements to MapleSim, the MapleSim Battery Library, and the MapleSim Connector for FMI. For details, see the MapleSim 7.01 update page.

From MapleSim, you can get this update from Help>Check for Updates, or download it from the update page. (If Check for Updates doesn't find anything, please try again tomorrow.)

eithne

Hi everybody,

is it possible to define an homokinetic joint in MapleSim for multibody modeling? How can I do that?

 

thanks.

Hello,

Is it possible to hide the geometry linked to the center of gravity and masses in the implicit geometry and keep only the kinematic joint.

If yes, may you explain how ? For the moment, I only manage to show/hide all the element of the implicit geometry. 

I use MapleSim 6.4.

Thank you for your help.

 

Hi,

I used to use windows 32 bit, but I have 64 bit windows now. I installed the MapleSim 6.4 and Maple 18 and try to run the simulations that I created with the 32 bit windows. I have this error 'Unable to compile (rc=1), please try again, and if that fails verify your Windows compiller installation'. Could you please let me know what should I do to eliminate this problem?

Best

Onder

Hello,

I would like to copy/ paste my maplesim model in microsoft visio.

The idea is to create a vectorial illustration for presentation.

I manage to do this with simulink but not with Maplesim.

Apparently, when I go in visio, there is no possibility to copy like a metafile.

Is there a possibility to copy the object of a Maplesim model in a software like visio or illustrator so as to be able to create vectorial illustration for presentation ?

Thank you for your help.

Updates are now available for both Maple 18 and MapleSim 6.4. 

Maple 18.02 contains improvements to many areas, including:

  • Rendering of 2-D plots
  • Help pages and examples
  • Interactive components
  • MATLAB 2014a support
  • Math engine: Laplace transforms, complex floats, simplify
  • Matrix import
  • Context menus
  • Typesetting
  • Memory management
  • OpenMaple API
  • Physics (details in comments)

To get this update, you can use Tools>Check for Updates from within Maple, or visit Maple 18.02 Downloads. (But depending on when you read this, Check for Updates may not have kicked in yet. If it doesn't find anything, wait until tomorrow morning and try again.)

For those users who haven't upgraded to MapleSim 7 yet, MapleSim 6.4.01 includes:

  • Efficiency improvements to the simulation engine, taking advantage of enhancements in Maple 18.02
  • Improvements to C code generation for model export
  • Improved handling of indexed variables when generating Modelica code

In MapleSim, use  Help>Check for Updates or visit MapleSim 6.4.02 Update. Note that MapleSim 6.4.02 is compatible with Maple 18.02.  Upgrade your Maple 18 installation to Maple 18.02 before installing this MapleSim update.

eithne

Hello,

I am quite new on Maple and Maplesim. A co-worker and I are evaluating a demo version (Maple 18 with Maplesim 7) for a possible purchase in 2015. For the project my collegue and I are working on, we need to detect when a signal becomes zero in order to switch between two options. We were trying to do this using the "Change" or "Boolean Change" components (the difference between those two is not really clear to us). Correct me if I am wrong, but those components should detect when a boolean signal has a change in value (both rising or decreasing) and in that case the output should become TRUE, while otherwise is FALSE.

The problem is that the component work if a "Terminate" is connected, but the output is always FALSE in any other case.

At the bottom we are attaching a file with two very easy examples.

In the first one the input of the "Boolean Change" component is a "Boolean Pulse". We compared also the output of the "Change", "Rising Edge", and "Edge with Initial Value" components. We were expecting istantaneous pulse with frequency equal to that of the boolean pulse, or its half for the Edge block. On the contrary the output of all the components stays zero (thus FALSE) for the whole simulation.

The second example use the output of a "Greater Threshold" component to enter the "Boolean Change", whose output is used to trigger a "Switch", whose output is in turn used as an input for the "Greater Threshold" component. The expected result is to have the "Switch" output to alternate the two inputs, instead it keeps the second one (thus the input for the switch is always FALSE).
The feature we need is more similar to this second output, but we don't understand what we are doing wrong or if there is another way to do it.
Thank you in advance
Irene

test_change.msim

Hey guys,

i'd like to create a custom component for maplesim. I opened the template in maple18 and defined the following equations:

eq := [p(t) = p__0+rho*g*h(t), Q(t) = A*(diff(h(t), t)), L(t) = 100*h(t)/h(0)]

These equations describes a tank with a liquid in it. Now I tried to define a function L(t) (above) that gives the level of the tank in percentage. Therefore I need the initial height value at t=0. The function defined above (h(0)) does not work, cause maple tells me that the function does not exist.

Any hint how to get an initial value or a value at t=0? Or maybe another way to solve my problem?

Hopefully I described right. :-)

Best regards

Christian

We have just released a new version of MapleSim.

MapleSim 7 makes it substantially easier to explore and validate designs, create and manage libraries of custom components, and use your MapleSim models with other tools. It includes:

  • Easy model investigation. A new Results Manager gives you greater flexibility when it comes to investigating your simulation results, including the ability to compare simulation runs on the same axes, instantly plot both probed and unprobed variables, and easily create custom plots.
  • Convenient library creation. With MapleSim 7, it is significantly easier to create, manage, and share libraries of custom components.
  • Improved Modelica support. MapleSim 7 expands the support of the Modelica language so that more Modelica definitions can be used directly inside MapleSim.

We have also updated and expanded the MapleSim 7 family of add-on products:

  • The new MapleSim Battery Library, which is available as a separate add-on, allows you to incorporate physics-based predictive models of battery cells into your system models so you can take battery behavior into account early in the design process. 
  • The MapleSim Connector for FMI, which allows engineers to share very efficient, high-fidelity models created in MapleSim with other modeling tools, has been expanded to support more export formats for co-simulation and model exchange.

See What’s New in MapleSim 7 for more information about these and other improvements in MapleSim.

 

eithne

Hi,

I need to build a multibody model in MapleSim 6.4 in which with few global parameters I can describe all the other parameters. In other words the final user will enter this few parameters, that are coordinates of specific points, and then the model will calculate all the relative distances on the base of those coordinates.

The problem is that if I apply trigonometric function and square root (like in the screenshot) the model is not calculating any value. Is it possible to make those calculculations?

 

this is the model (don't worry about the nonsense plots, it's because it's not ultimated):

DWS.msim

 

 

Thanks.

 

1 2 3 4 5 6 7 Last Page 1 of 12