No video

Python 🐍 Solve Vapor Liquid Equilibrium

  Рет қаралды 5,613

APMonitor.com

APMonitor.com

5 жыл бұрын

Vapor liquid equilibrium (VLE) calculations are important in applications that have liquid with vapor in thermodynamic equilibrium. This tutorial is an introduction to solving nonlinear equations with Python such as those that come from VLE predictions. In this case, Raoult's law is used to find the temperature and liquid composition, given a pressure and vapor mole fractions of benzene and toluene.
Course Material: apmonitor.com/che263/index.ph...
Github Repository (see HW03.ipynb): github.com/APMonitor/learn_py...
Schedule: apmonitor.com/che263/index.ph...
Solution Videos: apmonitor.com/che263/index.ph...

Пікірлер: 7
@alessandrolodola6588
@alessandrolodola6588 2 жыл бұрын
Thanks for sharing! Isn't there a way thruogh which we could visualize data in a graph in order to know the values we should use as first guess for the fsolve?
@apm
@apm 2 жыл бұрын
That is a great idea. You could plot the residual versus the value to see where the curve intersects zero. This is possible if there is only one variable. For problems with multiple variables, visualization is more challenging.
@hessitanydedeus4979
@hessitanydedeus4979 2 жыл бұрын
What if we want Tsat in the antoine equation. How do we solve it?
@apm
@apm 2 жыл бұрын
Try an equation solver such as fsolve.
@nomcognom2332
@nomcognom2332 5 жыл бұрын
What does it mean: "T, x1, x2 = z"?
@apm
@apm 5 жыл бұрын
It is a short way to assign variables such as: T=z[0] x1=z[1] x2=z[2]
@nomcognom2332
@nomcognom2332 5 жыл бұрын
Ah, very handy. Thank you!
Python 🐍 Curve Fit with Step Test Data
14:50
APMonitor.com
Рет қаралды 23 М.
Python 🐍 Equation Roots with fsolve
13:21
APMonitor.com
Рет қаралды 9 М.
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 116 МЛН
Каха заблудился в горах
00:57
К-Media
Рет қаралды 10 МЛН
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 30 МЛН
Python 🐍 Solve Nonlinear Equations with fsolve
9:20
APMonitor.com
Рет қаралды 21 М.
The Hidden Cost of Skipping Key Stages of Development
6:00
The School of Life
Рет қаралды 126 М.
Python 🐍 Nonlinear Regression Curve Fit
14:22
APMonitor.com
Рет қаралды 80 М.
Python Symbolic and Numeric Solutions
16:15
APMonitor.com
Рет қаралды 16 М.
Less is More: The Magic of a Simple Life
6:13
Existentiality
Рет қаралды 14 М.
Can You Pass Harvard University Math Exam?
14:00
Higher Mathematics
Рет қаралды 14 М.
Python 🐍 Import and Analyze with Pandas
19:03
APMonitor.com
Рет қаралды 6 М.
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 116 МЛН