Skip to main content

A package for substance properties for absorption systems

Project description

Package Description

This package contains thermophysical property data for the following solutions used in absorption:

  • NaOH-water
  • LiBr-water
  • LiCl-water
  • CaCl2-water

Installation and Unsage

pip install absorptionlib
# Import
from absorptionlib import NaOH, LiBr, LiCl, CaCl2

# Example Usage
p = 100000 # [Pa]
x = 0.4    # [%]  = [kgNaOH / kgSolution]
t_sat = NaOH.saturation_temperature(p, x)
print(t_sat)

Quick documentation

Each of the submodules have their own "in-line" documentation, which can be called by the "documentation"-method. Each thermophysical property function has a separate docstring, which can be called by the "explain"-method.

# How to get quick documentation on the modules
NaOH.documentation() # or
LiBr.documentation() # or
LiCl.documentation() # or
CaCl2.documentation()

# How to get quick documentation for functions
NaOH.explain("enthalpy")    # returns docstring for NaOH.enthalpy
LiCl.explain("pTDiagram")   # returns docstring for LiCl.pTDiagram

Available Property-Functions

Function Name Description
saturation_temperature Calculate the boiling point temperature of an aqueous Lithium Bromide solution.
enthalpy Calculate the enthalpy of an H2O-LiCl solution at a given temperature and concentration.
differential_enthalpy_AD Calculates the differential enthalpy of a CaCl2 solution.
saturation_pressure Calculate the equilibrium pressure of an H2O-LiCl solution.
saturation_concentration Calculates the saturation concentration of LiCl in water based on the temperature and pressure.
density Calculate the density of a water-LiCl solution.
specific_heat_capacity Calculate the specific heat capacity of a CaCl2 solution.
dynamic_viscosity Calculate the dynamic viscosity of a LiCl solution.
diffusion_coefficient Computes the self diffusion coefficient of a CaCl2 solution.
hxDiagram Plots the pressure-temperature diagram for LiCl-H2O solutions.
pTDiagram Plots the pressure-temperature diagram for LiCl-H2O solutions.
solubility_temperature Calculate the crystallization temperature of LiCl solution in water.

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

absorptionlib-1.0.12.tar.gz (39.9 kB view details)

Uploaded Source

Built Distribution

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

absorptionlib-1.0.12-py3-none-any.whl (43.1 kB view details)

Uploaded Python 3

File details

Details for the file absorptionlib-1.0.12.tar.gz.

File metadata

  • Download URL: absorptionlib-1.0.12.tar.gz
  • Upload date:
  • Size: 39.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for absorptionlib-1.0.12.tar.gz
Algorithm Hash digest
SHA256 a8ba0a6fefd9176b58d643c804a8bcb1acefe4eb6b0a591a9f9e68f65b0a38c6
MD5 c1b801af5e15269ded9051c47784c81c
BLAKE2b-256 c986ae883bba00a37cb6c2cf279958e9b26e5bb4632af6d8efc9ce0b8bec40cb

See more details on using hashes here.

File details

Details for the file absorptionlib-1.0.12-py3-none-any.whl.

File metadata

  • Download URL: absorptionlib-1.0.12-py3-none-any.whl
  • Upload date:
  • Size: 43.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for absorptionlib-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 b91adc8204023bc476d3e2acf67abd7a28a8b273f0538158674644e5d9610751
MD5 e18e94207e85da26bd171603eabde106
BLAKE2b-256 77943d500f57ad62ee1fa699b2f647667e2c96413fdf5d09ff04de410cecee52

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