Help with a simulating Drive Cycle from a BPX Schema #3698
Unanswered
MarkVeerasingam
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You should try with the new experiment step class https://docs.pybamm.org/en/stable/source/api/experiment/experiment_steps.html which accepts arrays as values |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi, all I'm trying to run this code from a BPX model here: About: Energy BPX Parameterization
However I know since timescales been removed, however this didn't work for me
It's returning this error:
---> 11 current_data[:, 0], -current_data[:, 1], pybamm.t, interpolator="linear")
TypeError: bad operand type for unary -: 'str'
And I have no idea on how about resolving this, if anyone could help me out that would be greatly appreciated. I'm currently trying to learn more other parts of pybamm like BPX and other modelling tools and really optimistic for BPX.
You can find the drive cycle data here
Beta Was this translation helpful? Give feedback.
All reactions