Open samiit opened 4 years ago
Make sure you are using CoolProp/CoolProp.jl not vimalaad/CoolProp.jl.
See this discourse thread and this pull request.
Thanks @cstook. I had followed the instruction (blindly) on the Readme of this repo.
I found the solution from your instructions on discourse thread. I will just write it here in case someone looks for a solution here (tried out on 1.3): Step 1: deleting .julia/dev/CoolProp and .julia/registries/* Step 2: On Julia REPL, get into the Pkg mode, by typing ] And then type the following:
dev https://github.com/CoolProp/CoolProp.jl.git
build CoolProp
Step 3: Try out CoolProp in Julia:
using CoolProp
PropsSI("D", "T", 300, "P", 101325, "Water")
PropsSI("Dmass", "T", 300, "P", 101325, "R125[0.7]&R32[0.3]")
This is in spite of the fact that the unit tests fail, which you can try on the Julia REPL, by getting into the Pkg mode, after typing ]:
test CoolProp
As of today, the test fails for critical calculations of a few fluids:
Test Failed at C:\Users\Sam\.julia\dev\CoolProp\test\testFluids.jl:33
Expression: uneq == Set(fails_tcrit_eq_treducing)
Evaluated: Set(Any["R11", "R134a", "n-Undecane", "Helium", "MDM", "Fluorine",
"Isohexane", "R116", "R41", "HydrogenChloride", "n-Pentane", "Oxygen", "MM", "I
soButane", "n-Nonane"]) == Set(["R11", "R134a", "n-Undecane", "Neon", "Helium",
"MDM", "Fluorine", "Isohexane", "R116", "R41", "n-Pentane", "Oxygen", "MM", "Iso
Butane", "D5", "n-Nonane"])
ERROR: LoadError: LoadError: There was an error during testing
in expression starting at C:\Users\Sam\.julia\dev\CoolProp\test\testFluids.jl:
33
in expression starting at C:\Users\Sam\.julia\dev\CoolProp\test\runtests.jl:44
I tried to install it on Windows 64 bit machine, using Julia 1.3 and it fails:
Any way this can be solved?
Thanks in advance!