Skip to main content

WaterProperties. ML Automation of construction

Introduction

This library is a collection of functions for calculating various thermodynamic properties of water and steam. The library is based on the international formulation IAPWS (International Association for the Properties of Water and Steam) and allows for the calculation of properties of water and steam over a wide range of temperatures and pressures.

SchemeWork.png

The module also is based on the following article:
Library of functions for calculating the properties of water and steam
Which is written in the Visual Basic programming language.

Quick Guide

Install library, use the pip install WaterProperties construct.
Using the library is as simple and convenient as possible:

First, import everything or needed functions from the library (use the from WaterProperties import * construct).
Second, you can use any function from the library (use the WaterProperties.Any_Function construct).

Example Usage

import WaterProperties

t = 25  # temperature in degrees Celsius
p = 101325  # pressure in Pascals

# calculate the density of water
density = WaterProperties.Density(t, p)
print("Density of water:", density, "kg/m^3")

# calculate the specific entropy of water
entropy = WaterProperties.Specific_Entropy(t, p)
print("Specific entropy of water:", entropy, "J/kg·K")

Functions

The purpose of each of the functions is contained directly in the name.
The library includes the following functions:

  • Region(t, p)
  • Density3(t, p)
  • Helmholtz_Energy(t, ro)
  • Pressure3(t, ro)
  • Specific_Energy3(t, ro)
  • Specific_Entropy3(t, ro)
  • Specific_Enthalpy3(t, ro)
  • Heat_Isobary3(t, ro)
  • Heat_Isochorny3(t, ro)
  • Sound_Speed3(t, ro)
  • Gibbs_Energy(t, p)
  • Specific_Volume(t, p)
  • Density(t, p)
  • Specific_Energy(t, p)
  • Specific_Entropy(t, p)
  • Specific_Enthalpy(t, p)
  • Heat_Capacity_Isobaric(t, p)
  • Heat_Capacity_Isochoric(t, p)
  • Speed_Sound(t, p)
  • Saturation_Temperature(p)
  • Saturation_Pressure(t)
  • Border_Temperature(p)
  • Border_Pressure(t)
  • Viscosity(t, p)
  • Density_MI(t, p)
  • Specific_Enthalpy_MI(t, p)
  • JF(t, p, Trigger, reg)

References

Mikhail and Lev's DevTeam

Metadata

Release files for WaterProperties 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for WaterProperties 0.0.4
File Size Uploaded Provenance Actions
waterproperties-0.0.4.tar.gz 74.2 kB Without provenance Details for waterproperties-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for WaterProperties 0.0.4
File Interpreter ABI Platform Actions
waterproperties-0.0.4-py3-none-any.whl Python 3 none any Details for waterproperties-0.0.4-py3-none-any.whl

Total release size: 83.8 kB

Release files / waterproperties-0.0.4.tar.gz

Download URL waterproperties-0.0.4.tar.gz
Size 74.2 kB
Tags Source
SHA-256 checksum
How to use checksums
121eb375c854328998a9200e4326e9d695ce7132e99db885bf810248bc326a78
BLAKE2b-256 checksum
How to use checksums
341a69afb81fe4b382ba776f126ec902fea1d2c8f438cbab0e29745060d4749f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.0

Release files / waterproperties-0.0.4-py3-none-any.whl

Download URL waterproperties-0.0.4-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02cb6884a77fa7b000c8a258d80e7b23b525052add4b3214b5dd1b9437b0951d
BLAKE2b-256 checksum
How to use checksums
81e20fc5e94f5de59350bc20dcfa750e99de215614115f3c8110c24b38956d3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.0

Security for WaterProperties 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page