Skip to content

Conversation

MarcBerliner
Copy link
Member

@MarcBerliner MarcBerliner commented May 21, 2025

Description

The MSMR parameter names used symbols instead of following the standard pybamm convention of having a fully spelled-out name. This PR standardizes the MSMR parameter names in a non-breaking way, following the renaming of "electrode diffusivity" to "particle diffusivity" in #3624

Examples:

  • "X_n_5" -> "Negative electrode host site occupancy fraction (5)"
  • "X_p_l_3" -> "Positive electrode host site occupancy fraction (lithiation) (3)"
  • "X_n_d_5" -> "Negative electrode host site occupancy fraction (delithiation) (5)"
  • "Q_p_3" -> "Positive electrode host site occupancy capacity (3) [A.h]"
  • "w_n_2" -> "Negative electrode host site ideality factor (2)"
  • "U0_p_d_4" -> "Positive electrode host site standard potential (delithiation) (4) [V]"
  • "a_p_d_5" -> "Positive electrode host site charge transfer coefficient (delithiation) (5)"
  • "j0_ref_n_0" -> "Negative electrode host site reference exchange-current density (0) [A.m-2]"

Type of change

Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #)

Important checks:

Please confirm the following before marking the PR as ready for review:

  • No style issues: nox -s pre-commit
  • All tests pass: nox -s tests
  • The documentation builds: nox -s doctests
  • Code is commented for hard-to-understand areas
  • Tests added that prove fix is effective or that feature works

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@MarcBerliner MarcBerliner marked this pull request as ready for review May 21, 2025 17:01
@MarcBerliner MarcBerliner requested a review from a team as a code owner May 21, 2025 17:01
Copy link

codecov bot commented May 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.58%. Comparing base (012150f) to head (2ce4166).
⚠️ Report is 194 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5027   +/-   ##
========================================
  Coverage    98.57%   98.58%           
========================================
  Files          304      304           
  Lines        23661    23689   +28     
========================================
+ Hits         23325    23353   +28     
  Misses         336      336           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@aabills aabills left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@MarcBerliner MarcBerliner merged commit 34fe092 into develop May 23, 2025
26 checks passed
@MarcBerliner MarcBerliner deleted the msmr-renaming branch May 23, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants