-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
596 lines (529 loc) · 20.2 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
% \documentclass{beamer}
% \input{Theme/Packages.tex}
%% orignal author: Tim Hosgood: timhosgood@gmail.com %%
%% BIL & 16:9 modification: Brady Planden %%
\documentclass[aspectratio=169]{beamer}
\input{Theme/packages}
\input{Theme/preamble}
% To crop graphics, use: [trim={left bottom right top},clip]
% Icons can be found at: https://anorien.csc.warwick.ac.uk/mirrors/CTAN/fonts/fontawesome/doc/fontawesome.pdf
\title{3rd Online Developer Meeting}
\titlegraphic{\includegraphics[width=6cm]{Theme/Logos/PyBOP_logo.png}}
\author{The PyBOP Team \texorpdfstring{\href{https://github.com/pybop-team/PyBOP}{\faGithub}}{}}
\institute{}
\date{\today}
\begin{document}
{\setbeamertemplate{footline}{}
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{Theme/blue_background.png}}%
\frame{\titlepage}}
% \section*{Outline}
% \begin{frame}{Outline}
% \vspace{-12mm}
% \tableofcontents
% \end{frame}
\begin{frame}[plain]
\centering
\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
\usebeamerfont{title}{Agenda}\par%
\color{oxfordblue}\noindent\rule{10cm}{1pt} \\
\LARGE{\faFileTextO} \\
\vspace{6mm} \normalsize
\begin{itemize}
\item Presentation on recent updates to PyBOP (Nicola, 10 min)
\item Quick introduction/update from everyone (5 min)
\item Discussion of open issues (30 min)
\item Planning and assignment of tasks (15 min)
\end{itemize}
\end{beamercolorbox}
Introductory slides are available at the end of this presentation.
\end{frame}
\begin{frame}{PyBOP project map}
\vspace{-6mm}
\begin{figure}
\centering
\includegraphics[height=0.42\textwidth]{Images/Diagrams/PyBOP-high-level.png}
\label{fig:project_map}
\end{figure}
\end{frame}
\section{Updates}
\begin{frame}[plain]
\centering
\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
\usebeamerfont{title}{Recent updates}\par%
\color{oxfordblue}\noindent\rule{10cm}{1pt} \\
\LARGE{\faCloudUpload} \\
\vspace{6mm} \normalsize
We released PyBOP v24.6 on 8th July. \\
\vspace{6mm}
\href{https://github.com/pybop-team/PyBOP/blob/develop/CHANGELOG.md}{https://github.com/pybop-team/PyBOP/blob/develop/CHANGELOG.md} \\
\vspace{6mm}
The Changelog is divided into new \textbf{features}, \textbf{bug fixes} and \textbf{breaking changes}.
\end{beamercolorbox}
\end{frame}
\begin{frame}[fragile,t]{New in v24.6: Additional optimisers}
\vspace{-6mm}
\issue{319} - Adds CuckooSearch optimiser with corresponding tests.
\issue{316} - Adds Adam with weight decay (AdamW), deprecates pints.Adam.
\begin{table}[]
\centering
\footnotesize
\begin{tabularx}{0.86\textwidth}{*{2}{Y}}
Adam with weight decay (AdamW) &
Cuckoo search
\end{tabularx}
\end{table}
\vspace{-6mm}
\begin{figure}
\centering
\includegraphics[width=0.2\textwidth]{Images/Optimisers/adamw_cost.png}
\includegraphics[width=0.28\textwidth]{Images/Optimisers/adamw_params.png} ~
\includegraphics[width=0.2\textwidth]{Images/Optimisers/cuckoo_cost.png}
\includegraphics[width=0.28\textwidth]{Images/Optimisers/cuckoo_params.png}
% \caption{Caption}
\label{fig:optimisersNew}
\end{figure}
\end{frame}
\begin{frame}[fragile,t]{New in v24.6: GITT fitting example}
\vspace{-6mm}
\issue{249} - Add WeppnerHuggins model and GITT example.
\begin{figure}
\centering
\includegraphics[width=0.5\textwidth]{Images/Highlights/gitt_IRPropMin_fit.png}
\includegraphics[width=0.48\textwidth]{Images/Highlights/gitt_IRPropMin_parameter.png}
% \caption{Caption}
\label{fig:WeppnerHuggins}
\end{figure}
\end{frame}
\begin{frame}[fragile,t]{New feature (WIP): Multi-fitting problem class}
\vspace{-6mm}
\issue{364} - Adds the MultiFittingProblem class and the multi\_fitting example script.
\issue{322} - Add Parameters class to store and access multiple parameters in one object.
\vspace{-2mm}
\begin{figure}
\centering
\includegraphics[width=0.3\textwidth]{Images/Highlights/multi_data_fitting.png}
\includegraphics[width=0.34\textwidth]{Images/Highlights/multi_cost.png}
\includegraphics[width=0.34\textwidth]{Images/Highlights/multi_parameters.png}
% \caption{Caption}
\label{fig:MultiFitting}
\end{figure}
\end{frame}
\begin{frame}[plain]
\centering
\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
\usebeamerfont{title}{Questions?}\par%
\color{oxfordblue}\noindent\rule{10cm}{1pt} \\
\end{beamercolorbox}
\end{frame}
\section{Discussion}
\begin{frame}[plain]
\centering
\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
\usebeamerfont{title}{Discussion of open issues}\par%
\color{oxfordblue}\noindent\rule{10cm}{1pt} \\
\LARGE{\faUserPlus} \LARGE{\faBug} \\
\normalsize
\begin{flushleft}
Let's introduce everyone:
\end{flushleft}
\begin{itemize}
\item Where are you joining from?
\item What issue are you working on/would you like to work on?
\end{itemize}
\vspace{6mm} \normalsize
Open issues: \href{https://github.com/pybop-team/PyBOP/issues}{https://github.com/pybop-team/PyBOP/issues} \\
Project board: \href{https://github.com/orgs/pybop-team/projects/7}{https://github.com/orgs/pybop-team/projects/7}
\end{beamercolorbox}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%
%%%% INTRODUCTION %%%%
%%%%%%%%%%%%%%%%%%%%%%
{
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{Theme/blue_background.png}}%
\begin{frame}[plain]
\centering
\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
{\color{white}\usebeamerfont{title}{End of meeting}\par}%
\color{white}\noindent\rule{10cm}{1pt} \\
{\color{white}\usebeamerfont{title}{Below: \\
1. Introductory slides \\
2. Feature highlights }\par}%
\end{beamercolorbox}
\end{frame}
}
\section{Introduction}
\begin{frame}[plain]
\centering
\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
\usebeamerfont{title}\insertsectionhead\par%
\color{oxfordblue}\noindent\rule{10cm}{1pt} \\
\LARGE{\faBatteryThreeQuarters} \\
\end{beamercolorbox}
\vspace{6mm} \normalsize
\begin{flushleft}
With thanks to:
\end{flushleft}
\begin{itemize}
\item the PyBaMM developers \href{https://github.com/pybop-team/PyBOP}{\includegraphics[height=1.2em]{Theme/Logos/PyBaMM_logo.png}}
\item the PINTS developers \href{https://github.com/pints-team/pints}{\faGithub}
\end{itemize}
\end{frame}
\begin{frame}{Aims}
\vspace{-6mm}
\begin{figure}
\centering
\includegraphics[width=\textwidth]{Images/Diagrams/ProblemTypes.png}
\end{figure}
\end{frame}
\begin{frame}{Architecture}
\vspace{-6mm}
\begin{figure}
\centering
\includegraphics[width=0.9\textwidth]{Images/Diagrams/pybop_architecture.png}
% \caption{Caption}
\label{fig:architecture}
\end{figure}
\end{frame}
\begin{frame}{Python objects}
\vspace{-6mm}
\begin{figure}
\centering
\includegraphics[width=0.95\textwidth, trim={0 10cm 0 0},clip]{Images/Diagrams/pybop_objects.png}
% \caption{Caption}
\label{fig:objects}
\end{figure}
\end{frame}
\section{Demo/examples}
\begin{frame}[plain]
\centering
\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
\usebeamerfont{title}\insertsectionhead\par%
\color{oxfordblue}\noindent\rule{10cm}{1pt} \\
\LARGE{\faFileCodeO} \\
\normalsize
\begin{itemize}
\item Parameterisation
\item Design optimisation
\end{itemize}
\end{beamercolorbox}
\end{frame}
\subsection{Parameterisation example}
\begin{frame}[fragile,t]{Parameterisation}
\vspace{-0.5cm}
\begin{block}{1. Define a model (PyBaMM's SPM) and fitting parameters}
\begin{lstlisting}[firstnumber=1, xleftmargin=10pt]
import pybop
import numpy as np
# Define model
parameter_set = pybop.ParameterSet.pybamm("Chen2020")
model = pybop.lithium_ion.SPM(parameter_set=parameter_set)
# Fitting parameters
parameters = pybop.Parameters(
pybop.Parameter(
"Negative particle radius [m]",
prior=pybop.Gaussian(6e-06, 0.1e-6),
bounds=[1e-6, 9e-6],
),
pybop.Parameter(
"Positive particle radius [m]",
prior=pybop.Gaussian(4.5e-06, 0.1e-6),
bounds=[1e-6, 9e-6],
),
)
\end{lstlisting}
\end{block}
\end{frame}
\subsection{Parameterisation example}
\begin{frame}[fragile,t]{Parameterisation}
\vspace{-0.5cm}
\begin{block}{2. Generate synthetic data and define problem, cost and optimisation}
\begin{lstlisting}[firstnumber=1, xleftmargin=10pt]
# Generate data
sigma = 0.001
t_eval = np.arange(0, 900, 3)
values = model.predict(t_eval=t_eval)
corrupt_values = values["Voltage [V]"].data + np.random.normal(0, sigma, len(t_eval))
# Form dataset
dataset = pybop.Dataset(
{
"Time [s]": t_eval,
"Current function [A]": values["Current [A]"].data,
"Voltage [V]": corrupt_values,
}
)
# Generate problem, cost function, and optimisation class
problem = pybop.FittingProblem(model, parameters, dataset)
cost = pybop.SumSquaredError(problem)
optim = pybop.CMAES(cost, max_iterations=100)
\end{lstlisting}
\end{block}
\end{frame}
\subsection{Parameterisation example}
\begin{frame}[fragile,t]{Parameterisation}
\vspace{-1.5cm}
\begin{block}{3. Run the optimisation and plot the results}
\begin{lstlisting}[firstnumber=1, xleftmargin=10pt]
# Run the optimisation
x, final_cost = optim.run()
print("True parameters:", parameters.true_value())
print("Estimated parameters:", x)
# Plot the timeseries output
pybop.quick_plot(problem, problem_inputs=x, title="Optimised Comparison")
# Plot convergence and parameter traces
pybop.plot_convergence(optim)
# Plot the parameter traces
pybop.plot_parameters(optim)
# Plot the cost landscape with optimisation path
pybop.plot2d(optim, steps=15)
\end{lstlisting}
\end{block}
\end{frame}
\begin{frame}{Parameterisation results}
\vspace{-6mm}
\begin{figure}
\centering
\includegraphics[width=0.4\textwidth, trim={0 0 0 0},clip]{Images/Examples/CMAES_quick_plot.png}
\includegraphics[width=0.4\textwidth, trim={0 0 0 0},clip]{Images/Examples/CMAES_convergence.png} \\
\includegraphics[width=0.5\textwidth, trim={0 0 0 0},clip]{Images/Examples/CMAES_parameters.png}
\hspace{1cm}\includegraphics[width=0.29\textwidth, trim={0 0 0 0},clip]{Images/Examples/CMAES_cost_trace.png}
\hspace{1cm}
\label{fig:parameterisation}
\end{figure}
\end{frame}
\subsection{Design optimisation example}
\begin{frame}[fragile,t]{Design optimisation}
\vspace{-1.5cm}
\begin{block}{1. Define a model (PyBaMM's SPMe) and design parameters}
\begin{lstlisting}[firstnumber=1, xleftmargin=10pt]
import pybop
import numpy as np
# Define parameter set and model
parameter_set = pybop.ParameterSet.pybamm("Chen2020", formation_concentrations=True)
model = pybop.lithium_ion.SPMe(parameter_set=parameter_set)
# Fitting parameters
parameters = pybop.Parameters(
pybop.Parameter(
"Positive electrode thickness [m]",
prior=pybop.Gaussian(7.56e-05, 0.05e-05),
bounds=[65e-06, 10e-05],
),
pybop.Parameter(
"Positive particle radius [m]",
prior=pybop.Gaussian(5.22e-06, 0.05e-06),
bounds=[2e-06, 9e-06],
),
)
\end{lstlisting}
\end{block}
\end{frame}
\begin{frame}[fragile,t]{Design optimisation}
\vspace{-1cm}
\begin{block}{2. Set the target experiment and define problem, cost and optimisation}
\begin{lstlisting}[firstnumber=1, xleftmargin=10pt]
# Define test protocol
experiment = pybop.Experiment(
["Discharge at 1C until 2.5 V (5 seconds period)"],
)
init_soc = 1 # start from full charge
signal = ["Voltage [V]", "Current [A]"]
# Generate problem
problem = pybop.DesignProblem(
model, parameters, experiment, signal=signal, init_soc=init_soc
)
# Generate cost function and optimisation class:
cost = pybop.GravimetricEnergyDensity(problem, update_capacity=True)
optim = pybop.PSO(
cost, verbose=True, allow_infeasible_solutions=False, max_iterations=15
)
\end{lstlisting}
\end{block}
\end{frame}
\begin{frame}[fragile,t]{Design optimisation}
\vspace{-2cm}
\begin{block}{3. Run the optimisation and plot the results}
\begin{lstlisting}[firstnumber=1, xleftmargin=10pt]
# Run optimisation
x, final_cost = optim.run()
print("Estimated parameters:", x)
print(f"Initial gravimetric energy density: {cost(optim.x0):.2f} Wh.kg-1")
print(f"Optimised gravimetric energy density: {final_cost:.2f} Wh.kg-1")
# Plot the timeseries output
if cost.update_capacity:
problem._model.approximate_capacity(x)
pybop.quick_plot(problem, problem_inputs=x, title="Optimised Comparison")
# Plot the cost landscape with optimisation path
pybop.plot2d(optim, steps=10)
\end{lstlisting}
\end{block}
\end{frame}
\begin{frame}[fragile,t]{Design optimisation}
\vspace{-6mm}
\begin{block}{Output}
\begin{lstlisting}[firstnumber=1, xleftmargin=10pt]
Estimated parameters: [6.51159429e-05 2.32340723e-06]
Initial gravimetric energy density: 386.31 Wh.kg-1
Optimised gravimetric energy density: 410.78 Wh.kg-1
\end{lstlisting}
\end{block}
Results
\vspace{-3mm}
\begin{figure}
\centering
\includegraphics[width=0.59\textwidth, trim={0 0 0 0},clip]{Images/Examples/MaxEnergy_quick_plot.png}
\includegraphics[width=0.29\textwidth, trim={0 0 0 0},clip]{Images/Examples/MaxEnergy_cost_trace.png} \\
\label{fig:design_optimisation}
\end{figure}
\end{frame}
\section{Choice of optimisers}
\begin{frame}[plain]
\centering
\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
\usebeamerfont{title}\insertsectionhead\par%
\color{oxfordblue}\noindent\rule{10cm}{1pt} \\
\LARGE{\faBalanceScale} \\
\end{beamercolorbox}
\end{frame}
\subsection{Gradient-based optimisers}
\begin{frame}{Gradient-based}
\vspace{-6mm}
\begin{table}[]
\centering
\footnotesize
\begin{tabularx}{0.86\textwidth}{*{3}{Y}}
Gradient descent &
Adaptive moment (AdamW) &
Resilient backpropagation (IRPropMin)
\end{tabularx}
\end{table}
\vspace{-6mm}
\begin{figure}
\centering
\includegraphics[width=0.24\textwidth]{Images/Optimisers/graddesc_cost.png}
\includegraphics[width=0.24\textwidth]{Images/Optimisers/adamw_cost.png}
\includegraphics[width=0.24\textwidth]{Images/Optimisers/irpropmin_cost.png} ~~~\\
\includegraphics[width=0.24\textwidth]{Images/Optimisers/graddesc_params.png}
\includegraphics[width=0.24\textwidth]{Images/Optimisers/adamw_params.png}
\includegraphics[width=0.24\textwidth]{Images/Optimisers/irpropmin_params.png}
% \caption{Caption}
\label{fig:optimisers1}
\end{figure}
\end{frame}
\subsection{Non-gradient-based optimisers}
\begin{frame}{Evolution strategies}
\vspace{-5mm}
\begin{table}[]
\centering
\footnotesize
\begin{tabularx}{0.86\textwidth}{*{3}{Y}}
Stochastic natural evolution strategy (SNES) &
Exponential natural evolution strategy (SNES) &
Covariance matrix adaptation (CMA-ES)
\end{tabularx}
\end{table}
\vspace{-5mm}
\begin{figure}
\centering
\includegraphics[width=0.24\textwidth]{Images/Optimisers/snes_cost.png}
\includegraphics[width=0.24\textwidth]{Images/Optimisers/xnes_cost.png}
\includegraphics[width=0.24\textwidth]{Images/Optimisers/cmaes_cost.png} ~~~\\
\includegraphics[width=0.24\textwidth]{Images/Optimisers/snes_params.png}
\includegraphics[width=0.24\textwidth]{Images/Optimisers/xnes_params.png}
\includegraphics[width=0.24\textwidth]{Images/Optimisers/cmaes_params.png}
% \caption{Caption}
\label{fig:optimisers4}
\end{figure}
\end{frame}
\begin{frame}{Other optimisers}
\vspace{-6mm}
\begin{table}[]
\centering
\footnotesize
\begin{tabularx}{\textwidth}{*{4}{Y}}
Nelder Mead &
Particle swarm optimisation &
SciPy differential evolution
\end{tabularx}
\end{table}
\vspace{-6mm}
\begin{figure}
\centering
\includegraphics[width=0.24\textwidth]{Images/Optimisers/neldermead_cost.png}
\includegraphics[width=0.24\textwidth]{Images/Optimisers/pso_cost.png}
\includegraphics[width=0.24\textwidth]{Images/Optimisers/scipyde_cost.png} ~~~~\\
\includegraphics[width=0.24\textwidth]{Images/Optimisers/neldermead_params.png}
\includegraphics[width=0.24\textwidth]{Images/Optimisers/pso_params.png}
\includegraphics[width=0.24\textwidth]{Images/Optimisers/scipyde_params.png}
\label{fig:optimisers2}
\end{figure}
\end{frame}
\begin{frame}{Collaboration}
\vspace{-6mm}
\begin{figure}
\centering
\includegraphics[width=\textwidth]{Images/Code_of_Conduct.png}
\end{figure}
\end{frame}
\section{Feature highlights}
\begin{frame}[plain]
\centering
\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
\usebeamerfont{title}\insertsectionhead\par%
\color{oxfordblue}\noindent\rule{10cm}{1pt} \\
\LARGE{\faBatteryThreeQuarters} \\
\end{beamercolorbox}
\end{frame}
\begin{frame}[fragile,t]{New in v24.6: Experimental data fitting}
\vspace{-6mm}
\issue{241} - Adds experimental circuit model fitting notebook with LG M50 data from: \href{https://github.com/WDWidanage/Simscape-Battery-Library/tree/main/Examples/parameterEstimation_TECMD/Data}{https://github.com/WDWidanage/Simscape-Battery-Library/tree/main/Examples/parameterEstimation\_TECMD/Data}
\begin{figure}
\centering
\includegraphics[height=0.3\textwidth]{Images/Highlights/LGM50_Fig1.png}
\includegraphics[height=0.3\textwidth]{Images/Highlights/LGM50_Fig2.png}
\label{fig:LGM50}
\end{figure}
\end{frame}
\begin{frame}{New in v24.6: Additional PyBaMM models}
\vspace{-6mm}
\issue{250} - Adds DFN, MPM, MSMR models and moves multiple construction variables to BaseEChem. Adds exception catch on simulate \& simulateS1.
\begin{figure}
\centering
\includegraphics[height=0.35\textwidth]{Images/Diagrams/Supported_classes.png}
\label{fig:supported_classes}
\end{figure}
\end{frame}
\begin{frame}{New in v24.6: Maximum a Posteriori}
\vspace{-6mm}
\issue{275} - Adds Maximum a Posteriori (MAP) cost function with corresponding tests and example script.
\begin{figure}
\centering
\includegraphics[height=0.35\textwidth]{Images/Highlights/MAP_param_convergence.png}
\includegraphics[height=0.35\textwidth]{Images/Highlights/MAP_cost_landscape.png}
\label{fig:MAP_cost}
\end{figure}
\end{frame}
\begin{frame}[fragile,t]{New in v24.6: Testing and infrastructure}
\vspace{-6mm}
Credit and thanks to Agriya and Brady!
\begin{block}{Features}
\begin{lstlisting}[firstnumber=1, xleftmargin=10pt]
#304 - Decreases the testing suite completion time.
#301 - Updates default echem solver to "fast with events" mode.
#251 - Increment PyBaMM > v23.5, remove redundant tests within integration tests, increment citation version, fix examples with incorrect model definitions.
#285 - Drop support for Python 3.8.
#268 - Fixes the GitHub Release artifact uploads, allowing verification of codesigned binaries and source distributions via sigstore-python.
#79 - Adds BPX as a dependency and imports BPX support from PyBaMM.
#267 - Add classifiers to pyproject.toml, update project.urls.
#195 - Adds the Nelder-Mead optimiser from PINTS as another option.
\end{lstlisting}
\end{block}
\begin{block}{Bug Fixes}
\begin{lstlisting}[firstnumber=1, xleftmargin=10pt]
#317 - Installs seed packages into nox sessions, ensuring that scheduled tests can pass.
#308 - Enables testing on both macOS Intel and macOS ARM (Silicon) runners and fixes the scheduled tests.
#299 - Bugfix multiprocessing support for Linux, MacOS, Windows (WSL) and improves coverage.
#270 - Updates PR template.
#91 - Adds a check on the number of parameters for CMAES and makes XNES the default optimiser.
\end{lstlisting}
\end{block}
\end{frame}
\end{document}