Files
CoolProp/dev/Tickets/321.py
Matthis Thorade 526cb198a4 autopep8 whitespace (#1613)
* autopep8 whitespace only:

--select="E101,W1,W2"

* revert single file: web2py_online.py

Should this be a .py file at all?

* revert file Tickets/1443.py because the diff looked strange:

maybe there is an encoding problem?

* Rename web2py_online.py to web2py_online.rst
2017-12-12 08:32:38 -07:00

21 lines
468 B
Python

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])