Industrial application of optimization with Modelica and Optimica using intelligent Python scripting

Karin Dietl
Siemens AG, Energy Sector, Erlangen, Germany

Stephanie Gallardo Yances
Siemens AG, Energy Sector, Erlangen, Germany

Anna Anna
Lund University, Department of Automatic Control, Lund, Sweden

Johan Åkesson
Modelon AB, Lund, Sweden

Kilian Link
Siemens AG, Energy Sector, Erlangen, Germany

Stéphane Velut
Modelon AB, Lund, Sweden

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp14096777

Ingår i: Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden

Linköping Electronic Conference Proceedings 96:81, s. 777-786

Visa mer +

Publicerad: 2014-03-10

ISBN: 978-91-7519-380-9

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


This paper shows how different kinds of optimi-zation related task such as offline optimization or optimal control are solved using a combina-tion of Modelica; Optimica; JModelica.org and Python. The application examples presented in this paper are all real industrial applications in the field of Combined Cycle Power Plants. Therefore different workflows have to be com-bined to solve the underlying task. This paper shows that these workflows can be conveniently connected using Python.


Dynamic optimization; Nonlinear Model Predictive Control; Extended Kalman Filter


[1] JModelica.org, http://jmodelica.org/, viewed 2013-12-05.

[2] Python Software Foundation. Python Programming Language - Official Website, http://www.python.org/, 2012, viewed 2013-12-05

[3] A. Johnsson, Nonlinear Model Predictive Control for Combined Cycle Power Plants, Master’s Thesis, Lund University, Department of Automatic Control, 2013.

[4] C. Andersson, S. Gedda, J. Akesson, S. Diehl, Derivative-free Parameter Optimization of Functional Mock-up Units, 9th International Modelica Conference, Munich, Germany, 2012.

[5] Lie, B., Haugen Finn, Scripting Modelica Using Python, Telemark University College, Porsgrunn, Norway, 2012

[6] A. Lind, E. Sällberg, S. Velut, S. Gallardo Yances, J. Åkesson, K. Link: Start-up Optimization of a Combined Cycle Power Plant, Proceedings of the 9th International MODELICA Conference, September 3-5, 2012, Munich, Germany

[7] https://www.modrio.org/

[8] https://openmodelica.org/

[9] J. Åkesson, Optimica—An Extension of Modelica Supporting Dynamic Optimization, 6th International Modelica Conference 2008, Modelica Association, March 2008.

[10] GnuPlot, http://www.gnuplot.info/, viewed 2013-12-05.

[11] MatPlotLib, http://matplotlib.org/, viewed 2013-12-05.

[12] SciPy, http://www.scipy.org, viewed 2013-12-05.

[13] Numpy, http://www.numpy.org/, viewed 2013-12-05.

[14] The JModelica.org User Guide, http://www.jmodelica.org/apidocs/usersguide/JModelicaUsersGuide-1.11.0.pdf, viewed 2013-12-05.

[15] E. Haselting, J. Rawlings, A Critical Evaluation of Extended Kalman Filtering and Moving Horizon Estimation, http://jbrwww.che.wisc.edu/techreports/twmcc-2002-03.pdf, 2003, viewed: 2013-05-07.

[16] The FMI-standard, https://www.fmistandard.org/, viewed 2014-01-21.

Citeringar i Crossref