Skip to content

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

Merged
SouthEndMusic merged 3 commits into
mainfrom
limiter2
Oct 21, 2024
Merged

Add step_limiter! to avoid negative flows or too large flows#1911
SouthEndMusic merged 3 commits into
mainfrom
limiter2

Conversation

@SouthEndMusic

Copy link
Copy Markdown
Collaborator

Fixes #1900. Split out of #1904.

@SouthEndMusic
SouthEndMusic marked this pull request as draft October 21, 2024 09:37
@SouthEndMusic
SouthEndMusic marked this pull request as ready for review October 21, 2024 09:43
@SouthEndMusic
SouthEndMusic requested a review from evetion October 21, 2024 09:44
@SouthEndMusic
SouthEndMusic merged commit 4ef4d86 into main Oct 21, 2024
@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 <mgvisser@gmail.com>
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