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 🐍 Solve 4 ODEs
16:56
APMonitor.com
Рет қаралды 19 М.
لقد سرقت حلوى القطن بشكل خفي لأصنع مصاصة🤫😎
00:33
Cool Tool SHORTS Arabic
Рет қаралды 29 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 21 МЛН
Python 🐍 Equation Roots with fsolve
13:21
APMonitor.com
Рет қаралды 9 М.
Python 🐍 Import and Analyze with Pandas
19:03
APMonitor.com
Рет қаралды 6 М.
Txy and Pxy Diagrams
14:53
Michael Hoepfner
Рет қаралды 85 М.
Python 🐍 Solve Nonlinear Equations with fsolve
9:20
APMonitor.com
Рет қаралды 21 М.
Python 🐍 Nonlinear Regression Curve Fit
14:22
APMonitor.com
Рет қаралды 80 М.
Vapor/Liquid Equilibrium Ratio Demonstration
1:06
AIChE Academy
Рет қаралды 14 М.
PLC Communication with OpenCV and Python | OPC-UA | PLC Siemens
0:55
Mohamed Shams
Рет қаралды 4,9 М.
Python Symbolic and Numeric Solutions
16:15
APMonitor.com
Рет қаралды 16 М.
Regression Statistics in Python
21:30
APMonitor.com
Рет қаралды 9 М.
Solve Differential Equations in Python GEKKO
10:25
APMonitor.com
Рет қаралды 10 М.