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

Add step_limiter! to avoid negative flows or too large flows #1911

Merged
merged 3 commits into from
Oct 21, 2024

Conversation

SouthEndMusic
Copy link
Collaborator

Fixes #1900. Split out of #1904.

@SouthEndMusic SouthEndMusic marked this pull request as ready for review October 21, 2024 09:43
@SouthEndMusic SouthEndMusic merged commit 4ef4d86 into main Oct 21, 2024
27 checks passed
@SouthEndMusic SouthEndMusic deleted the limiter2 branch October 21, 2024 11:33
SouthEndMusic added a commit that referenced this pull request Oct 25, 2024
Follow-up of #1911.

Fixes #1897 (?).

Fixes #1838 (how could we test
that negative flows where they should not be no longer occur? Maybe add
a callback that explicitly checks for non-decreasing states)

I focus in this PR on `UserDemand` inflow and infiltration because of
their importance in coupling.

---------

Co-authored-by: Martijn Visser <[email protected]>
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.

Avoiding negative flows where they should not be
2 participants