Equation Extraction for Kinematics
MapleSim is a fantastic tool to model multi-domain physical systems at a level that was unthinkable not so long ago. This post is about a simple problem that can be solved by hand, but where I failed...
View Articleprinciple of plot points
ac-dc-dc1.msimWhen i click off the "Plot events", the figure of Probe2 is pretty different comparing with "Plot events" is turned on. Here is my assumption: the simulation duration is 500 seconds and...
View Articlehow to get an adjustable parameter
example.msimI want to get an adjustable parameter in maplesim. For example, here is a pulse voltage source, i want to make its amplitude controlled by another voltage output (doesn't exist in this...
View ArticleHow do I implement expandable connectors from Modelica into multi-body...
Hi there!I'm working on implementing a custom Modelica Library in MapleSim 2021. I have Maple 2021 installed and my software is up to date. The library I have developed is in a single file (extension...
View ArticleMapleSim 2022 is here
We are happy to announce that we released MapleSim 2022 today.The MapleSim 2022 family of products offers improvements in modeling and connectivity, including many that are in direct response to...
View ArticleHow do I implement the convolution integral of 2 continuous signals in MapleSim?
Hi there!I'm attempting to develop a custom library in MapleSim (a Modelica solver engine) that can use convolution integrals to model the hydrodynamic behaviour of floating bodies. The convolution...
View ArticleSuggestions to improve the user experience of MapleSim
MapleSim is a mature product. The rich component library leaves little room for improvement for wide range of applications. It is understandable that latest product releases focused on specialized...
View ArticleWho invented the inverse model approach?
Inverse kinematics can be done in several ways (this webinar gives a very good overview https://www.youtube.com/watch?v=X0OZ9EM6dns). A effective and simple method is to run a model in reverse...
View ArticleSearching the help system: Why are there no hits for solve( ?
The Examples section on the help page of a command is important for learning, but cannot cover all uses. This is especially true for general purpose commands like "solve" or "simplify". Searching all...
View ArticleWhy does importing a MATLAB struct into MapleSim using Modelica return 0?
Hi there!I have developed a component in Modelica to import values from a Matlab struct into MapleSim and use it with other components. This data is saved in a ".mat" file and the struct was...
View ArticleMB parameter exports: How to prevent conversion to rational expressions
Multibody exports from MapleSim to Maple convert a symbolic expression to a rational quotient:On another occasion pi/4 was converted to a similar rational quotient (corresponding to...
View ArticleInitialization diagnostics questions
Q1: clicking on a variable in the attached I getWhat does it mean and how can I fix that when it happens?Initialisation_diagnostics_error.msimQ2: Why are initial conditions which are set to "Ignore"...
View ArticleError, `MapleSim` does not evaluate to a module
I have maplesim installed and I get the error "Error, `MapleSim` does not evaluate to a module" when I run A:=MapleSim:-LinkModel(); in a Maple worksheet.Does anyone know how to solve this error?
View ArticlePossible incorrect results when modeling a telescopic guide with a stop
 Combing a Prismatic Joint component with an Elasto Gap component does not always provide correct results. Incorrectly combined (red mass below), a force is generated although the distance between the...
View ArticleDouble Pendulum Linearization
I'm confused by the state equations resulting from linearizing the DoublePendulum example model.The state equations are:diff(x[1](t),t) = x[2](t),diff(x[2](t),t) = 0,diff(x[3](t),t) =...
View ArticleHow to export C code generated by the CodeGeneration package to a file (to...
A "while" ago this was possible by commands. E.g.:(from https://www.youtube.com/watch?v=uaQh_bXcIGA)I consulted the help pages for Export and CodeGeneration options, but could not find anything...
View ArticleVisual Studio Complier: Which version for MapleSim2022?
To make the "Simple External Code Function" example of the tutorial work, an external complier is required.in MapleSim:-CreateDataRecord) invalid input: dsolve/numeric/ToExternal:-AddTempFile expects...
View ArticleOptimized code for use with the Custom Component Template in MapleSim
I have polished up findings with custom components to share it here:Optimized code generated with Maple’s codegen package cannot be used in the same way as it was possible with older versions of...
View ArticleC code verification with MapleSim
Maple allows to extract, manipulate, and optimize equations from a MapleSim model. Code can be generated from the equations in various programming languages. To verify the code, C code can be imported...
View ArticleMaple and MapleSim 2022.2 updates
We have just released the 2022.2 updates for Maple and MapleSim. These updates are freely available to all customers who have the 2022 version of these products.Maple 2022.2 includes improvements to...
View Article