Introduction Process Simulation.

Slides:



Advertisements
Similar presentations
Heat Exchanger Network Retrofit
Advertisements

CHEMICAL AND PHASE EQUILIBRIUM (1)
ORDINARY DIFFERENTIAL EQUATIONS (ODE)
Modelling & Simulation of Chemical Engineering Systems
Chapter 2 Introduction to Heat Transfer
Conduction & Convection Quiz 9 – TIME IS UP!!! A flat furnace wall is constructed with a 4.5-inch layer of refractory brick (k = Btu/ft·h·
Solution thermodynamics theory—Part I
Chapter 3 Dynamic Modeling.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 15.
Introduction to Mass Transfer
Chapter 3.2: Heat Exchanger Analysis Using -NTU method
Chapter 16 Chemical and Phase Equilibrium Study Guide in PowerPoint to accompany Thermodynamics: An Engineering Approach, 5th edition by Yunus.
Michael Naas, Teddy Wescott, Andrew Gluck
Chemstations, Inc – Houston, TX – – An Overview of Process Simulation What is needed? What are the steps?
Development of Dynamic Models Illustrative Example: A Blending Process
Process Simulation Introduction. Model, what for? A good model of the apparatus is needed for: Process simulation optimisation design apparatus design.
Development of Dynamic Models Illustrative Example: A Blending Process
Dynamic Steady State Continuous Discrete Deterministic Stochastic.
Joshua Condon, Richard Graver, Joseph Saah, Shekhar Shah
Introduction to API Process Simulation
CHAPTER 8 APPROXIMATE SOLUTIONS THE INTEGRAL METHOD
Computer Assisted Process Design---HYSYS Bo Hu. Introduction HYSYS is only one process simulation program out of a number. Steady State Processes ASPEN.
THEORETICAL MODELS OF CHEMICAL PROCESSES
CSE 425: Industrial Process Control 1. About the course Lect.TuLabTotal Semester work 80Final 125Total Grading Scheme Course webpage:
© 2015 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 32.
Deduction of Fundamental Laws for Heat Exchangers P M V Subbarao Professor Mechanical Engineering Department I I T Delhi Modification of Basic Laws for.
PFR design. Accounting for pressure drop Chemical Reaction Engineering I Aug Dec 2011 Dept. Chem. Engg., IIT-Madras.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 22.
CHAPTER II PROCESS DYNAMICS AND MATHEMATICAL MODELING
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
A First Course on Kinetics and Reaction Engineering
BsysE595 Lecture Basic modeling approaches for engineering systems – Summary and Review Shulin Chen January 10, 2013.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 23.
Lesson 8 SECOND LAW OF THERMODYNAMICS
© 2015 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 31.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 19.
Basic Probability (Chapter 2, W.J.Decoursey, 2003) Objectives: -Define probability and its relationship to relative frequency of an event. -Learn the basic.
Chapter 2 Mathematical Modeling of Chemical Processes Mathematical Model (Eykhoff, 1974) “a representation of the essential aspects of an existing system.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 23.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 29.
Silesian University of Technology in Gliwice Inverse approach for identification of the shrinkage gap thermal resistance in continuous casting of metals.
Solution thermodynamics theory—Part I
DYNAMIC BEHAVIOR OF PROCESSES :
Chemical/Polymer Reactor Design
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 30.
Heat Transfer/Heat Exchanger How is the heat transfer? Mechanism of Convection Applications. Mean fluid Velocity and Boundary and their effect on the rate.
Chapter 2 Modeling Approaches  Physical/chemical (fundamental, global) Model structure by theoretical analysis  Material/energy balances  Heat, mass,
FLOW THROUGH GRANULAR BEDS AND PACKED COLUMN
Convection in Flat Plate Boundary Layers P M V Subbarao Associate Professor Mechanical Engineering Department IIT Delhi A Universal Similarity Law ……
PROCESS MODELLING AND MODEL ANALYSIS © CAPE Centre, The University of Queensland Hungarian Academy of Sciences A Model Building Framework.
Chapter 2: Heat Conduction Equation
Dr Saad Al-ShahraniChE 201: Introduction to Chemical Engineering  Separation operations are subject to the conservation of mass  Separation of components.
Kinetics and Reactor Design Kinetics and Reactor Design CHE-402 INSTRUCTOR: Dr. Nabeel Salim Abo-Ghander Chemical Reactions and Rate of Reactions Chapter.
Solution thermodynamics theory
President UniversityErwin SitompulSMI 1/1 Dr.-Ing. Erwin Sitompul President University Lecture 1 System Modeling and Identification
Chapter 2 Development of Dynamic Models 1. Chapter 2 The Rationale for Dynamic Process Models The dynamic model of a process can be used to 1.Improve.
Chapter 12B: PROPERTY TABLES, REFRIGERATION CYCLES AND HX 1) Boiling of pure substances: water and steam tables 2) Refrigerant tables 3) Binary mixtures.
1 Chapter 5 Mass and Energy Analysis of Control Volumes.
CHEM-E7130 Process Modeling Lecture 5
Mathematical Modeling of Chemical Processes
Solution of Thermodynamics: Theory and applications
A First Course on Kinetics and Reaction Engineering
A First Course on Kinetics and Reaction Engineering
TEM – Lecture 2 Basic concepts of heat transfer:
Definition of An Instrument
Mass and Energy Analysis of Control Volumes (Open Systems)
Heat-transfer Equipment
Aspen Reactors Amanda Hamilton, Jonathan Kalman, Harrison Kraus, Jenny Lam, Sophie Levy, Jacob Salem.
Modeling Approaches Chapter 2 Physical/chemical (fundamental, global)
Presentation transcript:

Introduction Process Simulation

Classification of the models Black box – white box Black box – know nothing about process in apparatus, only dependences between inputs and outputs are established. Practical realisation of Black box is the neural network White box – process mechanism is well <??> known and described by system of equations

Classification of the models Deterministic – Stochastic Deterministic – for one given set of inputs only one set of outputs is calculated with probability equal 1. Stochastic – random phenomenon affects on process course (e.g. weather), output set is given as distribution of random variables

Classification of the models Microscopic- macroscopic Microscopic – includes part of process or apparatus Macroscopic – includes whole process or apparatus

Elements of the model Balance dependences Based upon basic nature laws of conservation of mass of conservation of energy of conservation of atoms number of conservation of electric charge, etc. Balance equation (for mass): (overall and for specific component without reaction) Input – Output = Accumulation or (for specific component if chemical reactions presents) Input – Output +Source = Accumulation

Elements of the model Constitutive equations Newton eq. – for viscous friction Fourier eq. – for heat conduction Fick eq. – for mass diffusion

Elements of the model Phase equilibrium equations – important for mass transfer Physical properties equations – for calculation parameters as functions of temperature, pressure and concentrations. Geometrical dependences – involve influence of apparatus geometry on transfer coefficients – convectional streams.

Structure of the simulation model Structure corresponds to type of model equations Structure depends on: Type of object work: Continuous, steady running Periodic, unsteady running Distribution of parameters in space Equal in every point of apparatus – aggregated parameters (butch reactor with ideal mixing) Parameters are space dependent– displaced parameters

Structure of the model Steady state Unsteady state Aggregated parameters Algebraic eq. Ordinary differential eq. Displaced parameters Differential eq. Ordinary for 1- dimensional case Partial for 2&3- dimensional case (without time derivative, usually elliptic) Partial differential eq. (with time derivative, usually parabolic)

Process simulation the act of representing some aspects of the industry process (in the real world) by numbers or symbols (in the virtual world) which may be manipulated to facilitate their study. Facilitate - ułatwiać

Process simulation (steady state) Flowsheeting problem Specification (design) problem Optimization problem Synthesis problem by Rafiqul Gani

Flowsheeting problem Given: To calculate: All of the input information All of the operating condition All of the equipment parameters To calculate: All of the outputs FLOWSHEET SCHEME INPUT OPERATING CONDITIONS EQUIPMENT PARAMETERS PRODUCTS

R.Gani

Specyfication problem FLOWSHEET SCHEME INPUT OPERATING CONDITIONS EQUIPMENT PARAMETERS PRODUCTS Given: Some input & some output information Some operating condition Some equipment parameters To calculate: Undefined inputs&outputs Undefined operating condition Undefined equipment parameters

Specyfication problem NOTE: degree of freedom is the same as in flowsheeting problem.

Assume value to be guessed: D, Qr Given: feed composition and flowrates, target product composition Assume value to be guessed: D, Qr Find: product flowrates, heating duties Solve the flowsheeting problem Adjust D, Qr Is target product composition satisfied ? STOP

Process optimisation the act of finding the best solution (minimize capital costs, energy... maximize yield) to manage the process (by changing some parameters, not apparatus)

Assume value to be guessed: D, Qr Given: feed composition and flowrates, target product composition Assume value to be guessed: D, Qr Find: product flowrate, heating duty Solve the flowsheeting problem Adjust D, Qr Is target product composition satisfied AND =min. STOP

Process synthesis/design problem the act of creation of a new process. Given: inputs (some feeding streams can be added/changed latter) Outputs (some byproducts may be unknown) To find: Flowsheet (topology) equipment parameters operations conditions

Process synthesis/design problem flowsheet undefined INPUT OUTPUT

Assume value to be guessed: D, Qr, N, NF, R/D etc. Given: feed composition and flowrates, target product composition Assume value to be guessed: D, Qr, N, NF, R/D etc. Find: product flowrate, heating duty, column param. etc. Solve the flowsheeting problem Adjust D, Qr As well as N, NF, R/D etc. Is target product composition satisfied AND =min. STOP

Process simulation - why? COSTS Material – easy to measure Time – could be estimated Risc – hard to measure and estimate

Modelling objects in chemical and process engineering Unit operation Process build-up on a few unit operations

Software for process simulation Universal software: Worksheets – Excel, Calc (Open Office) Mathematical software – MathCAD, Matlab Specialized software – process simulators. Equipped with: Data base of apparatus models Data base of components and mixtures properties Solver engine User friendly interface

Software process simulators (flawsheeting programs) Started in early 70’ At the beginning dedicated to special processes Progress toward universality Some actual process simulators: ASPEN Tech /HYSYS ChemCAD PRO/II ProSim Design II for Windows

Chemical plant system The apparatus set connected with material and energy streams. Most contemporary systems are complex, i.e. consists of many apparatus and streams. Simulations can be use during: Investigation works – new technology Project step – new plants (technology exists), Runtime problem identification/solving – existing systems (technology and plant exists) test

Chemical plant system characteristic parameters can be specified for every system separately according to: Material streams Apparatus

Apparatus-streams separation Assumption: All processes (chemical reaction, heat exchange etc.) taking places in the apparatus and streams are in the chemical and thermodynamical equilibrium state. Why separate? It’s make calculations easier

Streams parameters Flow rate (mass, volume, mol per time unit) Composition (mass, volume, molar fraction) Temperature Pressure Vapor fraction Enthalpy

Streams degrees of freedom DFs=NC+2 e.g.: NC=2 -> DFs=4 Assumed: F1, F2, T, P Calculated: enthalpy vapor fraction

Apparatus parameters & DF Characteristics for each apparatus type. E.g. heat exchanger : Heat exchange area, A [m2] Overall heat-transfer coefficient, U (k) [Wm-2K-1] Log Mean Temperature Difference, LMTD [K] degrees of freedom are unique to equipment type

Types of flowsheeting calculation Steady state calculation Dynamic calculation

Calculation subject Number of equations of mass and energy balance for entire system Can be solved in two ways:

Types of balance calculation Overall balance (without use of apparatus mathematical model) Detailed balance on the base of apparatus model

Overall balance Apparatus is considered as a black box Needs more stream data User could not be informed about if the process is physically possible to realize.

Overall balance – Example 1 2 4 3 Countercurrent, tube-shell heat exchanger Given three streams data: 1, 2, 3 hence parameters of stream 4 can be easily calculated from the balance equation. DF=5 There is possibility that calculated temp. of stream 4 can be higher then inlet temp. of heating medium (stream 1).

Overall balance – Example 1, mB 2 4 3, mA Given: mA=10kg/s mB=20kg/s t1= 70°C t2=40°C t3=20°C cpA=cpB=idem At first sight – na pierwszy rzut oka

Apparatus model involved Process is being described with use of modeling equations (differential, dimensionless etc.) Only physically acceptable processes taking place Less stream data required (smaller DF number) Heat exchange example: given data for two streams, the others can be calculated from a balance and heat exchange model equations

Loops and cut streams Loops occur when: To solve: some products are returned and mixed with input streams when output stream heating (cooling) inputs some input (also internal) data are undefined To solve: one stream inside the loop has to be cut (tear stream) initial parameters of cut stream have to be defined Calculations have to be repeated until cut streams parameters are converted.

Loops and cut streams

Simulation of system with heat exchanger using MathCAD

I.Problem definition Simulate system consists of: Shell-tube heat exchanger, four pipes and two valves on output pipes. Parameters of input streams are given as well as pipes, heat exchanger geometry and valves resistance coefficients. Component 1 and 2 are water. Pipe flow is adiabatic. Find such a valves resistance to satisfy condition: both streams output pressures equal 1bar.

II. Flawsheet s6 s1 1 2 3 4 6 7 5 s2 s3 s4 s5 s7 s8 s9 s10

Numerical data: Stream s1 Ps1 =200kPa, ts1 = 85°C, f1s1 = 10000kg/h

Equipment parameters: L1=7m d1=0,025m L2=5m d2=0,16m, s=0,0016m, n=31... L3=6m, d3=0,05m z4=50 L5=7m d5=0,05m L6=10m, d6=0,05m z7=40

III. Stream summary table Uknown:Ts2, Ts3, Ts4, Ts5, Ts7, Ts8, Ts9, Ts10, Ps2, Ps3, Ps4, Ps5, Ps7, Ps8, Ps9, Ps10, f1s2, f1s3, f1s4, f1s5, f2s7, f2s8, f2s9, f2s10 number of unknown variables: 26 WE NEED 26 INDEPENDENT EQUATIONS.

Equations from equipment information f1s2= f1s1 f1s7= f1s6 f1s3= f1s2 f1s8= f1s7 f1s4= f1s3 f1s9= f1s8 f1s5= f1s4 f1s10= f1s9 14 equations. Still do define 26-14=12 equations

Heat balance equations New variable: Q Still to define: 12+1-2=11 equations

Heat exchange equations New variables: k, DTm: number of equations to find 11+2-2=11

Heat exchange equations Two new variables: aT and aS number of equations to find: 11+2-1=12

Heat exchange equations Three new variables: NuT, NuS, deq, number of equations to find: 12+3-3=12

Heat exchange equations

Heat exchange equations Two new variables ReT and ReS, number of equations to find: 12+2-4=10

Pressure drop

Pressure drop Two new variables Re1 and l1, number of equations to find: 10+2-3=9

Pressure drop One new variables and l2T, number of equations to find: 9+1-3=7

Pressure drop Two new variables Re3 and l3, number of equations to find: 7+2-3=6

Pressure drop Number of equations to find: 6-1=5

Pressure drop Two new variables Re5 and l5, number of equations to find: 6+2-3=4

Pressure drop One new variables and l2S, number of equations to find: 4+1-3=2

Pressure drop Two new variables Re6 and l6, number of equations to find: 2+2-3=1

Pressure drop Number of equations to find: 1-1=0 !!!!!!!!!!!!!!

Agents parameters Temperatures are not constant Liquid properties are functions of temperature Density  Viscosity  Thermal conductivity  Specyfic heat cp Prandtl number Pr

Agents parameters Data are usually published in the tables

Agents parameters Data in tables are difficult to use Solution: Approximate discrete data by the continuous functions.

Approximation Approximating function Polynomial Approximation target: find optimal parameters of approximating function Approximation type Mean-square – sum of square of differences between discrete (from tables) and calculated values is minimum.

Polynomial approximation

The end as of yet.