A simulation environment for coupled systems of discontinuous ODE:s
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.
AT THIS PAGE YOU CAN DOWNLOAD THE WHOLE ESSAY. (follow the link to the next page)