Modelica2Pyomo: a tool to translate Modelica models into Pyomo optimization models

Tasks involving Modelica models often do not simplyinvestigate the dynamic behavior of a system, but ratherwant to characterize also possible optimal controlstrategies according to suitable criteria. Unfortunately,since Modelica does not support out-of-the-box optimizationfeatures, users are often forced to use other tools tocode again the system model for optimization studies. Forthis reason, the authors present Modelica2Pyomo, anopen-source tool to translate Modelica models into Pyomooptimization programs, leveraging on their flat BaseModelica representation. This work illustrates the mainfeatures of Modelica2Pyomo, including automatic variablesand constraints normalization, expressions manipulation andinitialization via Modelica simulation results. Todemonstrate the capabilities of this framework, twoexamples are showcased, including an industrial relevantopen-loop optimal control problem of a solid-oxide fuelcell.

Authors

Institutions

Publication Details

Journal
Linköping electronic conference proceedings
Published
2025-10-24
DOI
https://doi.org/10.3384/ecp218117
Primary Topic
Modeling and Simulation Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Modelica2Pyomo: a tool to translate Modelica models into Pyomo optimization models

Emanuele Martelli, Francesco Casella, Matteo Luigi De Pascali, Lorenz T. Biegler
Linköping electronic conference proceedings
Modeling and Simulation Systems
article

Modelica2Pyomo: a tool to translate Modelica models into Pyomo optimization models

Emanuele Martelli, Francesco Casella, Matteo Luigi De Pascali, Lorenz T. Biegler
article en

Abstract

Tasks involving Modelica models often do not simplyinvestigate the dynamic behavior of a system, but ratherwant to characterize also possible optimal controlstrategies according to suitable criteria. Unfortunately,since Modelica does not support out-of-the-box optimizationfeatures, users are often forced to use other tools tocode again the system model for optimization studies. Forthis reason, the authors present Modelica2Pyomo, anopen-source tool to translate Modelica models into Pyomooptimization programs, leveraging on their flat BaseModelica representation. This work illustrates the mainfeatures of Modelica2Pyomo, including automatic variablesand constraints normalization, expressions manipulation andinitialization via Modelica simulation results. Todemonstrate the capabilities of this framework, twoexamples are showcased, including an industrial relevantopen-loop optimal control problem of a solid-oxide fuelcell.

Linköping electronic conference proceedingsVol. 218
Carnegie Mellon University (US), Politecnico di Milano (IT)
Openalex Percentile: Top 43%
Modeling and Simulation Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Modelica2Pyomo: a tool to translate Modelica models into Pyomo optimization models — Emanuele Martelli, Francesco Casella, et al. · Linköping electronic conference proceedings (2025) | TGRS Research Map | TGRS