[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[TRNSYS-users] CoolProp in TRNSYS



Dear TRNSYS users,

I have created my own component to calculate properties of fluids using CoolProp library.  The component communicates with Subroutine CoolProp_Fluid_Properties(…). However, I would like to use different fluids than those listed in this file (for example CarbonDioxide).

I just wrote a new line in Subroutine CoolProp_Fluid_Properties – “If (nref == new number) RefName = “CarbonDioxide”//CHAR(0)

But it does not work.

Do you have any recommendations for me ?

 

Kind regards,

Maciej Bujalski