Skip to content

Commit

Permalink
Fixed maximum concentration in positive electrode in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
ikorotkin committed Jun 16, 2023
1 parent f7d1c17 commit b0433de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def setUp(self):
"Porosity": 0.335,
"Transport efficiency": 0.1939,
"Reaction rate constant [mol.m-2.s-1]": 1e-10,
"Maximum concentration [mol.m-3]": 631040,
"Maximum concentration [mol.m-3]": 63104.0,
"Minimum stoichiometry": 0.1,
"Maximum stoichiometry": 0.9,
},
Expand All @@ -81,7 +81,7 @@ def test_get_init_conc(self):
obj = parse_obj_as(BPX, test)
x, y = get_electrode_concentrations(0.7, obj)
self.assertAlmostEqual(x, 23060.568)
self.assertAlmostEqual(y, 214553.6)
self.assertAlmostEqual(y, 21455.36)


if __name__ == "__main__":
Expand Down

0 comments on commit b0433de

Please sign in to comment.