OPENPROD ITEA 2 Final Review Meeting 18 12

  • Slides: 10
Download presentation
OPENPROD ITEA 2 Final Review Meeting 18. 12. 2012 EDF - Site de Chatou

OPENPROD ITEA 2 Final Review Meeting 18. 12. 2012 EDF - Site de Chatou University of Applied Science Bernhard Bachmann

Involved in • • • • • • • • • • • •

Involved in • • • • • • • • • • • • • • • ITEA 2 Final Review Meeting OPENPROD 18. 12. 2012 Work Package 4: Code generation and Simulation/Solver Run-time • T 4. 7: Symbolic linearization of non-linear models, including report on application validation. => Closed with a report in M 15. • T 4. 34: Symbolic calculation of sparse Jacobian matrices for large scale real world applications, related to T 4. 31, T 4. 32 and T 6. 35. => Closed with a prototype in M 39. Work Package 5: Interoperability • T 5. 19: Specification sparse Jacobian matrix support and implementation in Open. Modelica as part of FMI 2. 0 export functionality. Related to T 5. 2, T 5. 8 b, T 5. 16. => Closed with a prototype in M 39.

Focus of Contribution • • • • • • • • • • •

Focus of Contribution • • • • • • • • • • • • • • • • Backend and Runtime of Open. Modelica • Efficient symbolical and numerical simulation of Modelica models in Open. Modelica • Enhancements (Math support in wide range area) • • • Symbolic Jacobians Sparsity Pattern Hybrid Simulation Initialization FMI ITEA 2 Final Review Meeting OPENPROD 18. 12. 2012

Goals • • • • • • • • • • • • •

Goals • • • • • • • • • • • • • • • ITEA 2 Final Review Meeting OPENPROD 18. 12. 2012 Speed-up the simulation engine of Open. Modelica • Explore sparsity pattern • Generate symbolic Jacobian • Utilize Jacobian by the solver • Exploit the sparsity by colouring • Test large use-cases

ITEA 2 Final Review Meeting Generate Jacobians • • • • • • •

ITEA 2 Final Review Meeting Generate Jacobians • • • • • • • • • • • • • • • OPENPROD 18. 12. 2012 General Modelica model Jacobians of interest Full Symbolic Jacobian Generation of the full symbolic Jacobian requires n-times differentiation of every equation. Generic Directional Derivative

ITEA 2 Final Review Meeting Evaluation of Jacobians • • • • • •

ITEA 2 Final Review Meeting Evaluation of Jacobians • • • • • • • • • • • • • • • Goal: Reduce amount of call sparsity pattern Colouring OPENPROD 18. 12. 2012

Benchmarks Simulation Time ITEA 2 Final Review Meeting OPENPROD 18. 12. 2012 • •

Benchmarks Simulation Time ITEA 2 Final Review Meeting OPENPROD 18. 12. 2012 • • • • • • • • • • • • • • • Model details States 1 203 Equation 4 830 Elements 1 447 209 Non-Zero 64 511 Colors 403 Simulation statistics Easy extendable model of pipes provided by Siemens Energy Method steps F-Eval J-Eval Time Num 1058 144874 119 372. 3 Num. C 1064 46835 112 144. 2 Sym 1052 1732 126 287. 2 Sym. C 1052 1732 126 139. 3 Dymola 1035 43707 103 53. 4

Benchmarks Simulation Time ITEA 2 Final Review Meeting OPENPROD 18. 12. 2012 • •

Benchmarks Simulation Time ITEA 2 Final Review Meeting OPENPROD 18. 12. 2012 • • • • • • • • • • • • • • • Model details States 1 940 Equation 11 626 Elements 3 763 600 Non-Zero 13 483 Colors 335 Simulation statistics More complex Heat. Exchanger model provided by Siemens Energy Method steps F-Eval J-Eval Time Num 542 140390 72 436. 5 Num. C 596 28595 83 152. 4 Sym 556 752 83 792. 1 Sym. C 556 752 83 206. 8 Dymola 408 23964 69 142

Benchmarks Generation Time • • • • • • • • • • •

Benchmarks Generation Time • • • • • • • • • • • • • • • More complex Heat. Exchanger model provided by Siemens Energy ITEA 2 Final Review Meeting OPENPROD 18. 12. 2012

Conclusion New Open. Modelica Features! • • • • • • • • •

Conclusion New Open. Modelica Features! • • • • • • • • • • • • • • • • • ITEA 2 Final Review Meeting OPENPROD 18. 12. 2012 Linearization of non-linear Modelica models Realization of symbolic Jacobians Efficient exploitation of corresponding sparsity patterns Tremendous speed-up of simulation time using colouring techniques Prototype implementation of FMI 2. 0 (incl. symbolic Jacobian) Test with real-world applications (Siemens Energy) Performance comparable to commercial tools High impact on other Open. Modelica deliverables