Gavin Wiggins
Gavin Wiggins
I can change the resistance of a single branch by updating the Rc0 value in the netlist dataframe as shown below. Results show a cell current near zero and a...
I think the upper and lower cutoff voltage is 4.2 volts. Try your experiment with 4.1 V or lower.
In liionpack voltage limits are checked as shown below. So if your experiment exceeds these voltage limits then it will exit the simulation or at least show a warning. https://github.com/pybamm-team/liionpack/blob/306ef75e2f20bd86ff8541db065e7175ff1a8b1a/liionpack/solvers.py#L441-L448
@Sourabh-Jadhav-2 GitHub supports syntax highlighted code blocks. See the links below for more information. There's no need to take screenshots of code or terminal output. https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-code https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks
@martinjrobins Can Jax perform in parallel using multiple machines?
I tried to run the Jax example that @martinjrobins posted above but I get the following error: ``` ValueError: model.timescale must be a Scalar after parameter processing (cannot contain 'InputParameter's)....
Using `model = pybamm.lithium_ion.SPM(options={"timescale": 1.0})` makes the example work.
@lwasser I can help with this issue but I have not found a good approach on how to actually test examples. My suggestion would be to use pytest to at...
That link is about examples in docstrings which can be run and tested using doctest. But I don't see anything in the guide about standalone examples such as scripts (`example.py`)...
@lwasser Ok, that page talks about creating documentation of examples. I guess I was confused by the title "Create Package Tutorials" which made me think it was a tutorial about...