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

feat: Initial commit of DerivedMetric #68

Merged
merged 1 commit into from
Nov 9, 2023
Merged

Conversation

jetuk
Copy link
Member

@jetuk jetuk commented Nov 6, 2023

A derived metric is updated after solve and is for values that could be dependent on state AND paramter values. These need updating and storing for use between time-steps.

Adds a test for piecewise storage model that shows how the volume is updated at the end of time-step, and the derived proportional volume is calculated and retained for use in the next time-step despite the max volumes being updated.

Fixes #63.

A derived metric is updated after solve and is for values
that could be dependent on state AND paramter values. These need
updating and storing for use between time-steps.

Adds a test for piecewise storage model that shows how the volume
is updated at the end of time-step, and the derived proportional
volume is calculated and retained for use in the next time-step
despite the max volumes being updated.

Fixes #63.
@jetuk jetuk requested a review from Batch21 November 6, 2023 15:55
Copy link
Contributor

@Batch21 Batch21 left a comment

Choose a reason for hiding this comment

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

This looks good!

@jetuk jetuk merged commit b4771fe into main Nov 9, 2023
2 checks passed
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.

Implement derived metrics
2 participants