SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
test_single_cell_SPM Namespace Reference

Variables

 model = pybamm.lithium_ion.SPM()
 
 params = slide_defaults.get_default_param()
 
 slide_OCV
 
 experiment
 
 sim = pybamm.Simulation(model, parameter_values=params)
 
 start_time = time.time()
 
 solution = sim.solve(t_eval=np.linspace(0, 3600, 4000))
 
 end_time = time.time()
 
 t = solution["Time [s]"]
 
 V = solution["Terminal voltage [V]"]
 
 overpotential = solution["X-averaged battery reaction overpotential [V]"]
 
 ocv = solution["X-averaged battery open circuit voltage [V]"]
 
 Tc = solution['Cell temperature [C]']
 
 surf_p = solution['Positive particle surface concentration']
 

Variable Documentation

◆ end_time

test_single_cell_SPM.end_time = time.time()

◆ experiment

test_single_cell_SPM.experiment
Initial value:
1= pybamm.Experiment([
2 "Discharge at 16 A for 40 seconds"])

◆ model

test_single_cell_SPM.model = pybamm.lithium_ion.SPM()

◆ ocv

test_single_cell_SPM.ocv = solution["X-averaged battery open circuit voltage [V]"]

◆ overpotential

test_single_cell_SPM.overpotential = solution["X-averaged battery reaction overpotential [V]"]

◆ params

test_single_cell_SPM.params = slide_defaults.get_default_param()

◆ sim

test_single_cell_SPM.sim = pybamm.Simulation(model, parameter_values=params)

◆ slide_OCV

test_single_cell_SPM.slide_OCV
Initial value:
1= np.genfromtxt(
2 "../../results/PyBAMM_2_CC_Crate_Cell_SPM_cellData.csv", delimiter=",", skip_header=3)

◆ solution

test_single_cell_SPM.solution = sim.solve(t_eval=np.linspace(0, 3600, 4000))

◆ start_time

test_single_cell_SPM.start_time = time.time()

◆ surf_p

test_single_cell_SPM.surf_p = solution['Positive particle surface concentration']

◆ t

test_single_cell_SPM.t = solution["Time [s]"]

◆ Tc

test_single_cell_SPM.Tc = solution['Cell temperature [C]']

◆ V

test_single_cell_SPM.V = solution["Terminal voltage [V]"]