Dynamic simulation on a thermodynamic canonical basis

Size: px
Start display at page:

Download "Dynamic simulation on a thermodynamic canonical basis"

Transcription

1 Olaf Trygve Berglihn Dynamic simulation on a thermodynamic canonical basis Doctoral thesis for the degree of philosophiae doctor Trondheim, June 2010 Norwegian University of Science and Technology Faculty of Natural Sciences and Techology Department of Chemical Engineering

2 NTNU Norwegian University of Science and Technology Doctoral thesis for the degree of philosophiae doctor Faculty of Natural Sciences and Techology Department of Chemical Engineering c 2010 Olaf Trygve Berglihn. ISBN (printed version) ISBN (electronic version) ISSN Doctoral theses at NTNU, 2010:132 Printed by Tapir Uttrykk

3 Acknowledgments This thesis is a contribution to the field of chemical engineering and modeling from a thermodynamic perspective. But as in all aspects of science, this work would never have been possible without the work of others. And as such, I am humble to have been given the possibility of exploring the field from the elevated perspective standing on the shoulders of giants. First and foremost, I would like to thank my main supervisor Associate Professor Tore Haug-Warberg for having faith in me and opening my eyes to the world of pure thermodynamics, not obfuscated by mundane engineering and applied perspectives only. Professor Heinz Preisig and Professor Terje Hertzberg also deserve special thanks for their valuable input and critical comments. When this work started, the thermodynamic models used were tediously coded by hand. If not for the work of Ph.D. Bjørn Tore Løvfall on gradients of thermodynamic potentials, the development of the methods in this thesis would have been tremendously impeded by the implementation cost associated with the thermodynamic models. Thanks, Bjørn Tore, for our many debates and for help with proofreading the thesis. I would also like to thank my co-worker through these years of Ph.D.- studies, Jens Petter Strandberg for his good spirit and encouragement. Ph.D. Tarek Ali Yousef deserves his thanks for the many interesting and lengthy theoretical debates, and for help with proofreading the thesis. Finally I would like to thank my family, my spouse Berit, and especially my two small kids Una and Sondre for their patience and support through these years. Without you, this thesis would never have been completed. Financial support for this project was provided by The Norwegian Research Council, Statoil AS, Yara AS, and The Chemical Engineering Department, NTNU. i

4 ii

5 Summary In this thesis a general approach is outlined for the modeling and simulation of dynamic processes involving phase and reaction equilibria. A new methodology is presented that exploits the intrinsic structure of thermodynamic functions in their canonical form. The equations for the equilibrium sub-problems of the dynamic process are stated such as to get a mathematical problem with linear constraints. This implies iterating in the variables most suited for the problem. A methodology is given by an equation structure called the dynamic Newton-Lagrange-Euler formulation. The equation structure is a set of linear equations that when solved yield a simultaneous integration in time and iteration towards the equilibrium of each sub-problem. A software tool has been designed and implemented in order to automate the construction and updating of the dynamic Newton-Lagrange-Euler equations. Two case studies are shown that explore the described methodology. The simulation results are on par with the results found in the literature. This systematic approach to the process modeling of flow sheets on a canonical thermodynamic basis has some promising benefits compared to traditional approaches based on a single choice of iteration variables. The presented methodology and software design is very general and has the potential for wide application in dynamic simulation and the development of simulation software. iii

6 iv

7 Contents Acknowledgments Summary Nomenclature i iii xi 1 Introduction Organization of the thesis Contribution of this work Thermodynamic functions Euler functions and homogeneity Legendre transformations and Massieu functions Surfaces and manifolds Thermodynamic states and time Derivatives of thermodynamic functions on manifolds Modeling on a canonical basis Alternative formulations for solving phase equilibria The Newton-Lagrange-Euler formulation Canonical basis and linear constraints Dynamics Coupled minimization problems Dynamic systems equations - DAE-formulation The dynamic Newton-Lagrange-Euler formulation Coupled minimization problems - dynamic case Gradient prediction and differential index v

8 5 Simulating on canonical basis Building blocks The constraint matrix Q Accumulation, steady-state, and stream building blocks Specifications on intensive properties Norms and diagnostics Convergence properties Scaling The dynamic Newton-Lagrange-Euler simulator Design choices System components Thermodynamic functions and analytical derivatives Manifolds of Legendre transforms and Massieu functions Blocks and right hand sides Topology of blocks and connections Linear algebra UML-diagrams Sample code Case studies A two phase separator The Joule experiment Concluding remarks 89 A The Ruby numerical library RNum 97 A.1 Design and implementation A.2 Features A.3 Execution speed B Jacobian, gradient and Hessian of thermodynamic manifolds 101 B.1 S(U,V,N)-manifold B.2 F(H, V T,N)-manifold vi

9 List of Figures 2.1 Legendre transform as tangent envelope From model to manifold Transformation from a thermodynamic surface to a thermodynamic manifold Change in time of thermodynamic state by explicit vs. implicit integration Simple steady state process with mass connection Snamprogetti urea-process (with courtesy of Volker Siepmann) An isolated system of two gas tanks mimicking the Joule experiment of Connecting from a steady-state block Connecting from an accumulation block Vapor-liquid separator base case Vapor-liquid separator base case with initial t = 100s, reduced by a factor Vapor-liquid separator, with feed and product streams set to 1% at time t = 5000s Vapor-liquid separator, with both liquid product draw set to 300% at time t = 5000s Class diagram for the Manifold Class inheritance diagram for the different block types Class diagram for the Topology Components overview and interfaces Dynamic separator with feeding reservoir and product streams Block structure for the dynamic two phase separator Composition profiles for the separator case Temperature profile for the separator case vii

10 7.5 Pressure profile for the separator case Pressure profiles for the separator at selected t and from a model in gproms R Block structure for the Joule case Simulation results for the Joule case Mach number for the Joule case viii

11 List of Tables 3.1 Thermodynamic state functions Diagnostic norms Scaling of units for a typical vapor and liquid using the Peng- Robinson equation of state Initial conditions for separator simulation Description of the diagonal blocks for the Joule case Initial conditions for the Joule-case ix

12 x

13 Nomenclature Greek letters µ Chemical potential α α γ i φ i ρ k Slack variable introduced for overspecified systems of equations. Vapor phase mole fraction Activity coefficient Fugacity coefficient Density Iteration counter Latin letters h H g H N c p t ˆF f ˆF l ˆF v Heat transfer coefficient Hessian Gradient Enthalpy The number of chemical components (species). Pressure Time Feed flow rate mole based Liquid flow rate mole based Vapor flow rate mole based xi

14 ˆN ˆV R M S L M A Q A a C v f(z) g h K K i l N p (l) S T U u V Flow rate mole-based Volumetric flow. The set of real numbers Thermodynamic manifold Thermodynamic surface Legendre transform Massieu function Coefficient matrix for the Newton-Lagrange-Euler equations Constraint matrix for balance equations Helmholtz energy Cross sectional area Valve constant. Valve characteristics, z being actuator position. Standard gravity Specific enthalpy Equilibrium constant Equilibrium constant for component i Liquid level Mole number Pressure at liquid outlet Entropy Temperature Inner energy Specific internal energy Volume xii

15 v V t x i y i z i Specific volume Total volume Mole fraction, liquid Mole fraction, vapor Mole fraction, feed Mathematical symbols ẋ x T Time differential, x/ t vector Transpose Supersrcipts Reference (ω) F L V Refers to the ω phase. Feed Liquid Vapor Subsrcipts k (i,j) Iteration variable Matrix element or sub block indices xiii

16 xiv

17 Chapter 1 Introduction The study of how phenomena evolve over time in chemical unit operations give highly valued insights for chemical engineers. With the progress in computing powers of modern computers, processes of great complexity and detail can be modeled and simulated for use in design studies and control system design, optimization, production planning, operator training and more. A simulation study can roughly be split into the tasks of: 1. Physical description. 2. Mathematical description. 3. Equation manipulation and solving using a numerical method. 4. Programming. 5. Simulation and presentation. Preforming the above tasks involves many disciplines of science. Firstly, the physical insights of the process and the decision on which relevant phenomena to describe is paramount for the success of the simulation study. Secondly, knowledge of both mathematical modeling and numerical methods is required to formulate an algorithm that can be implemented. Programming requires yet another set of capabilities, especially for complex models and large systems. At last, if all the prior subtasks have been completed successfully, the simulation can be run and the results disseminated using physical and systems insight. For other than simple modeling and simulation, the proficiency required in all these disciplines exceeds the skills of the average undergraduate chem- 1

18 2 Introduction ical engineer. Even at graduate level, people mastering both modeling and simulation will usually belong to a specialized group of chemical engineers. Several initiatives have been taken to lessen the requirements on skills for engaging in modeling and simulation studies. Commercial packages such as Aspen Plus R and Hysys R, PRO-II R, ProSimPlus R and others offer the chemical engineer graphical user interfaces which hide most of the details of modeling and numerics for the user. Other tools, such as gproms R, Ascend [Allan, 1997] and Jacobian R, offer an input language that resembles the mathematical representation, and will automatically do equation rearrangement and solve the system numerically. However, none of the above tools are problem free. From an academic point of view, one would like to know what exactly is happening under the hood of the commercial simulators something that is often impossible due to the proprietary nature of these products. Moreover, the user should always be able to analyze the problems arising from the choice of equation structure and numerical strategy when the equation oriented tools are used. For most chemical engineering problems involving rigorous phase equilibria and reactions in dynamic simulation, the equations can be put into the form of an Differential Algebraic Equation system (DAE): f(ẋ,x,y,t) = 0. (1.1) Much work has been done over the last three decades to develop methods and codes for solving this class of problems. Some of the known tools are DASSL [Brenan et al., 1989] and various other derived implementations (Matlab R ode15s/ode15i, Sundials Suite IDA [Hindmarsh et al., 2005], etc). Though these codes show great merit, they still only solve a subset of problems (index 1-2), and depend on the equation system being well formed, and on an appropriate choice of initial values. An alternative to solving the complete DAE is to integrate each subprocess separately by a dynamic sequential-modular scheme as shown by Hlaváček [1977] and Hillestad and Hertzberg [1986]. The advantage of this method is that each sub-process can be developed and tested separately. However, care must be taken when choosing the calculation sequence, the handling of calculation loops by using tear streams, and controlling the step length for stiff systems. Instead of looking for general tools to solve specific problems, the motivation for this work started off with the opposite perspective: How can specific problems be solved with the simplest possible means, and without the loss of control over the implementation and the numerical strategy? The motivation for taking this perspective stems from the experience with sim-

19 1.1. Organization of the thesis 3 ulating multiphase equilibrium problems with reaction, and the observation that most of the numerical cost associated with solving these systems stems from the calculation of thermodynamic properties and solving chemical and phase equilibria. In other words: Can the knowledge of the properties of thermodynamic functions and their equation structure lead to simpler or maybe better ways of constructing models for simulation studies? The condition of phase and reaction equilibrium is a frequently used assumption when modeling chemical phenomena. A reaction and phase equilibrium is characterized by a maximum in entropy, subject to given energy, volume and mass constraints. Equivalently, the equilibrium can be described by a minimum in internal energy (subject to given entropy, volume and mass constraints), or by a minimum of Gibbs free energy (subject to given constraints on temperature, pressure and mass). Many other formulations exist, using an extremum of a thermodynamic potential with accompanying constraints. The question that was raised above can partly be answered by investigating how the equilibrium condition and constraints can be described in a manner that gives the simplest possible system of equations to solve. This imposes a certain structure on the problem. The topic of this thesis is the analysis of the emerging structure and how to exploit this structure when modeling and simulating dynamic systems. 1.1 Organization of the thesis The thesis starts with a brief summary of the theory of thermodynamic functions in Chapter 2. Euler homogeneity and the Legendre transform are important concepts which forms the basis for defining a thermodynamic surface and a thermodynamic manifold, respectively. An analysis of the derivatives on the surface and the manifold is given, and this is related to integration of dynamic processes. Chapter 3 compares three different formulations of the phase equilibrium problem and introduces the Newton-Lagrange-Euler formulation. The selection of an appropriate thermodynamic potential to optimize and the problem constraints are discussed. Each thermodynamic potential has an accompanying set of variables which give the potential in the simplest form the canonical basis. To arrive at a simplest possible optimization problem, it is argued that a canonical basis should be chosen such that the constraints become linear. The term canonical variables is applied to this canonical basis. Each equilibrium problem can be viewed as a node. Nodes that exchange mass and energy compromise a process. A methodology for exchanging mass

20 4 Introduction and energy between different nodes is given in Chapter 4. The chapter starts by looking at the steady-state case, and progresses to the dynamic case by first reviewing the formulation of a differential algebraic equation set (DAE). Based on the idea of using canonical variables, a formulation is given that use the structure of the thermodynamic equations to state the dynamic case in the Newton-Lagrange-Euler formulation. The chapter concludes with a brief discussion on the DAE index problem. In Chapter 5 the dynamic Newton-Lagrange-Euler formulation is described in detail. The construction and update of the system of equations are shown for phase equilibrium, both with and without reaction equilibrium. It is also shown how to add constraints on intensive quantities, e.g. quantities that are not affected by system size; by fixing Lagrange multipliers. Normed quantities for step length algorithms and diagnostics are suggested, and the convergence properties are analyzed by means of an example. A simple scaling of the physical units is suggested for achieving good conditioning of the Newton-Lagrange-Euler equations, without having to rewrite the equations. A tool has been developed for automating the construction and updating of the Newton-Lagrange-Euler equations for an arbitrary set of nodes. Chapter 6 describes the design and implementation of this tool and gives an example of its use. Finally, the methodology presented in this thesis has been applied to two case studies given in Chapter 7. The first case study looks at a simple dynamic flash model found in the literature. The model has been reimplemented using the dynamic Newton-Lagrange-Euler method and the results compare favorably with the original paper. The second case study presents a model of the famous Joule experiment from 1843 with a blowdown from a high pressure reservoir to a lower pressure reservoir. Simulations are preformed for the Joule experiment both with and without reaction equilibrium. The model includes the restriction of choked flow in the valve between the two reservoirs. The results are discussed. 1.2 Contribution of this work The philosophy behind the perspective taken in this thesis builds, to a large extent, on the work by Haug-Warberg [1988], Brendsdal [1999] and Siepmann [2006]. The main new contributions lies in expanding on the basis from these authors and applying the results in the modeling and simulation of dynamic systems. The analysis of the canonical basis and distinguishing between explicit

21 1.2. Contribution of this work 5 and implicit thermodynamic functions guides the understanding of the challenges involved in the calculation of reaction and phase equilibria. The distinction is formalized by introducing the concept of a thermodynamic surface and a thermodynamic manifold. With the choices available for thermodynamic manifolds, a manifold can be chosen such that it best suits the model balance equations and constraints. This leads to the definition of the canonical basis that yields a linearly constrained problem: the canonical variables. A new methodology is developed for simultaneous integration and iteration of phase and reaction equilibrium problems based on canonical variables. This method is called the dynamic Newton-Lagrange-Euler formulation. The method is capable of simulating the complete process formed by a set of equilibrium nodes that exchange mass and energy. A framework for constructing and updating the equations for the dynamic Newton-Lagrange- Euler formulation is given. To explore the new methodology, a software tool has been designed and implemented to automate the construction and updating of the equations.

22 6 Introduction

23 Chapter 2 Thermodynamic functions Thermodynamic potentials are mathematical expressions that aim to describe the thermodynamic properties of a collection of interacting particles. The collection, or ensemble, is described by averaging the properties of the individual particles over time or space. The thermodynamic potential is a scalar function that take the form f : R Nc+2 R, where N c 1 is the number of chemical species in the mixture. A thermodynamic potential is a state function. This implies that the function value of f for a system depends only on its N c + 2 free variables, not on the way in which the system acquired the state. This chapter investigates the properties of thermodynamic potentials and the use of the Legendre transform to arrive at alternative thermodynamic potentials with different sets of free variables. The concepts of the thermodynamic surface and the thermodynamic manifold are introduced to distinguish the explicitly and implicitly defined thermodynamic potentials. Methods are shown for approximating the mapping from a thermodynamic manifold to another thermodynamic manifold or surface, and the relevance to integration in time on a thermodynamic manifold is discussed. 2.1 Euler functions and homogeneity The treatment of thermodynamic potentials is greatly simplified by the fact that they are linear along every straight line passing through the origin. The function f is Euler homogeneous in the variables x i,...,x n to degree 7

24 8 Thermodynamic functions k if it satisfies the following relations F ˆ=f(X 1,...,X n,ξ n+1,...,ξ m ) =λ k f(x 1,...,x n,ξ n+1,...,ξ m ), (2.1) X i ˆ=λx i. (2.2) The function F is a scaling of the function f with the factor λ k when the variables x i are scaled by a factor λ. The remaining variables, or parameters, ξ i are not taking part in the scaling and are thus regarded as constants. A thermodynamic quantity is said to be extensive if the thermodynamic potential is Euler homogeneous to degree k = 1, and intensive if the state function is Euler homogeneous to degree k = 0. Scaling all extensive quantities by a factor λ will scale the potential accordingly. Examples of extensive quantities are mole number and volume, and generally any other quantity concerning the system size. Intensive quantities are independent of the system size, such as pressure and temperature. The total differential of F can be written as follows by substituting the total differential dx by dx = λdx + xdλ: ( ) ( ) F F df = dx + dξ (2.3) = X ξ ) xdλ + ( F X ξ ξ ( F X An alternative formulation using F = λ k f yields: X ) ξ ( ) F λdx + dξ. (2.4) ξ X df = kλ k 1 fdλ + λ k df (2.5) ( ) ( ) f f = kλ k 1 fdλ + λ k dx + λ k dξ. (2.6) x ξ ξ x By comparing equivalent differentials in the Equations (2.4) and (2.6), and using the definitions in equations (2.1) and (2.2), the following three properties are found: ( ) F dλ : X = kf. (2.7) X ξ ( ) ( ) F f dx : = λ k 1. (2.8) dξ : X ) ( F ξ ξ X = λ k ( f ξ x ) ξ. (2.9) x

25 2.2. Legendre transformations and Massieu functions 9 Using the result in equation (2.7) for k = 1, the general integral of F has the solution ( ) F F(X,ξ) = (df) ξ = dx = F X. (2.10) X ξ X This is the Euler integration on F and is described as Euler s first theorem. An implication of this result is that for a function of all extensive variables (k = 1) the curvature 2 f/( x x T ) is always zeros in the direction of x: f x x = f ( 2 f x x T ) x = 0. (2.11) Equation (2.11) forms a part of the background for developing the methods in this thesis, as will be discussed in Section Legendre transformations and Massieu functions A function f : x f(x) can be described by different functions, whose argument is the derivative of f, rather than the function argument x, by means of a Legendre transform. Given f, the new function f is defined as f : ξ f (ξ) = min x (f(x) ξx) (2.12) This is the general Legendre transform, L [Arnold, 1989]. For a convex function, the minimum f is found when ξ = f(x)/ x. In the general case in thermodynamics, the Legendre transform can be written as fi (ξ i,x j,...,x n ) ˆ= f i (x i,x j,...,x n ) ξ i x i ( ) f ξ i ˆ=. (2.13) x i x i,x k,...,x n The use of this transform is central in the manipulation of thermodynamic functions. The information content of the original function f is conserved under the transformation, such that it is possible to get back the original variables by means of an inverse Legendre transform. As an example, the function of internal energy U as a function of (S,V,N) can be subjected to a Legendre transform with the variable S, yielding the Helmholtz energy function A : (T,V,N) U TS (2.14) ( ) U where T ˆ= S V,N

26 10 Thermodynamic functions Energy H 1 H 2 U 1 H 3 U 2 U 3 V 1 V 2 V 3 Volume Figure 2.1: Legendre transform as tangent envelope. or with p, yielding the enthalpy function H : (S, p,n) U + pv (2.15) ( ) U where pˆ=. V The tangent envelope of the function being transformed gives the Legendre transform as is shown in Figure 2.1. Starting with U 1, the product of V 1 and the tangent slope p is subtracted. This yields H 1 = U 1 + pv 1. In addition to the Legendre transform, swapping a variable x i with the state function is a useful operation. The function resulting from this swapping is called a Massieu function of the variable x i. Massieu functions, M, are useful for expressing e.g. S(U,V,N) from U(S,V,N) and S(H,p,N) from H(S,p,N). The term Massieu function is somewhat loosely defined in the literature and is most commonly described as Legendre transforms starting from S, rather than U [Callen, 1985]. Thermodynamic models can be categorized into two classes, depending on the set of free variables used. Models using temperature, volume and mass as free variables are referred to as pressure explicit Equations of state, and can be viewed as a Helmholtz free energy surface A(T,V,N). Many equations of state are able to predict both liquid and vapor properties. Models using pressure instead of volume as a free variable are generally denoted Gibbs excess models, or activity models, and can be written as a Gibbs free energy surface G(T, p, N). Activity models typically describe liquid and solid properties, and are unable, at the same time, to predict the S,N

27 2.3. Surfaces and manifolds 11 Modeling (T, V, N) or (T, p, N) as independent variables Surfaces Helmholtz (A) or Gibbs (G) free energy Manifolds Legendre transforms on (A) or (G) Figure 2.2: From model to manifold properties of a vapor phase. The Helmholtz (A) or Gibbs (G) free energy surfaces can form the basis of thermodynamic manifolds which have variables that are more convenient for a given modeling problem. Depending on the constraints of the system being studied, a set of Legendre transforms can be applied in order to arrive at a manifold which has the model constrained variables as its free variables. The different set of manifold variables will be described further in Section 3.3. The choice of free variables in the thermodynamic state function thus dictates the possible independent set of variables of the thermodynamic surface, and further transformation to manifolds with different sets of independent variables is possible through a series of Legendre transforms. A schematic of the path from a thermodynamic model to a thermodynamic manifold is shown in Figure Surfaces and manifolds The following terminology will be used to describe thermodynamic potentials and the transformations of these: Thermodynamic surface: The explicit thermodynamic potential, a state function f : R Nc+2 R, forms a thermodynamic surface S in R Nc+2+1. Thermodynamic manifold: The thermodynamic surface S formed by f can be modeled on to an Euclidean space M by Legendre transforms

28 12 Thermodynamic functions or Massieu functions. The space M forms a thermodynamic manifold in R Nc+2+1. According to the definitions above, the Helmholtz energy A(T, V, N) is a thermodynamic surface. From this surface the entropy S can be obtained as a Massieu function of (U,V,N): using that A : (T,V,N) A(T,V,N) (2.16) S : (U,V,N) 1 T (U A) = 1 (U + pv µn) (2.17) T U = A TS = A + T ( ) A p = V ( ) A µ = N T,V T,N ( ) A T V,N (2.18) (2.19) (2.20) Given the coordinates [A,T,V,N] on this thermodynamic surface S and the partial derivatives of A at this point, the function value S(U,V,N) can be calculated and the point [S,U,V,N] on the thermodynamic manifold M is found. Now, assume changes in the internal energy, volume and mole numbers from [U 0,V 0,N 0 ] to the new values [U 1,V 1,N 1 ]. To calculate the new value of the entropy S 1 on the manifold M, the quantities 1 T 1, p 1 and µ 1 must be found in order to evaluate the function (2.17). Equation (2.18) must therefore be iterated on T 1 until the value for U equals U 1. Then, the value of S 1 can be calculated. In other words, a point on the surface S can be mapped to a point on the manifold M. Only a single point and its local derivatives on the manifold are known. New points on the manifold can only be found by first finding a new point on the surface S. If gradients of A at [T 0,V 0,N 0 ] are known, the gradients of S for the corresponding values of [U 0,V 0,N 0 ] can be calculated by the implicit function theorem. For small changes [ U, V, N], the gradients can be assumed constant, and the change in S can be approximated by By calculating the Jacobian ds 1 T 0 (du + p 0 dv + µ 0 N). (2.21) J T0,V 0,N 0 = ([T,V,N]T ) ([U,V,N]) T=T 0,V =V 0,N=N 0 (2.22)

29 2.3. Surfaces and manifolds 13 a linear approximation of the update is given by T U V J T0,V 0,N 0 V (2.23) N N The transformation from a surface to a manifold will be illustrated by a trivial example. The graphical representation of a thermodynamic surface and the associated manifold will in general span N c +2+1 dimensions, which are hard to illustrate graphically. For the sake of the illustration the scope is therefore limited to a surface of one single variable, A : T A(T). A transformation that will give entropy S as a function of the internal energy U is given by: A : T A(T) (2.24) U = A + TS = A T A T (2.25) S = A T (2.26) (2.27) The mapping from U to S can not be written explicitly. However, given a point [A,T] and its derivative A/ T, the corresponding [ S,U] can be calculated. In order to have more information than a single point in the S U-plane, derivative information can be used to extrapolate along a second order Taylor polynomial. Figure 2.3 shows a plot of the Helmholtz energy surface using ideal gas law. The points marked with circle, square and triangle represent three states in the Helmholtz-temperature, and the states in the entropy-internal energy plane are given by the corresponding symbol. The solid curve on the left represents the explicit surface. The dashed lines on the right lines show the approximations of the manifold by Taylor-polynomials from the given points. Assume a model is to be constructed of a closed container with fixed mass and volume, subjected to an external heat source. A typical dynamic equation to describe the flow of energy to the system is given by U = ˆQ = h(t s T) (2.28) where h is a heat transfer coefficient, T is the temperature in the tank, and T s is the temperature of the heat source. If the heat flow equation is integrated from t 0 to t 1 using an explicit scheme, the change in internal energy is given by U = h(t s T t0 ) t. This yields the update in internal energy

30 14 Thermodynamic functions A(T) surface S(U) Manifolds A N Explicit mapping S N Implicit mapping T U N Figure 2.3: Transformation from a thermodynamic surface to a thermodynamic manifold. The points marked by a circle, a square and a rectangle on the thermodynamic surface (a line) in the A T plane to the left are mapped to the corresponding points in the S U plane to the right. Dashed lines represent approximations of the manifold by second order Taylor polynomials. The mapping from a point in A T to S U is explicit. The reverse mapping is implicit.

31 2.4. Thermodynamic states and time 15 for the container. Since only a point in the S U-plane is known, S 1 or T 1 must be found by iteration on T till the value of A and A/ T is found that match the updated U 1, via Equation (2.25). However, extrapolation along the Manifold given by the Taylor-expansion from the point [ S 0,U 0 ] (confer with Figure 2.3), the update to [ S 1,U 1 ] can be approximated without iteration, and the new temperature T 1 is given by the inverse gradient ( S/ U) 1 at [ S 1,U 1 ]. With basic knowledge of thermodynamics, this problem could be solved using the isochoric heat capacity C v = ( ) U T, which is usually available V,N as explicit expressions if ideal gas behaviour can be assumed. The above case was chosen to allow for a simple and comprehensible illustration of the surface manifold usage and properties. For other modeling tasks, the surface must in general be represented in R Nc+2+1. The strategy for updating the variables of the surface from the Legendre-transformed variables is then non-trivial. 2.4 Thermodynamic states and time There is no time associated with thermodynamic state functions. Even though the name is thermodynamics, time is not one of the function variables, as the state is independent of the history of the system and how it has been prepared. The dynamics behavior of the system must therefore be explained by other factors, such as chemical reactions, flow relations, external forcing and control systems. While time is definitely relevant when looking at collisions and other interactions between a small set of particles, thermodynamic state functions attempt only to describe the average behavior of a large number of particles. However, the validity of the averaging becomes dubious when looking at systems on a tiny scale; i.e. comparable to the mean free path of the particles. As has been shown in this chapter, a set of Legendre transforms and Massieu functions are required to model a thermodynamic surface on to a thermodynamic manifold which has variables coinciding with the dynamic model equations. The surface manifold transformations, and the model example from the foregoing, assumes that the temperature is constant over the time period t = t 1 t 0. This is obviously incorrect unless the interval is made infinitesimally small. As the energy of the container increases, so does the temperature. When integrating the dynamic Equation (2.28) with an explicit step, the state gradient (here the temperature) is assumed constant over the time interval. Confer Figure 2.4. The explicit step is equivalent to

32 16 Thermodynamic functions State s i s 0 s 1 s e t 0 t 1 Time Figure 2.4: Change in time and thermodynamic state by explicit integration along the path s 0 to s e vs. implicit integration along the path s 0 to s i. The true state at t 1 is s 1. For the monotonous function, the true state is bracketed by the two methods. moving from state s 0 to s e. If instead the temperature at the end of the interval is used, which is found by iteration, the transition will be along the gradient s 0 to s i. Both the implicit and the explicit integration strategies fail to track the true dynamics represented by the solid line, arriving at the state s 1, unless the whole surface-to-manifold mapping or iteration can be bypassed by expressing the surface in the variables of the dynamic system directly. Unfortunately, this is impossible for most systems. 2.5 Derivatives of thermodynamic functions on manifolds Derivatives of the thermodynamic surface are required to calculate coordinates on a thermodynamic manifold, as shown in Sections 2.2 and 2.3. Calculating the Jacobian at a thermodynamic manifold M (from M to a thermodynamic surface S) involves second order gradients of S. Solving for thermodynamic equilibrium with Newton-type methods in the coordinates of M also requires second order derivatives on M. Without the access to analytical derivatives of the surface, numerical perturbations are required for approximating them (see Nocedal [1999]). The detailed derivations for the Jacobian, gradient and Hessian for the manifolds used in this thesis are shown in appendix B, and only the principle will be shown here for brevity. The formulation is inspired by Haug-Warberg

33 2.5. Derivatives of thermodynamic functions on manifolds 17 [2006]. Given an explicit thermodynamic function f and its transform f found by a combination of Legendre transforms and Massieu functions, the gradient g and Hessian are given by H g ˆ= f x H ˆ= g g = x T x T. (2.29) x. (2.30) x T Since dimx = dimx, the Hessian with respect to the untransformed variables x can be written as which leads to g x T = g x T x x T. (2.31) H = g x T ( ) x 1. (2.32) This establishes a route from the derivatives of the thermodynamic surface, to the local derivatives of the manifold, and a Jacobian for mapping a point on the manifold back to the surface. The Hessian H is a second order derivative, and it follows that it must be symmetric. As shown in the appendix B, the Hessian can be written as a congruence product H = αlal T. (2.33) x T

34 18 Thermodynamic functions

35 Chapter 3 Modeling on a canonical basis The term Canonical denotes the characteristic of being in its standard form, usually also the simplest form. In thermodynamics, a canonical basis gives a complete description of the thermodynamic state with no loss of information; the function U : (S,V,N) U(S,V,N) contains the same information as A : (T,V,N) A(T,V,N) [Callen, 1985]. In the previous chapter, methods for mapping from one canonical basis to another by the use of the Legendre transform and the Massieu function were shown. This chapter will focus on the selection of sets of variables when modeling phase and reaction equilibria such that the representation is as simple as possible. First, a review of alternative formulations for solving phase equilibria is given. It will be shown that the problem can be stated as a constrained minimization of Gibbs Free Energy and how this formulation can solve simultaneous phase and reaction equilibria. This leads to a general iteration scheme for solving the equilbria using any thermodynamic state function: The Newton-Lagrange-Euler formulation. The rest of this chapter deals with the selection of a proper canonical basis, such that the constrained minimization problem associated with the phase and reaction equilibria will be linearly constrained. A canonical basis that achieves this property will be defined as the canonical variables of the problem. 19

36 20 Modeling on a canonical basis 3.1 Alternative formulations for solving phase equilibria Take as an example the steady-state flash drum. A common method for solving for the equilibrium composition at constant temperature and pressure is the well established Rachford-Rice equations, also known as the K-value method [Biegler, 1997]. A mass balance is written on the mass flow rates ˆF over the drum for each component. The mole fraction of component i in the vapor phase, y i, is given by the scalar K-function value K i multiplied with the liquid mole fraction x i. Note that the K-function is a composite function of the activity coefficient function γ i, the reference fugacity function f 0 i and the fugacity function φ i, and thus depends on the composition of both liquid and vapor phases, the temperature, and the pressure. The Rachford-Rice equations are given by ˆF f = ˆF l + ˆF v. (3.1) z i F f = F v y i + F l x i (3.2) y i = K i x i (3.3) K i = γ i(x,t)fi 0(T,p). (3.4) φ i (y,t)p yi x i = 0 (3.5) which after introduction of the vapor face fraction α and some substitution leads to α = V (3.6) F f(α) = y i x i = (K i 1)z i = 0. (3.7) 1 + (K i 1)α The problem can be solved by iteration with the Newton formula ( ) f 1 α k+1 = α k f. (3.8) α After converging the equation with respect to the vapor fraction α, the K i values must be updated, and the Newton iteration run repeatedly until no changes in the compositions x i, y i and the K i are observed. The Rachford- Rice method works well for mildly non-ideal mixtures, but may require very frequent calls to the thermodynamic functions for other cases. This is especially true when the enthalpy balance needs to be incorporated. Also,

37 3.1. Alternative formulations for solving phase equilibria 21 the method becomes less intuitive for multi-phase systems, and difficult to extend to reacting mixtures. An alternative method for solving the flash drum problem is to formulate it as an optimization problem with N c components and α and β phases. The objective is to minimize the Gibbs free energy G, at which the equilibrium is found: N (α) i min,n (β) i The solution is found when G (α) i dn (α) i G T,p (N (α) i,n (β) i ) i = 1,...,N c (3.9) N (α) i + G(β) i subject to + N (β) i = N i. (3.10) dn (β) i µ (α) i dn (α) i + µ (β) i dn (β) i = 0. dg = i N (α) i N (β) = i i (3.11) Here µ i is known as the chemical potential of component i. The mass balance constraint can be written as dn (α) i = dn (β) i. (3.12) Introducing G as the second order derivatives of the Gibbs free energy and n as the vector of mole numbers N i, the resulting Newton-Raphson formula can then be written as µ (α) + G (α) n (α) = µ (β) + G (β) n (β) (3.13) n (α) = n (β) (3.14) Defining µ = µ (α) µ (β) and H = G (α) +G (β), leads to the general Newton update formula: n (α) = H 1 µ (3.15) The Newton-Raphson iteration has second order convergence and shows good behavior in non-ideal mixtures and close to critical points. But having fairly accurate starting points is a prerequisite, and finding these is often a difficult task. Additionally, calculating µ and H requires first and second order derivatives of G. A third formulation, closely linked to the Newton-Raphson scheme is the technique of Lagrange multipliers as known from optimization textbooks [Nocedal, 1999]. The mass balance constraint is here combined with the

38 22 Modeling on a canonical basis function to be minimized in the Lagrangian function, L. The flash drum is generalized to the multi-phase equilibrium case with ω number of phases and N c chemical components. The problem can now be restated as min G T,p = n (α),n (β),...,n (ω) ω i=1 G (i) T,p subject to ω δ = n 0 n (i) = 0. (3.16) Introducing the Lagrangian function and some derivatives i=1 L(n,λ) = G λ δ (3.17) ( ) g (i) G (i) = n (i) (3.18) T,p ( ) H (i) 2 G (i) = n (i) n (i)t (3.19) T,p g (1) + λ L [n T,λ] T =. (3.20) g (ω) + λ δ H (1) I 2 L H (2) I A = [n T,λ][n T,λ] T =..... (3.21) H (ω) I I I I 0 The mass balance constraint is linear and can be solved for λ directly by adding λ to all but the N c last rows of A. The Newton updating scheme becomes H (1) I n (1) g (1) H (2) I n (2) g (2)..... =.. (3.22) H (ω) I } I I {{ I 0 } A k n (ω) } λ {{ } x g (ω) } 0 {{ } b k

39 3.1. Alternative formulations for solving phase equilibria 23 For the one- and two-phase case, the matrix A k is easily inverted: ( ) 1 ( ) H I 0 I = (3.23) I 0 I H H 1 I H 2 I I I 0 1 = (H (1) + H (2) ) 1 (H (1) + H (2) ) 1 (H(1) + H (2) ) 1 (H (1) + H (2) ) 1 I (H (1) + H (2) ) 1 H 1 (H (1) + H (2) ) 1 H 1 I H 1 (H (1) + H (2) ) 1 H 1 (H (1) + H (2) ) 1 H 2 (I (H (1) + H (2) ) 1 H 1 ) (3.24) But as the number of phases increase, so does the filling in of sub diagonal elements, making the possible advantage of a block based inverse less obvious in comparison to readily available methods of linear algebra packages [Anderson et al., 1999]. The mass balance constraint in (3.16) can be generalized to chemically reacting systems by introducing conservation on atoms instead of chemical components. For the sample system 2NO 2 = N 2 O 4, the balances on oxygen and nitrogen are linearly dependent, and a row-reduced constraint matrix Q = ( 1 2 ) N/O balance (3.25) replaces identity I for the non-reacting system. The equality constraint then reads ( ) ω δ = Q n 0 n (i) = 0. (3.26) and Equation (3.22) becomes H (1) H (2) Q T Q T.... H (ω) Q T i=1 n (1) n (2). n (ω) } Q Q {{ Q 0 }} λ {{ } A k x = g (1) g (2). g (ω) } Q0 {{ } b k (3.27) This implies that, at the converged solution where H n = 0, that g = Q T λ or in other words that µ NO2 = λ µ N2 O 4 = 2λ

40 24 Modeling on a canonical basis which in turn implies 2µ NO2 = µ N2 O 4. Inerts can be introduced in the n-vector to inhibit equilibrium reaction on some species, and different component lists for each phase can be used by introducing a projection onto a common basis [Brendsdal, 1999, Siepmann, 2006]. The minimization of Gibbs Free energy for solving a general, multiphase system was first proposed by White et al. [1958], and the methods have later been extended and explored by several authors [Castillo and Grossmann, 1981, Seider and Widagdo, 1996]. Computation of thermodynamic equilibrium by the iteration scheme shown in Equations (3.22) and (3.27) has been reviewed and explored by Haug-Warberg [1988] and Brendsdal [1999]. Although the minimization of Gibbs energy is a frequently encountered methodology in the literature, it is seldom used in commercial simulators where the K-value method is still dominates. Few publications exist using minimization of other energy functions. Two examples are Brendsdal [1999] and Castier [2009]. Note that phase stability is not considered here. Stability criterions and algorithm is thoroughly described by Haug-Warberg [1988]. 3.2 The Newton-Lagrange-Euler formulation The properties of first order Euler-homogeneous functions were described in Section 2.1, and Equation (2.11) stated that the Hessians H (i) k at x (i) k are singular in the direction x (i) k. Using this, the product H(i) x can be replaced by H (i) x. Equation (3.27) can then be rewritten as H (1) H (2) Q T Q T.... H (ω) Q T n (1) n (2). n (ω) } Q Q {{ Q 0 λ }}{{} A k x = g (1) g (2). g (ω) } Q0 {{ } b k. (3.28) The form given in Equation (3.27) will be denoted as the The Newton- Lagrange-Euler-formulation. This result is convenient as it enables the direct solution for the new variables and Lagrange-multipliers, without using a delta-form. Again, at the solution where all Hn = 0, then λ = g. In vicinity of the solution,

41 3.3. Canonical basis and linear constraints 25 the Lagrange multipliers give a second order approximation of the k + 1 gradient. 3.3 Canonical basis and linear constraints The Newton-Lagrange formulations (3.22) and (3.27) were stated for a system constrained to constant temperature and pressure, and by mass balance on component or atom basis. Other systems have other constraints. A closed container could be modeled at constant temperature and volume, or with constant volume and balance on energy and mass, or even with constraints on the chemical potentials, rather than mass, for membrane systems. The minimization problem associated with the choice of constraints follows from the basic equations for equilibrium as shown by Callen [1985]. At equilibrium, the combined system and reservoir/surroundings (r) is at minimum total energy when d(u + U (r) ) = 0 Energy conservation (3.29) d 2 (U + U (r) ) = d 2 U > 0 Minimum condition (3.30) This is the general form of the equilibrium conditions. Note that the minimum condition can be stated on U only, since the second order total differential with respect to the reservoir is zero: d 2 U (r) = j k 2 U (r) X (r) j X (r) k dx (r) j dx (r) k = 0. (3.31) Different formulations of the minimization problem can be chosen based on the system constraints. The most commonly used are stated here (from Callen [1985]): Helmholtz potential minimum principle. The equilibrium value of any unconstrained internal parameter in a system in diathermal contact with a heat reservoir minimizes the Helmholtz potential over the manifold of states for which T = T (r). Enthalpy minimum principle. The equilibrium value of any unconstrained internal parameter in a system in contact with a pressure reservoir minimizes the enthalpy over the manifold of states of constant pressure (equal to that of the pressure reservoir).

42 26 Modeling on a canonical basis Gibbs potential minimum principle. The equilibrium value of any unconstrained internal parameter in a system in contact with a thermal and a pressure reservoir minimizes the Gibbs potential at constant temperature and pressure (equal to those of the respective reservoirs). And this is further generalized to systems characterized by other extensive parameters in addition to the volume and mole numbers to yield The general minimum principle for Legendre transforms of the energy. The equilibrium value of any unconstrained internal parameter in a system in contact wth a set of reservoirs (with intensive parameters P (r) 1,P (r) 2,...) minimizes the thermodynamic potential L P1,P 2,...[U] at constant P 1,P 2,... (equal to P (r) 1,P (r) 2,... ). For other thermodynamic functions, involving variable substitution, e.g. Massieu-functions, the extremal condition can be reversed. Hence the equilibrium is found for the entropy function S when d 2 S > 0. In general, going from one formulation to another, the associated congruence transform of the Hessian will reveal whether the new function will have a minimum or a maximum at the equilibrium. If there is a sign change on the eigenvalues in the congruence transform, the extremal condition flips. Some transforms of the Hessians are shown in appendix B. This can be generalized even further to state the equilibrium problem in any Massieu function and set of Legendre transforms of a thermodynamic state function. Finding the extremal value (maximum or minimum, respectively) of these functions will give the equilibrium value of any unconstrained internal parameter. If the internal parameter is also the system constrained variable the extremal value problem will be a linearly constrained problem. This result should be emphasized, as it is of major importance: Given the constrained variables of the problem, seek the thermodynamic state function function that will have these constrained variables as free variables. The optimization problem of finding the equilibrium will then have linear constraints. Expressing the optimization problem in other variables than that of the explicit thermodynamic state function require the use of the Legendre transform and the Massieu function to model a manifold from an explicit thermodynamic surface. The functions from the set of possible transforms

Implementation of the Pertubed-Chain Statistical Association Fluid Theory Model

Implementation of the Pertubed-Chain Statistical Association Fluid Theory Model Implementation of the Pertubed-Chain Statistical Association Fluid Theory Model Bjørn Tore Løvfall Olaf Trygve Berglihn February 20, 2004 Abstract This report represents a workbook from the subject KP8108,

More information

DISTILLATION. Keywords: Phase Equilibrium, Isothermal Flash, Adiabatic Flash, Batch Distillation

DISTILLATION. Keywords: Phase Equilibrium, Isothermal Flash, Adiabatic Flash, Batch Distillation 25 DISTILLATION Keywords: Phase Equilibrium, Isothermal Flash, Adiabatic Flash, Batch Distillation Distillation refers to the physical separation of a mixture into two or more fractions that have different

More information

Vectors. January 13, 2013

Vectors. January 13, 2013 Vectors January 13, 2013 The simplest tensors are scalars, which are the measurable quantities of a theory, left invariant by symmetry transformations. By far the most common non-scalars are the vectors,

More information

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra. DS-GA 1002 Lecture notes 0 Fall 2016 Linear Algebra These notes provide a review of basic concepts in linear algebra. 1 Vector spaces You are no doubt familiar with vectors in R 2 or R 3, i.e. [ ] 1.1

More information

Chapter 3. Property Relations The essence of macroscopic thermodynamics Dependence of U, H, S, G, and F on T, P, V, etc.

Chapter 3. Property Relations The essence of macroscopic thermodynamics Dependence of U, H, S, G, and F on T, P, V, etc. Chapter 3 Property Relations The essence of macroscopic thermodynamics Dependence of U, H, S, G, and F on T, P, V, etc. Concepts Energy functions F and G Chemical potential, µ Partial Molar properties

More information

Thermodynamics of phase transitions

Thermodynamics of phase transitions Thermodynamics of phase transitions Katarzyna Sznajd-Weron Department of Theoretical of Physics Wroc law University of Science and Technology, Poland March 12, 2017 Katarzyna Sznajd-Weron (WUST) Thermodynamics

More information

Computational Fluid Dynamics Prof. Dr. Suman Chakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Computational Fluid Dynamics Prof. Dr. Suman Chakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur Computational Fluid Dynamics Prof. Dr. Suman Chakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur Lecture No. #12 Fundamentals of Discretization: Finite Volume Method

More information

Chapter 3. Entropy, temperature, and the microcanonical partition function: how to calculate results with statistical mechanics.

Chapter 3. Entropy, temperature, and the microcanonical partition function: how to calculate results with statistical mechanics. Chapter 3. Entropy, temperature, and the microcanonical partition function: how to calculate results with statistical mechanics. The goal of equilibrium statistical mechanics is to calculate the density

More information

[S R (U 0 ɛ 1 ) S R (U 0 ɛ 2 ]. (0.1) k B

[S R (U 0 ɛ 1 ) S R (U 0 ɛ 2 ]. (0.1) k B Canonical ensemble (Two derivations) Determine the probability that a system S in contact with a reservoir 1 R to be in one particular microstate s with energy ɛ s. (If there is degeneracy we are picking

More information

cha1873x_p02.qxd 3/21/05 1:01 PM Page 104 PART TWO

cha1873x_p02.qxd 3/21/05 1:01 PM Page 104 PART TWO cha1873x_p02.qxd 3/21/05 1:01 PM Page 104 PART TWO ROOTS OF EQUATIONS PT2.1 MOTIVATION Years ago, you learned to use the quadratic formula x = b ± b 2 4ac 2a to solve f(x) = ax 2 + bx + c = 0 (PT2.1) (PT2.2)

More information

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education MTH 3 Linear Algebra Study Guide Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education June 3, ii Contents Table of Contents iii Matrix Algebra. Real Life

More information

5 Handling Constraints

5 Handling Constraints 5 Handling Constraints Engineering design optimization problems are very rarely unconstrained. Moreover, the constraints that appear in these problems are typically nonlinear. This motivates our interest

More information

Numerical methods for the Navier- Stokes equations

Numerical methods for the Navier- Stokes equations Numerical methods for the Navier- Stokes equations Hans Petter Langtangen 1,2 1 Center for Biomedical Computing, Simula Research Laboratory 2 Department of Informatics, University of Oslo Dec 6, 2012 Note:

More information

8.1 Bifurcations of Equilibria

8.1 Bifurcations of Equilibria 1 81 Bifurcations of Equilibria Bifurcation theory studies qualitative changes in solutions as a parameter varies In general one could study the bifurcation theory of ODEs PDEs integro-differential equations

More information

Modelling Physical Phenomena

Modelling Physical Phenomena Modelling Physical Phenomena Limitations and Challenges of the Differential Algebraic Equations Approach Olaf Trygve Berglihn Department of Chemical Engineering 30. June 2010 2 Outline Background Classification

More information

NENG 301 Week 8 Unary Heterogeneous Systems (DeHoff, Chap. 7, Chap )

NENG 301 Week 8 Unary Heterogeneous Systems (DeHoff, Chap. 7, Chap ) NENG 301 Week 8 Unary Heterogeneous Systems (DeHoff, Chap. 7, Chap. 5.3-5.4) Learning objectives for Chapter 7 At the end of this chapter you will be able to: Understand the general features of a unary

More information

Chapter 2 Ensemble Theory in Statistical Physics: Free Energy Potential

Chapter 2 Ensemble Theory in Statistical Physics: Free Energy Potential Chapter Ensemble Theory in Statistical Physics: Free Energy Potential Abstract In this chapter, we discuss the basic formalism of statistical physics Also, we consider in detail the concept of the free

More information

Lecture Notes: Geometric Considerations in Unconstrained Optimization

Lecture Notes: Geometric Considerations in Unconstrained Optimization Lecture Notes: Geometric Considerations in Unconstrained Optimization James T. Allison February 15, 2006 The primary objectives of this lecture on unconstrained optimization are to: Establish connections

More information

Some properties of the Helmholtz free energy

Some properties of the Helmholtz free energy Some properties of the Helmholtz free energy Energy slope is T U(S, ) From the properties of U vs S, it is clear that the Helmholtz free energy is always algebraically less than the internal energy U.

More information

Trust Regions. Charles J. Geyer. March 27, 2013

Trust Regions. Charles J. Geyer. March 27, 2013 Trust Regions Charles J. Geyer March 27, 2013 1 Trust Region Theory We follow Nocedal and Wright (1999, Chapter 4), using their notation. Fletcher (1987, Section 5.1) discusses the same algorithm, but

More information

The Euler Equation. Using the additive property of the internal energy U, we can derive a useful thermodynamic relation the Euler equation.

The Euler Equation. Using the additive property of the internal energy U, we can derive a useful thermodynamic relation the Euler equation. The Euler Equation Using the additive property of the internal energy U, we can derive a useful thermodynamic relation the Euler equation. Let us differentiate this extensivity condition with respect to

More information

Math and Numerical Methods Review

Math and Numerical Methods Review Math and Numerical Methods Review Michael Caracotsios, Ph.D. Clinical Associate Professor Chemical Engineering Department University of Illinois at Chicago Introduction In the study of chemical engineering

More information

Grand Canonical Formalism

Grand Canonical Formalism Grand Canonical Formalism Grand Canonical Ensebmle For the gases of ideal Bosons and Fermions each single-particle mode behaves almost like an independent subsystem, with the only reservation that the

More information

CHEMISTRY 443, Fall, 2014 (14F) Section Number: 10 Examination 2, November 5, 2014

CHEMISTRY 443, Fall, 2014 (14F) Section Number: 10 Examination 2, November 5, 2014 NAME: CHEMISTRY 443, Fall, 2014 (14F) Section Number: 10 Examination 2, November 5, 2014 Answer each question in the space provided; use back of page if extra space is needed. Answer questions so the grader

More information

6. MESH ANALYSIS 6.1 INTRODUCTION

6. MESH ANALYSIS 6.1 INTRODUCTION 6. MESH ANALYSIS INTRODUCTION PASSIVE SIGN CONVENTION PLANAR CIRCUITS FORMATION OF MESHES ANALYSIS OF A SIMPLE CIRCUIT DETERMINANT OF A MATRIX CRAMER S RULE GAUSSIAN ELIMINATION METHOD EXAMPLES FOR MESH

More information

General Gibbs Minimization as an Approach to Equilibrium

General Gibbs Minimization as an Approach to Equilibrium General Gibbs Minimization as an Approach to Equilibrium Most of us have used the equilibrium constant approach to find equilibrium compositions for simple systems. This requires you to hypothesize equilibrium

More information

Decentralized Stabilization of Heterogeneous Linear Multi-Agent Systems

Decentralized Stabilization of Heterogeneous Linear Multi-Agent Systems 1 Decentralized Stabilization of Heterogeneous Linear Multi-Agent Systems Mauro Franceschelli, Andrea Gasparri, Alessandro Giua, and Giovanni Ulivi Abstract In this paper the formation stabilization problem

More information

Convexity in R n. The following lemma will be needed in a while. Lemma 1 Let x E, u R n. If τ I(x, u), τ 0, define. f(x + τu) f(x). τ.

Convexity in R n. The following lemma will be needed in a while. Lemma 1 Let x E, u R n. If τ I(x, u), τ 0, define. f(x + τu) f(x). τ. Convexity in R n Let E be a convex subset of R n. A function f : E (, ] is convex iff f(tx + (1 t)y) (1 t)f(x) + tf(y) x, y E, t [0, 1]. A similar definition holds in any vector space. A topology is needed

More information

Chemical Equilibrium: A Convex Optimization Problem

Chemical Equilibrium: A Convex Optimization Problem Chemical Equilibrium: A Convex Optimization Problem Linyi Gao June 4, 2014 1 Introduction The equilibrium composition of a mixture of reacting molecules is essential to many physical and chemical systems,

More information

Phase Transitions. µ a (P c (T ), T ) µ b (P c (T ), T ), (3) µ a (P, T c (P )) µ b (P, T c (P )). (4)

Phase Transitions. µ a (P c (T ), T ) µ b (P c (T ), T ), (3) µ a (P, T c (P )) µ b (P, T c (P )). (4) Phase Transitions A homogeneous equilibrium state of matter is the most natural one, given the fact that the interparticle interactions are translationally invariant. Nevertheless there is no contradiction

More information

0. Introduction 1 0. INTRODUCTION

0. Introduction 1 0. INTRODUCTION 0. Introduction 1 0. INTRODUCTION In a very rough sketch we explain what algebraic geometry is about and what it can be used for. We stress the many correlations with other fields of research, such as

More information

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS chapter MORE MATRIX ALGEBRA GOALS In Chapter we studied matrix operations and the algebra of sets and logic. We also made note of the strong resemblance of matrix algebra to elementary algebra. The reader

More information

Vector Spaces. Vector space, ν, over the field of complex numbers, C, is a set of elements a, b,..., satisfying the following axioms.

Vector Spaces. Vector space, ν, over the field of complex numbers, C, is a set of elements a, b,..., satisfying the following axioms. Vector Spaces Vector space, ν, over the field of complex numbers, C, is a set of elements a, b,..., satisfying the following axioms. For each two vectors a, b ν there exists a summation procedure: a +

More information

Linear Algebra. Preliminary Lecture Notes

Linear Algebra. Preliminary Lecture Notes Linear Algebra Preliminary Lecture Notes Adolfo J. Rumbos c Draft date April 29, 23 2 Contents Motivation for the course 5 2 Euclidean n dimensional Space 7 2. Definition of n Dimensional Euclidean Space...........

More information

NOTES ON LINEAR ALGEBRA CLASS HANDOUT

NOTES ON LINEAR ALGEBRA CLASS HANDOUT NOTES ON LINEAR ALGEBRA CLASS HANDOUT ANTHONY S. MAIDA CONTENTS 1. Introduction 2 2. Basis Vectors 2 3. Linear Transformations 2 3.1. Example: Rotation Transformation 3 4. Matrix Multiplication and Function

More information

Basic Aspects of Discretization

Basic Aspects of Discretization Basic Aspects of Discretization Solution Methods Singularity Methods Panel method and VLM Simple, very powerful, can be used on PC Nonlinear flow effects were excluded Direct numerical Methods (Field Methods)

More information

THEODORE VORONOV DIFFERENTIABLE MANIFOLDS. Fall Last updated: November 26, (Under construction.)

THEODORE VORONOV DIFFERENTIABLE MANIFOLDS. Fall Last updated: November 26, (Under construction.) 4 Vector fields Last updated: November 26, 2009. (Under construction.) 4.1 Tangent vectors as derivations After we have introduced topological notions, we can come back to analysis on manifolds. Let M

More information

The Maxwell Relations

The Maxwell Relations CHEM 331 Physical Chemistry Fall 2017 The Maxwell Relations We now turn to one last and very useful consequence of the thermodynamic state functions we have been considering. Each of these potentials (U,

More information

Quantities and Variables in Thermodynamics. Alexander Miles

Quantities and Variables in Thermodynamics. Alexander Miles Quantities and Variables in Thermodynamics Alexander Miles AlexanderAshtonMiles@gmail.com Written: December 8, 2008 Last edit: December 28, 2008 Thermodynamics has a very large number of variables, spanning

More information

Some Notes on Linear Algebra

Some Notes on Linear Algebra Some Notes on Linear Algebra prepared for a first course in differential equations Thomas L Scofield Department of Mathematics and Statistics Calvin College 1998 1 The purpose of these notes is to present

More information

Multivariable Calculus

Multivariable Calculus Multivariable Calculus In thermodynamics, we will frequently deal with functions of more than one variable e.g., P PT, V, n, U UT, V, n, U UT, P, n U = energy n = # moles etensive variable: depends on

More information

Hill s nano-thermodynamics is equivalent with Gibbs thermodynamics for curved surfaces

Hill s nano-thermodynamics is equivalent with Gibbs thermodynamics for curved surfaces Hill s nano-thermodynamics is equivalent with Gibbs thermodynamics for curved surfaces arxiv:1806.03444v1 [physics.chem-ph] 9 Jun 2018 Dick Bedeaux and Signe Kjelstrup Porelab, Department of Chemistry,

More information

Properties of Entropy

Properties of Entropy Properties of Entropy Due to its additivity, entropy is a homogeneous function of the extensive coordinates of the system: S(λU, λv, λn 1,, λn m ) = λ S (U, V, N 1,, N m ) This means we can write the entropy

More information

Legendre-Fenchel transforms in a nutshell

Legendre-Fenchel transforms in a nutshell 1 2 3 Legendre-Fenchel transforms in a nutshell Hugo Touchette School of Mathematical Sciences, Queen Mary, University of London, London E1 4NS, UK Started: July 11, 2005; last compiled: August 14, 2007

More information

4.1 Constant (T, V, n) Experiments: The Helmholtz Free Energy

4.1 Constant (T, V, n) Experiments: The Helmholtz Free Energy Chapter 4 Free Energies The second law allows us to determine the spontaneous direction of of a process with constant (E, V, n). Of course, there are many processes for which we cannot control (E, V, n)

More information

Dually Flat Geometries in the State Space of Statistical Models

Dually Flat Geometries in the State Space of Statistical Models 1/ 12 Dually Flat Geometries in the State Space of Statistical Models Jan Naudts Universiteit Antwerpen ECEA, November 2016 J. Naudts, Dually Flat Geometries in the State Space of Statistical Models. In

More information

Thermodynamics (Classical) for Biological Systems Prof. G. K. Suraishkumar Department of Biotechnology Indian Institute of Technology Madras

Thermodynamics (Classical) for Biological Systems Prof. G. K. Suraishkumar Department of Biotechnology Indian Institute of Technology Madras Thermodynamics (Classical) for Biological Systems Prof. G. K. Suraishkumar Department of Biotechnology Indian Institute of Technology Madras Module No. # 02 Additional Thermodynamic Functions Lecture No.

More information

PVTpetro: A COMPUTATIONAL TOOL FOR ISOTHERM TWO- PHASE PT-FLASH CALCULATION IN OIL-GAS SYSTEMS

PVTpetro: A COMPUTATIONAL TOOL FOR ISOTHERM TWO- PHASE PT-FLASH CALCULATION IN OIL-GAS SYSTEMS PVTpetro: A COMPUTATIONAL TOOL FOR ISOTHERM TWO- PHASE PT-FLASH CALCULATION IN OIL-GAS SYSTEMS A. M. BARBOSA NETO 1, A. C. BANNWART 1 1 University of Campinas, Mechanical Engineering Faculty, Energy Department

More information

Numerical Methods I Solving Nonlinear Equations

Numerical Methods I Solving Nonlinear Equations Numerical Methods I Solving Nonlinear Equations Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 MATH-GA 2011.003 / CSCI-GA 2945.003, Fall 2014 October 16th, 2014 A. Donev (Courant Institute)

More information

UNIVERSITY OF NORTH ALABAMA MA 110 FINITE MATHEMATICS

UNIVERSITY OF NORTH ALABAMA MA 110 FINITE MATHEMATICS MA 110 FINITE MATHEMATICS Course Description. This course is intended to give an overview of topics in finite mathematics together with their applications and is taken primarily by students who are not

More information

Computational Fluid Dynamics Prof. Dr. SumanChakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Computational Fluid Dynamics Prof. Dr. SumanChakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur Computational Fluid Dynamics Prof. Dr. SumanChakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur Lecture No. #11 Fundamentals of Discretization: Finite Difference

More information

MIDLAND ISD ADVANCED PLACEMENT CURRICULUM STANDARDS AP CALCULUS BC

MIDLAND ISD ADVANCED PLACEMENT CURRICULUM STANDARDS AP CALCULUS BC Curricular Requirement 1: The course teaches all topics associated with Functions, Graphs, and Limits; Derivatives; Integrals; and Polynomial Approximations and Series as delineated in the Calculus BC

More information

for changing independent variables. Most simply for a function f(x) the Legendre transformation f(x) B(s) takes the form B(s) = xs f(x) with s = df

for changing independent variables. Most simply for a function f(x) the Legendre transformation f(x) B(s) takes the form B(s) = xs f(x) with s = df Physics 106a, Caltech 1 November, 2018 Lecture 10: Hamiltonian Mechanics I The Hamiltonian In the Hamiltonian formulation of dynamics each second order ODE given by the Euler- Lagrange equation in terms

More information

Process modelling on a canonical basis

Process modelling on a canonical basis Volker Siepmann Process modelling on a canonical basis Doctoral thesis for the degree of doktor ingeniør Trondheim, July 2006 Norwegian University of Science and Technology Faculty of Natural Sciences

More information

Max Margin-Classifier

Max Margin-Classifier Max Margin-Classifier Oliver Schulte - CMPT 726 Bishop PRML Ch. 7 Outline Maximum Margin Criterion Math Maximizing the Margin Non-Separable Data Kernels and Non-linear Mappings Where does the maximization

More information

Theoretical Models of Chemical Processes

Theoretical Models of Chemical Processes Theoretical Models of Chemical Processes Dr. M. A. A. Shoukat Choudhury 1 Rationale for Dynamic Models 1. Improve understanding of the process 2. Train Plant operating personnel 3. Develop control strategy

More information

Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University

Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University Linear Algebra Done Wrong Sergei Treil Department of Mathematics, Brown University Copyright c Sergei Treil, 2004, 2009 Preface The title of the book sounds a bit mysterious. Why should anyone read this

More information

Chapter 1. The Noble Eightfold Path to Linear Regression

Chapter 1. The Noble Eightfold Path to Linear Regression Chapter 1 The Noble Eightfold Path to Linear Regression In this chapter, I show several di erent ways of solving the linear regression problem. The di erent approaches are interesting in their own way.

More information

Review for Exam 2 Ben Wang and Mark Styczynski

Review for Exam 2 Ben Wang and Mark Styczynski Review for Exam Ben Wang and Mark Styczynski This is a rough approximation of what we went over in the review session. This is actually more detailed in portions than what we went over. Also, please note

More information

Module 1. Probability

Module 1. Probability Module 1 Probability 1. Introduction In our daily life we come across many processes whose nature cannot be predicted in advance. Such processes are referred to as random processes. The only way to derive

More information

1 Introduction. 1.1 Introduction to the Book

1 Introduction. 1.1 Introduction to the Book 1 Introduction 1.1 Introduction to the Book To solve increasingly complicated open research problems, it is crucial to develop useful mathematical tools. Often, the task of a researcher or an engineer

More information

Optimization and Optimal Control in Banach Spaces

Optimization and Optimal Control in Banach Spaces Optimization and Optimal Control in Banach Spaces Bernhard Schmitzer October 19, 2017 1 Convex non-smooth optimization with proximal operators Remark 1.1 (Motivation). Convex optimization: easier to solve,

More information

Appendix A Taylor Approximations and Definite Matrices

Appendix A Taylor Approximations and Definite Matrices Appendix A Taylor Approximations and Definite Matrices Taylor approximations provide an easy way to approximate a function as a polynomial, using the derivatives of the function. We know, from elementary

More information

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations. POLI 7 - Mathematical and Statistical Foundations Prof S Saiegh Fall Lecture Notes - Class 4 October 4, Linear Algebra The analysis of many models in the social sciences reduces to the study of systems

More information

Chapter 7 PHASE EQUILIBRIUM IN A ONE-COMPONENT SYSTEM

Chapter 7 PHASE EQUILIBRIUM IN A ONE-COMPONENT SYSTEM Chapter 7 PHASE EQUILIBRIUM IN A ONE-COMPONENT SYSTEM 7.1 INTRODUCTION The intensive thermodynamic properties of a system are temperature, pressure, and the chemical potentials of the various species occurring

More information

Structural and Multidisciplinary Optimization. P. Duysinx and P. Tossings

Structural and Multidisciplinary Optimization. P. Duysinx and P. Tossings Structural and Multidisciplinary Optimization P. Duysinx and P. Tossings 2018-2019 CONTACTS Pierre Duysinx Institut de Mécanique et du Génie Civil (B52/3) Phone number: 04/366.91.94 Email: P.Duysinx@uliege.be

More information

2 Equations of Motion

2 Equations of Motion 2 Equations of Motion system. In this section, we will derive the six full equations of motion in a non-rotating, Cartesian coordinate 2.1 Six equations of motion (non-rotating, Cartesian coordinates)

More information

Multivector Calculus

Multivector Calculus In: J. Math. Anal. and Appl., ol. 24, No. 2, c Academic Press (1968) 313 325. Multivector Calculus David Hestenes INTRODUCTION The object of this paper is to show how differential and integral calculus

More information

Chapter 4: First-order differential equations. Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey

Chapter 4: First-order differential equations. Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey Chapter 4: First-order differential equations Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey Chapter 4: First-order differential equations Phase portrait Singular point Separatrix

More information

Reactor Design within Excel Enabled by Rigorous Physical Properties and an Advanced Numerical Computation Package

Reactor Design within Excel Enabled by Rigorous Physical Properties and an Advanced Numerical Computation Package Reactor Design within Excel Enabled by Rigorous Physical Properties and an Advanced Numerical Computation Package Mordechai Shacham Department of Chemical Engineering Ben Gurion University of the Negev

More information

Linear Algebra. Preliminary Lecture Notes

Linear Algebra. Preliminary Lecture Notes Linear Algebra Preliminary Lecture Notes Adolfo J. Rumbos c Draft date May 9, 29 2 Contents 1 Motivation for the course 5 2 Euclidean n dimensional Space 7 2.1 Definition of n Dimensional Euclidean Space...........

More information

On Two Flash Methods for Compositional Reservoir Simulations: Table Look-up and Reduced Variables

On Two Flash Methods for Compositional Reservoir Simulations: Table Look-up and Reduced Variables 32 nd IEA EOR Annual Symposium & Workshop On Two Flash Methods for Compositional Reservoir Simulations: Table Look-up and Reduced Variables Wei Yan, Michael L. Michelsen, Erling H. Stenby, Abdelkrim Belkadi

More information

Multi-Robotic Systems

Multi-Robotic Systems CHAPTER 9 Multi-Robotic Systems The topic of multi-robotic systems is quite popular now. It is believed that such systems can have the following benefits: Improved performance ( winning by numbers ) Distributed

More information

Dynamic Simulation of Heat Exchanger with Multicomponent Phase Change

Dynamic Simulation of Heat Exchanger with Multicomponent Phase Change Dynamic Simulation of Heat Exchanger with Multicomponent Phase Change Cristina Florina Zotica Chemical Engineering Submission date: June 2017 Supervisor: Sigurd Skogestad, IKP Norwegian University of Science

More information

Page 52. Lecture 3: Inner Product Spaces Dual Spaces, Dirac Notation, and Adjoints Date Revised: 2008/10/03 Date Given: 2008/10/03

Page 52. Lecture 3: Inner Product Spaces Dual Spaces, Dirac Notation, and Adjoints Date Revised: 2008/10/03 Date Given: 2008/10/03 Page 5 Lecture : Inner Product Spaces Dual Spaces, Dirac Notation, and Adjoints Date Revised: 008/10/0 Date Given: 008/10/0 Inner Product Spaces: Definitions Section. Mathematical Preliminaries: Inner

More information

Classical Thermodynamics. Dr. Massimo Mella School of Chemistry Cardiff University

Classical Thermodynamics. Dr. Massimo Mella School of Chemistry Cardiff University Classical Thermodynamics Dr. Massimo Mella School of Chemistry Cardiff University E-mail:MellaM@cardiff.ac.uk The background The field of Thermodynamics emerged as a consequence of the necessity to understand

More information

An introduction to Birkhoff normal form

An introduction to Birkhoff normal form An introduction to Birkhoff normal form Dario Bambusi Dipartimento di Matematica, Universitá di Milano via Saldini 50, 0133 Milano (Italy) 19.11.14 1 Introduction The aim of this note is to present an

More information

Notes on Cellwise Data Interpolation for Visualization Xavier Tricoche

Notes on Cellwise Data Interpolation for Visualization Xavier Tricoche Notes on Cellwise Data Interpolation for Visualization Xavier Tricoche urdue University While the data (computed or measured) used in visualization is only available in discrete form, it typically corresponds

More information

CS 542G: Robustifying Newton, Constraints, Nonlinear Least Squares

CS 542G: Robustifying Newton, Constraints, Nonlinear Least Squares CS 542G: Robustifying Newton, Constraints, Nonlinear Least Squares Robert Bridson October 29, 2008 1 Hessian Problems in Newton Last time we fixed one of plain Newton s problems by introducing line search

More information

Thermodynamics Review [?] Entropy & thermodynamic potentials Hydrostatic equilibrium & buoyancy Stability [dry & moist adiabatic]

Thermodynamics Review [?] Entropy & thermodynamic potentials Hydrostatic equilibrium & buoyancy Stability [dry & moist adiabatic] Thermodynamics Review [?] Entropy & thermodynamic potentials Hydrostatic equilibrium & buoyancy Stability [dry & moist adiabatic] Entropy 1. (Thermodynamics) a thermodynamic quantity that changes in a

More information

Linearization of Differential Equation Models

Linearization of Differential Equation Models Linearization of Differential Equation Models 1 Motivation We cannot solve most nonlinear models, so we often instead try to get an overall feel for the way the model behaves: we sometimes talk about looking

More information

Constrained Optimization

Constrained Optimization 1 / 22 Constrained Optimization ME598/494 Lecture Max Yi Ren Department of Mechanical Engineering, Arizona State University March 30, 2015 2 / 22 1. Equality constraints only 1.1 Reduced gradient 1.2 Lagrange

More information

Tangent spaces, normals and extrema

Tangent spaces, normals and extrema Chapter 3 Tangent spaces, normals and extrema If S is a surface in 3-space, with a point a S where S looks smooth, i.e., without any fold or cusp or self-crossing, we can intuitively define the tangent

More information

Matrix Derivatives and Descent Optimization Methods

Matrix Derivatives and Descent Optimization Methods Matrix Derivatives and Descent Optimization Methods 1 Qiang Ning Department of Electrical and Computer Engineering Beckman Institute for Advanced Science and Techonology University of Illinois at Urbana-Champaign

More information

Math (P)Review Part II:

Math (P)Review Part II: Math (P)Review Part II: Vector Calculus Computer Graphics Assignment 0.5 (Out today!) Same story as last homework; second part on vector calculus. Slightly fewer questions Last Time: Linear Algebra Touched

More information

Numerical Methods for Engineers

Numerical Methods for Engineers Numerical Methods for Engineers SEVENTH EDITION Steven C Chopra Berger Chair in Computing and Engineering Tufts University Raymond P. Canal Professor Emeritus of Civil Engineering of Michiaan University

More information

Mathematics that Every Physicist should Know: Scalar, Vector, and Tensor Fields in the Space of Real n- Dimensional Independent Variable with Metric

Mathematics that Every Physicist should Know: Scalar, Vector, and Tensor Fields in the Space of Real n- Dimensional Independent Variable with Metric Mathematics that Every Physicist should Know: Scalar, Vector, and Tensor Fields in the Space of Real n- Dimensional Independent Variable with Metric By Y. N. Keilman AltSci@basicisp.net Every physicist

More information

Linear Algebra Massoud Malek

Linear Algebra Massoud Malek CSUEB Linear Algebra Massoud Malek Inner Product and Normed Space In all that follows, the n n identity matrix is denoted by I n, the n n zero matrix by Z n, and the zero vector by θ n An inner product

More information

Linear Programming in Matrix Form

Linear Programming in Matrix Form Linear Programming in Matrix Form Appendix B We first introduce matrix concepts in linear programming by developing a variation of the simplex method called the revised simplex method. This algorithm,

More information

Linear Programming Redux

Linear Programming Redux Linear Programming Redux Jim Bremer May 12, 2008 The purpose of these notes is to review the basics of linear programming and the simplex method in a clear, concise, and comprehensive way. The book contains

More information

MTH 2032 Semester II

MTH 2032 Semester II MTH 232 Semester II 2-2 Linear Algebra Reference Notes Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education December 28, 2 ii Contents Table of Contents

More information

Foliations of hyperbolic space by constant mean curvature surfaces sharing ideal boundary

Foliations of hyperbolic space by constant mean curvature surfaces sharing ideal boundary Foliations of hyperbolic space by constant mean curvature surfaces sharing ideal boundary David Chopp and John A. Velling December 1, 2003 Abstract Let γ be a Jordan curve in S 2, considered as the ideal

More information

g(x,y) = c. For instance (see Figure 1 on the right), consider the optimization problem maximize subject to

g(x,y) = c. For instance (see Figure 1 on the right), consider the optimization problem maximize subject to 1 of 11 11/29/2010 10:39 AM From Wikipedia, the free encyclopedia In mathematical optimization, the method of Lagrange multipliers (named after Joseph Louis Lagrange) provides a strategy for finding the

More information

Analysis of Ordinary Differential Equations

Analysis of Ordinary Differential Equations Analysis of Ordinary Differential Equations J. M. Cushing Department of Mathematics Interdisciplinary Program in Applied Mathematics University of Arizona, Tucson, AZ Version 5 August 208 Copyright 208,

More information

Hilbert Spaces. Hilbert space is a vector space with some extra structure. We start with formal (axiomatic) definition of a vector space.

Hilbert Spaces. Hilbert space is a vector space with some extra structure. We start with formal (axiomatic) definition of a vector space. Hilbert Spaces Hilbert space is a vector space with some extra structure. We start with formal (axiomatic) definition of a vector space. Vector Space. Vector space, ν, over the field of complex numbers,

More information

Advanced Chemical Reaction Engineering Prof. H. S. Shankar Department of Chemical Engineering IIT Bombay. Lecture - 03 Design Equations-1

Advanced Chemical Reaction Engineering Prof. H. S. Shankar Department of Chemical Engineering IIT Bombay. Lecture - 03 Design Equations-1 (Refer Slide Time: 00:19) Advanced Chemical Reaction Engineering Prof. H. S. Shankar Department of Chemical Engineering IIT Bombay Lecture - 03 Design Equations-1 We are looking at advanced reaction engineering;

More information

Vector Spaces. Chapter 1

Vector Spaces. Chapter 1 Chapter 1 Vector Spaces Linear algebra is the study of linear maps on finite-dimensional vector spaces. Eventually we will learn what all these terms mean. In this chapter we will define vector spaces

More information

Lecture 1: Basics Concepts

Lecture 1: Basics Concepts National Technical University of Athens School of Chemical Engineering Department II: Process Analysis and Plant Design Lecture 1: Basics Concepts Instructor: Α. Kokossis Laboratory teaching staff: Α.

More information

Analytical Mechanics for Relativity and Quantum Mechanics

Analytical Mechanics for Relativity and Quantum Mechanics Analytical Mechanics for Relativity and Quantum Mechanics Oliver Davis Johns San Francisco State University OXPORD UNIVERSITY PRESS CONTENTS Dedication Preface Acknowledgments v vii ix PART I INTRODUCTION:

More information

Some Background Material

Some Background Material Chapter 1 Some Background Material In the first chapter, we present a quick review of elementary - but important - material as a way of dipping our toes in the water. This chapter also introduces important

More information