Skip to content

Notebook example files added for ECM and folder structure updated.#460

Merged
BradyPlanden merged 22 commits into
developfrom
437-add-thermal-thevenin-example-remove-params-from-others
Sep 17, 2024
Merged

Notebook example files added for ECM and folder structure updated.#460
BradyPlanden merged 22 commits into
developfrom
437-add-thermal-thevenin-example-remove-params-from-others

Conversation

@Dibyendu-IITKGP

@Dibyendu-IITKGP Dibyendu-IITKGP commented Aug 14, 2024

Copy link
Copy Markdown
Contributor

Description

Notebook example files are added for single pulse and multi-pulse HPPC data fitting, a thermal submodel is also added. Folder structure updated to keep data files for running example notebook files.

Issue reference

Fixes #437

Review

Before you mark your PR as ready for review, please ensure that you've considered the following:

  • Updated the CHANGELOG.md in reverse chronological order (newest at the top) with a concise description of the changes, including the PR number.
  • Noted any breaking changes, including details on how it might impact existing functionality.

Type of change

  • New Feature: A non-breaking change that adds new functionality.
  • Optimization: A code change that improves performance.
  • Examples: A change to existing or additional examples.
  • Bug Fix: A non-breaking change that addresses an issue.
  • Documentation: Updates to documentation or new documentation for new features.
  • Refactoring: Non-functional changes that improve the codebase.
  • Style: Non-functional changes related to code style (formatting, naming, etc).
  • Testing: Additional tests to improve coverage or confirm functionality.
  • Other: (Insert description of change)

Key checklist:

  • No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
  • All unit tests pass: $ nox -s tests
  • The documentation builds: $ nox -s doctest

You can run integration tests, unit tests, and doctests together at once, using $ nox -s quick.

Further checks:

  • Code is well-commented, especially in complex or unclear areas.
  • Added tests that prove my fix is effective or that my feature works.
  • Checked that coverage remains or improves, and added tests if necessary to maintain or increase coverage.

Thank you for contributing to our project! Your efforts help us to deliver great software.

…files added for single pulse and multi-pulse HPPC data fitting, a thermal submodel is also added. Folder created to keep data files for running example cases.
@Dibyendu-IITKGP Dibyendu-IITKGP self-assigned this Aug 14, 2024
@Dibyendu-IITKGP Dibyendu-IITKGP linked an issue Aug 14, 2024 that may be closed by this pull request
@Dibyendu-IITKGP Dibyendu-IITKGP changed the title Thermal parameters removed for non-thermal Thevenin example, example … Notebook example files are added for single pulse and multi-pulse HPPC data fitting, a thermal submodel is also added. Folder structure updated to keep data files for running example notebook files. Aug 15, 2024
@Dibyendu-IITKGP Dibyendu-IITKGP changed the title Notebook example files are added for single pulse and multi-pulse HPPC data fitting, a thermal submodel is also added. Folder structure updated to keep data files for running example notebook files. Notebook example files added for ECM and folder structure updated. Aug 15, 2024
@Dibyendu-IITKGP Dibyendu-IITKGP force-pushed the 437-add-thermal-thevenin-example-remove-params-from-others branch from 88f9832 to 75d66b8 Compare August 15, 2024 14:40
@codecov

codecov Bot commented Aug 15, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.04%. Comparing base (6569eaa) to head (ed457ff).
Report is 135 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #460   +/-   ##
========================================
  Coverage    99.04%   99.04%           
========================================
  Files           52       52           
  Lines         3559     3559           
========================================
  Hits          3525     3525           
  Misses          34       34           

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

@BradyPlanden BradyPlanden changed the base branch from develop to release-v24.9 September 16, 2024 12:17
@BradyPlanden BradyPlanden changed the base branch from release-v24.9 to develop September 16, 2024 12:19
@BradyPlanden

Copy link
Copy Markdown
Member

I thought we had a stale PR diff for examples/data/LG_M50_ECM/1-single-pulse-circuit-model.ipynb, but due to the movement of this file to data directory, the current state of it on develop is different than the state in this branch. I don't believe you changed this notebook(?), so this needs to be updated to reflect the current state in develop.

@Dibyendu-IITKGP

Copy link
Copy Markdown
Contributor Author

Yes, I haven't changed this file. So you mean this file needs to be pushed as a commit?

@BradyPlanden

Copy link
Copy Markdown
Member

Yes, one way is to restore the notebook to develop state and move it again before committing. The below command should restore the file to develop state.

git restore -s develop examples/notebooks/LG_M50_ECM/1-single-pulse-circuit-model.ipynb

@Dibyendu-IITKGP

Copy link
Copy Markdown
Contributor Author

Great, thanks!

@Dibyendu-IITKGP

Dibyendu-IITKGP commented Sep 16, 2024

Copy link
Copy Markdown
Contributor Author

Do you still want the 1-single-pulse-circuit-model.ipynb file within the LG_M50_ECM folder, or should it be under notebooks directly? I prefer the second one.

@BradyPlanden

Copy link
Copy Markdown
Member

Agreed, let's keep it under the notebook subdirectory

@Dibyendu-IITKGP

Copy link
Copy Markdown
Contributor Author

I think now we are good to go.

@BradyPlanden BradyPlanden left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for these additions @Dibyendu-IITKGP - they look great! I'll merge once the tests finish.

@BradyPlanden

Copy link
Copy Markdown
Member

@all-contributors please add @Dibyendu-IITKGP for examples

@allcontributors

Copy link
Copy Markdown
Contributor

@BradyPlanden

I've put up a pull request to add @Dibyendu-IITKGP! 🎉

@BradyPlanden BradyPlanden merged commit 051e57e into develop Sep 17, 2024
@BradyPlanden BradyPlanden deleted the 437-add-thermal-thevenin-example-remove-params-from-others branch September 17, 2024 13:14
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.

Add Thermal Thevenin Example (Remove Params from Others)

2 participants