Welcome to WEAP's Website
WEAP
WEAP is an initiative of the Stockholm Environment Institute.


About WEAP

Home
Why WEAP?
Features
What's New?
Sample Screens
Demonstration
Applications
Publications
History and Credits

Using WEAP
Download
Licensing
User Guide
Tutorial
Videos
Resources

User Forum
Discussions
Members List
Edit Profile

Additional Support
Training
University Courses
Collaboration

About Us
SEI-US Water Resources Program
Please Contact Us

 Environmental News
LEAP Interested in Energy?
Read about LEAP: SEI's software for energy planning.

User Forum

All Topics | Topic "Diversion"
Log in to post new messages or reply to existing messages.
 
Author Message
Janak Timilsena

Subject: Diversion   
Posted: 8/26/2009 Viewed: 11816 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?
Samuel Sandoval

Subject: Re: Diversion   
Posted: 9/1/2009 Viewed: 11810 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.

Mehdi Mirzaee

Subject: Re: Diversion   
Posted: 9/1/2009 Viewed: 11795 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.
Topic "Diversion"