Skip to main content

Object-oriented wrapper for CoolProp thermodynamic properties

Project description

CoolProp-OOP

An object-oriented wrapper for CoolProp thermodynamic properties.

Installation

pip install coolprop-oop

Usage

Humid Air Properties

from coolprop_oop import StateHA

# Create a state for humid air
state = StateHA(['P', 101325, 'T', 293.15, 'R', 0.5])

# Access properties
print(f"Temperature: {state.tempc}°C")
print(f"Relative Humidity: {state.relhum * 100}%")
print(f"Humidity Ratio: {state.humrat} kg/kg")

Pure Fluid Properties

from coolprop_oop import StatePROPS

# Create a state for water
state = StatePROPS(['P', 101325, 'T', 373.15, 'water'])

# Access properties
print(f"Temperature: {state.tempc}°C")
print(f"Pressure: {state.press} Pa")
print(f"Density: {state.dens} kg/m³")

License

MIT

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

coolprop_oop-1.0.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

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

coolprop_oop-1.0.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file coolprop_oop-1.0.0.tar.gz.

File metadata

  • Download URL: coolprop_oop-1.0.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for coolprop_oop-1.0.0.tar.gz
Algorithm Hash digest
SHA256 05398e0899ec87b0ba42b3681a01a3457c69c3f8a2b5a2ffc2355780d85d8d75
MD5 08cf20946fc92cdfa27b7d3a72f1fca7
BLAKE2b-256 da5b254a551b33b5cd7c07c76760a8a4ae0cc9c4f49282aa424f6c3797f92e3d

See more details on using hashes here.

File details

Details for the file coolprop_oop-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: coolprop_oop-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for coolprop_oop-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f7f8c078a5979958bb660580765cb31b48ee44b433211cd97c7beb258f54436
MD5 1d2f76c0f6b3f024bc6479cccc57d204
BLAKE2b-256 d55ffdeb0a6847be0fd3dcc94fd01dbee515e0242deaac04bd56c1266b5695a0

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