Skip to main content

LUP Student Papers

LUND UNIVERSITY LIBRARIES

Collocation methods in JModelica.org

Magnusson, Fredrik (2012) In ISSN 0280-5316
Department of Automatic Control
Abstract
In this thesis, we use CasADi to implement a new optimization algorithm in the open-source platform JModelica.org. CasADi is a tool for computing derivatives using automatic differentiation, which is tailored for optimal control. JModelica.org is a platform for simulation and optimization of physical systems created using the Modelica modeling language. The implemented optimization algorithm is based on direct collocation using Radau or Gauss collocation schemes. We provide a thorough presentation of how a dynamic optimization problem described by Modelica and Optimica code is transcribed into a nonlinear programming problem using direct collocation. This nonlinear programming problem is then solved using CasADi’s interface to Ipopt, a... (More)
In this thesis, we use CasADi to implement a new optimization algorithm in the open-source platform JModelica.org. CasADi is a tool for computing derivatives using automatic differentiation, which is tailored for optimal control. JModelica.org is a platform for simulation and optimization of physical systems created using the Modelica modeling language. The implemented optimization algorithm is based on direct collocation using Radau or Gauss collocation schemes. We provide a thorough presentation of how a dynamic optimization problem described by Modelica and Optimica code is transcribed into a nonlinear programming problem using direct collocation. This nonlinear programming problem is then solved using CasADi’s interface to Ipopt, a numerical solver for optimization problems. The implemented algorithm is compared to a similar and already existing optimization algorithm in JModelica.org in five different benchmark problems, including a distillation column and a combined cycle power plant. The new algorithm compares favorably to the other JModelica.org algorithm in a majority of the cases. (Less)
Please use this url to cite or link to this publication:
author
Magnusson, Fredrik
supervisor
organization
alternative title
Kollokationsmetoder i JModelica.org
year
type
H3 - Professional qualifications (4 Years - )
subject
publication/series
ISSN 0280-5316
other publication id
ISRN LUTFD2/TFRT--5892--SE
language
English
additional info
month=February
id
2438855
date added to LUP
2012-04-13 09:51:43
date last changed
2012-04-13 10:50:47
@misc{2438855,
  abstract     = {{In this thesis, we use CasADi to implement a new optimization algorithm in the open-source platform JModelica.org. CasADi is a tool for computing derivatives using automatic differentiation, which is tailored for optimal control. JModelica.org is a platform for simulation and optimization of physical systems created using the Modelica modeling language. The implemented optimization algorithm is based on direct collocation using Radau or Gauss collocation schemes. We provide a thorough presentation of how a dynamic optimization problem described by Modelica and Optimica code is transcribed into a nonlinear programming problem using direct collocation. This nonlinear programming problem is then solved using CasADi’s interface to Ipopt, a numerical solver for optimization problems. The implemented algorithm is compared to a similar and already existing optimization algorithm in JModelica.org in five different benchmark problems, including a distillation column and a combined cycle power plant. The new algorithm compares favorably to the other JModelica.org algorithm in a majority of the cases.}},
  author       = {{Magnusson, Fredrik}},
  language     = {{eng}},
  note         = {{Student Paper}},
  series       = {{ISSN 0280-5316}},
  title        = {{Collocation methods in JModelica.org}},
  year         = {{2012}},
}