bug: fix sensitivity calculation for discrete time sum#5008
bug: fix sensitivity calculation for discrete time sum#5008martinjrobins merged 10 commits intodevelopfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #5008 +/- ##
========================================
Coverage 98.57% 98.57%
========================================
Files 304 304
Lines 23656 23661 +5
========================================
+ Hits 23320 23325 +5
Misses 336 336 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
MarcBerliner
left a comment
There was a problem hiding this comment.
Thanks Martin! Looks good, just some minor things. For consistency, can you add the name argument/property to the other processed variable classes?
Question (non-blocking):
- If hermite interpolation is available, can we treat
dvar_dy_eval,dy_dp, anddvar_dp_evalas distinct process variables, hermite interpolate them ontoself.time_integral.discrete_times, and then compute the discrete sum?
Yea, that would be nicer, we'd need their time derivatives though I think? I think these can be extracted during integration using |
Co-authored-by: Marc Berliner <34451391+MarcBerliner@users.noreply.github.com>
BradyPlanden
left a comment
There was a problem hiding this comment.
LGTM @martinjrobins - thanks!
Co-authored-by: Brady Planden <55357039+BradyPlanden@users.noreply.github.com>
Description
Fixes #5007
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:
nox -s pre-commitnox -s testsnox -s doctests