[go: up one dir, main page]

Menu

[dfec81]: / dev / Tickets / 321.py  Maximize  Restore  History

Download this file

21 lines (17 with data), 469 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
import CoolProp
import CoolProp.CoolProp as CP
fluids = [
["R50", "Methane"],
["R170", "Ethane"],
["R600", "n-Butane"],
["R704", "Helium"],
["R718", "Water"],
["R720", "Neon"],
["R728", "Nitrogen"],
["R729", "Air"],
["R732", "Oxygen"],
["R740", "Argon"],
["R1150", "Ethylene"],
["R1270", "Propylene"]]
for f in fluids:
print("{0}:{1} - {2}:{3}".format(f[0],CP.PropsSI('Tcrit','T',0,'D',0,f[0]),CP.PropsSI('Tcrit','T',0,'D',0,f[1]),f[1]))