Conference article

PySimulator - A Simulation and Analysis Environment in Python with Plugin Infrastructure

Andreas Pfeiffer
DLR Institute of System Dynamics and Control, Oberpfaffenhofen, Germany

Matthias Hellerer
DLR Institute of System Dynamics and Control, Oberpfaffenhofen, Germany

Stefan Hartweg
DLR Institute of System Dynamics and Control, Oberpfaffenhofen, Germany

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

Matthias Reiner
DLR Institute of System Dynamics and Control, Oberpfaffenhofen, Germany

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

Published in: Proceedings of the 9th International MODELICA Conference; September 3-5; 2012; Munich; Germany

Linköping Electronic Conference Proceedings 76:53, p. 523-536

Show more +

Published: 2012-11-19

ISBN: 978-91-7519-826-2

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

Abstract

A new simulation and analysis environment in Python is introduced. The environment provides a graphical user interface for simulating different model types (currently Functional Mockup Units and Modelica Models); plotting result variables and applying simulation result analysis tools like Fast Fourier Transform. Additionally advanced tools for linear system analysis are provided that can be applied to the automatically linearized models. The modular concept of the software enables easy development of further plugins for both simulation and analysis.

Keywords

PySimulator; Python; Simulator; FMI; FMU; Modelica; Plugin; Simulation; Analysis; Linear System Analysis

References

[AAF+12] Andersson C.; Andreasson; J.; Führer C. and Åkesson J.: A Workbench for Multibody Systems ODE and DAE Solvers. In Proc. of 2nd Joint International Conference on Multibody System Dynamics; Stuttgart; Germany; 2012.

[Bel09] Bellmann T.: Interactive Simulations and advanced Visualization with Modelica. Proceedings of 7th International Modelica Con-ference; Como; Italy; Sep. 20-22; 2009.

[DS12] Dassault Systèmes AB: Dymola; www.dymola.com.

[E12] Enthough; Inc.: Chaco. code.enthought.com/chaco.

[GFR+12] Ganeson A. K.; Fritzson P.; Rogovchenko O.; Asghar A.; Sjölund M. and Pfeiffer A.: An OpenModelica Python Interface and its use in PySimulator. Accepted for publica-tion in the Proceedings of 9th International Modelica Conference; Munich; Germany; Sept. 2012.

[HBG05] Hindmarsh A. C.; Brown P. N.; Grant K. E.; Lee S. L.; Serban R.; Shumaker D. E. and Woodward C. S.: SUNDIALS: Suite of Non-linear and Differential/Algebraic Equation Solvers. ACM Transactions on Mathematical Software; 31(3); pp. 363-396; 2005.

[LBN+12] Lawrence Berkeley National Laboratory: BuildingsPy. simulationresearch.lbl.gov/modelica.

[M12] MathWorks: Matlab. www.mathworks.com/products/matlab.

[MC10] MODELISAR consortium: Functional Mock-up Interface for Model Exchange; Version 1.0; 2010. www.functional-mockup-interface.org.

[NC12] Nokia Corporation: Qt. www.qt.nokia.com.

[P12] PySide. www.pyside.org.

[PBO12] Pfeiffer A.; Bausch-Gall I. and Otter M.: Proposal for a Standard Time Series File Format in HDF5. Accepted for publication in the Proceedings of 9th International Modelica Conference; Munich; Germany; Sept. 2012.

[RKH10] Rao K. R.; Kim D. N. and Hwang J.-J.: Fast Fourier Transform: Algorithms And Applications. Springer; Dordrecht; Heidelberg; London; 2010.

[Swa82] Swarztrauber P.N.: Vectorizing the FFTs. In: Parallel Computations; Ed. G. Rodrigue; Academic Press; 1982; pp. 51-83. www.netlib.org/fftpack

[T12] Tenfjord R.: Python-sundials. www.code.google.com/p/python-sundials.

[Tem83] Temperton C.: Self-Sorting Mixed-Radix Fast Fourier Transforms. Journal of Computational Physics; 52; pp. 1-23; 1983. www.sciencedirect.com/science/article/pii/002199918390013X.

[THG12] The HDF Group. www.hdfgroup.org.

Citations in Crossref