Fluid Simulation and Optimization using Open Source Tools
Kilian Link, Stephanie Vogel, Ines Mynttinen · Linköping electronic conference proceedings · 2011
Many open-source (OS) tools exist in the Modelica universe.OS tools have the benefit that they are freely available and fit well to Modelica as a nonproprietary language.However, the industrial usage of these tools seems to be very limited so far.Despite this fact, fluid modeling is possible if restrictions are taken into account.In this contribution, we propose to use benchmark models for the systematic investigation of the accuracy and the performance of Modelica OS tools.The present implementation circumvents the limitations of OpenModelica making it possible to simulate the model system despite existing restrictions.Beside simulation tasks Modelica-based optimization is possible using the OS tool JModelica.However, care must be taken with respect to the model features.In particular instantaneous transitions within the system dynamics, such as phase transitions, switching of valves with discrete behaviour or flow reversal represent a severe obstacle for optimization.In this article, we present a parameter estimation problem including instantaneous changes of the flow direction.In addition, an example of model predictive control (MPC) for a control task difficult to solve with conventional methods is shown.