-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update Ribasim-MetaSWAP-MODFLOW6 exchange scheme #971
Comments
for completeness: Driver MetaModsequenceDiagram
autonumber
MODFLOW6 ->> MetaSWAP: HEAD
loop MODFLOW6-MetaSWAP groundwater timestep
Note over MetaSWAP: solve T
MetaSWAP->>MODFLOW6: storage & uz-flux
Note over MODFLOW6: solve T
MODFLOW6 ->> MetaSWAP: HEAD
end
Driver RibaModsequenceDiagram
autonumber
Ribasim ->> MODFLOW6: exchange stage [T-1]
Note over MODFLOW6: solve T
MODFLOW6 ->> Ribasim: RIV flux [T-1]
Note over Ribasim: solve T
|
Looks great! One comment: Are you sure there's a loop around this? I would expect MetaSWAP to present a runoff term, and a demand to Ribasim. Then Ribasim runs, and it returns the realized sprinkling. This happens once, right? There are multiple timesteps, but that's internal to Ribasim. Secondly, final diagram is accurate for the current the RibaMod driver implementation, but we probably want it to do the same prediction step, right? |
@Huite: 2: Yes indeed. |
Level exchange and time stepping scheme between RibaMetaMod and DfmMetaMod drivers. This gives the following sequence per timestep:
The flux estimate(2) is based on the head and stage of the previous MF6 and Ribasim timestep. The sub timesteps between Ribasim and MetaSWAP are needed since the surface water timestep in MetaSWAP can't exceed 1d (see MetaSWAP manual on dtsw). The correction flux (6) is computed for infiltration nodes only.
Positive volumes will always be realized:
1- MetaSWAP ponding
2- MF6 RIV nodes with drainage
Negative volumes (demands) can be shorted if Ribasim runs dry during timestep T. The sequence of shortening is as follows:
1- MetaSWAP sprinkling from surface water
2- MF6 RIV nodes with infiltration
Critical note:
The correction flux is based on the flux estimate and ensures that the water balance between Ribasim and MF6 exchanges are in sink within timestep t. It does not ensure that the waterbalance between MF6 and Ribasim are in sink at the end of timestep t. This is because the flux estimate at the beginning of timestep t, does not take the MF6-stresses into account for timestep t. To get a better flux estimate at the beginning of timestep t, we could start the MF6-MetaSWAP solve, without finalizing it.
Tasks:
[ ] Find out if Ribasim supports the cutoff of infiltration boundary conditions during a timestep, and if this is exposed via XMI.
[ ] Implement water balance class for all exchanges, so corrections can be computed based on specific contributions.
[ ] Add XMI-package to MF6 model, in premod. This is needed for the correction flux
[ ] add new exchanges to the update() method of RibaMetaMod
[ ] update all reference for RibaMetaMod tests
[ ] Investigate possible solutions for better flux estimation’
The text was updated successfully, but these errors were encountered: