A simulation environment for coupled systems of discontinuous ODE:s
(2013) In Bachelor's Theses in Mathematical Sciences NUMK01 20131Mathematics (Faculty of Engineering)
- Abstract
- This thesis covers the implementation and usage of PyFMI 2.0, an enhancement of the already existing PyFMI, a Python based simulation environment for importing and solving discontinuous systems of ordinary differential equations with in- and outputs, so-called simulations of Functional Mock-up Units. In particular, PyFMI 2.0 uses the Functional Mock-up Interface, FMI, 2.0 for interacting with Functional Mock-up Units, FMU:s, for Model Exchange and Co-Simulation. A mathematical and intuitive approach to the interface is treated together with a comparison to the previous interface of version 1.0. By experiments, the thesis aims to evaluate the possible efficiency gain in the simulation-run due to directional derivatives used as Jacobians... (More)
- This thesis covers the implementation and usage of PyFMI 2.0, an enhancement of the already existing PyFMI, a Python based simulation environment for importing and solving discontinuous systems of ordinary differential equations with in- and outputs, so-called simulations of Functional Mock-up Units. In particular, PyFMI 2.0 uses the Functional Mock-up Interface, FMI, 2.0 for interacting with Functional Mock-up Units, FMU:s, for Model Exchange and Co-Simulation. A mathematical and intuitive approach to the interface is treated together with a comparison to the previous interface of version 1.0. By experiments, the thesis aims to evaluate the possible efficiency gain in the simulation-run due to directional derivatives used as Jacobians provided by the FMU version 2.0 compared to version 1.0, where Jacobians are computed by the numerical integrator. Finally, it is concluded that PyFMI 2.0 needs a more efficient algorithm to retrieve the Jacobians, otherwise the time-loss in the elapsed simulation time becomes significantly large. (Less)
Please use this url to cite or link to this publication:
http://lup.lub.lu.se/student-papers/record/4019319
- author
- Nilsson, Teo LU
- supervisor
- organization
- alternative title
- En simuleringsmiljö för sammankopplade system av diskontinuerliga ODE:er
- course
- NUMK01 20131
- year
- 2013
- type
- M2 - Bachelor Degree
- subject
- keywords
- PyFMI, simulation, simulation environment, FMI, FMU, Teo, Nilsson
- publication/series
- Bachelor's Theses in Mathematical Sciences
- report number
- LUNFMA-4001-2013
- ISSN
- 1654-6229
- other publication id
- 2013:K9
- language
- English
- id
- 4019319
- date added to LUP
- 2014-02-14 16:21:17
- date last changed
- 2015-12-14 13:32:11
@misc{4019319, abstract = {{This thesis covers the implementation and usage of PyFMI 2.0, an enhancement of the already existing PyFMI, a Python based simulation environment for importing and solving discontinuous systems of ordinary differential equations with in- and outputs, so-called simulations of Functional Mock-up Units. In particular, PyFMI 2.0 uses the Functional Mock-up Interface, FMI, 2.0 for interacting with Functional Mock-up Units, FMU:s, for Model Exchange and Co-Simulation. A mathematical and intuitive approach to the interface is treated together with a comparison to the previous interface of version 1.0. By experiments, the thesis aims to evaluate the possible efficiency gain in the simulation-run due to directional derivatives used as Jacobians provided by the FMU version 2.0 compared to version 1.0, where Jacobians are computed by the numerical integrator. Finally, it is concluded that PyFMI 2.0 needs a more efficient algorithm to retrieve the Jacobians, otherwise the time-loss in the elapsed simulation time becomes significantly large.}}, author = {{Nilsson, Teo}}, issn = {{1654-6229}}, language = {{eng}}, note = {{Student Paper}}, series = {{Bachelor's Theses in Mathematical Sciences}}, title = {{A simulation environment for coupled systems of discontinuous ODE:s}}, year = {{2013}}, }