An Integrated Educational Thermodynamics Software Program

Slides:



Advertisements
Similar presentations
CHEE 311Lecture 161 Correlation of Liquid Phase Data SVNA 12.1 Purpose of this lecture: To show how activity coefficients can be calculated by means of.
Advertisements

Solution thermodynamics theory—Part I
Goal 1: Design a flash drum
Vapor and Liquid Equilibrium
SIMPLE MIXTURES THERMODYNAMIC DESCRIPTION OF MIXTURES ARYO ABYOGA A ( ) GERALD MAYO L ( ) LEONARD AGUSTINUS J ( )
Chapter 16 Chemical and Phase Equilibrium Study Guide in PowerPoint to accompany Thermodynamics: An Engineering Approach, 5th edition by Yunus.
PETE 310 Lectures # 32 to 34 Cubic Equations of State …Last Lectures.
Chapter 14-Part VII Applications of VLLE.
Chapter 14: Phase Equilibria Applications
Chemical Reaction Equilibria
The Advanced Chemical Engineering Thermodynamics The retrospect of the science and the thermodynamics Q&A -1- 9/16/2005(1) Ji-Sheng Chang.
Q&A_ /17/2005(10) Ji-Sheng Chang
Solution thermodynamics theory—Part IV
Chemical Engineering Thermodynamics II
CHEE 311J.S. Parent1 7. Liquid Phase Properties from VLE Data (11.1) The fugacity of non-ideal liquid solutions is defined as: (10.42) from which we derive.
Now we introduce a new concept: fugacity
Liquid Phase Properties from VLE Data SVNA 12.1
Chemical Engineering Thermodynamics (TKK-2137) 14/15 Semester 3 Instructor: Rama Oktavian Office Hr.: M.13-15, T ,
Solution Thermodynamic:
Vapor pressure and liquids Vapor : A gas that exists below its critical point Gas : gas that exists above its critical point ِNote : A gas can not condense.
CHEE 311J.S. Parent1 1. Science of Thermodynamics Concerned with knowing the physical state of a system at equilibrium. A concise (mathematical) description.
Chemical Reaction Engineering Asynchronous Video Series Chapter 4, Part 1: Applying the Algorithm to a CSTR H. Scott Fogler, Ph.D.
Fugacity, Ideal Solutions, Activity, Activity Coefficient
(12) The expression of K in terms of fugacity coefficient is: The standard state for a gas is the ideal-gas state of the pure gas at the standard-state.
VAPOR/LIQUID EQUILIBRIUM- Introduction
THERMODYNAMICS OF SEPARATION OPERATIONS
1. (1.3) (1.8) (1.11) (1.14) Fundamental equations for homogeneous closed system consisting of 1 mole:
The Simplest Phase Equilibrium Examples and Some Simple Estimating Rules Chapter 3.
Partial Molar Quantities and the Chemical Potential Lecture 6.
Real Gas Relationships
Solution thermodynamics theory—Part I
6. Coping with Non-Ideality SVNA 10.3
Chapter 8: The Thermodynamics of Multicomponent Mixtures
Chemical Engineering Thermodynamics II Perla B. Balbuena 240 JEB
Chapter 13 Chemical Equilibrium The state where the concentrations of all reactants and products remain constant with time. On the molecular level, there.
Chapter 13.  Equilibrium is not static. It is a highly dynamic state.  Macro level reaction appears to have stopped  Molecular level frantic activity.
Chemical-Reaction Equilibra ERT 206: Thermodynamics Miss Anis Atikah Ahmad Tel: anis
CHEE 311J.S. Parent1 4. Chemical Potential in Mixtures When we add dn moles of a component to n moles of itself, we will observe (?) a change in Gibbs.
Thermodynamics of Separation Operations
Solution thermodynamics theory—Part IV
ACTIVITY AND ACTIVITY COEFFICIENT
Basic Thermodynamics Chapter 2. We’ve been here before  The material in this chapter is a brief review of concepts covered in your Introductory Engineering.
Chemical Engineering Thermodynamics II
Introduction to phase equilibrium
Solution thermodynamics theory
Chemical Engineering Thermodynamics II Dr. Perla B. Balbuena: JEB 240 Web site:
8. Solute (1) / Solvent (2) Systems 12.7 SVNA
Thermodynamics Chemical-reaction Equilibria
Chapter 7: Equilibrium and Stability in One-Component Systems
SOLUTION THERMODYNAMICS:
Classical Thermodynamics of Solutions
Chemical Engineering Thermodynamics II Dr. Perla B. Balbuena: JEB 240 Website:
Chapter 14: Phase Equilibria Applications Part II.
G.H.PATEL COLLEGE OF ENGINEERING AND TECHNOLOGY Chemical Engineering Thermodynamics-2 Code – Topic:-Fugacity and Fugacity coefficient for pure.
Solution thermodynamics theory—Part III
Shroff S.R. Rotary Institute of Chemical Technology Chemical Engineering Chemical Engineering Thermodynamics-II 1.
Vapor – Liquid Equilibrium
Process Design Course Using the NIST, DIPPR and DDBSP databases for Finding Physical, Chemical and Thermodynamic Properties Process Design Course.
SUBJECT:-CHEMICAL ENGINEERING THERMODYNAMICS 2 TOPIC:- DISCUSS GIBSS DUHEM EQUATION. - CALCULATION OF PARTIAL PROPERTIES FROM.
Solution of Thermodynamics: Theory and applications
Faulty of engineering, technology & research
Classical Thermodynamics of Multicomponent Systems
Don’t be in a such a hurry to condemn a person because he doesn’t do what you do, or think as you think. There was a time when you didn’t know what you.
Phase diagrams by thermodynamic calculations
How Free Energy Depends on P
Thermodynamic Properties
Phase diagrams and phase transitions of unary systems
Department of Chemical Engineering, University of Nizwa
Katsuyo Thornton,1 Paul Mason,2 Larry Aagesen3
Presentation transcript:

An Integrated Educational Thermodynamics Software Program ThermoSolver An Integrated Educational Thermodynamics Software Program Connelly Barnes

What is ThermoSolver? Programmed by Connelly Barnes. Software program used to teach Chemical Engineering (ChE) thermodynamics. Available for free from Web (Google it). Allows students to "explore" thermodynamics – make nontrivial calculations, and compare different thermodynamic models.

Motivation Thermodynamic equations can become complicated, must be solved by lookup tables or computer algorithms. Tables are available for a limited set of pure species.

Motivation (continued) Computer solutions: spreadsheets, scripts, Computer Algebra System worksheets can be used, but it's hard to let the student use different number of species, thermodynamic models, etc. We would like students to not have the burden of programming every solution, especially for routine calculations.

Objectives Standalone educational software program. Easy to use interface – reduce all "barriers" to using the software. Research and develop algorithms needed to solve equations. Integrate with chapter problems in Engineering and Chemical Thermodynamics by Milo Koretsky.

Use at Universities At OSU, ThermoSolver used in ChE thermo course, graduate reactors course, plant design. In plant design, ThermoSolver not specifically named, but 10/39 students used it. Don't track usage by other Universities, but Web search reveals it has been used at Univ. Notre Dame, Indiana and Univ. of Colorado at Boulder.

Features Database, 350+ chemical compounds. Calculate saturation pressure, temp. Solve equations of state (LK and PR). Find pure, mixed fugacity coefficients. Fit excess Gibbs energy models to experimental data. Bubble point and dew point calculations. Plot phase diagrams for binary systems.

Features (continued) Calculate Keq for single chemical reaction. Multiple chemical reaction equilibria. Plotting. HTML docs provided, numerical methods and equations described.

Tour of Program: Saturation Pressure Calculator Solve for saturation pressure or saturation temperature. Saturation pressure/temp determines where liquid/vapor phase transition occurs. Example problem: Find saturation pressure of 1,4-dioxane (C4H8O2) at 50 oC.

Tour of Program: Equation of State Solver Finds one of the state properties pressure, molar volume, or temperature given the other two, using the LK or PR equations of state. Example problem: Find molar volume of propane at 35 bar and 50 oC. Compare w/ ideal gas: 0.77 L/mol.

Tour of Program: Fugacity Coefficient Solver Finds the pure fugacity coefficient or the fugacity coefficient of a species in a mixture, using the LK or PR equation of state.

Tour of Program: Fugacity Coefficient Solver

Tour of Program: Models for excess Gibbs energy Fits activity coefficient models to experimental data for binary Vapor-Liquid Equilibrium (VLE) systems. Objective function. Example: Chloroform-heptane.

Tour of Program: Bubble point / Dew Point Calculator Dew point: gaseous system, when first drop of liquid forms – achieved by decreasing temperature or increasing pressure. Bubble point: liquid system, when first bubble forms. Solver finds temp./pressure where first bubble or dewdrop forms, and composition of chemicals in bubble or dew-drop.

Tour of Program: Bubble point / Dew Point Calculator

Tour of Program: Binary Phase Diagrams Make plots of phase transitions in binary vapor-liquid systems. Example: Plot pressure vs. liquid mole fraction for methylcyclohexane-benzene system at 50 oC.

Tour of Program: Equilibrium Constant Solver Finds KT at a single temperature, for a single chemical reaction. Plots KT vs T.

Tour of Program: Equilibrium Constant Solver

Tour of Program: Multiple Chemical Reaction Equilibria Gas-solid equilibrium. Found by minimizing excess Gibbs energy.

Tour of Program: Multiple Chemical Reaction Equilibria

Tour of Program: Multiple Chemical Reaction Equilibria

Numerical Algorithms Newton root finder with backtracking. Downhill simplex method for minimization. Iterative substitution.

Multidimensional Newton Method Vector-valued function F: Rn -> Rn. Newton step Iterate

Newton Backtracking Use full Newton step δ if norm ||F||2 is less than its value at xi, otherwise try δ/2, δ/4, δ/8, ... until ||F||2 is less than its value at xi. This is guaranteed to happen, as δ is a descent direction for ||F||2.

Simplex Method J.A. Nelder and R. Mead, "A simplex method for function minimization," Computer Journal 7 (1965) 308-313. Simple, derivative free method for finding minimum of function of form F: Rn -> R. Does not use derivatives, so constrained minimization possible by setting F to infinity.

Algorithms Equation of state solver: Newton method. Excess Gibbs energy model fitting: Simplex. Bubble point / dew point: Custom iterative methods based on those of Smith, Van Ness, and Abbott. Multiple chemical reaction equilibria: Newton and simplex. Typically converges, however Dr. Koretsky found a problem where this method does not converge.

Conclusion Objectives met? User interface is straightforward to use. Numerical methods converge with one known exception. A practical tool integrated with problems in a textbook.

Acknowledgements Milo Koretsky, Mentor. Rubin Landau, Computational Physics.