Corrected entropy calculations for HFC-134a

This commit is contained in:
Ray Speth 2012-05-07 18:20:15 +00:00
parent ea589078f5
commit 4ab7da72f7

View file

@ -27,7 +27,7 @@ public:
double fp();
double up();
double sp() {
return (up() - fp())/T + m_entropy_offset;
return ((up() - m_energy_offset) - fp())/T + m_entropy_offset;
}
double Psat();
// double dPsatdT();