[TRNSYS-users] CoolProp in TRNSYS
David BRADLEY
d.bradley at tess-inc.com
Mon Jan 31 07:10:44 PST 2022
Maciej,
some of these may be quite obvious but here are some things to check.
- make sure that you modified the Studio proforma to allow for the new
nref code.
- make sure that you have used the same case the CoolProp expects; I do
not know for a fact but it looks to me as though CoolProp is case sensitive.
- make sure that CO2 properties can be returned based on the
combinations of properties that you are sending (T and x known, T and p
known, etc.)
- you'll need to recompile the TRNDll after making the source code
change CoolProp_Fluid_Properties()
kind regards,
David
On 01/31/2022 05:09, Maciej Bujalski via TRNSYS-users wrote:
>
> 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
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
--
***************************
David BRADLEY
Principal
Thermal Energy System Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI 53703 USA
P:+1.608.274.2577
d.bradley at tess-inc.com
http://www.tess-inc.com
http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20220131/151e837f/attachment.htm>
More information about the TRNSYS-users
mailing list