### Transcription of P & I Design Ltd - Chemstations

1 P & I **Design** Ltd Process Instrumentation Consultancy & **Design** 2 Reed Street, Gladstone Industrial Estate, Thornaby, TS17 7AF, United Kingdom. Tel. +44 (0) 1642 617444 Fax. +44 (0) 1642 616447. Web Site: PROCESS MODELLING. SELECTION OF. THERMODYNAMIC METHODS. by John E. Edwards MNL031B 10/08. PAGE 1 OF 38. Process Modelling Selection of Thermodynamic Methods Contents Introduction Thermodynamic Fundamentals Thermodynamic Energies Gibbs Phase Rule Enthalpy Thermodynamics of Real Processes System Phases Single Phase Gas Liquid Phase Vapour liquid equilibrium Chemical Reactions Reaction Chemistry Reaction Chemistry Applied Summary Appendices I Enthalpy Calculations in **chemcad** . II Thermodynamic Model Synopsis Vapor Liquid Equilibrium III Thermodynamic Model Selection Application Tables IV K Model Henry's Law Review V Inert Gases and Infinitely Dilute Solutions VI Post Combustion Carbon Capture Thermodynamics VII Thermodynamic Guidance Note VIII Prediction of Physical Properties Figures 1 Ideal Solution Txy Diagram 2 Enthalpy Isobar 3 Thermodynamic Phases 4 van der Waals Equation of State 5 Relative Volatility in VLE Diagram 6 Azeotrope Value in VLE Diagram 7 VLE Diagram and Convergence Effects 8 **chemcad** K and H Values Wizard 9 Thermodynamic Model Decision Tree 10 K Value and Enthalpy Models Selection Basis PAGE 2 OF 38.

2 MNL 031B Issued November 2008, Prepared by of P & I **Design** Ltd, Teesside, UK Process Modelling Selection of Thermodynamic Methods References 1. Coffin, 23, 584-588 (1946), A Presentation of the Thermodynamic Functions . 2. Felder and Rousseau, Elementary Principles of Chemical Processes , 2nd Edition, John Wiley and Sons. 3. Reid, Prausnitz, Poling, The Properties of Gases and Liquids , 4th Edition, McGraw Hill. 4. I. Smallwood, Solvent Recovery Handbook , Edward Arnold, 1993. 5. , Chemical Engineers' Handbook , McGraw Hill. 6. , Compilation of Henry's Law Constants for Inorganic and Organic Species of Potential Importance in Environmental Chemistry , Max-Planck Institute, Version 3, April 1999. 7. , Concise Chemical Thermodynamics , van Rostrand Reinhold, 1969. 8. Kent, R. L. and Eisenberg, Hydrocarbon Processing, Feb. 1976, p. 87-92. 9. Shinskey, Process Control Systems , McGraw-Hill, 1967. 10. , Chemical Reaction Engineering , Wiley, 2nd Edition, 1972.

3 11. and , Workbook for Chemical Reactor Relief Sizing , HSE Contract Research Report 136/1998. 12. , Elements of Chemical Reaction Engineering , 3rd Edition, Prentice Hall, p122. 13. , Theories of Chemical Reaction Rates , New York, , 1979, p38. Acknowledgements This paper has been developed from experience gained whilst working in the simulation field. This work has been supported throughout by **Chemstations** , Houston, Texas, TX77042. and the author is particularly indebted to Aaron Herrick and David Hill for their continued and unstinting help. PAGE 3 OF 38. MNL 031B Issued November 2008, Prepared by of P & I **Design** Ltd, Teesside, UK Process Modelling Selection of Thermodynamic Methods INTRODUCTION. The selection of a suitable thermodynamic model for the prediction of the enthalpy-H and the phase equilibrium-K is fundamental to process modelling. An inappropriate model selection will result in convergence problems and erroneous results. Simulations are only valid when the appropriate thermodynamic model is being used.

4 The selection process is based on a detailed knowledge of thermodynamics and practical experience. Most simulators are provided with Wizards to aid selection which should be used with caution. The selection process is guided by considering the following:- Process species and compositions. Pressure and temperature operating ranges. System phases involved. Nature of the fluids. Availability of data. There are four categories of thermodynamic models:- Equations-of-State (E-o-S). Activity coefficient ( ). Empirical Special system specific This paper is not intended to be a rigorous analysis of the methods available or in their selection but is offered as an aide memoire to the practicing engineer who is looking for rapid, realistic results from his process models. The study of complex systems invariably involves extensive research and considerable investment in manpower effort by specialists. There are extensive sources of physical property data available from organisations such as DECHEMA , DIPPR.

5 , T V NEL Ltd amongst others. This paper presents selection methods developed in discussions with engineers in the field. The validity of the thermodynamic models being used should be tested against known data whenever possible. PAGE 4 OF 38. MNL 031B Issued November 2008, Prepared by of P & I **Design** Ltd, Teesside, UK Process Modelling Selection of Thermodynamic Methods THERMODYNAMIC FUNDAMENTALS. Thermodynamic Energies(1). The thermodynamic fundamentals of fluid states in relation to energies and phase behaviour needs to be thoroughly understood. Four thermodynamic variables determine six thermodynamic energies: Intensive variables Extensive variables (capacity). Pressure (P) Volume (V). Temperature (T) Entropy (S). We define thermodynamic energy as follows: Energy = Intensive variable x Extensive variable P or T V or S. TS represents internal bound energy isothermally unavailable. PV represents external free energy. Helmholtz Free Energy (F) is the Internal Energy available for work and is part of the Internal Energy (U).

6 We have the following energy relationships: Internal Energy U =T S +F. Gibbs Free Energy G =F +P V. Enthalpy H =T S +F +P V. H =U +P V. When considering chemical reactions we have Chemical Energy = Chemical Potential Factor x Capacity Factor (. dU = i i dni 0. ). Where dni is change in species i moles i is chemical potential species i dU = T dS P dV + i dni i For equilibrium i dni = 0. i Other equilibrium conditions dF = 0 (constV & T) dG = 0 (constP & T). dU = 0 (constS & V ) dH = 0 (constS & P ). It can be shown that G = i ni i PAGE 5 OF 38. MNL 031B Issued November 2008, Prepared by of P & I **Design** Ltd, Teesside, UK Process Modelling Selection of Thermodynamic Methods Gibbs Phase Rule(2). The variables that define a process condition are in two categories Extensive variables moles, mass, volume Intensive variables temperature, pressure, density, specific volume, mass and mole fractions of components i. The number of intensive variables that can be independently specified for a system at equilibrium is called the number of degrees of freedom F and is given by the Gibbs Phase Rule.

7 In a system involving no reactions this is given by: F = 2 +m p Where m = no of chemical species i p = number of system phases With r independent reactions at equilibrium F = 2 +m r p When defining a stream condition in the model the phase rule applies. Consider a single component liquid in equilibrium with its vapour and an inert. Giving m = 2 p = 2 F = 2. Two variables P and T or Vapour fraction (v) with T or P will define the stream. For a binary liquid system one degree of freedom is consumed by the composition leaving either P or T to be specified. In a VLE system it is preferable to specify P which then allows system analysis using Txy plots. When setting up a Flash UnitOp applying the phase rule will ensure that the relevant flash conditions are being set. The stream flash calculation can be used to determine the boiling point and dew point of mixtures with and without inerts present by applying the following: The bubble point of a liquid at the given pressure is determined by a flash calculation at a vapour fraction of 0.

8 The dew point of a vapour at the given pressure is determined by a flash calculation at a vapour fraction of 1. Note that for a pure component the bubble point and the dew point are identical so a flash calculation at a vapour fraction of 0 or 1 will yield the same result Figure 1 shows the Txy diagram for Benzene/Toluene, a near ideal mixture. The bubble point for a given composition is read directly from the liquid curve and the dew point is read directly from the vapour curve. PAGE 6 OF 38. MNL 031B Issued November 2008, Prepared by of P & I **Design** Ltd, Teesside, UK Process Modelling Selection of Thermodynamic Methods Gibbs Phase Rule(2)(Cont). The bubble point of a mixture is determined by trial and error from value of Tbp that satisfies: *. P = xi pi Tbp ( ). The dewpoint of a mixture is determined by trial and error from value of Tdp that satisfies: . yi P . =1. i ( ). p* Tdp .. The following table is presented as an aide memoire to show the relationships between volumes, moles, and mass.

9 Table Presenting Molar and Mass Relationships for Mixture with i Species Volume in Mass in 1 Molar MW % Mass Flow %. Component 1 m3 m3 % w/w Flow v/v mol kg/kmol m3/m3 kg/m3 kg/h kmol/h PA PAMA 100 P A M A W PA MA W PA. A MA PA VA = PA. 100 Pi M i Pi M i Pi M i PB PB MB 100 PB M B W PB M B W PB. B MB PB VB = PB. 100 Pi M i Pi M i Pi M i PC PC MC 100 PC MC W PC M C W PC. C MC PC VC = PC. 100 Pi M i Pi M i Pi M i Total 100 1. Pi Mi 100 W. 100 W. 100. Pi M i Acknowledgements to the late Doug Lindsley for this format. We have defined: 1 g-mole of any gas occupies litre(dm3) at 0 C and 1 atmosphere. Therefore we can say that the same g-mole of any gas will occupy the same volume giving: Mole % = Volume %. __. M. For a Total Flow of W (kg/h) and a mixture density of G0 = (kg/m3) we have: __.. Volumetric Flow Q =. W W. = (Nm3/h) where average mw M = Pi M i (kg/kmol). GO Pi Mi 100. To correcting for temperature and pressure gas density calculations are calculated from: G = M W Pf 273 kg 3.

10 / m Zf Tf where is in units of litre(dm3)/g-mole or m3/kg-mole of any gas at NTP(0 C,1atm), Mw is molecular weight g/mol or kg/kmol. PAGE 7 OF 38. MNL 031B Issued November 2008, Prepared by of P & I **Design** Ltd, Teesside, UK Process Modelling Selection of Thermodynamic Methods Enthalpy Enthalpy is the sum of the internal energy (U) and the external free energy (PV) where: H =U +P V. The heat supplied is given by: dQ = dU + P dV. The sign convention should be noted and is + for heat added and dU gain in internal energy dU = Cv dT. The specific heat at constant pressure Cp is related to heat input: dQ = Cp dT. The adiabatic index or specific ratio is defined: Cp =. Cv It can be shown that the following relationship holds Cp Cv = R. The heating of a liquid at constant pressure water is considered in Figure 2. This shows the relationships between the enthalpies in the different phases namely the sensible heat in the liquid phase, the latent heat of vaporisation during the vapour liquid equilibrium phase and the superheat in the gas phase.