-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add comprehensive docs for REFPROP interface #759
Comments
@mayersre Do you have any ideas for things we might want to add to the docs currently at http://www.coolprop.dreamhosters.com/binaries/sphinx/coolprop/REFPROP.html#refprop ? I think you are the most experienced CoolProp+REFPROP user |
sorry for the delay, but I move my home office currently ... I like the documents from the link above and I like the alternative REFPROP path, it will help a lot when |
Ok, glad you like them. If you have any ideas for things to put there, let On Mon, Aug 24, 2015 at 3:57 AM, Reiner Mayers notifications@github.com
|
I run TestCoolprop.py code below import CoolProp
print(CoolProp.__version__)
print(CoolProp.__gitrevision__)
import json, CoolProp.CoolProp as CP
jj = json.loads(CP.get_config_as_json_string())
jj['ALTERNATIVE_REFPROP_PATH'] = '/home/mayers/git/kformaug/extern/rp_nist/'
jj = CP.set_config_as_json_string(json.dumps(jj))
ref='REFPROP::R449A.MIX'
press=101325
bub_nist=CP.PropsSI('T','P',press,'Q',0,ref)-273.15
dew_nist=CP.PropsSI('T','P',press,'Q',1,ref)-273.15
print('{} Bubble point : {} Dew point {} at {} Pa.'.format(ref,bub_nist,dew_nist,press)) Output is fine
or
But it does not take refprop from '/home/mayers/git/kformaug/extern/rp_nist/' if I strace it, the output does not even contain 'nist'
|
Thanks for the comment. I am not sure how the path is handled on Linux, I think we only support Windows for now... @mayersre , I edited your post and added fenced code blocks to make the source code easier to read. |
Actually, I wrote the docs, but they are currently ahead of the code. I'll
|
Can you try again? I updated the code. If it works, we can close the issue. |
That works nicely now on Linux. I cloned the repo, built coolprop by instruction from the website, installed it into my virtualenv (no sudo neccessary), re-ran the commands for refprop access from django --> success. Switch ALTERNATIVE_REFPROP_PATH from rp_nist to rp_honeywell to rp_dupont --> success Thanks 👍 |
Have you tried to use the path to the HMX.BNC file? Does that work for you? I think it should. For now, I am going to close this issue... Any further problems, please re-open. Any other recommendations for the docs, I'm game as well. |
No description provided.
The text was updated successfully, but these errors were encountered: