Replies: 1 comment
-
You are running an old version of PyBaMM (i.e. older than 23.5), but using the example for version 23.5. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There was an error when running the following code in the example: https://docs.pybamm.org/en/latest/source/examples/notebooks/experiments-start-time.html
s = pybamm.step.string
experiment = pybamm.Experiment(
[
s("Discharge at 1C for 1 hour", start_time=datetime(1, 1, 1, 8, 0, 0)),
s("Charge at C/3 for 10 minutes", start_time=datetime(1, 1, 1, 8, 30, 0)),
s("Discharge at C/2 for 30 minutes", start_time=datetime(1, 1, 1, 9, 0, 0)),
s("Rest for 1 hour"),
]
)
sim = pybamm.Simulation(model, experiment=experiment)
sim.solve()
sim.plot()
The error is: No attribute call step in PyBaMM
Can someone provide me reason for this?
Beta Was this translation helpful? Give feedback.
All reactions