How Can I Solve for Temperature Using the Wagner Equation for Vapour Pressure?

  • Thread starter Thread starter CrazyDiamond
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on the application of the Wagner Equation for Vapour Pressure, specifically the challenge of solving for temperature (T) given a known pressure (p). The equation is defined as: lnp = ((-7.7069(1-T)) + (2.4932(1-T)^1.5158) -(2.9212(1-T)^1.9907) -(3.8684(1-T)^4.3798) + (0.46898(1-T)^1.7461) - (0.00008336))/x. Users are advised that obtaining T(p) directly is impractical due to the complexity of the equation, and numerical solvers or regression fitting in Excel are recommended as viable alternatives for approximation.

PREREQUISITES
  • Understanding of the Wagner Equation for Vapour Pressure
  • Familiarity with numerical solvers and regression analysis
  • Basic proficiency in Excel for graphing and data fitting
  • Knowledge of thermodynamic principles related to temperature and pressure
NEXT STEPS
  • Research numerical methods for solving nonlinear equations
  • Learn how to use Excel for regression analysis and data fitting
  • Explore online resources for the Wagner Equation and its applications
  • Investigate alternative software tools for thermodynamic calculations, such as Python libraries
USEFUL FOR

Engineers, chemists, and researchers involved in thermodynamics, particularly those needing to calculate temperature from vapour pressure using the Wagner Equation.

CrazyDiamond
Messages
5
Reaction score
0
I'm using the Wagner Equation for Vapour Pressure at work.This equation is :

lnp=((-7.7069(1-T)) + (2.4932(1-T)^1.5158) -(2.9212(1-T)^1.9907) -(3.8684(1-T)^4.3798) + (0.46898(1-T)^1.7461) - (0.00008336))/x

[I haven't been able to find an online version of this equation]

Here, T and p are variables. Its obviously easy to find p if I know T, but now I need to find T given that p is known. This is getting very complicated, and I don't have access to MatLAB either.Could someone who has MatLAB please help me out - I simply need an equation for T in terms of p.

Online Equation solvers give me an answer for T if I feed in the equation, but they do not give me an equation for T, which is what I need so I can put it into an Excel Spreadsheet.

Thanks.
 
Engineering news on Phys.org
It is not possible to get equation of the form T(p), since p(T) is a complicated enough rational polynomial. Wherever you need to use T(p), you will have to have a numerical solver for it in the background (what those online solvers do). Perphaps Excel has a function for that too?

If not, you may try another thing to patch up for the moment. In the range of T that you expect, plot in Excel the graph of p(T); if it doesn't look to non-linear, make a regression fit to it, using one of the expressions that can be easily inverted to obtain an approximate T(p).

--
Chusslove Illich (Часлав Илић)
 
caslav.ilic said:
In the range of T that you expect, plot in Excel the graph of p(T); if it doesn't look to non-linear, make a regression fit to it, using one of the expressions that can be easily inverted to obtain an approximate T(p).

And that worked perfectly.Thanks !:smile:
 
I just happened to browse this forum and this post piqued my curiosity.

What is the Wagner Equation? Can you refer me to any online references where I can read more about it?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 22 ·
Replies
22
Views
6K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
3
Views
9K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 109 ·
4
Replies
109
Views
8K