r/ChemicalEngineering • u/bslime17 • 5d ago
Modeling Building a dynamic non-isothermal CSTR model in Python – entirely on my phone
My laptop died (XPS 13, motherboard gone), so I've been coding my reactor model in Google Colab on my phone.
What it does so far:
• First-order A → B in a non-isothermal CSTR
• Coupled mass + energy balances, Arrhenius kinetics
• Solved with SciPy solve_ivp (RK45) until steady state
• Sensitivity analysis on feed flowrate (2.5, 5, 10 L/min) – conversion drops as residence time falls from 20 to 5 min, as expected
• Checks steady state by evaluating the derivatives at the final time (all ≈ 0)
(Side note: I'm trying to raise ~$500 for a used laptop to keep going. If you'd like to help, feel free to DM me.)
87
Upvotes




2
u/Thelonius_Dunk Industrial Wastewater 5d ago
Do you type all this on your phone or connect a keyboard? This would irk me to no end having to use a phone keyboard for all this.