Calculate Steam Temperature to Pressure

DaDaDadeo

Member
Join Date
Feb 2018
Location
New York State
Posts
92
The IAPWS-IF97 steam table is used as a measuring standard for the correlation between steam temperature and pressure. The calculation formula(s) for PLCs can be elusive. There are formulas such as the Antoine and Clausius-Clapeyron, but these deviate too much from the IF97 curve. EngineeringToolbox.com has one that may be accurate enough for boilers and pressures less than 15 Bar.


Below are different formats of the same formula (Remove the "*14.554" for Bar units):


RSLOGIX 500 (F8:0 = Float Tag Temperature in C)

(((2.71828**((77.345+(0.0057*(F8:0+273.15)))-(7235.0|(F8:0+273.15))))|((F8:0+273.15)**8.2))|100000.0)*14.554


RSLOGIX 5000 (SBR_Input_REAL = Float Tag Temperature in C)

2.71828**(77.345+(0.0057*(SBR_Input_REAL+273.15))-(7235.0/(SBR_Input_REAL+273.15)))/((SBR_Input_REAL+273.15)**8.2)/100000.0*14.554


Float Script (IDEC)

// "@" is for temporary storage

@1 = [IN_TEMPERATURE] +273.18 ;
@2 = ( ( 77.345 + ( 0.0057 * @1 ) ) - ( 7235.0 / @1 ) );
@2 = EXP(@2);
@3 = POW( @1 , 8.2 ) ;
[OUT_PRESSURE] = ((@2 / @3 ) / 100000) * 14.554;


EXCEL (A2 = Cell with Temperature in C)

=(2.71828^(77.345 + 0.0057*(A2+273.15) - 7235 / (A2+273.15) ) / (A2+273.15) ^8.2/100000)*14.554





Reference: https://www.engineeringtoolbox.com/water-vapor-saturation-pressure-air-d_689.html
 
Last edited:
Cool; this is for saturated steam.


What about poor old MicroLogix, with no exponentiation?


My dad converted the 1967 ASME Steam Table formulations (H=f(P,T); S=f(H,V), etc.) from FORTRAN-IV to Timex 2068 Basic, and then to PC Basic. Timex Basic was better because it had a five-byte real. There was a problem in convergence in one region using successive substitution, but we fixed it by switching to Newton-Raphson.

SteamASME1967_cover_page.jpg
 
Last edited:
Float Script (IDEC)

// "@" is for temporary storage

@1 = [IN_TEMPERATURE] +273.18 ;
@2 = ( ( 77.345 + ( 0.0057 * @1 ) ) - ( 7235.0 / @1 ) );
@2 = EXP(@2);
@3 = POW( @1 , 8.2 ) ;
[OUT_PRESSURE] = ((@2 / @3 ) / 100000) * 14.554;

Float Script (IDEC)

// "@" is for temporary storage

@1 = [IN_TEMPERATURE] +273.15 ;
@2 = ( ( 77.345 + ( 0.0057 * @1 ) ) - ( 7235.0 / @1 ) );
@2 = EXP(@2);
@3 = POW( @1 , 8.2 ) ;
[OUT_PRESSURE] = ((@2 / @3 ) / 100000) * 14.554;

Cheers!
 

Similar Topics

Hi everyone, This is my first time posting, so please forgive any omissions or mistakes. I am attempting to control the velocity of a stepper...
Replies
18
Views
1,026
Good morning, I have a question. I don't know much about ST yet I would like to calculate the average number of products per hour. how do I do...
Replies
22
Views
2,968
Can someone help me with this? I'm no good at SCL - virtually everything I've done so far has been ladder logic. The return value from the...
Replies
13
Views
1,109
I want to calculate the energy consumed from instantaneous power. Can this be done using the TOT block with timebase set to Hour?
Replies
2
Views
694
Hi everyone, I have to calculate the length in millimeters of a glass that enters a transport (I don't know the speed yet) through a barrier...
Replies
15
Views
3,465
Back
Top Bottom