Laserfiche WebLink
<br />.' 'OllGl'l6 <br /> <br />Operation Policies In RSS <br /> <br />2, Operation Policies in RSS <br /> <br />2.1 Object Operation Policy Statements and <br />their Functions: <br /> <br />Policy statements <br /> <br />Policy statements belonging to an object or object class, specify what the object <br />or object class is to do with its or other object's data. The point of this facility is <br />that although the stimulus - response network described in the previous chapter <br />allows simulation of most physical processes relevant for river basin operations, <br />, the representation of river basin' policy often requires much more specific state- <br />ments and behavior rules than the ones provided by the simulator alone. <br /> <br />Functions otl'f!i:b <br /> <br />=\,c1.fS ~~t~ <br />~)'/I" '" <br /> <br />Policy statements may refer to functions already contained within the RSS soft- <br />ware. Functions included in the RSS program are for performing routine opera- <br />tions, such as converting data units, computing elevations from storage <br />volumes, finding a minimum or maximum of a series of values, selecting a vari- <br />able value from a series of variable values, etc, <br /> <br />It would be possible to write functions to replace all policy statements, and it is <br />possible to write policy statements to replace some programmed functions or <br />subroutines. The advantage of policy statements, however, is that as they are <br />stored in a policy statement file, they can be easily changed by an RSS user, <br />Changing functions requires programming assistance. <br /> <br />2,2 Interaction Between the Simulator and <br />Policy Statements: <br /> <br />Policy consultation <br />upon initialization <br /> <br />'1 <br />~~' <br /> <br />The policy statements in the policy base have access to any slot on any object, <br />as well as to new variables defined in the policy base itself. H~,JhELs~ <br />.1ator-aREl-tl1e-peliey-base-slJ~OnIY four common variables:-outflow, diversion, ~ <br />(' ending storage, and inflow ratio, e simulator does not kn~ about-any-other <br />'--ll1ternal pOliCy base vana51es. he user, on the other hand, cannot control the <br />simulator except with these four common variables, <br /> <br />The simulator consults the policy base about all of these variables during the <br />initialization procedure of each water object. According to the consultation <br />outcome and the object's-sta~ policy statement may be obeyed or <br />discarded (refer to th~Jlethod in Chapter 4 of this manual). <br /> <br />Operation Policies in RSS <br /> <br />19 <br />