A library containing various tools in the categories of thermodynamics, fluid mechanics, metering etc.
Project description
pvtlib
pvtlib is a Python library that provides various tools in the categories of thermodynamics, fluid mechanics, and metering. The library includes functions for calculating flow rates, energy balances, and other related calculations.
Installation
You can install the library using pip:
pip install pvtlib
Usage
Here is an example of how to use the library:
from pvtlib.metering import differential_pressure_flowmeters
# Example usage of the calculate_flow_venturi function
result = differential_pressure_flowmeters.calculate_flow_venturi(D=0.1, d=0.05, dP=200, rho1=1000)
print(result)
Features
- Thermodynamics: Thermodynamic functions
- Fluid Mechanics: Fluid mechanic functions
- Metering: Metering functions
- aga8: Equations for calculating gas properties (GERG-2008 and DETAIL)
- Unit converters: Functions to convert between different units of measure
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contact
For any questions or suggestions, feel free to open an issue or contact the author at chaagen2013@gmail.com.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pvtlib-1.1.3.tar.gz.
File metadata
- Download URL: pvtlib-1.1.3.tar.gz
- Upload date:
- Size: 25.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a9b867f3787cb14485bd6259bc1590deb5d3d0a6b9b3883c5a1f56be6d7322d
|
|
| MD5 |
957e7af8194a7ab4dad7149e6d0c9463
|
|
| BLAKE2b-256 |
0714a417d9e0327b381628bcc07740baf858c58861066240778aa2eb7306757a
|
File details
Details for the file pvtlib-1.1.3-py3-none-any.whl.
File metadata
- Download URL: pvtlib-1.1.3-py3-none-any.whl
- Upload date:
- Size: 50.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2926c1c9d87031f18f58ad1ff5bcb8883461be8954bcbdd407d73e74bd995dc
|
|
| MD5 |
cdc31a25fa3ed99cc89d31258da829ea
|
|
| BLAKE2b-256 |
1ee0a9dc920636fe00a1159f8db52217490e132d4afe798e640f42df90d95602
|