This is the second video in the Solving ATEs Supplement to SCoRE, a Self-Study Course on Reaction Engineering (https://buffalobadger.github.io/SCoRE/). SCoRE is based on the online book, “Reaction Engineering Basics” (https://buffalobadger.github.io/RE_Basics/).
This video describes how to use the Python function, optimize.root, from the scipy library, to solve sets of ATEs. It then solves the set of ATEs from the example introduced in the first video.
0:00 Intro
1:05 Python Code for Solving ATEs
1:52 Using optimize.root
3:44 Python Residuals Functions
4:44 A Solving ATEs Example
5:25 The Master Script
6:13 The Residuals Function
8:02 The CSTR Function
10:05 The Deliverables Function
10:47 Performing the Calculations
I hope you found this video to be informative. Take care.
Recorded July 2025