Skip to content

Tighten edge validation#1434

Merged
visr merged 2 commits intomainfrom
valid-edge-cases
Apr 29, 2024
Merged

Tighten edge validation#1434
visr merged 2 commits intomainfrom
valid-edge-cases

Conversation

@visr
Copy link
Copy Markdown
Member

@visr visr commented Apr 28, 2024

Since LevelDemand and FlowDemand were not AbstractParameterNodes, their connections were not being validated despite the constraints being set properly. I noticed since they don't show up in the tables in https://deltares.github.io/Ribasim/core/validation.html.

LinearResistance and ManningResistance already required 1 in and 1 outflow, just not in validation.

Basin already cannot have outgoing control edges.

Also removes an outdated comment about ribasim.cmd. We now only have one ribasim.exe since #1415.

visr added 2 commits April 28, 2024 21:03
Since LevelDemand and FlowDemand were not AbstractParameterNodes, their connections were not being validated despite the constraints being set properly.

LinearResistance and ManningResistance already required 1 in and 1 outflow, just not in validation.

Basin already cannot have outgoing control edges.
@visr visr added the validation Related to model validation label Apr 28, 2024
Copy link
Copy Markdown
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 👍

@visr visr merged commit db517dd into main Apr 29, 2024
@visr visr deleted the valid-edge-cases branch April 29, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

validation Related to model validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants