Skip to content

Commit

Permalink
#1575 codecov and example
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsulzer committed Mar 8, 2022
1 parent 950644c commit 7bdb620
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/scripts/compare_lithium_ion.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
sims.append(sim)

# plot
pybamm.dynamic_plot(sims, ["Discharge energy [W.h]"])
pybamm.dynamic_plot(sims)
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ def external_circuit_function(variables):
model = pybamm.lead_acid.LOQS(options)
model.check_well_posedness()

def test_well_posed_discharge_energy(self):
options = {"calculate discharge energy": "true"}
model = pybamm.lead_acid.LOQS(options)
model.check_well_posedness()


if __name__ == "__main__":
print("Add -v for more debug output")
Expand Down

0 comments on commit 7bdb620

Please sign in to comment.