Skip to content

Conversation

@visr
Copy link
Member

@visr visr commented Sep 3, 2024

Fixes #1789.

@visr visr marked this pull request as ready for review September 5, 2024 14:59
Copy link
Member Author

Choose a reason for hiding this comment

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

This raises the upstream level to avoid reduction factors affecting the tests.

Copy link
Member Author

Choose a reason for hiding this comment

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

The Basins upstream of the TabulatedRatingCurve now retain more water as the downstream levels rise, and the water level difference goes to 0.

@visr visr requested a review from SouthEndMusic September 5, 2024 15:02
jac_prototype_expected = spzeros(Bool, 4, 4)
jac_prototype_expected[1:2, 1:2] .= true
jac_prototype_expected[3:4, 2:4] .= true
jac_prototype_expected[2:4, 2:4] .= true
Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry performance.

Copy link
Collaborator

@SouthEndMusic SouthEndMusic left a comment

Choose a reason for hiding this comment

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

Good stuff

@SouthEndMusic SouthEndMusic merged commit 104e738 into main Sep 9, 2024
@SouthEndMusic SouthEndMusic deleted the trc-redux branch September 9, 2024 09:26
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.

Reduce flow over TabulatedRatingCurve to 0 as downstream level exceeds upstream

3 participants