- Index
- » Users
- » Albanese
- » Profile
Posts
Posts
Hi guys, I'm trying to create a CAD file for my simulation and load it in OpenModelica but it seems to be less trivial than expected. I've seen that .dxf and .stl are supported by Modelica but I've encountered two cases working with OpenModelica:
- stl: I get the following error when simulating "Error reading file B:/Program_Files/OpenModelica/Files/MyModel/test.stl: read error (Could not find plugin to read objects from file "B:/Program_Files/OpenModelica/Files/MyModel/test.stl".) ". Is there a way to install plugins in OM?
- dxf: I'm able to upload the dxf file with "ShapeType = file://Path/To/Model/test.dxf" but nothing is shown in the animation of the simulation. I've found in the source code (https://github.com/OpenModelica/OpenMod … hapes.cpp) that the structure of the file is really strict since the cad model must be defined as a set of 3DFACE entities, but among all the existing dxf formats (R12/R13 etc.) I was not able to export such a structured file. Does anybody knows a simple way to either export from CREO or AutoDESK or convert my current dxf files into the format that I am looking for?
Thank you in advance!
OpenModelica v1.17.0 (64-bit)
OMSimulator v2.0.0.post284-gc8ec782-mingw
Modelica Library 3.2.3
Hello,
I'm currently working on the implementation of a dynamic model of a Stewart Platform in OpenModelica similar to the one in https://www.xarg.org/paper/inverse-kine … -platform/ (6RSS parallel robot) and apparently, I'm not able to connect multiple legs to the same platform due to the following error:
[1] 13:08:36 Translation Error
Internal error It is not possible to select continuous time states because Number of Equations 18 greater than number of States 17 to select from.
[2] 13:08:36 Translation Error
Internal error - IndexReduction.dynamicStateSelectionWork failed!
From what I have seen in the documentation of Modelica, this might be caused by some loop in the spanning tree generated during the translation phase of the model where some non-flow equations became dependent on each other resulting in an overconstrained (even if still solvable) system. I will attach the source code of the package that I have created in which there are present a base, a platform, and only two RSS legs which create the issue.
Since I'm new to Modelica, I think I'm missing some basic concepts of modelling multibody mechanics especially when kinematics loops take place. I've already made some tests on the planar loop fourbar example in the Modelica library but I think this is something different. Is there a way to solve this error and finally obtain a working model of the 6RSS parallel robot?
sixRSS-parallelRobot.mo
Thank you in advance for your help!
Roberto Albanese
- Index
- » Users
- » Albanese
- » Profile