Skip to content

Formulate basin properties in flow limiter based on u instead of du#2334

Merged
SouthEndMusic merged 1 commit into
mainfrom
fix_flow_limiter
Jun 3, 2025
Merged

Formulate basin properties in flow limiter based on u instead of du#2334
SouthEndMusic merged 1 commit into
mainfrom
fix_flow_limiter

Conversation

@SouthEndMusic

@SouthEndMusic SouthEndMusic commented Jun 3, 2025

Copy link
Copy Markdown
Collaborator

Fixes #2315, fixes #2314

There was a silly bug in de flow limiter (the part of the code where we nudge the solver step in the 'right' direction based on knowledge of the problem) where the basin properties where formulated based on du instead of u, giving completely wrong values for e.g. the low storage factors.

This bug was introduced in #2137

@SouthEndMusic SouthEndMusic requested a review from evetion June 3, 2025 05:59
@SouthEndMusic SouthEndMusic changed the title Formulate basin properties based on u instead of du Formulate basin properties in flow limiter based on u instead of du Jun 3, 2025
@SouthEndMusic SouthEndMusic requested a review from visr June 3, 2025 06:35
@SouthEndMusic SouthEndMusic merged commit adedbe2 into main Jun 3, 2025
12 checks passed
@SouthEndMusic SouthEndMusic deleted the fix_flow_limiter branch June 3, 2025 07:19
@SouthEndMusic SouthEndMusic mentioned this pull request Jun 3, 2025
visr pushed a commit that referenced this pull request Jun 5, 2025
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.

repro: Peelvenen repro: LHM-vechtstromen

2 participants