11 March 2009 ICVT, Universit¨ at Stuttgart
MAX−PLANCK−INSTITUT TECHNISCHER SYSTEME MAGDEBURG DYNAMIK KOMPLEXER
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
DIANA A short introduction Michael Krasnyk Max Planck Institute - - PowerPoint PPT Presentation
11 March 2009 ICVT, Universit at Stuttgart DIANA A short introduction Michael Krasnyk Max Planck Institute for Dynamics of Complex Technical Systems, PSPD group Otto-von-Guericke-University, IFAT U N I V E E K R S C I I T R
MAX−PLANCK−INSTITUT TECHNISCHER SYSTEME MAGDEBURG DYNAMIK KOMPLEXER
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 2/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 3/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 4/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
C++ Model
Model Loader
routines
Result Files Solver Factory
from file
Diana Numerical Algorithms Integrators Solvers Event Handlers Optimizers Continuators Sensitivity Analysers Parameter Analysers Numerical Libraries LAPACK BLAS SUNDIALS Umfpack Harvell ARPACK Python Scripting
SciPy/ Numeric
Python
Python Python-embedded shared libraries Swig-Wrapping
Online Plotter Gnuplot / wxPython
Output Service
calculation
Model Files
Promot OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 5/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 6/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 7/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 8/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 9/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 10/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
( define-module :class" Hafke_Reactor" : super-classes("module" ) : documentation " Ruehrkesselreaktor zur Oxidation von Ethanol zu Essigsaeure" :variables ( ("NC" : documentation "Anzahl der (C) Komponenten" : system-theoretic " structure-parameter" :value "4") ("i" : system-theoretic "index") ("Tkzu" : documentation " Zulauftemperatur Kuehlmittel [K]" : system-theoretic " real-parameter" :value "314.0") ("qknormal " : documentation " Zulaufstrom Kuehlmittel [m^3/s]" : system-theoretic " real-parameter" :value "4.44 d-05" ) ... ("c_" : documentation " Konzentration der Komponenten P E S F [mol/m^3]" :is-a "variable " : system-theoretic "state" :indices ((: index "i" :lower "1" :upper "NC")) :value "0.1" :minimum "0.0" :maximum "3000.0" : absolute-error "1.0 D-09") ("Temp" : documentation "Temperatur Reaktionsgemisch [K]" ... ) ("Tk" : documentation "Temperatur Kuehlmittel [K]" ... ) ("R_reak" : documentation " Reaktionsgeschwindigkeit der Teilreaktion " :indices ((: index "i" :lower "1" :upper "NR")) :is-a "variable " : system-theoretic "help" :value "k_reak[i] * :cond(i==1, cP_cF , i==2, cP_cF * c_[2], i==3, cP_cF , i==4, c_[4] * :sqrt(c_[3]) , c_F_ges - c_ [4])") ... ) :equations ( ("KMB_Eq" :is-a "equation " :indices ((: index "i" :lower "1" :upper "NC")) :relation ":diff <t> c_[i] == qVR * (c_zu[i] - c_[i]) + RCumsatz [i]") ("Temp_Eq " :is-a "equation" :relation ":diff <t> Temp == qVR*( Tzu - Temp) + kappa/VR/rho_cp *(Tk - Temp) + :sum <i,1,NSUM >( R_reak[i]* DHR[i])/ rho_cp") ("Tk_Eq" :is-a "equation " :relation ":diff <t> Tk == qVk *( Tkzu - Tk) + kappa/Vk/rho_cp *( Temp - Tk)" ) ) ) OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 11/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 12/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 13/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 14/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 15/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
1 2 3 4 5 6 ×104 0.5 1 1.5×10−4 t, [s] qcool, [m3/s] 1 2 3 4 5 6 ×104 300 320 340 360 380 400 420 t, [s]
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 16/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 17/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 18/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 19/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
285 290 295 300 305 310 290 300 310 320 330 340 350 360 Tcool,in [K] T [K] 290 292 294 296 298 300 30 35 40 45 50 55 60 65 Tcool,in [K] ˙ qcool [l/h] 0.5 1 1.5 2 2.5 3 3.5 300 305 310 315 320 325 330 335 ˙ qcool [l/h] T [K] 4.6 4.8 5 5.2 5.4 5.6 5.8×10−7 310 312 314 316 318 ˙ qcool [l/h] T [K]
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 20/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 21/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 22/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 23/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 24/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 25/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 26/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI Modeling tool ProMoT / Simulation tool Diana 27/27
O O T T V O N G U E R I C K E U N I V E R S I T Ä T M A G D E B U R G
OvGU, MPI 1/1