Introduction to Chemical Engineering Analysis demonstrates the use of mass and energy balances for the analysis of chemical processes and products. The notebooks in the repository show how to prepare and analyze conceptual flowsheets for chemical processes, perform generation-consumption analysis, and perform basic engineering calculations for stoichiometry, reactor performance, separations, and energy analysis.
The notebooks demonstrate basic chemical engineering calculations in Python. The open in colab opens notebooks directly in Google Colaboratory where they can be run, edited, shared, and saved to your Google Drive. All you need is a browser, either Google Chrome, Mozilla Firefox, or Apple Safari. Alternatively, the render in nbviewer link allows notebooks to be downloaded and executed in a Python development distribution installed on your computer. These notebooks were developed and tested using the Anaconda distribution.
Most notebooks are 3-5 pages in length covering a single topic. Notebooks marked as examples are shorter, and present one or more problem statements with solutions.
0. Getting Started
Getting Started with Jupyter Notebooks and Python
Solving Linear Equations with Sympy
1. Units, Quantities, and Engineering Calculations
Getting Started with Units and Engineering Calculations
Example: Units and Conversions for Home Heating
2. Stoichiometry
Balancing Reactions
Generation-Consumption Analysis for Ammonia Production
3. Process Flows and Balances
Example: Global CO2 Budget
Example: CO2 Production by Automobiles
General Mass Balance on a Single Tank
Example: Separating Milk
Adipic Acid Flowsheet
4. Material Balances
Lean NOx Trap
Ethylene Oxide Flowsheet
General Mass Balance on a Single Tank
Unsteady-State Material Balances
5. Reactors
Dehydrogentation of Propane
Steam Reforming of Methane
6. Vapors and Gases
PVT Calculations for Non-Ideal Gases
Hydrogen Storage for a Fuel Cell Vehicle
7. Vapor/Liquid Equilibrium
Gases with One Condensable Component
Vapor-Liquid Equilibrium for Pure Components
Operating Limits for a Methanol Lighter
Raoult's Law for Ideal Mixtures
Henry's Law constants
Binary Phase Diagrams for Ideal Mixtures
Bubble and Dew Points for Binary Mixtures
Bubble and Dew Points for Multicomponent Mixtures
Isothermal Flash and the Rachford-Rice Equation
Binary Distillation with McCabe-Thiele
8. Energy Balances
Energy Balances on a Classroom
Water and Steam Calculator
Energy Balances for a Steam Turbine
Humidity and Psychrometrics
Adiabatic Flame Temperature
Torpedo Propulsion
Projects: Product Design and Analysis
Diesel Engine Emissions Control
Pyrotechnic Design for Airbags
Flameless Cooking
Projects: Process Systems Analysis
West Virginia Chemical Spill
Ajka Alumina Plant Spill
Note on the use of Python. The Python used in these notebooks is deliberately limited to a core set of language features. These notebooks use scalar variables and lists of scalar variables to represent data. Also used are arithmetic, math, print, and plotting functions from the matplotlib.pyplot library. Functions created with def and lambda are used when root-finding calculations are required. List comprehesions are used on occasion when the result is more readable code. The Sympy library for symbolic math is used extensively for writing mass balances. Other libraries included numpy, math, and the root-finding functions from scipy.optimize. Notebooks with more advanced use of Python, such as dictionaries, are marked with an asterisk.
License Requirements. The materials in this repository are available at http://github.com/jckantor/CBE20255 for noncommercial use under terms of the Creative Commons Attribution Noncommericial ShareAlike License. You are invited to fork this repository, and to use, adapt, remix these material for non-commericial purposes. The license terms require you to give attribution and share your work under the same terms. Pull requests for corrections and additions to these materials are most welcome.
Acknowledgements. Several notebooks embed videos from LearnChemE hosted at the University of Colorado at Boulder and sponsored by the National Science Foundation (NSF) and Shell Corporation. Permission to use these videos is gratefully acknowledged.