Skip to content

Long-term simulation (multiple years) using a predifined current profile #4152

Answered by jhthompson12
jhthompson12 asked this question in Q&A
Discussion options

You must be logged in to vote

@lappemic, what I posted above did end up working for me, but I made some tweaks to the approach to make things work more smoothly. This is very similar is spirit, but changed slightly to take advantage of PyBaMM's experiment_step workflow.

With this I was able to run a 7 year simulation at 10 second resolution broken into daily experiment steps (i.e. ~2500 "cycles") which took around 3 hours to run.

"""
This file attempts to address the issue identified in this discussion: https://github.com/pybamm-team/PyBaMM/discussions/4152#discussioncomment-9707173

Let's try to take the very long timeseries data that we would like to simulate and break it up into a smaller chain of
sequential simula…

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@TomTranter
Comment options

@jhthompson12
Comment options

@lappemic
Comment options

@jhthompson12
Comment options

Answer selected by jhthompson12
@lappemic
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants