Skip to content

Commit

Permalink
Updated default Ca and Mg values to prevent pitzer model running at d…
Browse files Browse the repository at this point in the history
…efault conditions.
  • Loading branch information
oscarbranson committed Feb 29, 2024
1 parent 175159d commit 61a46aa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions HISTORY.rst
Expand Up @@ -3,6 +3,10 @@
Release History
---------------

0.4.9 (2024-02-29)
------------
Updated default Ca and Mg values to prevent pitzer model running at default conditions.

0.4.8 (2023-03-15)
------------
Set minumum required Kgen version to 0.2.0.
Expand Down
2 changes: 1 addition & 1 deletion cbsyst/__init__.py
Expand Up @@ -2,4 +2,4 @@
from cbsyst.helpers import data_out, Bunch, pH_scale_converter
from kgen import calc_Ks

VERSION = '0.4.8'
VERSION = '0.4.9'
8 changes: 4 additions & 4 deletions cbsyst/cbsyst.py
Expand Up @@ -17,7 +17,7 @@ def Csys(
CO2=None, HCO3=None, CO3=None,
pCO2=None, fCO2=None,
BT=None,
Ca=None, Mg=None,
Ca=0.0102821, Mg=0.0528171,
T_in=25.0, T_out=None,
S_in=35.0, S_out=None,
P_in=None, P_out=None,
Expand Down Expand Up @@ -269,7 +269,7 @@ def Bsys(
T_in=25.0,
S_in=35.0,
P_in=None,
Ca=None,
Ca=0.0102821,
Mg=None,
ST=None,
FT=None,
Expand Down Expand Up @@ -437,7 +437,7 @@ def ABsys(
T_in=25.0,
S_in=35.0,
P_in=None,
Ca=None,
Ca=0.0102821,
Mg=None,
ST=None,
FT=None,
Expand Down Expand Up @@ -610,7 +610,7 @@ def CBsys(
T_out=None,
S_out=None,
P_out=None,
Ca=None,
Ca=0.0102821,
Mg=None,
PT=0.0,
SiT=0.0,
Expand Down

0 comments on commit 61a46aa

Please sign in to comment.