MapleSim Questions and Posts

These are Posts and Questions associated with the product, MapleSim

I created a user library and added a component that I had created from a shared subsystem and this worked fine.

I edited the component in the library to add some additional functionality and saved it.  I then had to reload the library in Maplesim but now I get this error everytime I try to run the simulation:

Cannot resolve `ControlLogix.PIDE` in model `Main`; there is no `ControlLogix` visible

Yet I dragged and dropped the component PIDE from the ControlLogix library.

Can anyone help me to resolve this?

Thanks

Analysis in Dynamics of Structures with Maplesim for Engineering
Here is the power of Maplesim in modeling and simulation. With Maplesim you can model structures at rest and dynamics. Considering real patterns of our world for better optimization.Project developed for students of Civil Engineering, Architecture, Mechatronics and all those professional careers related to structures.

CIMAC_UNALM_2019.pdf

Lenin Araujo Castillo

Ambassador of Maple

We are currently in the process of updating the support FAQs at https://faq.maplesoft.com. We’ve been working on updating the existing content for clarity, and have added several new articles already.

 

The majority of our FAQs are from questions people ask us in Technical Support at support@maplesoft.com, but we’d also like to like to add content from other sources.

Since we have such a great community here at MaplePrimes, we wanted to reach out and ask if there are any articles or questions that you'd like to see added to our FAQ.

 

We look forward to hearing your feedback!

has anyone tried to use Peter Fritzone's book with maplesim helloworld modelica??

 

The simple approach from Peter (creating a custom modelica component) is to getting started by running a simple simulation where x_dot(t) = - a*x,  where the normal form is x(t) = x^-a for logarithmic type decay.

plot of x(t) should be a decay curve.  

 

Maple Code

A:-LinkModel = fine, connects

 

SimData := A:-Simulate(outputs = x, returntype = datapoints, tf = 2);

Error, invalid input: Simulate expects value for keyword parameter [outputs, output] to be of type {list(algebraic), list(anyfunc(identical(t)))}, but received x
 

***********

Simcode

 

Model Main;

Imports

public HelloWorld HelloWorld1 annotation(Placement(transformation(origin={100.0,200.0},extent={{-20.0,-20.0},{20.0,20.0}},rotation=0)));
    annotation(
            Diagram(coordinateSystem(preserveAspectRatio=true, extent={{0,0},{200.0,200.0}}),graphics),
            Icon(coordinateSystem(preserveAspectRatio=true, extent={{0,0},{200.0,200.0}}),graphics={Rectangle(extent={{0,0},{200.0,200.0}}, lineColor={0,0,0})}),
            uses(Modelica(version="3.2.3")),
            experiment(
              StartTime = 0,
              StopTime = 2.0,
              __Maplesoft_solver = "ck45",
              __Maplesoft_adaptive = true,
              Tolerance = 0.1e-4,
              __Maplesoft_tolerance_abs = 0.1e-4,
              __Maplesoft_step_size = 0.1e-2,
              __Maplesoft_min_step_size = 0,
              __Maplesoft_max_step_size = 0,
              __Maplesoft_plot_points = 2000,
              __Maplesoft_numeric_jacobian = false,
              __Maplesoft_constraint_iterations = 50,
              __Maplesoft_event_iterations = 100,
              __Maplesoft_algebraic_error_control = false,
              __Maplesoft_algebraic_error_relaxation_factor = 1,
              __Maplesoft_rate_hysteresis = 0.1e-9,
              __Maplesoft_reduce_events = false,
              __Maplesoft_integration_diagnostics = false,
              __Maplesoft_compiler = true,
              __Maplesoft_compiler_optimize = true,
              __Maplesoft_scale_method = "none",
              __Maplesoft_plot_event_points = true
            )
    );

 

end Main;

class HelloWorld
    Real x (start =1);
    parameter Real a = 1;
equation
    der(x) = -a*x;
end HelloWorld;

can maplesim simulate a robot arm and hand catch a throwing ball and picking objects?

can maplesim simulate a balancing a robot legs?

will these simulation require complex formula to draw the robots arm and hand and maintain the joints stick together during motions?

can maplesim output the specification to autodesk for 3D print parts?

how much of a maplesim? 

i can not see the price in maple official site from Hong Kong area.

I have created a custom port in my MapleSim file and when I try to add the port to a Custom Component I keep getting an error that the connector cannot be found.

The custom port appears in the components pane of my MapleSim model.

I am guessing that I am missing something to fully qualify the port name.

I would like to create a custom component with thermal fluid flow ports but I don't see that type of port as an option in the DAE Custom Component Template.  Can anyone help me with now I would go about doing this?

We’re excited to announce that we have just released a new version of MapleSim. The MapleSim 2019 family of products helps you get the answers you need from your models, with improved performance, increased modeling scope, and more ways to connect to your existing toolchain. Improvements include:
 

  • Faster simulation speeds, both within MapleSim and when using exported MapleSim models in other tools

  • More simulation options are now available when running models imported from other systems

  • Additional options for FMI connectivity, including support for variable-step solvers with imported FMUs, and exporting models using variable step solvers using the MapleSim FMI Connector add-on

  • Improved interactive analysis apps for Monte Carlo analysis, Optimization, and Parameter Sweep

  • Expanded modeling scope in hydraulics, electrical, multibody, and more, with new built-in components and support for more external Modelica libraries

  • New add-on library: MapleSim Engine Dynamics Library from Modelon provides specialized tools for modeling, simulating, and analyzing the performance of combustion engines

  • New add-on connector: The B&R MapleSim Connector gives automation projects a powerful, model-based ability to test and visualize control strategies from within B&R Automation Studio
     

See What’s New in MapleSim 2019 for more information about these and other improvements!

It is a very good computational tool to perform modeling and simulation using our world as a reference. You can also teach math knowing how to choose the right icons.
I recommend this software to everyone who wants to simulate objects or multibodies. In any case, knowledge of physics and mathematics, especially vector mechanics, is necessary.
Very grateful to the Maplesoft company for sharing their projects through the MapleSim gallery.

From now on all projects will be with Maple and MapleSim.

Lenin AC

Ambassador of Maple

Hi,

I have to model a DC motor in MapleSim. Reading the help of the component EMF I can't undestand if it takes into account also the Back EMF or if I have to use a voltage generator and a rotational speed feedback loop.

Do you know something about that?

Thanks.

Dear Community,

I run a MapleSim model from Maple. The simulation runs fine giving me the correct graphical plots, but I wonder how could I obtain also the numerical values of the probes vs. time? Sorry I could not figure it out. A matrix format would be perfect: 1st column time, the other columns probe 1 .. n values vs. time. (Files attached)

Tx for the kind help in advance,

best regards

Andras

RunMapleSim.mw , RCNetwork.msim

Dear Community,

I have set up a simple 2D RC network with 1 lookup table current source, and a few probes. The model runs fine. Now I wanted to run it from Maple, and followed carefully a MapleSim tutorial which exlained how to establish the link between Maple and MapleSim. I added a worksheet called RCNetworkMaple.mw and run the A := MapleSim:-LinkModel(): command. Then I wanted to run the simulation with the A := Simulate() ; command, but nothing happened, Maple returned A := Simulate(). What did I wrong? In the tutorial it runs perfectly. (Files attached.)

 

Tx for the kind help in advance,

best regards

Andras

RCNetwork.msim  RC_Rate_Schedule.xlsx

Hi,

I have to build a simple model in MapleSim that allows to simulate a mass that goes down along an inclined plane with a certain friction.

Is there a component that simulates the inclined plane? I tried to use a prismatic joint but it has some predifined translational directions so I can't impose the movement along the plane.

Hello,

I use MapleSim to model the dynamics of motorcycles.
I have been at MapleSim2018 for a few months and I have a problem of simplifying the equations generated by MapleSim from my model.
In MapleSim2018, he tells me:

Processing Equations...
SelectCompiler: Check for installed compiler successful
Simplifying system with 8919 equations
DSN/ix1lite: Warning, equation size increased past 100000 while performing equation simplification. Model will be simulated in partially unsimplified form
Simplification removed 8428 equations. Remaining equations: 491
Generating simulation code

 

the same model (exactly the same) in MapleSim2016, he tells me :

Processing Equations...
Simplifying system with 8942 equations
Simplification removed 8494 equations. Remaining equations: 448
Generating simulation code

When I generate code from two versions of Maple (2016 and 2018) and compile it into an executable, the MapleSim 2018 executable runs 20% slower than the MapleSim 2016 version of the executable (the results and the behavior of both models are equivalent)

It is very strange that a new version of MapleSim generates a slower code than the old version. it may be due to the limitation of DSN / ix1lite in MapleSim2018 ... while MapleSim2016 does not have this limitation (with more equations to simplify!).

I need help, if it is possible to activate the complete simplification in DSN / ix1lite?

it is a big problem for me, the use of MapleSim2018 is not possible because of that. My model does not pass in real time.

thanks.

 

 

Dear all;

Let

b[n]+b[n-1]+b[n-2]=0, for all n greater or equal 3

b[1]=-1;

b[2]=0

b[0]=1

 

How can we deduce the value of this sequence b[n] for all n

thanks

 

First 7 8 9 10 11 12 13 Last Page 9 of 41