mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-22 20:38:01 -05:00
Force REFPROP tests to output the offset in helmholtz energy required
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -1524,6 +1524,11 @@ TEST_CASE("Check REFPROP and CoolProp values agree","[REFPROP]")
|
||||
double h_RP = S2->hmass();
|
||||
double s_RP = S2->smass();
|
||||
|
||||
double delta_a1 = (s_CP-s_RP)/(S1->gas_constant()/S1->molar_mass());
|
||||
double delta_a2 = -(h_CP - h_RP)/(S1->gas_constant()/S1->molar_mass()*S1->get_reducing_state().T);
|
||||
CAPTURE(delta_a1);
|
||||
CAPTURE(delta_a2);
|
||||
|
||||
CAPTURE(Name);
|
||||
CAPTURE(RPName);
|
||||
CAPTURE(h_CP);
|
||||
|
||||
Reference in New Issue
Block a user