Skip to content

Commit

Permalink
pybamm-team#3428 raise error on exchange-current density for plating …
Browse files Browse the repository at this point in the history
…parameter
  • Loading branch information
agriyakhetarpal committed Oct 9, 2023
1 parent 774d56d commit 8c7157b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pybamm/parameters/parameter_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,11 @@ def check_parameter_values(self, values):
raise ValueError(
f"parameter '{param}' has been renamed to " "'Thermodynamic factor'"
)
if "Exchange-current density for plating [A.m-2]" in param:
raise ValueError(
f"parameter '{param}' has been renamed to "
"'Exchange-current density for lithium-metal electrode [A.m-2]'"
)

def process_model(self, unprocessed_model, inplace=True):
"""Assign parameter values to a model.
Expand Down

0 comments on commit 8c7157b

Please sign in to comment.