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 con-ventional methods is shown.
Keywords: Fluid Simulation; Optimization; OS Modelica Tools
Proceedings of the 8th International Modelica Conference; March 20th-22nd; Technical Univeristy; Dresden; Germany
 Miyagawa; K.; Hill; P.G.; Tabular Taylor Se-ries Expansion (TTSE) Method Based on IAPWS-IF97 Double Precision Enthalpy-Density Version; IAPWS Task Group TTSE; 2001-07-13 I. Weber; K. Knobloch; I. Kodl; H.-J. Kretzschmar; Test Report Of „Documenta-tion and Software of TTSE Method applied to IAPWS-98 as an Example“; TTSE Evalua-tion Task Group; July 2002
 Tummescheit H. Design and Implementation of Object-Oriented Model Libraries using Modelica. Lund; Sweden: PhD thesis; De-partment of Automatic control; Lund Insti-tute of Technology; 2002.
 Mynttinen; I. and Li; P.: A Reformulation Scheme for Parameter Estimation of Hybrid Systems. ESCAPE 2010; submitted
 J. Till; S. Engell; S.Panek; O. Stursberg ; “Applied hybrid system optimization: An empirical investigation of complexity;” Con-trol Eng. Pract.; vol. 12; pp. 1291–1303; 2004.
 B. T. Baumrucker; L. T. Biegler; “MPEC strategies for optimization of a class of hy-brid dynamic systems;” J. Process Contr.; vol. 19; pp. 1248–1256; 2009.
 J. M. M. Tamimi. Development of Efficient Algorithm for Model predictive Control of Fast Systems; PhD thesis; Technical Univer-sity Ilmenau; 2011
 JModelica 1.4.0 User Guide; http://www.jmodelica.org/api-docs/usersguide/1.4.0; Modelon AB 2010.