Start PresentationSeptember 21, 2009 Modeling Chemical Reactions in Modelica By Use of Chemo-bonds Prof. Dr. François E. Cellier Department of Computer.

Slides:



Advertisements
Similar presentations
Start Presentation November 22, 2012 Convective Mass Flows II In todays lecture, we shall perform a number of thought experiments that will help us deepen.
Advertisements

Start Presentation November 8, 2012 Bond Graphs for Mechanical Systems We shall look today in a bit more detail at the modeling of 1D mechanical systems.
Course Outline Fundamentals and Combustion Systems Part I Chemical Equilibrium Chemical Kinetics Fuels Part II Flames Gas-Fired furnace combustion Premixed-charge.
Start Presentation Conference 2008 © Prof. Dr. François E. Cellier March 4, 2008 World3 in Modelica: Creating System Dynamics Models in the Modelica Framework.
Simulating Ammonia Synthesis with COMSOL
First Law of Thermodynamics
Start Presentation November 8, 2012 Planar Mechanics We shall now look at a first application of multi- bond graphs: planar mechanics. We shall notice.
1 UCT PHY1025F: Heat and Properties of Matter Physics 1025F Heat & Properties of Matter Dr. Steve Peterson THERMODYNAMICS.
The Dymola Bond Graph Library
Universität Stuttgart Modeling Convective Flows Using Bond Graphs University of Arizona 9. Jan 2001 Jürgen Greifeneder, François Cellier 1 Modeling Convective.
Wrapping Multi-bond Graphs: A Structured Approach to Modeling Complex Multi-body Dynamics François E. Cellier and Dirk Zimmer ETH Zürich.
1. 2 Ludwig Boltzmann (1844 – 1906) who spent much of his life studying statistical mechanics died by his own hand. Paul Ehrenfest (1880 – 1933), carrying.
Chapter 8 Coordinate Systems.
Thermodynamics can be defined as the science of energy. Although everybody has a feeling of what energy is, it is difficult to give a precise definition.
Start Presentation Conference 2008 © Prof. Dr. François E. Cellier March 4, 2008 Support for Dymola in the Modeling and Simulation of Physical Systems.
Dirk Zimmer François E. Cellier Institute of Computational Science Department of Computer Science ETH Zürich A bondgraphic modeling tool and its application.
Start Presentation Eurosim 2007, Ljubljana September 10, 2007 Electronic Circuit Modeling and Simulation in Modelica François E. Cellier ETH Zürich, Switzerland.
Development of Dynamic Models Illustrative Example: A Blending Process
Object-oriented Modeling of Mechatronics Systems in Modelica Using Wrapped Bond Graphs François E. Cellier and Dirk Zimmer ETH Zürich.
Start of Presentation © Prof. Dr. François E. Cellier 3 rd MODPROD Workshop – Keynote February 4, 2009 Technologies for Creating Easily Maintainable Component.
François E. Cellier and Matthias Krebs
Start Presentation Conference 2008 © Prof. Dr. François E. Cellier March 3, 2008 ThermoBondLib – A New Modelica Library for Modeling Convective Flows François.
Increasing energy with temp? The added energy in a substance that occurs as temperature increases is stored in modes of motion in the substance For any.
System. surroundings. universe.
Start of Presentation Maple soft Conference 2006 The Need for Formulae Manipulation in the Object-oriented Modeling of Physical Systems François E. Cellier,
Mathematical Methods Physics 313 Professor Lee Carkner Lecture 20.
Start Presentation November 15, th Homework In this homework, we shall exercise the model wrapping technique. To this end, we shall create a mini-library.
Chapter 11-2: How does temperature affect enthalpy and entropy?
Start Presentation November 29, th Homework – Solution In this homework, we shall attempt the modeling of a planar mechanical system. We shall.
Start Presentation December 6, 2012 Chemical Thermodynamics III In this lecture, we shall analyze the temperature dependence of chemical reactions (Arrhenius’
Start Presentation November 22, 2012 The Dymola Thermo-Bond-Graph Library In this lecture, we shall introduce a third bond-graph library, one designed.
Start Presentation November 22, th Homework In this homework, we shall attempt the modeling of a planar mechanical system. We shall do so once.
Chapter 7 Making and Breaking of Bonds Chemical reactions are characterized by the making and breaking of chemical bonds. One possible consequence of a.
Start Presentation October 25, 2012 Thermal Modeling of Buildings This lecture deals with the model of a space heating system of a building by means of.
Advance Chemical Engineering Thermodynamics
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 23.
Thermochemistry Study of energy transformations and transfers that accompany chemical and physical changes. Terminology System Surroundings Heat (q) transfer.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 19.
Review for Exam 2.
Start Presentation December 13, th Homework - Solution In this homework, we shall model chemical reactions using reaction rate equations only.
Start Presentation October 11, 2012 The Theoretical Underpinnings of the Bond Graph Methodology In this lecture, we shall look more closely at the theoretical.
Start Presentation December 6, th Homework – Solution In this homework, we shall model and simulate a 3D mechanical system with proper animation.
Mathematics Relations and Functions: Factoring Polynomials Science and Mathematics Education Research Group Supported by UBC Teaching and Learning Enhancement.
Start Presentation December 6, 2012 Chemical Thermodynamics II In this lecture, we shall continue to analyze our chemical thermodynamics bond graphs, making.
Start Presentation November 24, th Homework In this homework, we shall exercise the model wrapping technique. To this end, we shall create a mini-library.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 23.
1. (1.3) (1.8) (1.11) (1.14) Fundamental equations for homogeneous closed system consisting of 1 mole:
Thermodynamics and Equilibrium. Copyright © Houghton Mifflin Company.All rights reserved. Presentation of Lecture Outlines, 19–2 –We introduced the thermodynamic.
Start Presentation December 6, 2012 Chemo-bond Graphs In this lecture, we shall introduce a fourth bond graph library, the ChemBondLib. It is very similar.
Start Presentation November 29, 2012 Chemical Reactions In this lecture, we shall talk about chemical reaction dynamics, and shall attempt a bond- graphic.
Enthalpy The Meaning of Enthalpy. 1. Enthalpy is a state function with the symbol H. H = E + PV E is the internal energy of the system, P is the pressure.
Chemical Reactions Chemical Reactions
Multi-bond Graphs We shall today look at vectors of bonds, called multi-bonds. Especially when dealing with 2D and 3D mechanics, the d’Alembert principle.
Start Presentation December 6, th Homework In this homework, we shall model chemical reactions using reaction rate equations only. We shall program.
ChemE 260 Transient Mass and Energy Balances April 20, 2005 Dr. William Baratuci Senior Lecturer Chemical Engineering Department University of Washington.
Classical Thermodynamics of Solutions
Energy & Chemical Change-_______ is the ability to do ______ or produce _____ I. Potential Energy -__________ energy is the energy of ________, like the.
THEME: Theoretic bases of bioenergetics. LECTURE 6 ass. prof. Yeugenia B. Dmukhalska.
Chapter 19 Spontaneity, entropy and free energy (rev. 11/09/08)
Chapter 3: Conservation of Energy. Important Notation 2.
Solution of Thermodynamics: Theory and applications
Thermochemistry Chapter 6.
Physics Circuits: Current / Voltage / Resistance
Enthalpy Enthalpy is a measure of the total energy of a system.
Chemical Reactions 8.5E Chemical Reactions Re-templated JPh 7/31
Chemistry Objectives Unit VI- Ch. 17
Lecture 49 More on Phase Transition, binary system
Flow diagrams (i) (ii) (iii) x – Example
Thermodynamic Energy Balances in Solids
Chemical Equilibrium Mass transfer takes place from higher chemical potential to lower chemical potential. If the chemical potential of reactants are.
Presentation transcript:

Start PresentationSeptember 21, 2009 Modeling Chemical Reactions in Modelica By Use of Chemo-bonds Prof. Dr. François E. Cellier Department of Computer Science ETH Zurich Switzerland Dr. Jürgen Greifeneder Corporate Research Center ABB Germany

Start PresentationSeptember 21, 2009 Chemical Reactions and Convective Flows Most researchers model chemical reactions using (molar) mass flow equations only, not taking into account energy flows at all. This is possible for isothermal and isobaric reactions, but in general doesn’t work, because the reaction rate constants depend on temperature and in the case of gaseous reactions also on pressure. A better approach to modeling chemical reaction systems is by means of bond graphs. This shall be demonstrated here.

Start PresentationSeptember 21, 2009 Hydrogen-Bromine Reaction I Given the following balance reaction: Its individual step reactions are known and well understood: H 2 + Br 2 ⇌ 2HBr

Start PresentationSeptember 21, 2009 Hydrogen-Bromine Reaction II The mass flow equations can be written as follows: where: Br 2 = – k 1 + k 2 – k 5 Br · = 2 k 1 – 2 k 2 – k 3 + k 4 + k 5 H 2 = – k 3 + k 4 H · = k 3 – k 4 – k 5 HBr = k 3 – k 4 + k 5 k 1 = k 1 · n Br 2 k 2 = k 2 · (n Br · ) 2 /V k 3 = k 3 · n H 2 · n Br · /V k 4 = k 4 · n HBr · n H · /V k 5 = k 5 · n H · · n Br 2 /V

Start PresentationSeptember 21, 2009 Chemical Energy Flow Each mass flow is accompanied by a chemical energy flow: such that:  molar flow rate chemical potential   J/mol]   mol/sec] g [J/kg] m [kg/sec]. TF mass flow rate Gibbs potential

Start PresentationSeptember 21, 2009 Hydrogen-Bromine Reaction III The step reactions can be interpreted as a bond graph: Br 2 = – k 1 + k 2 – k 5 reaction rate equations  k 1 = 2  Br –  Br 2 energy flow equations

Start PresentationSeptember 21, 2009 Hydrogen-Bromine Reaction IV Programmed in BondLib:

Start PresentationSeptember 21, 2009 Hydrogen-Bromine Reaction V Simulation results:

Start PresentationSeptember 21, 2009 December 4, 2008 Hydrogen-Bromine Reaction VI The reaction rate equations can be rewritten in a matrix- vector form: or: Br 2 –  1 k 1 Br · +2 –2 – k 2 H 2 = 0 0 – · k 3 H · –1 –1 k 4 HBr –1 +1 k 5 mix = N · reac

Start PresentationSeptember 21, 2009 December 4, 2008 Hydrogen-Bromine Reaction VII The energy flow equations can also be written down in a matrix-vector form: or:  k 1 –  Br 2  k 2 +1 –  Br ·  k 3 = 0 –1 – ·  H 2  k –1 –1  H ·  k 5  –1 +1  HBr  reac = N T ·  mix

Start PresentationSeptember 21, 2009 December 4, 2008 Thus, the bond graph describing the chemical reaction network can be reinterpreted as a multiport transformer: where: The Chemical Reaction Network I mix = N · reac  reac = N T ·  mix  mix MTF N  reac reac

Start PresentationSeptember 21, 2009 December 4, 2008 The Chemical Reaction Bond Graph We can now plug everything together:  mix MTF N  reac reac CFRF Capacitive storage of all reactants in the mixture. Transformation of the reactants into each other in the chemical reaction.

Start PresentationSeptember 21, 2009 Hydrogen-Bromine Reaction VIII Programmed in MultiBondLib:

Start PresentationSeptember 21, 2009 Hydrogen-Bromine Reaction IX

Start PresentationSeptember 21, 2009 Chemical Reactions and Convective Flows The chemical reaction bond graph, as shown until now, still doesn’t reflect the physics of chemical reactions in all their complexity. The problem is that a substance that undergoes a transformation does not only carry its mass along, but also its volume and its heat. Hence we should describe each step reactions by three parallel bonds, one describing mass flow, a second describing volumetric flow, and a third describing heat flow. Thus, we should really use thermo-bonds.

Start PresentationSeptember 21, 2009 Thermo-bonds A (red) thermo-bond represents a parallel connection of three (black) regular bonds.

Start PresentationSeptember 21, 2009 Thermo-bonds and Chemo-bonds The (green) chemo-bonds and the (red) thermo-bonds are essentially the same thing. However, the thermo-bonds have been designed for convective flows, and therefore, operate on regular mass flows (measured in kg/sec), whereas the chemo-bonds were designed for chemical reactions, and therefore, operate on molar mass flows (measured in mol/sec).

Start PresentationSeptember 21, 2009 Hydrogen-Bromine Reaction X This version of the chemical reaction network contains more information than the original one. Yet it is simpler, because the thermal and pneumatic ports don’t need to be carried separately any longer. They are now integrated into the chemical reaction network. Each mass flow carries its own volumetric and heat flows along.

Start PresentationSeptember 21, 2009 December 4, 2008 Also the thermo-bond graph describing the chemical reaction network together with its volumetric and heat flows can be reinterpreted as a multiport transformer: This transformer is now of cardinality 15, as there are 5 step reactions, each represented by a thermo-bond of cardinality 3. The Chemical Reaction Network II

Start PresentationSeptember 21, 2009 December 4, 2008 Hydrogen-Bromine Reaction XI

Start PresentationSeptember 21, 2009 December 4, 2008 Hydrogen-Bromine Reaction XII

Start PresentationSeptember 21, 2009 Efficiency Considerations The simulations are so fast that there is very little difference between all four of these models.

Start PresentationSeptember 21, 2009 Conclusions I Chemical reactions are quite tricky. To model chemical reactions down to their physical and, in particular, thermodynamic properties quickly leads to models that are rather bulky. The bond graph methodology offers us a unified framework to deal with this complexity in an orderly and organized fashion. To this end, we used all three of our bond graph libraries; BondLib, featuring (black) regular bonds, MultiBondLib, featuring (blue) vector bonds, and ThermoBondLib, featuring (red) special vector bonds for the description of convective flows.

Start PresentationSeptember 21, 2009 Conclusions II To deal with chemical reactions more conveniently, we introduced even a fourth bond graph library: ChemBondLib, featuring (green) special vector bonds for the description of chemical reaction flow rates. The chemo-bonds are identical to the thermo-bonds, except that they describe their internal mass flows with molar flow rates and chemical potentials, rather than with regular mass flow rates and Gibbs potentials (the specific Gibbs energy).