Conference article

Component-Based 3D Modeling of Dynamic Systems

Andrea Neumayr
DLR, Institute of System Dynamics and Control, Germany

Martin Otter
DLR, Institute of System Dynamics and Control, Germany

Download articlehttp://dx.doi.org/10.3384/ecp18154175

Published in: Proceedings of The American Modelica Conference 2018, October 9-10, Somberg Conference Center, Cambridge MA, USA

Linköping Electronic Conference Proceedings 154:19, p. 175-186

Show more +

Published: 2019-02-26

ISBN: 978-91-7685-148-7

ISSN: 1650-3686 (print), 1650-3740 (online)

Abstract

The objective is to model and simulate larger and more complex 3-dimensional systems as it is possible with a pure equation-based modeling system such as Modelica. The approach shall combine component-based 3D modeling, as used in modern game engines, with equation-based modeling. The proposed methodology has been evaluated and tested in the experimental modeling environment Modia3D that is implemented with the Julia programming language.

Keywords

Modelica, Modia, Modia3D, Julia, DAE, equation-based modeling, componend-based modeling, multibody, collision handling

References

G. Bardaro, L. Bascetta, F. Casella, and M. Matteucci. Using Modelica for advanced Multi-Body modelling in 3D graphical robotic simulators. In J. Kofranek and F. Casella, editors, Proc. of the 12th International Modelica Conference. LiU Electronic Press, May 2017. URL http://www.ep.liu.se/ecp/132/097/ecp17132887.pdf.

T. Bellmann. Interactive Simulations and advanced Visualization with Modelica. In Francesco Casella, editor, Proc. Of the 7th International Modelica Conference. LiU Electronic Press, Sept. 2009. URL http://www.ep.liu.se/ecp/043/062/ecp09430056.pdf.

G.v.d. Bergen. Collision Detection in Interactive 3D Environments. Morgan Kaufmann Publishers, 2003.

J. Bezanson, A. Edelman, S. Karpinski, and V. B. Shah. Julia: A Fresh Approach to Numerical Computing. SIAM Review, 59(1):65–98, 2017.

T. Blochwitz, M. Otter, J. Akesson, M. Arnold, C. Clauß, H. Elmqvist, M. Friedrich, A. Junghanns, J. Mauss, D. Neumerkel, H. Olsson, and A. Viel. The Functional Mockup Interface 2.0: The Standard for Tool independent Exchange of Simulation Models. In Martin Otter and Dirk Zimmer, editors, Proc. of the 9th International Modelica Conference. LiU Electronic Press, Sept. 2012. URL http://www.ep.liu.se/ecp/076/017/ecp12076017.pdf.

H. Elmqvist, S. E. Matsson, and C. Chapuis. Redundancies in Multibody Systems and Automatic Coupling of CATIA and Modelica. In Proceedings of the 7th International Modelica Conference; Como; Italy; 20-22 September 2009, pages 551–560. Linköping University Electronic Press, 2009. URL http://www.ep.liu.se/ecp/043/063/ecp09430113.pdf.

H. Elmqvist, A. D. Baldwin, and S. Dahlberg. 3D Schematics of Modelica Models and Gamification. In Peter Fritzson and Hilding Elmqvist, editors, Proc. of the 11th International Modelica Conference. LiU Electronic Press, Sept. 2015a. URL http://www.ep.liu.se/ecp/118/057/ecp15118527.pdf.

H. Elmqvist, A. Goteman, V. Roxling, and T. Ghandriz. Generic Modelica Framework for MultiBody Contacts and Discrete Element Method. In Peter Fritzson and Hilding Elmqvist, editors, Proc. of the 11th International Modelica Conference. LiU Electronic Press, Sept. 2015b. URL http://www.ep.liu.se/ecp/118/046/ecp15118427.pdf.

H. Elmqvist, T. Henningsson, and M. Otter. Systems Modeling and Programming in a Unified Environment based on Julia. In Proc. of ISoLA Conference. Springer, Oct. 2016. doi:10.1007/978-3-319-47169-3_15.

H. Elmqvist, T. Henningsson, and M. Otter. Innovations for Future Modelica. In J. Kofranek and F. Casella, editors, Proc. of the 12th International Modelica Conference. LiU Electronic Press, May 2017. URL http://www.ep.liu.se/ecp/132/076/ecp17132693.pdf.

E.G. Gilbert, D.W. Johnson, and S.S. Keerthi. A Fast Procedure for Computing the Distance Between Complex Objects in Three-Dimensional Space. IEEE Journal of Robotics and Automation, 4(2):193–203, 1988. URL https://graphics.stanford.edu/courses/cs448b-00-winter/papers/gilbert.pdf.

M. Hellerer, T. Bellmann, and F. Schlegel. The DLR Visualization Library - Recent development and applications. In Hubertus Tummescheit and Karl-Erik Arzen, editors, Proc. of the 10th International Modelica Conference. LiU Electronic Press, March 2014. URL http://www.ep.liu.se/ecp/096/094/ecp14096094.pdf.

M. Hiller and C.Woernle. A Systematic Approach for Solving the Inverse Kinematic Problem of Robot Manipulators. In Proceedings 7th World Congress Th. Mach. Mech., 1987.

A.C. Hindmarsh, P.N. Brown, K.E. Grant, S.L. Lee, R. Serban, D.E. Shumaker, and C.S. Woodward. SUNDIALS: Suite of Nonlinear and Differential/Algebraic Equation Solvers. ACM Transactions on Mathematical Software, 31(3):363–396, September 2005.

A.C. Hindmarsh, R. Serban, and A. Collier. User Documentation for IDA v2.8.2. Technical Report UCRL-SM-208112, Lawrence Livermore National Laboratory, 2015.

A. Hofmann, L. Mikelsons, I. Gubsch, and C. Schubert. Simulating Collisions within the Modelica MultiBody Library. In Hubertus Tummescheit and Karl-Erik Arzen, editors, Proc. of the 10th International Modelica Conference. LiU Electronic Press, March 2014. URL http://www.ep.liu.se/ecp/096/099/ecp14096099.pdf.

B. Kenwright. Generic Convex Collision Detection using Support Mapping. Technical report, 2015. URL https://www.semanticscholar.org/paper/Generic-Convex-Collision-Detection-using-Support-Kenwright/4f0f2d95375db7cfdbfaa345847418789d8cb970.

A. Neumayr and M. Otter. Collision Handling with Variablestep Integrators. In Proceedings of the 8th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, EOOLT’17, pages 9–18. ACM, 2017.

R. Nystrom. Game Programming Patterns. Genever Benning, 2014. URL http://gameprogrammingpatterns.com/.

M. Otter and H. Elmqvist. Transformation of Differential Algebraic Array Equations to Index One Form. In J. Kofranek and F. Casella, editors, Proc. of the 12th International Modelica Conference, May 2017. URL http://www.ep.liu.se/ecp/132/064/ecp17132565.pdf.

M. Otter, H. Elmqvist, and S. E. Mattsson. The New Modelica MultiBody Library. In P. Fritzson, editor, Proc. of the 3rd International Modelica Conference, Nov. 2003. URL https://www.modelica.org/events/Conference2003/papers/h37_Otter_multibody.pdf.

M. Otter, H. Elmqvist, and J. Diaz Lopez. Collision Handling for the Modelica MultiBody Library. In Gerhard Schmitz, editor, Proc. of the 4th International Modelica Conference, March 2005. URL https://modelica.org/events/Conference2005/online_proceedings/Session1/Session1a4.pdf.

G. Snethen. Xenocollide: Complex collision made simple. In Scott Jacobs, editor, Game Programming Gems 7, pages 165–178. Charles River Media, 2008.

C. Woernle. Ein systematisches Verfahren zur Aufstellung der geometrischen Schliessbedingungen in kinematischen Schleifen mit Anwendung bei der Rückwärtstransformation für Industrieroboter. Fortschrittsberichte VDI. Reihe 18, ISSN 0178-9457, 1988.

Citations in Crossref