Laserfiche WebLink
<br />,." .: OO~3~Z '. <br /> <br />Operations Code Overview <br /> <br />releasing for tlood control/minimum release is the same as in the previous iteration which <br />would indicate that the inner loop has converged. <br /> <br />ReportLoopConvergence [LOOPCONV.MOD] <br /> <br />This procedure has been designed as a centralized place for both reporting the <br />convergence behavior'of all of the iteration loops in the model, but also as the place where the <br />iteration and convergence data are analyzed and the decision is made as to whether another <br />iteration of the current loop is needed or not. Although it is initially assumed that iterations <br />will continue until either the IterationsLimit is reached or the change in the "stabilization" <br />variable is within Tolerance. these arc not necessarily the only possibilities. At this point in <br />the model run this procedure is being uSed to test the convergence and tolerance of the inner <br />loop based on information returned by SetNewOpsReleases. <br /> <br />DoAugmentationStep [SOLUTION.MOD] <br /> <br />This procedure is used to determine if an augmentation release to demands is necessary. <br />It requires Augmentation to be enabled from the interface and tur a demand which is capable of <br />receiving augmentation to be sh()rt~d. When-ckrermining if a demand can use augmentation <br />water this procedure checks both the maximum demand and the physical capacity of the <br />demand since either could make an augmentation release tlltile. <br /> <br />DoReplacementStep [SOLUTION.MOD] <br /> <br />This procedure tirst checks to see whether the current scenario includes any <br />"replacement eligible" demands, and whether Blue Mesa was able to store water in-priority <br />during the current month. If so. each of the eligihle demands is checked to see whether it had <br />a shortage. and if so the replacement gate at the demand is opened. If no replacement-eligible <br />shortages were tlllmd, the procedure returns without modifying the network or calling for an <br />additional network solution. If shortageS were found then the !lows on the Blue Mesa bypass <br />link and the spillway are frozen. the Blue Mesa WRGate is opened. and its storage rights are <br />subordinated so that the ranks on the replacement I inks of demands upstream from Blue Mesa <br />are able to "take back" water that was called past their head gates by Blue Mesa's storage right. <br /> <br />SetNewlmmediateReturnFlows [CRAMHOOK.MOD]' <br /> <br />This procedure is used to set the value of each immediate return tlow as a function of the <br />current total tlow on the corresponding return tlow source arc. It returns the sum of the <br />absolute values of the changes in the individual immediate return tlows relative to the starting <br />assumptions or to the amounts calculated in the last iteration ot' the outer (return t1ow) loop. If <br />there was any change in the return tlows. then a tinal solution of the network will be required, <br />even if the outer loop does not iterate again. For this reason, the variable argument <br />NeedToDistributeFlows is set to TRUE only if ReturnFlowDelta is oem-zero. Otherwise, the <br />value of NeedToDistributeFlows will be left unchanged by this procedure, either TRUE or <br />FALSE. on the return to DoCram. <br /> <br />9 <br />