Package for calculating the properties of water and steam
Project description
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.
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
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 waterproperties-0.0.4.tar.gz.
File metadata
- Download URL: waterproperties-0.0.4.tar.gz
- Upload date:
- Size: 74.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
121eb375c854328998a9200e4326e9d695ce7132e99db885bf810248bc326a78
|
|
| MD5 |
ca00b1b2617bccac582671b27bd7491b
|
|
| BLAKE2b-256 |
341a69afb81fe4b382ba776f126ec902fea1d2c8f438cbab0e29745060d4749f
|
File details
Details for the file waterproperties-0.0.4-py3-none-any.whl.
File metadata
- Download URL: waterproperties-0.0.4-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02cb6884a77fa7b000c8a258d80e7b23b525052add4b3214b5dd1b9437b0951d
|
|
| MD5 |
c0363c14423a254c2d84f461b5b9acdb
|
|
| BLAKE2b-256 |
81e20fc5e94f5de59350bc20dcfa750e99de215614115f3c8110c24b38956d3e
|