Database#
Interaction with the battery cell database is done via the subcommand db
.
Usage: python -m basd db [OPTIONS] COMMAND [ARGS]...
BaSD database command
Options:
-h, --help Show this message and exit.
Commands:
add adds one or more cell data to the database
list lists all cell in the database
rm removes one or all cell data in the databases
show shows the cell data of a specified cell
Adding Cells to the Database#
Create a
json
file of the cell that shall be added to the databaseAdd the required information to the
json
file as described in the Cell Database introduction.Add the cell to the database (exemplary file name
my-cell.json
):python -m basd db add my-cell.json
Done.
From now on, all simulations will also take this cell into account.