Research activities. Rational Thermodynamics Physical chemistry is the ancestor of chemical engineering thermodynamics: => Lots of definitions inherited.

Slides:



Advertisements
Similar presentations
Using MatLab and Excel to Solve Building Energy Simulation Problems Jordan Clark
Advertisements

1 Mathematical Methods Physics 313 Professor Lee Carkner Lecture 22.
 Related Rates ◦ Idea:  Given two quantities that 1.Are somehow related 2.Changing (usually w.r.t. time)  The problem is to find how one of these quantities.
Evis Trandafili Polytechnic University of Tirana Albania Functional Programming Languages 1.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
The Fundamental Property of Rational Expressions
RATIONAL EXPRESSIONS Chapter Quotients of Monomials.
Relationships between partial derivatives Reminder to the chain rule composite function: You have to introduce a new symbol for this function, also the.
ASP.NET Programming with C# and SQL Server First Edition
Mathematical Methods Physics 313 Professor Lee Carkner Lecture 20.
PRE-PROGRAMMING PHASE
Linear Systems The definition of a linear equation given in Chapter 1 can be extended to more variables; any equation of the form for real numbers.
1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.
2.1 The Addition Property of Equality
Visualization By: Simon Luangsisombath. Canonical Visualization  Architectural modeling notations are ways to organize information  Canonical notation.
(c) MathScience Innovation Center 2007 Solving Linear Systems Trial and Error Substitution Linear Combinations (Algebra) Graphing.
STROUD Worked examples and exercises are in the text The logarithm segment of …
Systems and Matrices (Chapter5)
Scatterplots October 14, Warm-Up Given the following domain and range in set notation, write the equivalent domain and range in algebraic notation.
Simpson Rule For Integration.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
CC112 Structured Programming Lecture 4 1 Arab Academy for Science and Technology and Maritime Transport College of Engineering and Technology Computer.
1.2 – Evaluate and Simplify Algebraic Expressions A numerical expression consists of numbers, operations, and grouping symbols. An expression formed by.
ECE 1304 Introduction to Electrical and Computer Engineering Section 1.1 Introduction to MATLAB.
Section 2.1 Functions. 1. Relations A relation is any set of ordered pairs Definition DOMAINRANGE independent variable dependent variable.
Slide 7- 1 Copyright © 2012 Pearson Education, Inc.
Algebra By : Monte. Term The number or an Expression that are added in a sum.
Numerical Methods Part: Simpson Rule For Integration.
Object-oriented Software for Uncertainty Propagation Keith D. McCroan US EPA National Air and Radiation Environmental Laboratory.
The Ideal Monatomic Gas. Canonical ensemble: N, V, T 2.
1 © 1999 Microsoft Corp.. Microsoft Repository Phil Bernstein Microsoft Corp.
Scaling Heterogeneous Databases and Design of DISCO Anthony Tomasic Louiqa Raschid Patrick Valduriez Presented by: Nazia Khatir Texas A&M University.
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
Chapter 3 Part II Describing Syntax and Semantics.
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
1 §3.2 Some Differentiation Formulas The student will learn about derivatives of constants, the product rule,notation, of constants, powers,of constants,
Copyright © 2014, 2010, 2006 Pearson Education, Inc. 1 Chapter 2 Linear Functions and Equations.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Section 2.5 Solving Linear Inequalities
Logarithmic Functions
Thermodynamic R&E. Rational Thermodynamics Identify the canonical variables of the model. In practice either or These are homogeneous functions which.
Previous Page Next Page EXIT Created by Professor James A. Sinclair, Ph.D. MMXI Monomials, binomials, and Polynomials Monomials, binomials, and polynomials.
Programming Language Descriptions. What drives PL Development? Computers are “in charge” of extremely important issues Execute a program literally. Exercise.
Limits Involving Infinity Infinite Limits We have concluded that.
ALGEBRA VOCABULARY. Vocabulary: Expression Definition: A math phrase built from constants, variables and operations EXAMPLE: 3X - 2Y.
Warm Up Solve by graphing (in your calculator) 1) 2)
1 Programming and problem solving in C, Maxima, and Excel.
Debugging and Testing Hussein Suleman March 2007 UCT Department of Computer Science Computer Science 1015F.
1.1 Variables and Equations Objective: To Simplify numerical expressions and evaluate algebraic expressions.
Describing Syntax and Semantics
ECE 1304 Introduction to Electrical and Computer Engineering
CHAPTER 3: Quadratic Functions and Equations; Inequalities
Review & 6.6 The Fundamental Theorem of Algebra
Module 1 Review ( ) Rewrite the following equations in slope-intercept form (solve for y), then graph on the coordinate plane.
Phil Bernstein Microsoft Corp.
Business Rule Based Configuration Management and Software System Implementation Using Decision Tables Olegas Vasilecas, Aidas Smaizys VGTU, Vilnius, Lithuania.
Do Now Can you Reason abstractly?
2.3 Linear Inequalities Understand basic terminology related to inequalities Solve linear inequalities symbolically Solve linear inequalities graphically.
1.4 The Associative Properties
Functions Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways: We can represent.
Algebra Vocabulary.
Topics Introduction to Value-returning Functions: Generating Random Numbers Writing Your Own Value-Returning Functions The math Module Storing Functions.
A mathematical phase containing numbers.
A mathematical phase containing numbers.
Research activities.
Rational Numbers.
EXTENDING COMPONENTS AND TABLE TRANSFORMATIONS WITH XSL
Numbers & Algebra review.
Recapitulation of Lecture 12
Lesson 3.3 Writing functions.
Presentation transcript:

Research activities

Rational Thermodynamics Physical chemistry is the ancestor of chemical engineering thermodynamics: => Lots of definitions inherited from laboratory work. => Theory is adequate for hand calculations, but not for general computer programming.

Rational Thermodynamics Let the following VLE condition serve as an example: Equation of state: Activity coefficient model: Unsymmetric reference:

Rational Thermodynamics There is now a bewildering number of symbols and indices:

Rational Thermodynamics Complex notation! Model errors are likely at two levels: 1) Inconsistencies made during the implementation (semantic bugs). 2) Inconsistencies in the user interface (syntactic bugs).

Rational Thermodynamics In both cases errors will be hard to capture. Typically, the presence of an expert (programmer) will be required. Conclusion: Thermodynamic modelling is an old subject ready for a thorough face-lift.

Rational Thermodynamics Identify the canonical variables of the model. In practice either or These are homogeneous functions which can be added to yield a total contribution:

Rational Thermodynamics The standard state contribution can be split into new (sub)contributions following the same rules:

Rational Thermodynamics Proposition: Only three algebraic operators are needed for a general thermodynamic framework! 1) The chain operator for doing things like: 2) The patch operator for defining sub-graphs:

Rational Thermodynamics Operator precedence: patch (*) > chain (+) The equation of state VLE model can now be written: Where the standard state is defined as:

Rational Thermodynamics The operators are type safe:

Rational Thermodynamics Note that a list operator has been introduced to make the expression more legible. Similar, albeit more complex, expressions can be written for Gibbs energy models.

Rational Thermodynamics An equivalent calculation graph is: + ** *

Rational Thermodynamics n =[‘Nitrogen’,’Oxygen’,’Argon’] G =Surface.new(n) * Gibbs.new(n) * ( Poynting.new(n) * MuTP.new(n,:idealgas,’ig’) * MuT_cp.new(n,:poly3,’ig’) * MuT_hg.new(n,:hogo,’ig’) + Residual.new(n) * ModTPN.new(n,:srk,’gas’) + Activity.new(n) * ModTN_ideal.new(n,:molmix,’ig’))

Rational Thermodynamics The thermodynamic object G is explicit in (T,p,N). For practical use the output needs to be transformed into (H,P,N), (S,P,N), (T,V,N), etc: Legendre: extensive intensive variable. Massieu: function extensive variable. A new object is required to take care of the transformations.

Rational Thermodynamics More Ruby code => air=f(H,V/T,N) air = Surface.new(n,:legendre,’p’) * Surface.new(n,:massieu,’s’) * Surface.new(n,:legendre,’-t’) * G

Rational Thermodynamics Use of operators => thermodynamic frameworks can be broken down into small, manageable, expressions. Model description is not tied to any particular implementation => easy to export, exchange and update model info. Export formats are Matlab, LaTeX, XML

Rational Thermodynamics Example: Propane-butane splitter with multiple coordinate specifications. TPHH

Rational Thermodynamics Thermodynamic surface transformations => canonical (and aesthetically pleasing) equation system.