Subject: diversion Posted: 8/26/2009 Viewed: 32317 times
I have a reservoir d/s of diversion. is it possible to control the diversion flow based on the reservoir elevation located d/s?
Another Question: is there any way to consider biflow (between two reservoirs) depending upon the condition of one reservoir?
Dr. Samuel Sandoval
Subject: Re: diversion Posted: 9/1/2009 Viewed: 32309 times
> I have a reservoir d/s of diversion. is it possible to control the diversion flow based on the reservoir elevation located d/s?
Yes, you can refer to the reservoir's elevation from the previous timestep using the PrevTSValue function, e.g., PrevTSValue(Supply and Resources\River\Weaping River\Reservoirs\Central Reservoir:Storage Elevation). Then, constrain the transmission links of the diversion upstream according to the reservoir elevation, you can have a if statement such as: If( PrevTSValue(...) > 100, 100% of the demand, PrevTSValue(...) > 50, 70% of the demand, 50% of the demand)) and so on.
> Another Question: is there any way to consider biflow (between two reservoirs) depending upon the condition of one reservoir?
Yes, you can do it through a diversion link and declaring in the diversion link a "Fake Demand" You have to develop a algorithm that trigger the demand when water is necessary to be conveyed from one reservoir. The fake demand would withdraw water from one reservoir and return it all to the other reservoir.
Dr. Mehdi Mirzaee
Subject: Re: diversion Posted: 9/1/2009 Viewed: 32294 times
>I have a reservoir d/s of diversion. is it possible to control the diversion flow based on the reservoir elevation located d/s?
Well... It's hard to say, yes! I don't know how much information you have from LP algorithms. in LP all constraints equation solve together. It means that when LP tries to solve release from an reservoir, at the same time, diversion is solving. thus you can not make any dependency between them.
But there is some trick to define something like this to WEAP. you can make some functions in "Expression Builder"---> "Branches" and then drag and drop the reservoir. in this case you can see all characters and specifications of a dam or reservoir which is definable by a function.
My last sentence is : You can not define your aim directly, thus try to find a trick.
> is there any way to consider biflow (between two reservoirs) depending upon the condition of one reservoir?
I think that your answer was in your latter answer. you can make something in trick, too.