Skip to main content

No project description provided

Project description

CO2Br

This python module is built on the non-iterative approach to compute the phase attributes of $\mathrm{CO_2}$--brine mixtures at geological carbon--storage and sequestration conditions. It can be integeated in large scale isothermal flow and transport simulations. Given a pressure field and temperature, it computes :

1. Solubility - carbon-dioxide solubility in brine or pure water
2. Density - density of carbon-dioxide--brine/pure water mixture
3. Viscosity - viscosityof carbon-dioxide--brine/pure water mixture

All the attributes can be used to enfore Dirichlet boundary conditions (in numerical simulations) and compute end-member ($\mathrm{CO_2}$ saturated vs unsaturated) quantities.

applicability range

pressure and temperature range :

P <= 2000 bar (200 MPa); T<=523.15 degree K (250 degree C)

salinity components and molality ranges:

K2SO4 <= 1.5 mol/kg
MgSO4 <= 3.3 mol/kg
NaCl <= 6.0 mol/kg
KCl <= 6.0 mol/kg
MgCl2 <= 2.0 mol/kg
CaCl2 <= 5.0 mol/kg

dependencies

- python 2.0 or higher
- numpy

installation It can either be download from PyPI:

pip install CO2Br==0.0.1

or directly from github:

pip install git+https://github.com/TectoArc/CO2Br.git

documentation

m = {"NaCl":1.0, 
        "KCl": 0.0, 
        "MgSO4": 0, 
        "MgCl2": 0.0}
T = 30
P = np.ones([10, 10]) * 50

mco2 = Solubility(P, T).CO2Solubility(m)
d = Density(P, T)
r_co2br, r_br, rw = d.BrineDensity(m, mco2)
s = SolutionViscosity(T, m)
mu_co2br = s.Co2BrineViscosity(rw, mco2)

references

  • D. J. Bradley and K. S. Pitzer (1979). Thermodynamics of Electrolytes. 12. Dielectric Properties of Water and Debye-Hiickel Parameters to 350 $^°\mathrm{C}$ and 1 kbar. Journal of Physical Chemistry, American Chemical Society.
  • S. Mao and Z. Duan (2008). The P,V,T,x properties of binary aqueous chloride solutions up to T = 573 K and 100 MPa, Journal of Chemical Thermodynamics, Elsevier, doi: 10.1016/j.jct.2008.03.005.
  • Huber et al. (2009). New International Formulation for the Viscosity of $\mathrm{H_2O}$, Journal of Physical and Chemical Reference Data, AIP Publishing, doi: https://doi.org/10.1063/1.3088050.
  • Dedong Li, Bastian J. Graupnera, Sebastian Bauera (2011). A method for calculating the liquid density for the CO2-H2O-NaCl system under CO2 storage condition, Energy Procedia, Elsevier, doi:10.1016/j.egypro.2011.02.317.
  • S. Mao et al. (2017). The PVTx properties of aqueous electrolyte solutions containing $\mathrm{Li^+}$, $\mathrm{Na^+}$, $\mathrm{K^+}$, $\mathrm{Mg^{2+}}$, $\mathrm{Ca^{2+}}$, $\mathrm{Cl^−}$ and $\mathrm{SO_4^{2-}}$ under conditions of CO2 capture and sequestration, Applied Geochemistry, Elsevier, doi: http://dx.doi.org/10.1016/j.apgeochem.2017.10.002.
  • H, J, Kretzschmar and W. Wagner (2019). IAPWS industrial formulation 1997 for the thermodynamic properties of water and steam, International Steam Tables: Properties of Water and Steam based on the Industrial Formulation IAPWS-IF97, Springer.
  • X. Sun et al. (2021). A simple model for the prediction of mutual solubility in CO2-brine system at geological conditions, Desalination, Elsevier, doi: https://doi.org/10.1016/j.desal.2021.114972.
  • R. Sun et al. (2022). Modeling dynamic viscosities of multi-component aqueous electrolyte solutions containing $\mathrm{Li^+}$, $\mathrm{Na^+}$, $\mathrm{K^+}$, $\mathrm{Mg^{2+}}$, $\mathrm{Ca^{2+}}$, $\mathrm{Cl^−}$ and $\mathrm{SO_4^{2-}}$ and dissolved CO2 under conditions of CO2 sequestration, Applied Geochemistry, Elsevier, doi: https://doi.org/10.1016/j.apgeochem.2022.105347.

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

co2br-0.0.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

CO2Br-0.0.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file co2br-0.0.1.tar.gz.

File metadata

  • Download URL: co2br-0.0.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for co2br-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c2d4e1301ffa9862dbc9d11bd2a0609caed5b0b2f5bc24a9d7dc5de1362098db
MD5 827b9de5fbc76062edf50f339afa2e3b
BLAKE2b-256 7c52633b48ef8eab7449ad26d67ee81c2d44b839a6d4b0fe133e9d76cfadcff8

See more details on using hashes here.

File details

Details for the file CO2Br-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: CO2Br-0.0.1-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.1

File hashes

Hashes for CO2Br-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e57e0140412f10985ca111756d7768dbcc6ff26599b19cb54a0752ecd7ff4b9
MD5 f86c28edd8379e6df33691d0ea1d017d
BLAKE2b-256 57eb3de7d321d4138d8ad47dc415e1881f378199b0b5e3e5324b2b7a213a1d78

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