pub fn tx(t: f64, x: f64, o_id: i32) -> f64Expand description
tx(t,x,o_id) - the propertry of o_id (thermodynamic)
Examples
use if97::*;
let t: f64 =372.755919-273.15;
let x: f64 = 0.0; // x= 0.0 saturation water ,x=1.0 saturation steam
let p: f64 = tx(t, x, OP);
let h: f64 = tx(t, x, OH);
println!("tx: p={p:.6} x={x:.6} t={t:.6} h={h:.6}");