FACSIMILE Arsineh Hecobian Jaemeen Baek. Index Important Functions of Facsimile Model Run Examples Application: HONO Reaction Conclusion.

Slides:



Advertisements
Similar presentations
Debugging ACL Scripts.
Advertisements

KINETICS -REACTION RATES
Bridging the Gap Between Statistics and Engineering Statistical calibration of CFD simulations in Urban street canyons with Experimental data Liora Malki-Epshtein.
Intro to modeling April Part of the course: Introduction to biological modeling 1.Intro to modeling 2.Intro to biological modeling (Floor) 3.Modeling.
Chapter 14 Chemical Kinetics.
I.Dalton’s Law A.The total pressure of a mixture of gases equals the sum of the pressures each gas would exert independently 1.P total = P 1 + P 2 + …
ORDINARY DIFFERENTIAL EQUATIONS (ODE)
Fluidyn FLOWCOAST FLOOIL 3D Fluid Dynamics Model to Simulate Oil slick movement in coastal waters or rivers FLOOIL.
University of Leeds Department of Chemistry The New MCM Website Stephen Pascoe, Louise Whitehouse and Andrew Rickard.
Constrained Fitting Calculation the rate constants for a consecutive reaction with known spectrum of the reactant A = (A A + A B + A C ) + R = C E T =
ENGR 111A - Spring MatLab – Palm Chapter 4, Part 4 Review and Debugging Class 12.1: Palm Chapters &
Derivation of the Gaussian plume model Distribution of pollutant concentration c in the flow field (velocity vector u ≡ u x, u y, u z ) in PBL can be generally.
Chemistry e-lab: Acid-Base Titration
Volumetric analysis Chemistry 321, Summer Volumetric analysis involves titrations A titration is the use of a known concentration reagent to determine.
Chapter 15 Kinetics. Kinetics Deals with the rate of chemical reactions Deals with the rate of chemical reactions Reaction mechanism – steps that a reaction.
Photochemical and aerosol pollution of the environment in the regional and global scales accounting for kinetic processes of transformation A.E.Aloyan.
EPSII 59:006 Spring Topics Using TextPad If Statements Relational Operators Nested If Statements Else and Elseif Clauses Logical Functions For Loops.
Session 9, Unit 17 UAM and CAMx. UAM and CAMx UAM - Urban Airshed Model Currently available versions:  UAM-V 1.24  UAM-V 1.30  Available from Systems.
TITRATION This involves removing small samples from the reaction mixture at different times and then titrating the sample to determine the concentration.
Mathcad Variable Names A string of characters (including numbers and some “special” characters (e.g. #, %, _, and a few more) Cannot start with a number.
Guidelines for the CMM coding project 5 October 2006 (or, “How to make your life easier in the long run”)
Integrated Rate Equation Volumemeasurement Colorimetry Physical Method Physical Chemistry: Chemical Kinetics C. Y. Yeung (CHW, 2009) AL CHEM REVIEW Chemical.
AMBIENT AIR CONCENTRATION MODELING Types of Pollutant Sources Point Sources e.g., stacks or vents Area Sources e.g., landfills, ponds, storage piles Volume.
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
Javier Junquera Molecular dynamics in the microcanonical (NVE) ensemble: the Verlet algorithm.
1 Tips for solving Project 1 Reactor SO 3 SO 2 +O 2.
Film Cooling in LF Rockets Erin Schmidt. Watch the Heat! Temperatures in LF rocket engines can reach 3600 K Heat transfer rates are on the order of 200.
RFSP-IST UNIX Simulations, and the Application of Sourceforge Prepared By: Aditi Garg Summer Student May-Sept 2005.
Application of Finite Geometry LDPC code on the Internet Data Transport Wu Yuchun Oct 2006 Huawei Hisi Company Ltd.
Start Presentation December 13, th Homework - Solution In this homework, we shall model chemical reactions using reaction rate equations only.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
MAE 555 Non-equilibrium Gas Dynamics Guest lecturer Harvey S. H. Lam November 16, 2010 On Computational Singular Perturbation.
© 2015 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 33.
Modeling Acid Rain Formation and Atmospheric Deposition (2)
Introduction 1. Similarity 1.1. Mechanism and mathematical description 1.2. Generalized variables 1.3. Qualitative analysis 1.4. Generalized individual.
Recap Sum and Product Functions Matrix Size Function Variance and Standard Deviation Random Numbers Complex Numbers.
Colorimetric Analysis & Determination of the Equilibrium for a Chemical reaction Help Notes AP Chemistry.
Solution of a Partial Differential Equations using the Method of Lines
Approaches for Modeling Complex Processes through Integration of GoldSim and Specialized Supporting Models Ted Eary MWH Americas, Inc. Fort Collins, Colorado.
MA/CS 375 Fall MA/CS 375 Fall 2002 Lecture 12.
ChE 452 Lecture 04 Measuring Rate Data 1. Objective General concepts in measurement of rate data Compendium of methods (language) Direct vs indirect Design.
Lecture 20: Choosing the Right Tool for the Job. What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation.
ChE 551 Lecture 03 Analysis of Rate Data 1. General Approach Initiate reaction measure concentration vs time fit data to calculate rates 2.
Lecture Objectives -Finish Particle dynamics modeling -See some examples of particle tracking -Eulerian Modeling -Define deposition velocity -Fluid Dynamics.
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Types of Models Marti Blad Northern Arizona University College of Engineering & Technology.
Acid/Base Titration Technique used to determine the concentration of an acid or base by comparison with a standard. A neutralization reaction is carried.
© 2015 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 33.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
An Experimental Approach to the Prediction of Complete Millimeter and Submillimeter Spectra at Astrophysical Temperatures Ivan Medvedev and Frank C. De.
PH THEORY What is it pH?What is it pH?/How is pH Measured?/What Equipment is Required to Measure pH?/How is a pH Measurement Device Calibrated?/Why is.
7. Air Quality Modeling Laboratory: individual processes Field: system observations Numerical Models: Enable description of complex, interacting, often.
Challenges with simultaneous equilibrium Speciation programs (MINEQL)
8. Box Modeling 8.1 Box Models –Simplest of atmospheric models (simple saves $). –Species enter the box in two ways: 1. source emissions 2. atmospheric.
Study of Reaction Rates
Reading and Writing Image Files
Matlab Training Session 4: Control, Flow and Functions
11.5 Dissociation of Water The equilibrium reached between the conjugate acid–base pairs of water produces both H3O+ and OH−. H2O(l) + H2O(l)
Gases Review.
2) Platform independent 3) Predefined functions
Hydronium Ions and Hydroxide Ions
Colorimetry and Beer’s Law
Mathematics of Chemical Equations
OH KINETICS IN A SHIELDED ATMOSPHERIC PRESSURE PLASMA JET
3.1 Space and Position 1.
Chapter 12 Chemical Kinetics.
Rotating Spring Problem
Ch11. Integrated rate laws and reaction mechanisms
Presentation transcript:

FACSIMILE Arsineh Hecobian Jaemeen Baek

Index Important Functions of Facsimile Model Run Examples Application: HONO Reaction Conclusion

Overview A user-friendly computer program for modeling chemical kinetics and transport Develop useful models rapidly, with specific facilities for modeling chemical kinetics Handle very stiff ordinary differential equations with the robust numerical integrator a predictor-corrector technique The values of the solution vector at the end of a step are first predicted, and are then corrected to satisfy the differential equations by a few Newton iterations

Important Functions of Facsimile 4 Model Types Homogeneous chemical reaction scheme Chemistry with flow and diffusion Fitting model to data 2-Dimensional flow with diffusion Reaction Database Thousands of reactions from many database (NIST Chemical Kinetics, NDRL/NIST Solution Kinetics, SGTE pure element, etc.)

Homogeneous chemical reaction Illustrates simple chemical reaction kfkr H2 = H + H101 H + O2 = OH + O 2002

Chemistry with flow and diffusion Simulates chemical kinetics, plug flow (1-D) and diffusion along a pipe c: A species concentration t: time x: The distance along the pipe Q: The net production/destruction rate of the species due to the chemical reaction D: The species diffusion constant u: The flow velocity

Fitting model to data Fits unknown parameters in the model to experimental data (A B) time A B The reaction equation for data => find k

2-Dimensional flow with diffusion Similar to the Advection-Diffusion model Simulates transport through a two- dimensional matrix Reactants can flow from one cell to the next in either dimension From a cell (x, y) to (x,y+1) or (x+1,y), and can diffuse to any adjacent cell ie from (x,y) to (x,y+1), (x,y-1), (x-1,y) and (x+1,y)

Model Run – Main Menu Main Menu Model Wizard

Model Run – Homogeneous Rxn % k1db : O3 + O = O2 + O2; % k2db : O2x + O3 = O + O2 + O2; % k3db : Ox + O3 = O + O + O2; % k4db : Ox + O3 = O2 + O2; % k5db : O3 + M = O + O2; % k6db : H + O3 = OH + O2; % k7db : H + O3 = OH + O2; % k8db : O3 + OH = HO2 + O2; % k9db : HO2 + O3 = OH + O2 + O2; % k10db : O3 + M = O + O2; % k11db : O + O3 = O2 + O2; % k12db : OH + O3 = HO2 + O2; % k13db : HO2 + O3 = OH + O2 + O2; % k14db : O + O2 = O3; % k15db : O + O2 + M = O3 + M; *.fac

Model Run – Homogeneous Rxn Initial concentration Time steps

Model Run – Homogeneous Rxn

Homogeneous Reaction * Generated by FACSIMILE Reaction Wizard - Tuesday, November 25, 2003 ; EXECUTE OPEN 8 "C:\ESRI\homo.out"; PARAMETER TEMP 298 ; PARAMETER k1db k2db 2.30E+09 k3db 7.20E+13 k4db 7.20E+13 k5db k6db 1.60E+13 k7db k8db k9db 1.21E+09 k10db k11db 2.35E+13 k12db 1.93E+10 k13db 7.83E+10 k14db 1.69E+09 k15db 8.90E+09 k16db 1.05E+14 ; VARIABLE H HO2 M O Ox O2 O2x O3 OH ; COMPILE INSTANT; HO2 = ; M = ; O2 = ; **; COMPILE INITIAL; k1db = 5.20E+12 * EXP(-2090/TEMP) ; k5db = 4.60E+16 * * EXP( /TEMP) ; k7db = 9.00E+12 * * EXP( /TEMP) ; k8db = 7.80E+11 * EXP(-960/TEMP) ; k10db = 4.60E+16 * * EXP( /TEMP) ; **; COMPILE EQUATIONS ; % k1db : O3 + O = O2 + O2; % k2db : O2x + O3 = O + O2 + O2; % k3db : Ox + O3 = O + O + O2; % k4db : Ox + O3 = O2 + O2; % k5db : O3 + M = O + O2; % k6db : H + O3 = OH + O2; % k7db : H + O3 = OH + O2; % k8db : O3 + OH = HO2 + O2; % k9db : HO2 + O3 = OH + O2 + O2; % k10db : O3 + M = O + O2; % k11db : H + O3 = OH + O2; % k12db : O + O3 = O2 + O2; % k13db : OH + O3 = HO2 + O2; % k14db : HO2 + O3 = OH + O2 + O2; % k15db : O + O2 = O3; % k16db : O + O2 + M = O3 + M; **; SETPSTREAM 1 8 ; TIME ; H HO2 M O Ox O2 O2x ; O3 OH ; **; COMPILE OUT ; PSTREAM 1 ; **; WHENEVER TIME= 20 * (+0.5) 0 % CALL OUT; **; BEGIN; STOP; VARIABLE H HO2 M O Ox O2 O2x O3 OH k1db = 5.20E+12 * EXP(-2090/TEMP) ; k5db = 4.60E+16 * * EXP( /TEMP) ; k7db = 9.00E+12 * * EXP( /TEMP) ; k8db = 7.80E+11 * EXP(-960/TEMP) ; PARAMETER TEMP 298 PARAMETER k1db k2db 2.30E+09 k3db 7.20E+13 k4db 7.20E+13 k5db k6db 1.60E+13 k7db k8db k9db 1.21E+09 k10db k11db 2.35E+13 k12db 1.93E+10

Model Run – 2-D Flow & Diffusion

Application: HONO Reaction Production of HONO (Nitrous Acid) from mixing OH and NO This experiment was used to make a known amount of HONO (in lab) to be used to calibrate an LIF (Laser Induced Fluorescence) instrument which will be used to measure ambient HONO concentrations

Experimental setup Hg Lamp OH +H, N 2 H 2 O + N 2 NO NO, OH, H, O 2, H 2 O, H 2 O 2, HO 2 O 3, HNO 3, O, NO 2, N 2,… LIF 2”

Reactions Main Reaction OH + NO + [M]  HONO + [M] Other Reactions OH + OH + [M]  H 2 O 2 + [M] OH + OH  H O OH + HOOH  H 2 O + H0 2 OH + HO 2  H 2 O + O 2 And more…

Facsimile model setup Set Conditions: T = 293K P = 1013 mb 29 reactions and their rate constants were used in this model Using (H 2 O + hv  OH + H) J value, the flow rate of 1 slpm(standard liter per meter) for water vapor and N 2 and manufacture’s specifications for the intensity of the Hg Lamp, the amount of OH and H produced were calculated and put as initial values in the model

Facsimile model setup Model Type Chemistry with flow and diffusion model Reactions were selected from the reaction database

Initial Values OH = 7.4 x molecules cm -3 H = 7.4 x molecules cm -3 NO = 5 x molecules cm -3 (from a 10 ppb cylinder)

Results of the model

Snapshot graphs

Conclusions The data from this model agreed with the experimental data and data from another model in MATLAB

Advantages A very fast and very easy model setup for different applications No need to arrange bundle of differential equations Correct model results Model scripts in text files Easy to edit The model wizard adds comments automatically

Further Improvement Bunch of errors Using special character ‘*’ in reaction database Hard to debug The more powerful debugging tool The more detailed error messages Weak graphic functions No axis scaling is available Graphs are not compatible with windows cut and paste

Further Improvement Hidden limitations The pipe length Maximum values for some parameters Not best-fitted for atmospheric chemistry Photochemical decomposition rates are missing 150 lines to define 20 x 20 grid model Limitations may not be larger enough to define atmospheric chemical reaction system