|
25 | 25 | "name": "stdout", |
26 | 26 | "output_type": "stream", |
27 | 27 | "text": [ |
28 | | - "\n", |
29 | | - "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m A new release of pip is available: \u001b[0m\u001b[31;49m23.3.1\u001b[0m\u001b[39;49m -> \u001b[0m\u001b[32;49m24.0\u001b[0m\n", |
30 | | - "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m To update, run: \u001b[0m\u001b[32;49mpip install --upgrade pip\u001b[0m\n", |
31 | 28 | "Note: you may need to restart the kernel to use updated packages.\n" |
32 | 29 | ] |
33 | | - }, |
34 | | - { |
35 | | - "name": "stderr", |
36 | | - "output_type": "stream", |
37 | | - "text": [ |
38 | | - "An NVIDIA GPU may be present on this machine, but a CUDA-enabled jaxlib is not installed. Falling back to cpu.\n" |
39 | | - ] |
40 | 30 | } |
41 | 31 | ], |
42 | 32 | "source": [ |
|
163 | 153 | "name": "stderr", |
164 | 154 | "output_type": "stream", |
165 | 155 | "text": [ |
166 | | - "At t = 522.66 and h = 1.1556e-13, the corrector convergence failed repeatedly or with |h| = hmin.\n" |
| 156 | + "At t = 339.952 and h = 1.4337e-18, the corrector convergence failed repeatedly or with |h| = hmin.\n", |
| 157 | + "At t = 522.687 and h = 4.04917e-14, the corrector convergence failed repeatedly or with |h| = hmin.\n" |
167 | 158 | ] |
168 | 159 | }, |
169 | 160 | { |
170 | 161 | "data": { |
171 | 162 | "application/vnd.jupyter.widget-view+json": { |
172 | | - "model_id": "5ab1f22de6af4878b6ca43d27ffc01c5", |
| 163 | + "model_id": "93feca98298f4111909ae487e2a1e273", |
173 | 164 | "version_major": 2, |
174 | 165 | "version_minor": 0 |
175 | 166 | }, |
176 | 167 | "text/plain": [ |
177 | | - "interactive(children=(FloatSlider(value=0.0, description='t', max=40.132949019384355, step=0.40132949019384356…" |
| 168 | + "interactive(children=(FloatSlider(value=0.0, description='t', max=40.13268704803602, step=0.4013268704803602),…" |
178 | 169 | ] |
179 | 170 | }, |
180 | 171 | "metadata": {}, |
|
183 | 174 | { |
184 | 175 | "data": { |
185 | 176 | "text/plain": [ |
186 | | - "<pybamm.plotting.quick_plot.QuickPlot at 0x7f1a11f76690>" |
| 177 | + "<pybamm.plotting.quick_plot.QuickPlot at 0x16520e690>" |
187 | 178 | ] |
188 | 179 | }, |
189 | 180 | "execution_count": 5, |
|
211 | 202 | { |
212 | 203 | "data": { |
213 | 204 | "application/vnd.jupyter.widget-view+json": { |
214 | | - "model_id": "7cdac234d74241a2814918053454f6a6", |
| 205 | + "model_id": "4d6e43032f4e4aa6be5843c4916b4b50", |
215 | 206 | "version_major": 2, |
216 | 207 | "version_minor": 0 |
217 | 208 | }, |
218 | 209 | "text/plain": [ |
219 | | - "interactive(children=(FloatSlider(value=0.0, description='t', max=13.076977041121545, step=0.13076977041121546…" |
| 210 | + "interactive(children=(FloatSlider(value=0.0, description='t', max=13.076887099589111, step=0.1307688709958911)…" |
220 | 211 | ] |
221 | 212 | }, |
222 | 213 | "metadata": {}, |
|
225 | 216 | { |
226 | 217 | "data": { |
227 | 218 | "text/plain": [ |
228 | | - "<pybamm.plotting.quick_plot.QuickPlot at 0x7f1a105ecb50>" |
| 219 | + "<pybamm.plotting.quick_plot.QuickPlot at 0x1696cf290>" |
229 | 220 | ] |
230 | 221 | }, |
231 | 222 | "execution_count": 6, |
|
255 | 246 | { |
256 | 247 | "data": { |
257 | 248 | "text/plain": [ |
258 | | - "_Step(C-rate, 1.0, duration=1 hour, period=1 minute, temperature=25oC, tags=['tag1'], description=Discharge at 1C for 1 hour)" |
| 249 | + "Step(1.0, duration=1 hour, period=1 minute, temperature=25oC, tags=['tag1'], description=Discharge at 1C for 1 hour, direction=Discharge)" |
259 | 250 | ] |
260 | 251 | }, |
261 | 252 | "execution_count": 7, |
|
293 | 284 | { |
294 | 285 | "data": { |
295 | 286 | "text/plain": [ |
296 | | - "_Step(current, 1, duration=1 hour, termination=2.5 V)" |
| 287 | + "Step(1, duration=1 hour, termination=2.5 V, direction=Discharge)" |
297 | 288 | ] |
298 | 289 | }, |
299 | 290 | "execution_count": 8, |
|
321 | 312 | { |
322 | 313 | "data": { |
323 | 314 | "text/plain": [ |
324 | | - "_Step(current, 1.0, duration=1 hour, termination=2.5V, description=Discharge at 1A for 1 hour or until 2.5V)" |
| 315 | + "Step(1.0, duration=1 hour, termination=2.5V, description=Discharge at 1A for 1 hour or until 2.5V, direction=Discharge)" |
325 | 316 | ] |
326 | 317 | }, |
327 | 318 | "execution_count": 9, |
|
348 | 339 | "execution_count": 10, |
349 | 340 | "metadata": {}, |
350 | 341 | "outputs": [ |
| 342 | + { |
| 343 | + "name": "stderr", |
| 344 | + "output_type": "stream", |
| 345 | + "text": [ |
| 346 | + "2024-07-10 14:41:02.625 - [WARNING] callbacks.on_experiment_infeasible_time(240): \n", |
| 347 | + "\n", |
| 348 | + "\tExperiment is infeasible: default duration (1.0 seconds) was reached during 'Step([[ 0.00000000e+00 0.00000000e+00]\n", |
| 349 | + " [ 1.69491525e-02 5.31467428e-02]\n", |
| 350 | + " [ 3.38983051e-02 1.05691312e-01]\n", |
| 351 | + " [ 5.08474576e-02 1.57038356e-01]\n", |
| 352 | + " [ 6.77966102e-02 2.06606093e-01]\n", |
| 353 | + " [ 8.47457627e-02 2.53832900e-01]\n", |
| 354 | + " [ 1.01694915e-01 2.98183679e-01]\n", |
| 355 | + " [ 1.18644068e-01 3.39155918e-01]\n", |
| 356 | + " [ 1.35593220e-01 3.76285385e-01]\n", |
| 357 | + " [ 1.52542373e-01 4.09151388e-01]\n", |
| 358 | + " [ 1.69491525e-01 4.37381542e-01]\n", |
| 359 | + " [ 1.86440678e-01 4.60655989e-01]\n", |
| 360 | + " [ 2.03389831e-01 4.78711019e-01]\n", |
| 361 | + " [ 2.20338983e-01 4.91342062e-01]\n", |
| 362 | + " [ 2.37288136e-01 4.98406004e-01]\n", |
| 363 | + " [ 2.54237288e-01 4.99822806e-01]\n", |
| 364 | + " [ 2.71186441e-01 4.95576416e-01]\n", |
| 365 | + " [ 2.88135593e-01 4.85714947e-01]\n", |
| 366 | + " [ 3.05084746e-01 4.70350133e-01]\n", |
| 367 | + " [ 3.22033898e-01 4.49656065e-01]\n", |
| 368 | + " [ 3.38983051e-01 4.23867214e-01]\n", |
| 369 | + " [ 3.55932203e-01 3.93275778e-01]\n", |
| 370 | + " [ 3.72881356e-01 3.58228370e-01]\n", |
| 371 | + " [ 3.89830508e-01 3.19122092e-01]\n", |
| 372 | + " [ 4.06779661e-01 2.76400033e-01]\n", |
| 373 | + " [ 4.23728814e-01 2.30546251e-01]\n", |
| 374 | + " [ 4.40677966e-01 1.82080288e-01]\n", |
| 375 | + " [ 4.57627119e-01 1.31551282e-01]\n", |
| 376 | + " [ 4.74576271e-01 7.95317480e-02]\n", |
| 377 | + " [ 4.91525424e-01 2.66110874e-02]\n", |
| 378 | + " [ 5.08474576e-01 -2.66110874e-02]\n", |
| 379 | + " [ 5.25423729e-01 -7.95317480e-02]\n", |
| 380 | + " [ 5.42372881e-01 -1.31551282e-01]\n", |
| 381 | + " [ 5.59322034e-01 -1.82080288e-01]\n", |
| 382 | + " [ 5.76271186e-01 -2.30546251e-01]\n", |
| 383 | + " [ 5.93220339e-01 -2.76400033e-01]\n", |
| 384 | + " [ 6.10169492e-01 -3.19122092e-01]\n", |
| 385 | + " [ 6.27118644e-01 -3.58228370e-01]\n", |
| 386 | + " [ 6.44067797e-01 -3.93275778e-01]\n", |
| 387 | + " [ 6.61016949e-01 -4.23867214e-01]\n", |
| 388 | + " [ 6.77966102e-01 -4.49656065e-01]\n", |
| 389 | + " [ 6.94915254e-01 -4.70350133e-01]\n", |
| 390 | + " [ 7.11864407e-01 -4.85714947e-01]\n", |
| 391 | + " [ 7.28813559e-01 -4.95576416e-01]\n", |
| 392 | + " [ 7.45762712e-01 -4.99822806e-01]\n", |
| 393 | + " [ 7.62711864e-01 -4.98406004e-01]\n", |
| 394 | + " [ 7.79661017e-01 -4.91342062e-01]\n", |
| 395 | + " [ 7.96610169e-01 -4.78711019e-01]\n", |
| 396 | + " [ 8.13559322e-01 -4.60655989e-01]\n", |
| 397 | + " [ 8.30508475e-01 -4.37381542e-01]\n", |
| 398 | + " [ 8.47457627e-01 -4.09151388e-01]\n", |
| 399 | + " [ 8.64406780e-01 -3.76285385e-01]\n", |
| 400 | + " [ 8.81355932e-01 -3.39155918e-01]\n", |
| 401 | + " [ 8.98305085e-01 -2.98183679e-01]\n", |
| 402 | + " [ 9.15254237e-01 -2.53832900e-01]\n", |
| 403 | + " [ 9.32203390e-01 -2.06606093e-01]\n", |
| 404 | + " [ 9.49152542e-01 -1.57038356e-01]\n", |
| 405 | + " [ 9.66101695e-01 -1.05691312e-01]\n", |
| 406 | + " [ 9.83050847e-01 -5.31467428e-02]\n", |
| 407 | + " [ 1.00000000e+00 -1.22464680e-16]], duration=1.0, period=0.016949152542372836, direction=Rest)'. The returned solution only contains up to step 1 of cycle 1. Please specify a duration in the step instructions.\n" |
| 408 | + ] |
| 409 | + }, |
351 | 410 | { |
352 | 411 | "data": { |
353 | 412 | "application/vnd.jupyter.widget-view+json": { |
354 | | - "model_id": "730d5e19b17e447ebde5679de68c46ef", |
| 413 | + "model_id": "6364b4579fc447e2a607f2f8414172ba", |
355 | 414 | "version_major": 2, |
356 | 415 | "version_minor": 0 |
357 | 416 | }, |
|
365 | 424 | { |
366 | 425 | "data": { |
367 | 426 | "text/plain": [ |
368 | | - "<pybamm.plotting.quick_plot.QuickPlot at 0x7f1a1a4c2ed0>" |
| 427 | + "<pybamm.plotting.quick_plot.QuickPlot at 0x16a1d8d90>" |
369 | 428 | ] |
370 | 429 | }, |
371 | 430 | "execution_count": 10, |
|
419 | 478 | "output_type": "stream", |
420 | 479 | "text": [ |
421 | 480 | "[1] Joel A. E. Andersson, Joris Gillis, Greg Horn, James B. Rawlings, and Moritz Diehl. CasADi – A software framework for nonlinear optimization and optimal control. Mathematical Programming Computation, 11(1):1–36, 2019. doi:10.1007/s12532-018-0139-4.\n", |
422 | | - "[2] Marc Doyle, Thomas F. Fuller, and John Newman. Modeling of galvanostatic charge and discharge of the lithium/polymer/insertion cell. Journal of the Electrochemical society, 140(6):1526–1533, 1993. doi:10.1149/1.2221597.\n", |
423 | | - "[3] Charles R. Harris, K. Jarrod Millman, Stéfan J. van der Walt, Ralf Gommers, Pauli Virtanen, David Cournapeau, Eric Wieser, Julian Taylor, Sebastian Berg, Nathaniel J. Smith, and others. Array programming with NumPy. Nature, 585(7825):357–362, 2020. doi:10.1038/s41586-020-2649-2.\n", |
424 | | - "[4] Scott G. Marquis, Valentin Sulzer, Robert Timms, Colin P. Please, and S. Jon Chapman. An asymptotic derivation of a single particle model with electrolyte. Journal of The Electrochemical Society, 166(15):A3693–A3706, 2019. doi:10.1149/2.0341915jes.\n", |
425 | | - "[5] Peyman Mohtat, Suhak Lee, Jason B Siegel, and Anna G Stefanopoulou. Towards better estimability of electrode-specific state of health: decoding the cell expansion. Journal of Power Sources, 427:101–111, 2019.\n", |
426 | | - "[6] Valentin Sulzer, Scott G. Marquis, Robert Timms, Martin Robinson, and S. Jon Chapman. Python Battery Mathematical Modelling (PyBaMM). Journal of Open Research Software, 9(1):14, 2021. doi:10.5334/jors.309.\n", |
427 | | - "[7] Pauli Virtanen, Ralf Gommers, Travis E. Oliphant, Matt Haberland, Tyler Reddy, David Cournapeau, Evgeni Burovski, Pearu Peterson, Warren Weckesser, Jonathan Bright, and others. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods, 17(3):261–272, 2020. doi:10.1038/s41592-019-0686-2.\n", |
428 | | - "[8] Andrew Weng, Jason B Siegel, and Anna Stefanopoulou. Differential voltage analysis for battery manufacturing process control. arXiv preprint arXiv:2303.07088, 2023.\n", |
| 481 | + "[2] Von DAG Bruggeman. Berechnung verschiedener physikalischer konstanten von heterogenen substanzen. i. dielektrizitätskonstanten und leitfähigkeiten der mischkörper aus isotropen substanzen. Annalen der physik, 416(7):636–664, 1935.\n", |
| 482 | + "[3] Marc Doyle, Thomas F. Fuller, and John Newman. Modeling of galvanostatic charge and discharge of the lithium/polymer/insertion cell. Journal of the Electrochemical society, 140(6):1526–1533, 1993. doi:10.1149/1.2221597.\n", |
| 483 | + "[4] Charles R. Harris, K. Jarrod Millman, Stéfan J. van der Walt, Ralf Gommers, Pauli Virtanen, David Cournapeau, Eric Wieser, Julian Taylor, Sebastian Berg, Nathaniel J. Smith, and others. Array programming with NumPy. Nature, 585(7825):357–362, 2020. doi:10.1038/s41586-020-2649-2.\n", |
| 484 | + "[5] Scott G. Marquis, Valentin Sulzer, Robert Timms, Colin P. Please, and S. Jon Chapman. An asymptotic derivation of a single particle model with electrolyte. Journal of The Electrochemical Society, 166(15):A3693–A3706, 2019. doi:10.1149/2.0341915jes.\n", |
| 485 | + "[6] Peyman Mohtat, Suhak Lee, Jason B Siegel, and Anna G Stefanopoulou. Towards better estimability of electrode-specific state of health: decoding the cell expansion. Journal of Power Sources, 427:101–111, 2019.\n", |
| 486 | + "[7] Valentin Sulzer, Scott G. Marquis, Robert Timms, Martin Robinson, and S. Jon Chapman. Python Battery Mathematical Modelling (PyBaMM). Journal of Open Research Software, 9(1):14, 2021. doi:10.5334/jors.309.\n", |
| 487 | + "[8] Pauli Virtanen, Ralf Gommers, Travis E. Oliphant, Matt Haberland, Tyler Reddy, David Cournapeau, Evgeni Burovski, Pearu Peterson, Warren Weckesser, Jonathan Bright, and others. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods, 17(3):261–272, 2020. doi:10.1038/s41592-019-0686-2.\n", |
| 488 | + "[9] Andrew Weng, Jason B Siegel, and Anna Stefanopoulou. Differential voltage analysis for battery manufacturing process control. arXiv preprint arXiv:2303.07088, 2023.\n", |
429 | 489 | "\n" |
430 | 490 | ] |
431 | 491 | } |
|
0 commit comments