Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

Collocation Methods for Optimization in a Modelica Environment

Magnusson, Fredrik LU and Åkesson, Johan LU (2012) 9th International Modelica Conference In Linköping Electronic Conference Proceedings p.649-658
Abstract
The solution of generic dynamic optimization problems described by Modelica, and its extension Optimica, code using direct collocation methods is discussed. We start by providing a description of dynamic optimization problems in general and how to solve them by means of direct collocation. Next, an existing implementation of a collocation algorithm in JModelica.org, using CasADi and IPOPT, is presented. The extensions made to this implementation are reported.



The new implementation is compared to an old C-based collocation algorithm in JModelica.org in two benchmarks. The presented benchmarks are based on a continuously stirred tank reactor and a combined cycle power plant. The new algorithm and its surrounding framework... (More)
The solution of generic dynamic optimization problems described by Modelica, and its extension Optimica, code using direct collocation methods is discussed. We start by providing a description of dynamic optimization problems in general and how to solve them by means of direct collocation. Next, an existing implementation of a collocation algorithm in JModelica.org, using CasADi and IPOPT, is presented. The extensions made to this implementation are reported.



The new implementation is compared to an old C-based collocation algorithm in JModelica.org in two benchmarks. The presented benchmarks are based on a continuously stirred tank reactor and a combined cycle power plant. The new algorithm and its surrounding framework is more flexible and shown to be several times more efficient than its predecessor. (Less)
Please use this url to cite or link to this publication:
author
and
organization
publishing date
type
Chapter in Book/Report/Conference proceeding
publication status
published
subject
keywords
dynamic optimization, JModelica.org, collocation, nonlinear programming, CasADi
host publication
Proceedings of the 9th International MODELICA Conference
series title
Linköping Electronic Conference Proceedings
editor
Otter, Martin and Zimmer, Dirk
issue
76
pages
649 - 658
publisher
Linköping University Electronic Press
conference name
9th International Modelica Conference
conference location
Munich, Germany
conference dates
2012-09-03
ISSN
1650-3740
1650-3686
ISBN
978-91-7519-826-2
project
LCCC
Numerical and Symbolic Algorithms for Dynamic Optimization
language
English
LU publication?
yes
additional info
key=mag+12mc project=LCCC-modeling, langopt, collocation
id
234cb3c9-d291-4fe6-826c-40673e179dc7 (old id 2972280)
date added to LUP
2016-04-04 14:30:54
date last changed
2019-12-09 15:01:29
@inproceedings{234cb3c9-d291-4fe6-826c-40673e179dc7,
  abstract     = {{The solution of generic dynamic optimization problems described by Modelica, and its extension Optimica, code using direct collocation methods is discussed. We start by providing a description of dynamic optimization problems in general and how to solve them by means of direct collocation. Next, an existing implementation of a collocation algorithm in JModelica.org, using CasADi and IPOPT, is presented. The extensions made to this implementation are reported.<br/><br>
<br/><br>
The new implementation is compared to an old C-based collocation algorithm in JModelica.org in two benchmarks. The presented benchmarks are based on a continuously stirred tank reactor and a combined cycle power plant. The new algorithm and its surrounding framework is more flexible and shown to be several times more efficient than its predecessor.}},
  author       = {{Magnusson, Fredrik and Åkesson, Johan}},
  booktitle    = {{Proceedings of the 9th International MODELICA Conference}},
  editor       = {{Otter, Martin and Zimmer, Dirk}},
  isbn         = {{978-91-7519-826-2}},
  issn         = {{1650-3740}},
  keywords     = {{dynamic optimization; JModelica.org; collocation; nonlinear programming; CasADi}},
  language     = {{eng}},
  number       = {{76}},
  pages        = {{649--658}},
  publisher    = {{Linköping University Electronic Press}},
  series       = {{Linköping Electronic Conference Proceedings}},
  title        = {{Collocation Methods for Optimization in a Modelica Environment}},
  url          = {{https://lup.lub.lu.se/search/files/7670906/2972281.pdf}},
  year         = {{2012}},
}