proptables
is a Python library designed to provide quick access to property tables for R134a and water, primarily aimed at engineers and researchers needing fluid property data in thermodynamic calculations.
- Provides easy-to-access property data for R134a and water.
- Useful for thermodynamics, refrigeration, and heating applications.
- Simplifies accessing and calculating fluid properties programmatically.
To install the proptables
library, run the following command in your terminal or command prompt:
pip install proptables
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting proptables
Downloading proptables-0.0.7-py3-none-any.whl (32 kB)
Installing collected packages: proptables
Successfully installed proptables-0.0.7
To use the library, import the required components as follows:
from proptables import R134a, water
The water
function can be used for various thermodynamic properties. Example usages:
water(Pressure=200)
water(Pressure=200, Enthalpy=1500)
water(Temperature=54)
water(Temperature=54, Entropy=5)
water(Pressure=4000, Superheated=True)
The R134a
function supports similar property queries. Example usages:
R134a(Temperature=36)
R134a(Temperature=34, Enthalpy=112)
R134a(Pressure=600)
R134a(Pressure=1200, Superheated=True)
The library provides detailed thermodynamic tables for water and R134a. Below are some examples:
MPa | degC | vf | vg | uf | ug | hf | hfg | hg | sf | sfg | sg |
---|---|---|---|---|---|---|---|---|---|---|---|
25 | 0.2 | 0.001061 | 0.8857 | 504.5 | 2529.1 | 504.7 | 2201.5 | 2706.2 | 1.5302 | 5.5967 | 7.1269 |
degC | kPa | vf | vg | uf | ug | hf | hfg | hg | sf | sfg | sg |
---|---|---|---|---|---|---|---|---|---|---|---|
31 | 36.0 | 0.00086 | 0.0224 | 101.55 | 249.1 | 102.33 | 167.17 | 269.5 | 0.3761 | 0.5407 | 0.9168 |
If you encounter any errors or issues, please report them on the library's GitHub page.