OCV aging¶
In this example, we will demonstrate how to use Breathe Design to generate OCV curves, both in the fresh and aged states.
In [1]:
Copied!
from breathe_design import api_interface as api
from breathe_design import plot_ocv
from breathe_design import enable_notebook_plotly
enable_notebook_plotly()
from breathe_design import api_interface as api
from breathe_design import plot_ocv
from breathe_design import enable_notebook_plotly
enable_notebook_plotly()
In [2]:
Copied!
# see what batteries are available on the service
batteries = api.get_batteries()
print(batteries)
# see what batteries are available on the service
batteries = api.get_batteries()
print(batteries)
['Molicel P45B']
We can view the OCV of the fresh battery using the get_ocv method.
In [3]:
Copied!
ocv_table = api.get_ocv("Molicel P45B")
ocv_table = api.get_ocv("Molicel P45B")
In [4]:
Copied!
plot_ocv(ocv_table)
plot_ocv(ocv_table)
We can simulate the aging of the battery by modifying the LAMPE, LAMNE, and LLI parameters.
In [5]:
Copied!
ocv_table_aged = api.get_aged_ocv("Molicel P45B", LAMPE=0.05, LAMNE=0.2, LLI=0.1)
ocv_table_aged = api.get_aged_ocv("Molicel P45B", LAMPE=0.05, LAMNE=0.2, LLI=0.1)
In [6]:
Copied!
plot_ocv(ocv_table_aged)
plot_ocv(ocv_table_aged)