Skip to content

Commit

Permalink
Use 2019 SI base units
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed Aug 26, 2024
1 parent c930a3a commit d08722f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyMBE.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import pint
import numpy as np
import pandas as pd
import scipy.constants
import scipy.optimize


Expand All @@ -40,9 +41,9 @@ class pymbe_library():
Kw(`pint.Quantity`): Ionic product of water. Used in the setup of the G-RxMC method.
"""
units = pint.UnitRegistry()
N_A=6.02214076e23 / units.mol
Kb=1.38064852e-23 * units.J / units.K
e=1.60217662e-19 *units.C
N_A=scipy.constants.N_A / units.mol
Kb=scipy.constants.k * units.J / units.K
e=scipy.constants.e * units.C
df=None
kT=None
Kw=None
Expand Down

0 comments on commit d08722f

Please sign in to comment.