Temperature/Pressure conversion for NH3

  • Context: Undergrad 
  • Thread starter Thread starter rcguy111
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the conversion equations for temperature and pressure in the context of ammonia (NH3) refrigeration systems. Participants are exploring methods to derive an inverse equation for converting pressure back to temperature, addressing issues with accuracy and deviations in their calculations.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant shares a cubic equation for converting temperature to pressure and seeks advice on finding its inverse.
  • Another participant reports significant deviations when attempting to use an inverse equation in Excel, questioning whether the inverse of the temperature to pressure equation would yield the correct results.
  • A third participant notes the complexity of finding the inverse of a cubic equation, suggesting that interpolation might be a more effective approach.
  • One participant mentions improving their equation's accuracy by increasing decimal precision, resulting in a reduced deviation of 2.5 degrees.
  • Another participant requests clarification on the units used in the derived pressure to temperature equation.
  • A final post presents a complex equation for calculating temperature from pressure, inviting others to assess its maximum deviation.

Areas of Agreement / Disagreement

Participants express varying levels of success and challenges in deriving and using the inverse equations, with no consensus on the best approach or solution to the issues raised.

Contextual Notes

Participants mention issues related to precision in scientific notation and the potential for multiple temperature values corresponding to a single pressure value, indicating the complexity of the equations involved.

rcguy111
Messages
4
Reaction score
0
I am working on a conversion equation to put into the PLC that is running our refrigeration system. I have found the equation to convert temp to pressure, but i am struggling on finding the inverse of this equation. Any advice on a formula or method would be greatly appreciated.
y = .000044x3 + 0.0065x2 + 0.730x + 15.7
 
Mathematics news on Phys.org
I am put a chart into excel but the new equation for pressure to temperature is not working correctly when I plug the original points back into it. It has a deviation of 150 degrees at the high end of the scale. Am I correct in assuming that the inverse of temp to pressure equation would give me the pressure to temp equation?
 
How did you find the inverse equation? Your temperature to pressure formula is a general cubic equation, and while it's possible to find x in terms of y via the cubic equation, it would be too long and tedious; moreover, you have to deal with the possibility that sometimes there may be more than one temperature for each pressure value (at least given by your equation). If your given formula was interpolated in the first place, you may as well just interpolate again in the reverse.
 
Yeah that is why I have tried it in excel in the same fashion I achieved the original equation. I was having difficulty with it and the deviation of the new equation was massive. so i tried multiple little additions to the equation. I found that my scientific notation was not precise enough so I increased my decimal places and developed an equation that has a max deviation of 2.5 degrees. It was a user problem. Thank you for the help. This will go from pressure to temperature...

y = -6.68E-08x4 + 4.60E-05x3 - 1.19E-02x2 + 1.70E+00x - 2.51E+01
 
If you don't mind sharing your formula "y = -6.68E-08x4 + 4.60E-05x3 - 1.19E-02x2 + 1.70E+00x - 2.51E+01" what units are the variables y and x ?.

y is pressure in ?
x is temperature in ?

Kind Regards
 
See what the max deviation is on this

x= -49.242424242424235 - 0.516472181892512/(5.090996*10^-7 + 5.2272*10^-8*y + 5.2272*10^-8*sqrt(326.78516758494044 + 19.478864401591675*y + y^2))^(1/3) + 6012.882772606816*(5.090996*10^-7 + 5.2272*10^-8*y + 5.2272*10^-8*sqrt(326.78516758494044 + 19.478864401591675*y + y^2))^(1/3)
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 15 ·
Replies
15
Views
6K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 9 ·
Replies
9
Views
1K