Ian Bell

Results 624 comments of Ian Bell

As always the question is what reference states are being used in each source. If they are not the same, you can't use enthalpies from one and put it into...

1. Without knowing what version of CoolProp is being used it is impossible to say anything. 2. Can you please show your calculated values that are the same as TRNSYS?...

Yeah TH are not supported in CoolProp due to the possibility of multiple solutions. I did: ```python import CoolProp.CoolProp as CP print(CP.PropsSI('Hmass', 'T', -145.15+273.15, 'P', 10e6, 'Air')) ``` which yields...

Sure you can: ```python import CoolProp.CoolProp as CP h = CP.PropsSI('Hmass', 'T', -145.15+273.15, 'P', 10e6, 'Air') T_hp = CP.PropsSI('T', 'Hmass', h, 'P', 10e6, 'Air') print(h, T_hp) ``` yielding ``` 103856.23303619286...

Sure you can. That's what I did in the code above.

To reproduce: you need to calculate H from T,P, then put THAT h,p in. That will eliminate the reference state question. You must be quite close to the critical point?...

Also, what precise error message do you obtain from TRNSYS?

Hmm. How does TRNSYS call CoolProp? Your input gives a reasonable value in Python: ```python import CoolProp.CoolProp as CP T_hp = CP.PropsSI('T', 'Hmass', 104.040e3, 'P', 10e6, 'Air') print(T_hp) ``` yielding...

There must be at least one more interface layer because that is not a CoolProp function you call

Yes, that interface. Do you get the same error if you ONLY call that function and do nothing else? I strongly believe this is TRNSYS related, and not having anything...