Skip to content

Instantly share code, notes, and snippets.

@alblaz
Created October 26, 2018 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alblaz/7d2d12fa99b8e0b8efa3db8a27c24c80 to your computer and use it in GitHub Desktop.
Save alblaz/7d2d12fa99b8e0b8efa3db8a27c24c80 to your computer and use it in GitHub Desktop.
(v1.0) pkg> test CoolProp
Testing CoolProp
Resolving package versions...
Status `C:\Users\alaz\AppData\Local\Temp\jl_7A74.tmp\Manifest.toml`
[34da2185] Compat v1.3.0
[e084ae63] CoolProp v0.0.0 [`C:\Users\alaz\.julia\dev\CoolProp`]
[682c06a0] JSON v0.19.0
[2a0f44e3] Base64 [`@stdlib/Base64`]
[ade2ca70] Dates [`@stdlib/Dates`]
[8bb1440f] DelimitedFiles [`@stdlib/DelimitedFiles`]
[8ba89e20] Distributed [`@stdlib/Distributed`]
[b77e0a4c] InteractiveUtils [`@stdlib/InteractiveUtils`]
[76f85450] LibGit2 [`@stdlib/LibGit2`]
[8f399da3] Libdl [`@stdlib/Libdl`]
[37e2e46d] LinearAlgebra [`@stdlib/LinearAlgebra`]
[56ddb016] Logging [`@stdlib/Logging`]
[d6f4376e] Markdown [`@stdlib/Markdown`]
[a63ad114] Mmap [`@stdlib/Mmap`]
[44cfe95a] Pkg [`@stdlib/Pkg`]
[de0858da] Printf [`@stdlib/Printf`]
[3fa0cd96] REPL [`@stdlib/REPL`]
[9a3f8284] Random [`@stdlib/Random`]
[ea8e919c] SHA [`@stdlib/SHA`]
[9e88b42a] Serialization [`@stdlib/Serialization`]
[1a1011a3] SharedArrays [`@stdlib/SharedArrays`]
[6462fe0b] Sockets [`@stdlib/Sockets`]
[2f01184e] SparseArrays [`@stdlib/SparseArrays`]
[10745b16] Statistics [`@stdlib/Statistics`]
[8dfed614] Test [`@stdlib/Test`]
[cf7118a7] UUIDs [`@stdlib/UUIDs`]
[4ec0a83e] Unicode [`@stdlib/Unicode`]
[ Info: ********* High Level Api *********
max diff between reducing vs critical point T: 1.2708999999999833 for
different reducing vs critical point: Set(Any["R11", "R134a", "n-Undecane", "Neon", "Helium", "MDM", "Fluorine", "Isohexane", "R116", "R41", "n-Pentane", "Oxygen", "MM", "IsoButane", "D5", "n-Nonane"])
fails to get phase for critical point: Set(Any["MD4M", "R11", "R134a", "SES36", "n-Undecane", "Neon", "CycloPropane", "trans-2-Butene", "MDM", "Air", "SulfurDioxide", "Fluorine", "Isohexane", "R116", "R41", "n-Pentane", "Oxygen", "MM", "R227EA", "IsoButane", "D5", "n-Nonane"])
[ Info: parameters with numerical values are as expected
[ Info: Finding trivials with numerical value
DIPOLE_MOMENT is trivial without any numericalvalue
FRACTION_MAX is trivial without any numericalvalue
FRACTION_MIN is trivial without any numericalvalue
Only ["Acetone", "Argon", "CarbonDioxide", "CarbonylSulfide", "Deuterium", "DimethylEther", "Ethane", "EthylBenzene", "Ethylene", "HFE143m", "m-Xylene", "MD4M", "Methane", "Methanol", "n-Butane", "n-Hexane", "n-Propane", "n-Undecane", "NitrousOxide", "o-Xylene", "OrthoDeuterium", "p-Xylene", "ParaDeuterium", "Propylene", "R11", "R113", "R114", "R115", "R12", "R123", "R1233zd(E)", "R1234yf", "R1234ze(E)", "R1234ze(Z)", "R124", "R125", "R13", "R134a", "R13I1", "R14", "R141b", "R142b", "R143a", "R152A", "R161", "R21", "R218", "R22", "R227EA", "R23", "R236EA", "R236FA", "R245fa", "R32", "R365MFC", "R404A", "R407C", "R41", "R410A", "R507A", "RC318", "SES36", "SulfurHexafluoride", "Toluene"] return number for GWP100
Only ["Argon", "CarbonDioxide", "CarbonylSulfide", "Deuterium", "DimethylEther", "EthylBenzene", "HFE143m", "m-Xylene", "MD4M", "Methane", "n-Undecane", "NitrousOxide", "o-Xylene", "OrthoDeuterium", "p-Xylene", "ParaDeuterium", "R11", "R113", "R114", "R12", "R123", "R1233zd(E)", "R1234ze(Z)", "R124", "R125", "R13", "R134a", "R14", "R141b", "R142b", "R143a", "R152A", "R21", "R218", "R22", "R227EA", "R23", "R236FA", "R245fa", "R32", "R365MFC", "R41", "RC318", "SES36", "SulfurHexafluoride"] return number for GWP20
Only ["Argon", "CarbonDioxide", "Deuterium", "EthylBenzene", "HFE143m", "m-Xylene", "MD4M", "Methane", "n-Undecane", "NitrousOxide", "o-Xylene", "OrthoDeuterium", "p-Xylene", "ParaDeuterium", "R11", "R113", "R114", "R12", "R123", "R1233zd(E)", "R1234ze(Z)", "R124", "R125", "R13", "R134a", "R14", "R141b", "R142b", "R143a", "R152A", "R21", "R218", "R22", "R227EA", "R23", "R236FA", "R245fa", "R32", "R365MFC", "R41", "RC318", "SES36", "SulfurHexafluoride"] return number for GWP500
Only ["EthylBenzene", "HFE143m", "m-Xylene", "MD4M", "n-Undecane", "o-Xylene", "OrthoDeuterium", "p-Xylene", "ParaDeuterium", "R11", "R113", "R114", "R115", "R12", "R123", "R1233zd(E)", "R1234ze(Z)", "R124", "R141b", "R142b", "R22", "R404A", "SES36"] return number for ODP
RHOMASS_REDUCING is trivial without any numericalvalue
T_FREEZE is trivial without any numericalvalue
[ Info: Trivial inputs with numerical values are as expected.
[ Info: ********* Low Level Api *********
HEOS:42.13513665749303
0.000055 seconds (6 allocations: 192 bytes)
TTSE:42.13513665749303
0.000017 seconds (6 allocations: 192 bytes)
BICU:42.13513665749303
0.000028 seconds (6 allocations: 192 bytes)
SRK:41.889330736087686
0.000014 seconds (6 allocations: 192 bytes)
PR:41.948499122984686
0.000017 seconds (6 allocations: 192 bytes)
IF97::Water property for PT_INPUTS 101325 308.15
IF97 P = 101325.0
IF97 T = 308.15
IF97 H = 146730.82955997213
IF97 D = 994.0385313149595
IF97 S = 505.13438597897874
IF97 A = 1521.9843250656788
IF97 U = 146628.8968915614
IF97 C = 4178.947003594878
IF97 O = 4095.514083817203
IF97::Water property for QT_INPUTS 0.5 308.15
┌ Warning: QT_INPUTS not ready
└ @ Main C:\Users\alaz\.julia\dev\CoolProp\test\testLow.jl:59
┌ Warning: AbstractState_set_cubic_alpha_C fails with: ErrorException("ccall: could not find function AbstractState_set_cubic_alpha_C in library C:\\Users\\alaz\\.julia\\dev\\CoolProp\\deps\\lib\\CoolProp.dll")
└ @ Main C:\Users\alaz\.julia\dev\CoolProp\test\testLow.jl:124
┌ Warning: set_config for double fails with: ErrorException("ccall: could not find function set_config_double in library C:\\Users\\alaz\\.julia\\dev\\CoolProp\\deps\\lib\\CoolProp.dll")
└ @ Main C:\Users\alaz\.julia\dev\CoolProp\test\runtests.jl:81
┌ Warning: set_config for bool fails with: ErrorException("ccall: could not find function set_config_bool in library C:\\Users\\alaz\\.julia\\dev\\CoolProp\\deps\\lib\\CoolProp.dll")
└ @ Main C:\Users\alaz\.julia\dev\CoolProp\test\runtests.jl:86
Testing CoolProp tests passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment