Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design Optimisation Refactor and Additions #167

Merged
merged 16 commits into from
Feb 9, 2024

Conversation

BradyPlanden
Copy link
Member

@BradyPlanden BradyPlanden commented Jan 12, 2024

Refactors:

  • GravimetricEnergyDensity()
  • nominalcapacity()
  • cell_mass()

Updates quick_plot trace names dependent on problem definition.

Closes #162

@BradyPlanden BradyPlanden linked an issue Jan 12, 2024 that may be closed by this pull request
Copy link

codecov bot commented Jan 12, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (7fbc5f3) 94.58% compared to head (d3fa97f) 94.55%.
Report is 1 commits behind head on develop.

Files Patch % Lines
pybop/_costs.py 91.42% 3 Missing ⚠️
pybop/models/empirical/ecm_base.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #167      +/-   ##
===========================================
- Coverage    94.58%   94.55%   -0.04%     
===========================================
  Files           40       42       +2     
  Lines         1756     1783      +27     
===========================================
+ Hits          1661     1686      +25     
- Misses          95       97       +2     

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

@BradyPlanden BradyPlanden mentioned this pull request Jan 16, 2024
7 tasks
@NicolaCourtier NicolaCourtier mentioned this pull request Feb 8, 2024
* Add intermediate model classes

* Update spm_electrode_design.ipynb

* Add test for GravimetricEnergyDensity

* Update pybop/models/empirical/ecm_base.py
Co-authored-by: Brady Planden <55357039+BradyPlanden@users.noreply.github.com>

* Update pybop/models/lithium_ion/echem_base.py
Co-authored-by: Brady Planden <55357039+BradyPlanden@users.noreply.github.com>
Copy link
Member

@NicolaCourtier NicolaCourtier left a comment

Choose a reason for hiding this comment

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

Great work incorporating design optimisation into the main functionality of PyBOP.
Ready to merge, thanks @BradyPlanden!

@BradyPlanden BradyPlanden merged commit 27c49f0 into develop Feb 9, 2024
17 of 18 checks passed
@BradyPlanden BradyPlanden deleted the 162-update-design-optimisation-functionality branch February 9, 2024 09:36
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.

Update design optimisation functionality
2 participants