Sir why you took the square of the difference before using solver function? And how do we know that what should we use initial guess for volume of liquid and vapors?
The solver function minimizes the result. We use the square to make the objective equal to zero at the minimum value. If you didn't take the square it would go to negative Infinity. The best initial guess for a vapor is an ideal gas approximation. For liquid, you could use the density of water as a starting point.
Good day can you please help on how you do the quadratic equations roots ....using iteration say of energy conservation equation equal to a constant and solve for flow per unit length
In Excel, you can follow the same method but include your coefficients. Here it is in Excel: apmonitor.com/che263/index.php/Main/ExcelSolveEquations or Python: apmonitor.com/che263/index.php/Main/PythonSolveEquations
just wanted to thank you for going in-depth with this. I learned a lot and just what i was looking for.
I'm glad it helped.
@@apm I was wondering if there was a way you could go over solving Peng Robinson equations in excel using a scope of different molar volumes
Thank you very much, that's great. Finally I was able to find the roots of any equation
god bless this man
Sir why you took the square of the difference before using solver function? And how do we know that what should we use initial guess for volume of liquid and vapors?
The solver function minimizes the result. We use the square to make the objective equal to zero at the minimum value. If you didn't take the square it would go to negative Infinity. The best initial guess for a vapor is an ideal gas approximation. For liquid, you could use the density of water as a starting point.
@@apm Thanks a lot for your kind and timely response!
Good day can you please help on how you do the quadratic equations roots ....using iteration say of energy conservation equation equal to a constant and solve for flow per unit length
You can set it up as a root finding problem. More information is at APMonitor.com/che263
Nice work Sir.
Thank you it was very helpful
How can I solve this equation using solver:
0.66 u3 -4.77u =-12.06
In Excel, you can follow the same method but include your coefficients. Here it is in Excel: apmonitor.com/che263/index.php/Main/ExcelSolveEquations or Python: apmonitor.com/che263/index.php/Main/PythonSolveEquations
I tried to solve this just after writing this question and I did it successfully.
Thanks
Thanks mate
Thanks
Hello! How do you know 1.1*b is a good approximation for the liquid root? is that just a fact? :)
Volume can't get below "b". A value about 10% higher than the lower bound is a good place to start with an initial guess.