Hi Clemens
For your first question, I think it's possible with some manual programming. I think the easiest solution is to modify the weir subroutine where the discharge between two boundary is already implemented in order to compute the discharge not according the weir law but just with the emptying rule. if you want to follow a rule like 0.5m/h, you should probably fins a solution to compute the volume in your upstream basin...
For the second one, different options could be use:
- use the debugger mode (I hope all the call are well marked for the debugger mode)
- place the subroutine in your own fortran file and add a message in it (not really beautiful but efficient)
- look in the source code to find the different call of the subroutine and check if there is a conditionnal call with a test like (IF LT.LT.1) or something similar (LT is the iteration number)
Hope this helps
regards