Hey guys, I’m writing a simple code to iteratively vary downstream WS elevation in order to achieve a upstream EG elevation (already calculated).
I’ve thought that running a Do-Loop with SteadyFlow_FixedWSBoundary would easily do this, but when I run the code, the WS elev boundary doesn’t change at all.
Any suggestion about what might be happening? Missing something??
It works for me. Here’s the code I use to set my water surface within the Do-Loop:
‘Fix the new water surface elevations to the boundary
Dim blnDidItCompute As Boolean
blnDidItCompute = RC.SteadyFlow_FixedWSBoundary _
(strRiverName(1), strReachName(1), True, _
sngNewWSElev())