-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from ibell/HEOSmix
HEOS mix
- Loading branch information
Showing
6 changed files
with
126 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,5 +12,5 @@ dependencies: | |
- pip | ||
- pip: | ||
- CoolProp | ||
- Cython | ||
- Cython<3 | ||
- quantities |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
from __future__ import print_function | ||
import os | ||
|
||
from PDSim.scroll.core import Scroll | ||
from scroll_compressor import Compressor | ||
|
||
# from CoolProp import CoolProp as CP | ||
# CP.set_config_string(CP.ALTERNATIVE_REFPROP_PATH, r'/home/ian/REFPROP911') | ||
from CoolProp import CoolProp as CP | ||
CP.set_config_string(CP.ALTERNATIVE_REFPROP_PATH, os.getenv('RPPREFIX')) | ||
|
||
# CP.set_debug_level(1) | ||
|
||
# Use this one to use R410A as a mixture | ||
Compressor(Scroll, Ref='BICUBIC&REFPROP::R32[0.697614699375863]&R125[0.302385300624138]') | ||
# Use this one to use R410A as a pseudo-pure fluid | ||
Compressor(Scroll, Ref='R410A', HDF5file='R410APPF.h5') | ||
|
||
# Use this one to use R410A as a pure fluid | ||
#Compressor(Ref='R410A') | ||
# Use this one to use R410A as a mixture w/ REFPROP | ||
Compressor(Scroll, Ref='REFPROP::R32[0.697614699375863]&R125[0.302385300624138]', HDF5file='REFPROPR410Amix.h5') | ||
|
||
# Use this one to use R410A as a mixture w/ REFPROP and bicubic interpolation | ||
Compressor(Scroll, Ref='BICUBIC&REFPROP::R32[0.697614699375863]&R125[0.302385300624138]', HDF5file='REFPROPBICUBICR410Amix.h5') | ||
|
||
# Use this one to use R410A as a mixture w/ the HEOS backend of CoolProp | ||
Compressor(Scroll, Ref='HEOS::R32[0.697614699375863]&R125[0.302385300624138]', HDF5file='HEOSR410Amix.h5') |