NMPC Application using JModelica.org: Features and Performance

Christian Hartlep
Siemens AG, Germany

Toivo Henningsson
Modelon AB, Sweden

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

Ingår i: Proceedings of the 11th International Modelica Conference, Versailles, France, September 21-23, 2015

Linköping Electronic Conference Proceedings 118:34, s. 321-327

Visa mer +

Publicerad: 2015-09-18

ISBN: 978-91-7685-955-1

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


In the past JModelica.org was successfully applied for generating optimal trajectories. Using it for Nonlinear Model Predictive Control (NMPC) is the natural next step and sets high requirements on calculation time. To improve real time capabilities warmstarting of the optimization and elimination of algebraic variables based on Block Lower Triangular (BLT) form were implemented. In performance comparisons, using the example of steam temperature control, a speed-up of the optimization time by factor five and two respectively was measured. The increased efficiency allows application of NMPC to faster systems than before.


NMPC; BLT; IPOPT; JModelica.org


HSL, a collection of fortran codes for large-scale scientific computation, 2013. URL http://www.hsl.rl.ac.uk/.

Joel Andersson. A General-Purpose Software Framework for Dynamic Optimization. PhD thesis, Arenberg Doctoral School, KU Leuven, Department of Electrical Engineering (ESAT/SCD) and Optimization in Engineering Center, Kasteelpark Arenberg 10, 3001-Heverlee, Belgium, October 2013.

Magdalena Axelsson, Frederik Magnusson, and Toivo Henningsson. A framework for nonlinear model predictive control in jmodelica.org. Proceedings of the 11th International ModelicaConference, 2015.

Marco Bonvini, Michael Wetter, and Michael D Sohn. An fmi-based framework for state and parameter estimation. Proceedings of the 10th International ModelicaConference, 2012.

Stephen Boyd and Lieven Vandenberghe. Convex Optimization. Cambridge University Press, New York, NY, USA, 2004. ISBN 0521833787.

I. S. Duff and J. K. Reid. An implementation of tarjan’s algorithm for the block triangularization of a matrix. ACM Trans. Math. Softw., 4(2):137–147, June 1978. ISSN 0098-3500. doi: 10.1145/355780.355785. URL http://doi.acm.org/10.1145/355780.355785.

Fredrik Magnusson and Johan Åkesson. Collocation methods for optimization in a modelica environment. In Proceedings of the 9th International Modelica Conference, 2012.

Fredrik Magnusson and Johan Åkesson. Dynamic optimization in jmodelica.org. Processes, 3(2):471, 2015. ISSN 2227-9717. doi: 10.3390/pr3020471. URL http://www.mdpi.com/2227-9717/3/2/471.

Andreas Wächter and Lorenz T. Biegler. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Mathematical Programming, 106(1):25–57, 2006. ISSN 0025-5610. doi: 10.1007/s10107-004-0559-y. URL http://dx.doi.org/10.1007/s10107-004-0559-y.

Yiming Zhao and Panagiotis Tsiotras. Density functions for mesh refinement in numerical optimal control. Journal of guidance, control, and dynamics, 34(1):271–277, 2011.

Citeringar i Crossref