|
59 | 59 | { |
60 | 60 | "data": { |
61 | 61 | "text/plain": [ |
62 | | - "<pybamm.solvers.solution.Solution at 0x7f29f1333e50>" |
| 62 | + "<pybamm.solvers.solution.Solution at 0x139461520>" |
63 | 63 | ] |
64 | 64 | }, |
65 | 65 | "execution_count": 3, |
|
70 | 70 | "source": [ |
71 | 71 | "model = pybamm.lithium_ion.SPMe(options=options) # loading in options\n", |
72 | 72 | "\n", |
73 | | - "parameter_values = model.default_parameter_values\n", |
74 | | - "parameter_values[\"Current function [A]\"] = 3\n", |
75 | | - "\n", |
76 | | - "sim = pybamm.Simulation(model, parameter_values=parameter_values)\n", |
| 73 | + "sim = pybamm.Simulation(model)\n", |
77 | 74 | "sim.solve([0, 3600])" |
78 | 75 | ] |
79 | 76 | }, |
|
92 | 89 | { |
93 | 90 | "data": { |
94 | 91 | "application/vnd.jupyter.widget-view+json": { |
95 | | - "model_id": "c00d126a3fc543829596dd24f8b9d626", |
| 92 | + "model_id": "0fc5db759e804d3fb2793222ddbec5d4", |
96 | 93 | "version_major": 2, |
97 | 94 | "version_minor": 0 |
98 | 95 | }, |
99 | 96 | "text/plain": [ |
100 | | - "interactive(children=(FloatSlider(value=0.0, description='t', max=800.0000000000001, step=8.000000000000002), …" |
| 97 | + "interactive(children=(FloatSlider(value=0.0, description='t', max=1.0, step=0.01), Output()), _dom_classes=('w…" |
101 | 98 | ] |
102 | 99 | }, |
103 | 100 | "metadata": {}, |
104 | 101 | "output_type": "display_data" |
| 102 | + }, |
| 103 | + { |
| 104 | + "data": { |
| 105 | + "text/plain": [ |
| 106 | + "<pybamm.plotting.quick_plot.QuickPlot at 0x139461fd0>" |
| 107 | + ] |
| 108 | + }, |
| 109 | + "execution_count": 4, |
| 110 | + "metadata": {}, |
| 111 | + "output_type": "execute_result" |
105 | 112 | } |
106 | 113 | ], |
107 | 114 | "source": [ |
|
139 | 146 | "[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", |
140 | 147 | "[2] 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", |
141 | 148 | "[3] 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", |
142 | | - "[4] Valentin Sulzer, Scott G. Marquis, Robert Timms, Martin Robinson, and S. Jon Chapman. Python Battery Mathematical Modelling (PyBaMM). ECSarXiv. February, 2020. doi:10.1149/osf.io/67ckj.\n", |
| 149 | + "[4] 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", |
| 150 | + "[5] Robert Timms, Scott G Marquis, Valentin Sulzer, Colin P. Please, and S Jonathan Chapman. Asymptotic Reduction of a Lithium-ion Pouch Cell Model. SIAM Journal on Applied Mathematics, 81(3):765–788, 2021. doi:10.1137/20M1336898.\n", |
143 | 151 | "\n" |
144 | 152 | ] |
145 | 153 | } |
|
165 | 173 | "name": "python", |
166 | 174 | "nbconvert_exporter": "python", |
167 | 175 | "pygments_lexer": "ipython3", |
168 | | - "version": "3.11.1" |
| 176 | + "version": "3.9.16" |
169 | 177 | }, |
170 | 178 | "vscode": { |
171 | 179 | "interpreter": { |
|
0 commit comments