Laserfiche WebLink
<br />, <br /> <br />.. <br /> <br />.,\' ~~ <br />. '-_ t\ <br />oooh~~ <br /> <br />OPERATIONS CODE OVERVIEW <br /> <br />This document presents an overview of the key procedures used in the operation of the; <br />Gunnison Basin Planning Model. The procedures are presented more or less in the order they <br />are executed in the Baseline model scenario. Not all procedures are described herein; rather, <br />the objective is to provide enough of an overview so that an understanding of other procedures <br />can be derived from the structure and comments of those procedures. <br /> <br />In the discussion below, the procedure name is followed by the name of the code module <br />in which the procedure resides. For example, DoWaterRightsStep[DORIGHTS.MOD] <br />indicates that the procedure DoWaterRightsStep is found in the module DORIGHTS. Some <br />procedures are local and are only executed within the module in which they reside. However, <br />many important procedures are called from several locations in the program. It will be helpful <br />to have the tlowcharts and code listing readily available for reference when reading this <br />document. <br /> <br />PROCEDURES CALLED AT THE BEGINNING OF RUN <br /> <br />InitReadText [READTEXT.MOD] <br /> <br />This procedure opens the standard CRAMOUT.TXT and SEASONAL.TXT ASCII files <br />which contain default contiguration information for existing network constructs like Blue <br />Mesa, Taylor Park, and various demands. These tiles retlect the information stored in the <br />baseline run of the model and allow the interface to only have to write the information that has <br />changed from the baseline case in a "difference tile" called CRAMOUT.DIF and <br />SEASONAL.DIF. This procedure processes the CRAMOUT.TXT tile and gets tile handles <br />for the other three tiles. <br /> <br />The procedure calls the tCllluwing sub-routine GenericCramOutFile [READTEXT.MOD] <br />which is used to process the CR.\MOUT.TXT tile. <br /> <br />ProcessCramOutFile [READTEXT.MOD] <br /> <br />This procedure processes the CRAMOUT.DIF tile. It calls the procedure <br />GenericCramOutFile which was used to process the original CRAMOUT.TXT file. Values <br />processed at this time will replace values read in by InitReadText from CRAMOUT.TXT. <br /> <br />TranslateLists [CRAMHOOK.MOD] <br /> <br />This procedure assembles linked lists of items created by the ReadText module <br />procedures which preceded it. Currently it only assembles information about the in-stream <br />flow constructs. <br />