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
Publications
History and Credits

Using WEAP
Download
Licensing
User Guide
Tutorial
Videos (YouTube)

User Forum
Discussions
Members List
Edit Profile

Additional Support
Training
University Courses
Collaboration

About Us
SEI-US Water Resources Program
Please Contact Us

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

Link WEAP and LEAP for combined Water-Energy planning.
Watch a video demo!
   

User Forum

All Topics | Topic "Expression Builder application"
Log in to post new messages or reply to existing messages.
 
Author Message
Ms. Mitika Farkya

Subject: Expression Builder application   
Posted: 7/27/2015 Viewed: 15414 times
Hello Sir,
How to write any contraint for spill
for example, if there is 1000 MCM headflow and the reservoir storage capaacity is 156 MCM and I have to divert water, equal to or less than the canal capacity, to other river from the reservoir and the rest to be allowed for spill in reach/downstream
Please suggest the expression for the above example.

Regards Mitika

Ms. Stephanie Galaitsi

Subject: Re: Expression Builder application   
Posted: 7/29/2015 Viewed: 15374 times
Dear Matika,

It sounds to meet like you could simulate this by building a reservoir on the river, then having a canal come out of the river directly below the reservoir. As long at is goes to a city with a higher demand priority than the demands downstream, the canal will take water equal to or less than the canal capacity (although it might drain the river doing so).

This question is more about interactions of different WEAP elements (the dam, the river, the canal), and you don't need to use the Expression Builder for that. It's more about determining the parameters of those elements, although certainly those parameters can interact, and can be coded to do so, for example through an "if" statement. But it's not necessary for this type of structuring - all of that can be embodied in the WEAP elements themselves, and it's simpler.
Topic "Expression Builder application"