forked from pybamm-team/PyBaMM
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removing dissolution for exchange current density
- Loading branch information
1 parent
bff016d
commit 46e8227
Showing
6 changed files
with
100 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 1, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"import pybamm\n", | ||
"import matplotlib.pyplot as plt\n", | ||
"import numpy as np\n", | ||
"import pandas as pd\n", | ||
"import math\n", | ||
"import dfols\n", | ||
"import signal\n", | ||
"from scipy.integrate import solve_ivp\n", | ||
"from scipy.fft import fft, fftfreq, fftshift\n", | ||
"from scipy.signal import savgol_filter\n", | ||
"from scipy.signal import find_peaks\n", | ||
"from scipy.io import savemat\n", | ||
"from scipy import interpolate\n", | ||
"import os, sys\n", | ||
"import pickle\n", | ||
"sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(\"__file__\"))))\n", | ||
"from batfuns import *\n", | ||
"plt.rcParams = set_rc_params(plt.rcParams)\n", | ||
"\n", | ||
"eSOH_DIR = \"./data/esoh/\"\n", | ||
"oCV_DIR = \"./data/ocv/\"\n", | ||
"cyc_DIR = \"./data/cycling/\"\n", | ||
"fig_DIR = \"./figures/\"\n", | ||
"res_DIR = \"./results/\"\n", | ||
"resistance_DIR = \"./data/resistance/\"\n", | ||
"%matplotlib widget" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 2, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"# loading parameter values without aging model parameters, just battery parameters\n", | ||
"parameter_values = get_parameter_values()\n", | ||
"# we are defing the model\n", | ||
"spme = pybamm.lithium_ion.SPMe(\n", | ||
" {\n", | ||
" \"SEI\": \"ec reaction limited\",\n", | ||
" \"loss of active material\": \"stress-driven\",\n", | ||
" \"lithium plating\": \"irreversible\",\n", | ||
" \"stress-induced diffusion\": \"false\",\n", | ||
" }\n", | ||
")\n", | ||
"param=spme.param" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "windows-dev", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.9.7" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import pybamm | ||
|
||
spme = pybamm.lithium_ion.SPMe( | ||
{ | ||
"SEI": "ec reaction limited", | ||
"loss of active material": "stress-driven", | ||
"lithium plating": "irreversible", | ||
"stress-induced diffusion": "false", | ||
} | ||
) |
2 changes: 1 addition & 1 deletion
2
...ectrodes/graphite_UMBL_Siegel2022/graphite_electrolyte_exchange_current_density_Siegel.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ositive_electrodes/NMC_UMBL_Siegel2022/NMC_electrolyte_exchange_current_density_Siegel.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters