Skip to content

Commit

Permalink
#1726 revert cccv example
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsulzer committed Oct 26, 2021
1 parent eb51665 commit fc46433
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions examples/scripts/experimental_protocols/cccv.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,19 @@
experiment = pybamm.Experiment(
[
(
"Discharge at C/5 for 10 hours or until 3.5 V",
"Discharge at C/5 for 10 hours or until 3.3 V",
"Rest for 1 hour",
"Charge at 1 A until 4.1 V",
# "Hold at 4.1 V until 10 mA",
# "Rest for 1 hour",
"Hold at 4.1 V until 10 mA",
"Rest for 1 hour",
),
]
* 3
)
model = pybamm.lithium_ion.DFN()

options = {"working electrode": "positive"}
model = pybamm.lithium_ion.DFN(options=options)
chemistry = pybamm.parameter_sets.Xu2019
param = pybamm.ParameterValues(chemistry=chemistry)
sim = pybamm.Simulation(
model,
experiment=experiment,
solver=pybamm.CasadiSolver("fast with events"),
parameter_values=param,
model, experiment=experiment, solver=pybamm.CasadiSolver("fast with events")
)
sim.solve()

Expand Down

0 comments on commit fc46433

Please sign in to comment.