Figure 1. Distillation Train. Table 1. Stream compositions.

Similar documents
COMPUTING AND DATA ANALYSIS WITH EXCEL. Matrix manipulation and systems of linear equations

Stochastic Modelling

Linear Algebra, Vectors and Matrices

9. Using Excel matrices functions to calculate partial autocorrelations

Ligand Scout Tutorials

ChemSep Case Book: Handling Missing Components

The Theory of the Simplex Method. Chapter 5: Hillier and Lieberman Chapter 5: Decision Tools for Agribusiness Dr. Hurley s AGB 328 Course

Presentation by: H. Sarper. Chapter 2 - Learning Objectives

UV Quality Assurance. Dark Current Correction

Matrix Operations & the Leontief Model

Advanced Forecast. For MAX TM. Users Manual

NORTH CAROLINA STATE UNIVERSITY Department of Chemistry. Physical Chemistry CH437 Problem Set #4 Due Date: September 22, 2015

Stoichiometric Reactor Simulation Robert P. Hesketh and Concetta LaMarca Chemical Engineering, Rowan University (Revised 4/8/09)

Module 17. Diffusion in solids III. Lecture 17. Diffusion in solids III

Index. Cambridge University Press Data Analysis for Physical Scientists: Featuring Excel Les Kirkup Index More information

Excel's LINEST() Function Deconstructed

4-1 Matrices and Data

Experiment: Oscillations of a Mass on a Spring


1 Matrices and matrix algebra

PHYS 1111L - Introductory Physics Laboratory I

1. (25 points) C 6 H O 2 6CO 2 + 7H 2 O C 6 H O 2 6CO + 7H 2 O

Combining Numerical Problem Solving with Access to Physical Property Data a New Paradigm in ChE Education

PHYS 2211L - Principles of Physics Laboratory I

Math 1314 Week #14 Notes

Simple Linear Regression

EXPERIMENT: REACTION TIME

Appendix 2: Linear Algebra

ChemSep Tutorial: Distillation with Hypothetical Components

Spreadsheet Problem Solving

Building Inflation Tables and CER Libraries

Excel for Scientists and Engineers Numerical Method s. E. Joseph Billo

Sections 6.1 and 6.2: Systems of Linear Equations

Discrete Math, Spring Solutions to Problems V

Problem 1 (10 points)

M&M Exponentials Exponential Function

Assignment 1: Molecular Mechanics (PART 1 25 points)

Wikipedia - Stellar classification:

Tutorial. Getting started. Sample to Insight. March 31, 2016

Unit Trip April 20, 2011, 13:40:53 CDT. McDonald Angle Relative to U.T. Austin Second

A Change in Momentum. Demonstrating the conservation of momentum.

Review of Vectors and Matrices

Experiment 13. Dilutions and Data Handling in a Spreadsheet rev 1/2013

Stage-structured Populations

SECTION 2: VECTORS AND MATRICES. ENGR 112 Introduction to Engineering Computing

Spectrophotometric Determination of an Equilibrium Constant 1

M E R C E R W I N WA L K T H R O U G H

Application Note 12: Fully Automated Compound Screening and Verification Using Spinsolve and MestReNova

Definition of Equality of Matrices. Example 1: Equality of Matrices. Consider the four matrices

ICM-Chemist How-To Guide. Version 3.6-1g Last Updated 12/01/2009

Finite Math - J-term Section Systems of Linear Equations in Two Variables Example 1. Solve the system

Standards-Based Quantification in DTSA-II Part II

NINE CHOICE SERIAL REACTION TIME TASK

To Create a Simple Formula using the Point and Click Method:

ACCESS Physics Week #2. Three Computer Simulation activities

Matrices and vectors A matrix is a rectangular array of numbers. Here s an example: A =

Error Analysis General Chemistry Laboratory November 13, 2015

1 Introduction to Computational Chemistry (Spartan)

Numerical Methods Lecture 2 Simultaneous Equations

Phys 201. Matrices and Determinants

Comprehend and execute the 10 elements of effective problem

Introduction. How to use this book. Linear algebra. Mathematica. Mathematica cells

Introduction to SuperPro Designer for Batch Processing Modelling

Mass Asset Additions. Overview. Effective mm/dd/yy Page 1 of 47 Rev 1. Copyright Oracle, All rights reserved.

Physics 201 Lab 2 Air Drag Simulation

5.1 Introduction to Matrices

All rights reserved. Armando B. Corripio, PhD, PE Flash Distillation Flash Drum Variables and Specifications... 2

2.1 Matrices. 3 5 Solve for the variables in the following matrix equation.

1. Introduction. Hang Qian 1 Iowa State University

SAT RELEASED TEST ADMINISTERED ON APRIL 10, 2018 CLASSROOM SAT SESSION #6

Spring Developed by: Latonya Morris and James Orr EMIS 4395 May 7, Forecasting for the Future:

Experiment 7 EXCEL SHEET INSTRUCTIONS

Typical kinetics Time. 1. What happens to the concentration of A over time? a. Increases b. Decreases c.

Computer simulation of radioactive decay

Conformational Analysis of n-butane

Acid-Base Titrations Using ph Measurements Prelab

you-try-it-04.xlsx Step-by-Step Guide ver. 9/4/2009

Solving Equations and Optimizing Functions

Shortcut Distillation. Agung Ari Wibowo, S.T., M.Sc Politeknik Negeri Malang Malang - Indonesia

The Haar Wavelet Transform: Compression and. Reconstruction

Elementary Aggregation Using the Country Product Dummy (CPD) Method

THE CHEMICAL REACTION EQUATION AND STOICHIOMETRY

5.1 Vectors A vector is a one-dimensional array of numbers. A column vector has its m elements arranged from top to bottom.

Example CHEE C 8 : C 10 : lb-moles/h C 8 : C 10 : C 8 : C 10 : 0.854

COMPUTER LAB#4: Linear Regression

What Is a Mole? How is Avogadro s number related to a mole of any substance? The Mole: A Measurement of Matter. What is a Mole?

hp calculators HP 48GII Solving for roots of polynomials and quadratics The Numeric Solver Practice finding roots of polynomials and quadratics

Experiment IV. To find the velocity of waves on a string by measuring the wavelength and frequency of standing waves.

HSC Chemistry 7.0 User's Guide

You submitted this quiz on Wed 16 Apr :18 PM IST. You got a score of 5.00 out of 5.00.

Galactic Rotation Activity*

Lesson 1: Inverses of Functions Lesson 2: Graphs of Polynomial Functions Lesson 3: 3-Dimensional Space

1 Introduction to Minitab

Reactors. Reaction Classifications

Remember that C is a constant and ë and n are variables. This equation now fits the template of a straight line:

AP CHEMISTRY CHAPTER 8 PROBLEM SET #3. 1. Determine if the following pairs would form a solution. Explain your answer. a.

Chemistry 213. A KINETIC STUDY: REACTION OF CRYSTAL VIOLET WITH NaOH LEARNING OBJECTIVES

Index. function 292. Excep for Scientists and Engineers: Numerical Methods by E. Joseph Billo Copyright John Wiley & Sons, Inc.

Section-A. Short Questions

Titration of Acids and Bases

Transcription:

CM 3450 Drills 2 9/8/2010 1. A stream containing compounds,, and are fed to a series of distillation columns as shown in Figure 1 with corresponding stream compositions given in Table 1. Figure 1. Distillation Train. Table 1. Stream compositions. Stream Composition of Compounds ( mol per cent ) a b c D F 26 25 24 25 D1 90 3 5 2 B1 15 40 30 15 D2 10 42 40 8 B2 2 10 20 68 Problem: Determine the molar flow rates of streams D1, B1, D2 and B2, if F=100 kmol/min. 1

Solution: Set up the spreadsheet shown in Figure 2. Figure 2. Spreadsheet setup. a) Name the range B3:E6 as Comp b) Name the range M3:M6 as FlowIn c) Mark (collect) the cell range H3:H6 d) Enter the formula: =MMULT( MINVERSE(Comp), FlowIn) then press [CTRL-SHIFT-ENTER] Additional question: what is the molar flow rate of and? 2. Multi-linear regression of Antoine equation. The Antoine equation is given by log where, and are known as the Antoine coefficients, is the vapor pressure in mm Hg and is the temperature in. The experimental data for vapor pressure at different temperatures are given in Table 2. Table 2. Vapor Pressure Data. T P T P 29 20 83.5 238 30.5 21 90.2 305 40 35 105.2 512 45.3 46 110.5 607 53.6 68 123.2 897 60.1 92 130 1092 72 152 132 1152 79.7 206 2

Problem: Using the data given in Table 2, use multilinear regression to obtain the Antoine coefficients. Solution: First, transform the original equation into a multi-linear formulation as follows log log log log log log Rename the group of variables and parameters as follows: log log Then, which is multilinear. Once the parameters, and have been estimated, recover the original coefficients, ; ; a) Prepare the following spreadsheet: Figure 2. Setup for multilinear regression. b) Name the range E4:G18 as A, and range L4:L18 as b. 3

c) Select range J4:J6 and input the formula below and then press [ctrl-shift-enter]: =MMULT( MINVERSE( MMULT( TRANSPOSE(A),A ) ), MMULT( TRANSPOSE(A), b ) ) d) Recover the original parameters. Figure 3. Recover the Antoine coefficients. e) Create a range of values for, then calculate for using the coefficients. =10^($O$5-$O$6/(B22+$O$4)) Figure 4. Generate new data using model equation. f) Plot the predicted values together with raw data. Figure 5. Compare model data with raw data. 4

Excel 2007 Array Formulas (by Dr. Tomas Co 5/7/2008) Definition: Array formulas refer to evaluations whose results are placed in a range of cells (instead of a single cell) and are invoked by [CTRL Shift ENTER]. A group of brackets will automatically enclose the formula to remind the user that it is an array formula. Some Excel functions perform matrix operations such as multiplication, inverse and transpose and are implemented as array formulas. There are also other built-in Excel functions, such as LINEST (for linear regression), that require the results be placed in a range of cells, thereby requiring an array formula. Basic Operations: 1. Naming Arrays ( Avoid using names with one or two alphabets followed by a number, e.g. do not use F1 or AB2, instead use F_1 or AB_2 ) a. Select the range b. Method 1: Enter the name in the NW corner area next to the formula entry. Make sure to hit [ENTER] (otherwise the action will not be applied) c. Method 2: Go to [Formula] [Define Name] item and then enter the name. Figure 1. Naming of Arrays or Cells 5

To remove names, go to [Formula] [Name Manager] and select the names to be removed. 2. Matrix Operations Figure 2. Name management. MMULT MINVERSE TRANSPOSE MDETERM Matrix multiplication Matrix inverse Matrix transpose Matrix determinant 6

Example 1: Matrix Multiplication 1. Name the two arrays as A and B. Select the range then name as A Figure 3. Set up matrix A and B. 2. Select the range for the product. ( Note: for : the number of columns of = number of rows of. the number of rows of = number of rows of. the number of columns of = number of columns of. ) 7

3. Input the product formula in the formula area then key in [CRTL Shift ENTER]. Select the range then input formula After [CTRL Shift ENTER]. Figure 4. Implementing an array formula. After using [CTRL Shift ENTER], a bracket encloses the formula to signify an array result. 8

Example 2: Solving Simultaneous Linear Equation Suppose you have the following equations 5 7 3 10 2 3 3 4 5 Then we need to first formulate into a matrix equation (1) where, (2) and the solution is then given by 5 7 3 10 0 2 1 ; ; 3 3 0 4 5 (3) 1. Setup the range for and, and name the arrays as A and b. 2. Select the range for s, then enter the formula: =MMULT(MINVERSE(A),b) and press [CTRL Shift ENTER] as shown in Figure 5. Figure 5. Array function approach for solving simultaneous linear equations. 9