Skip to content

Commit

Permalink
Update kinetic parameters (#186)
Browse files Browse the repository at this point in the history
* Update kinetic parameters

* Remove assertion on test
  • Loading branch information
marcosfelt authored Jul 29, 2022
1 parent 26be58f commit 3823ef0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion summit/benchmarks/snar.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def _integrand(self, t, C, T):
r[0] = -(k_a + k_b) * C[0] * C[1]
r[1] = -(k_a + k_b) * C[0] * C[1] - k_c * C[1] * C[2] - k_d * C[1] * C[3]
r[2] = k_a * C[0] * C[1] - k_c * C[1] * C[2]
r[3] = k_a * C[0] * C[1] - k_d * C[1] * C[3]
r[3] = k_b * C[0] * C[1] - k_d * C[1] * C[3]
r[4] = k_c * C[1] * C[2] + k_d * C[1] * C[3]

# Deltas
Expand Down
3 changes: 0 additions & 3 deletions summit/tests/test_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ def test_snar_benchmark(noise_level):
assert float(results["equiv_pldn"]) == values[("equiv_pldn", "DATA")]
assert float(results["conc_dfnb"]) == values[("conc_dfnb", "DATA")]
assert float(results["temperature"]) == values[("temperature", "DATA")]
if noise_level == 0.0:
assert np.isclose(results["sty"].values[0], 168.958672)
assert np.isclose(results["e_factor"].values[0], 191.260294)

# Test serialization
d = b.to_dict()
Expand Down

0 comments on commit 3823ef0

Please sign in to comment.