-
-
Notifications
You must be signed in to change notification settings - Fork 563
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
Issue 1322 thermal parameters dependent temperature #1323
Issue 1322 thermal parameters dependent temperature #1323
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1323 +/- ##
========================================
Coverage 98.12% 98.12%
========================================
Files 272 272
Lines 15380 15431 +51
========================================
+ Hits 15091 15142 +51
Misses 289 289
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @brosaplanella , just a couple of things to change / clarify
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Each dimensionless function should calculate T_dim
from T
and then pass this to the dimensional function
@@ -179,5 +235,45 @@ def T_amb(self, t): | |||
"Dimensionless ambient temperature" | |||
return (self.T_amb_dim(t) - self.T_ref) / self.Delta_T | |||
|
|||
def rho_cn(self, T): | |||
"Dimensionless negative current collector density" | |||
return self.rho_cn_dim(T) * self.c_p_cn_dim(T) / self.rho_eff_dim(self.T_ref) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to make T
dimensional here and pass T_dim
to the functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, all good now
Description
The thermal parameters (density, heat capacity and conductivity) can now be functions of temperature.
Fixes #1322
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ flake8
$ python run-tests.py --unit
$ cd docs
and then$ make clean; make html
You can run all three at once, using
$ python run-tests.py --quick
.Further checks: