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

Inject (force) mass in a Basin #1969

Open
evetion opened this issue Dec 11, 2024 · 1 comment
Open

Inject (force) mass in a Basin #1969

evetion opened this issue Dec 11, 2024 · 1 comment
Labels
ribasim-nl Related to Ribasim NL project waterquality Issues related to Delwaq coupling/functionality

Comments

@evetion
Copy link
Member

evetion commented Dec 11, 2024

As requested at the samenwerkdag 12. Instead of giving concentrations at edges, it would help debugging (especially for nodes in the middle of the network, far away from any boundaries) if we can label all discharge through a node.

The request was for a Pump, but that might be too hard (no such thing exists for Delwaq), but we could label the Basin before/after. We could re-use the BasinConcentrationState, and add a boolean to indicate that the mass can't change.

@evetion evetion added ribasim-nl Related to Ribasim NL project waterquality Issues related to Delwaq coupling/functionality labels Dec 11, 2024
@evetion evetion added this to Ribasim Dec 11, 2024
@evetion evetion moved this to To do in Ribasim Dec 11, 2024
@EMMeijers
Copy link

That can be done by disrupting the delwaq pointer file at a segment with only two exchanges. Take the following steps:

  • Indicate on which segment id an internal boundary should be created.
  • remove all entries in the pointer (from and to) towards this segment and replace them with an boundary index. Please be aware that you increase the number of the the external boundaries by 2 (or increase the negative indices with 2).
  • Add the 2 new internal boundaries in the "ribasim_bndlist.inc" file. Label them Internal
  • Add a label in DELWAQ blok 5 for the newly created boundaries: ITEM 'Internal' 'Continuity' DATA 1 1
  • Add the tracer Internal to the substance list.
  • Add initial value for the tracer 'Internal'

Please note:

  • The number of segments and exchanges do not change. Therefore the Ribasim computation can be reused!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ribasim-nl Related to Ribasim NL project waterquality Issues related to Delwaq coupling/functionality
Projects
Status: To do
Development

No branches or pull requests

2 participants