Skip to main content
File added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

Class to model a state for liquid water or steam with the Industrial Formulation IAPWS-IF97

Incoming properties:

- T, Temperature, K
- P, Pressure, MPa
- h, Specific enthalpy, kJ/kg
- s, Specific entropy, kJ/kg·K
- x, Quality

Definitions options:

- T, P (Not valid for two-phases region)
- P, h
- P, s
- h, s
- T, x (Only for two-phases region)
- P, x (Only for two-phases region)

Properties:

- P, Pressure, MPa
- T, Temperature, K
- g, Specific Gibbs free energy, kJ/kg
- a, Specific Helmholtz free energy, kJ/kg
- v, Specific volume, m³/kg
- rho, Density, kg/m³
- h, Specific enthalpy, kJ/kg
- u, Specific internal energy, kJ/kg
- s, Specific entropy, kJ/kg·K
- cp, Specific isobaric heat capacity, kJ/kg·K
- cv, Specific isochoric heat capacity, kJ/kg·K
- Z, Compression factor
- gamma, Isoentropic exponent
- alfav, Isobaric cubic expansion coefficient, 1/K
- kt, Isothermal compressibility, 1/MPa
- alfap, Relative pressure coefficient, 1/K
- betap, Isothermal stress coefficient, kg/m³
- joule, Joule-Thomson coefficient, K/MPa
- deltat, Isothermal throttling coefficient, kJ/kg·MPa
- region, Region

- v0, Ideal specific volume, m³/kg
- u0, Ideal specific internal energy, kJ/kg
- h0, Ideal specific enthalpy, kJ/kg
- s0, Ideal specific entropy, kJ/kg·K
- a0, Ideal specific Helmholtz free energy, kJ/kg
- g0, Ideal specific Gibbs free energy, kJ/kg
- cp0, Ideal specific isobaric heat capacity, kJ/kg·K
- cv0, Ideal specific isochoric heat capacity, kJ/kg·K
- w0, Ideal speed of sound, m/s
- gamma0, Ideal isoentropic exponent

- w, Speed of sound, m/s
- mu, Dynamic viscosity, Pa·s
- nu, Kinematic viscosity, m²/s
- k, Thermal conductivity, W/m·K
- alfa, Thermal diffusivity, m²/s
- sigma, Surface tension, N/m
- epsilon, Dielectric constant
- n, Refractive index
- Pr, Prandtl number



Usage:

-
from iapws import IAPWS97
-
sat_steam=IAPWS97(P=1,x=1) #saturated steam with known P
sat_liquid=IAPWS97(T=370, x=0) #saturated liquid with known T
steam=IAPWS97(P=2.5, T=500) #steam with known P and T
print(sat_steam.h, sat_liquid.h, steam.h) #calculated enthalpy

Release files for iapws 1.0.3

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

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for iapws 1.0.3
File Size Uploaded
iapws-1.0.3.tar.gz 39.4 kB Details

Release files / iapws-1.0.3.tar.gz

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL iapws-1.0.3.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2c0a93fbff455ad31573c84b3cd9c5c6e694647cd17189291327323ff32bf48b
BLAKE2b-256 checksum
How to use checksums
534ca7226781ba15d2bd8055e001910bfc3ff85f9979cb779a4df3b27be41075
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.5.5

2 release files

1.5.4

1 release file

1.5.3

1 release file

1.5.2

1 release file

1.5.1

1 release file

1.5

1 release file

1.4.1

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1

1 release file

1.0.5

1 release file

1.0.4

1 release file

This release

1.0.3 This release

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

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