Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pvtlib-1.1.7.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pvtlib-1.1.7-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

Details for the file pvtlib-1.1.7.tar.gz.

File metadata

  • Download URL: pvtlib-1.1.7.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for pvtlib-1.1.7.tar.gz
Algorithm Hash digest
SHA256 cb227017ea9cd458e7c74d7cee6c302d5be1ffe1814df44bd9e1cee3d7f05583
MD5 cd4436e2f009dcf217c784c8f07fb3e8
BLAKE2b-256 ff1b0bd6af477d03dc66de75f693ffde56230fe549668cabf8500c85f5d8bd60

See more details on using hashes here.

File details

Details for the file pvtlib-1.1.7-py3-none-any.whl.

File metadata

  • Download URL: pvtlib-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 39.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for pvtlib-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 dbc9964d2ffe53096896089d57e0ff43b89ccd7fe788f93a7148422f869360b0
MD5 0094820714f821d462a398a766dcd4c1
BLAKE2b-256 bd4bf9f6791690cbb1c7670e94edb476d598cc3d7f8755aeee099397b9f4755b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page