Pfeiffer, Andreas and Winter, Christoph and Jarmolowitz, Fabian and Bertsch, Christian (2025) Optimization with FMI and CasADi: Analysis in Industrial Applications. In: Industrial User Presentations of 16th Modelica & FMI Conference. 16th International Modelica & FMI Conference, 2025-09-08 - 2025-09-10, Lucerne, Switzerland.
|
PDF
950kB |
Abstract
Motivated by real use cases from Bosch for optimization-based functions and controllers in the context of energy optimal operation of vehicles and buildings, we investigate the usage of FMI for optimization purposes via the open-source tool CasADi. We implemented a framework in Python to automatically compare optimization results and computation times of optimal control problems in CasADi. We are able to compare the results generated by different implementations: a) including the system dynamics as FMUs and b) a native implementation where the system dynamics is realized by Python code for CasADi. We present results from two use cases: the trajectory following of a single track vehicle model and the optimal control of a building’s chiller system. Detailed analysis of the split of the execution time of one optimization run gives valuable insight which kind of FMI function calls or derivatives are competitive and which one have bottlenecks compared to the native solution in CasADi without FMUs.
| Item URL in elib: | https://elib.dlr.de/213372/ | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Document Type: | Conference or Workshop Item (Speech) | ||||||||||||||||||||
| Title: | Optimization with FMI and CasADi: Analysis in Industrial Applications | ||||||||||||||||||||
| Authors: |
| ||||||||||||||||||||
| Date: | September 2025 | ||||||||||||||||||||
| Journal or Publication Title: | Industrial User Presentations of 16th Modelica & FMI Conference | ||||||||||||||||||||
| Refereed publication: | Yes | ||||||||||||||||||||
| Open Access: | Yes | ||||||||||||||||||||
| Gold Open Access: | No | ||||||||||||||||||||
| In SCOPUS: | No | ||||||||||||||||||||
| In ISI Web of Science: | No | ||||||||||||||||||||
| Status: | Published | ||||||||||||||||||||
| Keywords: | FMI CasADi Python optimization optimal control derivatives single track model chiller system | ||||||||||||||||||||
| Event Title: | 16th International Modelica & FMI Conference | ||||||||||||||||||||
| Event Location: | Lucerne, Switzerland | ||||||||||||||||||||
| Event Type: | international Conference | ||||||||||||||||||||
| Event Start Date: | 8 September 2025 | ||||||||||||||||||||
| Event End Date: | 10 September 2025 | ||||||||||||||||||||
| HGF - Research field: | Aeronautics, Space and Transport | ||||||||||||||||||||
| HGF - Program: | Transport | ||||||||||||||||||||
| HGF - Program Themes: | Road Transport | ||||||||||||||||||||
| DLR - Research area: | Transport | ||||||||||||||||||||
| DLR - Program: | V ST Straßenverkehr | ||||||||||||||||||||
| DLR - Research theme (Project): | V - V&V4NGC - Methoden, Prozesse und Werkzeugketten für die Validierung & Verifikation von NGC | ||||||||||||||||||||
| Location: | Oberpfaffenhofen | ||||||||||||||||||||
| Institutes and Institutions: | Institute of Vehicle Concepts > Vehicle System Dynamics and Control | ||||||||||||||||||||
| Deposited By: | Pfeiffer, Andreas | ||||||||||||||||||||
| Deposited On: | 24 Sep 2025 09:08 | ||||||||||||||||||||
| Last Modified: | 17 Oct 2025 13:06 |
Repository Staff Only: item control page