Cycling aging #3102
-
Hello everyone, I am quite new to PyBaMM and i have a question regarding cycling aging. I wanted to perform a cycling aging with the following experiment:
The cycling should look like (Loop 1, Loop2 *24)*20. I used this example as a basis and I have just tried to change the experiment parameters. My code: pb.set_logging_level("NOTICE")
model = pb.lithium_ion.DFN(
{
"SEI": "ec reaction limited",
"SEI film resistance": "distributed",
"SEI porosity change": "true",
"lithium plating porosity change": "true",
}
)
param = pb.ParameterValues("Chen2020")
experiment = pb.Experiment(
[
(
"Charge at 0.2 C until 4.2 V",
"Rest for 30 minutes",
"Discharge at 0.2 C until 3.72 V",
"Rest for 30 minutes",
"Discharge at 0.2 C for 30 seconds",
"Rest for 30 minutes",
"Discharge at 0.2 C at 3V",
)
]
+ [
(
"Charge at 1C until 4.2 V",
"Discharge at 1C until 3 V",
)
]*24
)
sim = pb.Simulation(model, experiment=experiment, parameter_values=param)
sim.solve(solver=pb.CasadiSolver(mode="fast with events")) Thank you for your help in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I got a different error, caused by a typo: it should say |
Beta Was this translation helpful? Give feedback.
I got a different error, caused by a typo: it should say
"Discharge at 0.2 C until 3V"
instead of"Discharge at 0.2 C at 3V"
. Fixing that got the code running at my end.