SASTRA FOSSEE CENTRE SASTRA Thanjavur Tamil Nadu 613 401
Total Page:16
File Type:pdf, Size:1020Kb
SASTRA FOSSEE CENTRE SASTRA Thanjavur Tamil Nadu 613 401 PROCESS SIMULATION USING DWSIM: A Free and Open Source Chemical Process Simulator By Dr. P. R. Naren Senior Assistant Professor, Chemical Engineering E-mail: [email protected] School of Chemical and Biotechnology SASTRA Thanjavur 613 401 Tamil Nadu Level: Basic Version: v02 December 2017 This manual uses DWSIM ver 5.1 (Class UI) ii | Page PREFACE The manual “Process Simulation Using DWSIM” presents a set of eleven basic exercises using a free and open source chemical process simulator “DWSIM” and can be utilized to establish process simulation laboratory as part of undergraduate chemical engineering degree or in allied degree curriculum. Simulation covers topics across the broad spectrum of chemical engineering courses covering mixing, reaction, phase equilibrium, heat and mass transfer operations. The problem statements are rightly placed at the beginner’s level with each exercise complete in terms of sufficient instructions that enable the learner to perform the exercise with ease on their own. Supplementary self-learning exercises are also provided for simulation experiments to further aid a curious learner. This manual is the second version brought out by the SASTRA FOSSEE Centre, a partner with FOSSEE, IIT-B. At this juncture, I thank Prof Kannan M. Moudgalya, Professor, IIT-B for initiating me into FOSSEE tools and helping to establish the FOSSEE at SASTRA. I also owe my sincere thanks to my earlier students G. Jayaram and A. S. Ragul, who interned at FOSSEE and developed the version 1 of this manual. I believe the manual is helpful and can meet its intended objective. Care is taken to ensure the manual is free from factual and typological errors. However, I request the users to debug the exercises given in the manual and if you find any errors or discrepancy in using the manual, you can feel free to bring to my notice. Thanks Naren iii | Page iv | Page PROCESS SIMULATION USING DWSIM: A FREE AND OPEN SOURCE CHEMICAL PROCESS SIMULATOR PREAMBLE DWSIM is an open-source CAPE-OPEN compliant chemical process simulator. It features a Graphical User Interface (GUI), advanced thermodynamics calculations, reactions support and petroleum characterization / hypothetical component generation tools. DWSIM can simulate steady-state, vapor–liquid, vapor–liquid-liquid, solid–liquid and aqueous electrolyte equilibrium processes and has built-in thermodynamic models and unit operations (https://en.wikipedia.org/wiki/DWSIM ). It is available for Windows, Linux and Mac OS. The objective of the course is to create awareness of the open source process simulator “DWSIM” among prospective graduates and practicing process engineers. The course will cover basic aspects of create flow sheet in DWSIM and simulation of simple units such as Mixer, Heat Exchanger, Equilibrium reactor, CSTR, Distillation column. Target Audience III / Final year B. Tech. Chemical Engineering students M. Tech. Chemical Engineering students Practicing Process Engineers Prerequisites Participants should have pursued the following courses as part of their degree program / have good working knowledge in (i) Fluid mechanics (ii) Chemical Reaction Engineering (iii) Chemical Engineering Thermodynamics (iv) Heat and Mass Transfer (v) Numerical analysis v | Page vi | Page INSTALLATION GUIDELINES FOR WINDOWS OS System Requirements for DWSIM on Windows Platform OS: Windows: 64-bit x86 XP/Vista/7/8/10 Linux: 64-bit x86 Ubuntu 12.04 or newer / 32-bit armhf Raspbian/Ubuntu MATE macOS: 10.7 (OS X Lion) or newer Software: Microsoft .NET Framework 4.5 or newer (Windows) Mono Framework 5.0.0 or newer (Linux/macOS) CPU: 1.0 GHz dual-core processor (minimum) Memory: 1 GB RAM Graphics Card: 128 MB with OpenGL hardware acceleration Display: a 1280x800 display resolution is recommended as a minimum. Disk space: 300 MB for program files Steps to be followed for installing DWSIM Version 5.1 (Windows) 1. Download the latest version of DWSIM (DWSIM version 5.1) from http://dwsim.inforside.com.br/wiki/index.php?title=Downloads 2. Once downloaded the executable file “DWSIM_bin_v51u6_setup”, right-click the file and select “Run as Administrator” option. 3. Once you click it, you will be alerted with a dialog box asking for installer language. Choose English 4. Then DWSIM 5.1 Setup wizard appears. Click Next to continue. 5. Then click I Agree followed by Next. Now you will be asked to choose components to be installed by showing a list of 5 components [DWSIM, ChemSep 7.15, CAPE-OPEN type libraries for 32-bit and 64-bit Windows, Register type libraries]. Make sure that you check all the checkboxes in the list (i.e, choose all 5 components) and click Next to continue. vii | Page 6. To install in different folder, you can change the destination but please remember the location of the destination file. 7. Click Next to continue and click Install to begin the installation. 8. The installation begins and waits till you encounter a ChemSep 7.15 LITE Setup wizard. Now just click I Agree button [retain the default installation option: “Install for anyone using this computer”] and click Next till you see Install button and then click it to begin the installation of Chemsep. Follow the screen instructions till you finish the installation. 9. Once ChemSep 7.15 installation is complete setup wizard for CAPE-OPEN type libraries will show up. Follow the instructions on screen and complete the same. 10. Once installation is completed without error, click Next and click Finish to close the wizard. You will notice two icons in the desktop titled “DWSIM (Classic UI)” and “DWSIM” viii | Page Additional Guidelines to enable updates in DWSIM 1. Locate DWSIM file from installed location and open DWSIM v5.1 (Classic UI) in your computer (Right click the DWSIM icon and run as administrator). 2. Close the welcome screen 3. Locate Edit in the menu bar at the top and click on it. 4. Under Edit menu, select General Settings 5. A wizard appears. Select Other tab (last tab in the top) in the wizard 6. At the bottom, one can see an option called Check for updates on startup. Click it or enable it. 7. Similarly, one can see an option called Enable automatic updates. Click it or enable it. Note: DWSIM requires Microsoft .NET framework and Visual C++ 2015 Redistributable. If it is not installed in your system, you can download the same and install https://www.microsoft.com/net/download/windows https://www.microsoft.com/en-us/download/details.aspx?id=52685 ix | Page DWSIM INSTALLATION FOR OTHER PLATFORMS DWSIM is also available for other platforms such as Linux, mac OS and Raspberry pi. Instructions for the same are available at http://dwsim.inforside.com.br/wiki/index.php?title=Downloads x | Page OBJECTIVE To enable students to simulate different process units using a process simulator tool and there by facilitate performance analysis of different units. LIST OF SIMULATION EXPERIMENTS/ TUTORIALS 1. Mixing of ideal liquid streams 2. Determination of thermo-physical properties of pure components 3. Generation of VLE data of binary component system 4. Determination of equilibrium conversion of reversible reactions 5. Material balance on reactor based on yield/conversion data 6. Simulation of an CSTR for liquid phase reaction 7. Simulation of a flash column 8. Simulation of a distillation column 9. Determination of heat duty 10. Shortcut Simulation of heat exchanger to determine outlet stream temperature 11. Detailed Simulation of heat exchanger REFERENCES Ghasem, A. and R. Henda. Principles of chemical engineering processes. Boca Raton: CRC Press, 2009. Jana A. K. Process simulation & control using ASPEN, 2/e. New Delhi: PHI Learning Pvt. Ltd., 2012. S. I. Sandler. Using Aspen Plus in thermodynamics instruction – A step-by-step guide. New Jersey: John Wiley Sons, Inc., 2015. Schefflan, R. Teach yourself – The basics of Aspen Plus. New Jersey: John Wiley & Sons, Inc., 2011. Seider, W. D., J. D. Seader, J. D. and D. R. Lewin, D. R. Product and process design Principles, 2/e. New York: John Wiley and Sons, Inc., 2008 xi | Page USEFUL LINKS http://dwsim.inforside.com.br/ http://dwsim.fossee.in/ http://spoken-tutorial.org/ http://forums.fossee.in/ https://sourceforge.net/p/dwsim/discussion/ http://dwsim.inforside.com.br/wiki/index.php?title=Category:Tutorials https://sites.google.com/site/prnarenportal/dwsim xii | Page TABLE OF CONTENTS Expt. Title Page no. No. 1. Mixing of ideal liquid streams 1 2. Determination of thermo-physical properties of pure components 5 3. Generation of VLE data of binary component system 9 4. Determination of equilibrium conversion of reversible reactions 13 5. Material balance on reactor based on yield/conversion data 17 6. Simulation of an CSTR for liquid phase reaction 21 7. Simulation of a flash column 25 8. Simulation of a distillation column 29 9. Determination of heat duty 33 10. Shortcut Simulation of heat exchanger to determine outlet stream 37 temperature 11. Detailed Simulation of heat exchanger 41 This manual uses DWSIM ver 5.1 (Class UI) xiii | Page xiv | Page Experiment No. 01 Mixing of Ideal Liquid Streams Objective Develop a simple process sheet to mix two liquid streams and estimate the flow rate and composition of outlet stream. Data Inlet stream 1: 10 mol % Methanol solution flowing at 20 kmol/h Inlet stream 2: 80 mol % Methanol solution flowing at 10 kmol/h Both the streams are at 30 oC and at 1 bar pressure The liquid streams can be considered as ideal DWSIM Blocks Used Mixer Procedure 1. Start a new DWSIM Simulation (DWSIM VER 5.1 - CLASSIC UI). Click on “New steady state Simulation” as a template for new simulation 2. The simulation configuration window will be opened. It shows a specification page.