This guide describes how to get started using pre-built models and chemistries from JuliaSimBatteries.jl
.
Creating a battery
The first step is to generate a cell. We can use the pseudo-2D Doyle-Fuller-Newman model by evaluating DFN
with the desired chemistry. Here, we use the lithium cobalt oxide (LCO
) chemistry.
using JuliaSimBatteries
cell = DFN(LCO())
Multiple cathode chemistries are available, including
Packs and modules
A battery pack is created by connecting multiple batteries in series and parallel. To create a pack, we can use the connection
keyword argument to the DFN
function. Here, we create a pack with 2 cells in series and 3 cells in parallel.
pack = DFN(LCO(); connection = Pack(series = 2, parallel = 3))