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

About WEAP

What's New?
Sample Screens
History and Credits

Using WEAP
User Guide
Videos (YouTube)

User Forum
Members List
Edit Profile

Additional Support
University Courses

About Us
SEI-US Water Resources Program
Please Contact Us

Environmental News
'Subterranean estuaries' crucial to sustainable fishing and aquacultur...
Pioneering research suggests 'subterranean estuaries' may be critical in managing sustainable fishing and aquaculture --...

Chemicals from human activities in transplanted oysters far from popul...
Wastewater treatment facilities clean the water that goes down our sinks and flushes our toilets, but they do not remove...

Antarctic Circumpolar Current flows more rapidly in warm phases
Our planet's strongest ocean current, which circulates around Antarctica, plays a major role in determining the transpor...
Source: Science Daily
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 "Demand site"
Log in to post new messages or reply to existing messages.
Author Message
Mr. Hamide Jamal Ilacinho

Subject: Demand site   
Posted: 8/27/2016 Viewed: 8174 times
Hi my dears

I would like to know how to add demand site into WEAP by its coordinates. Is it possible?

Hamide (Mozambique)
Mr. Jack Sieber

Subject: Re: Demand site   
Posted: 8/28/2016 Viewed: 8166 times
Hi Hamide,

No, it is not possible to add a demand site by its coordinates. However, using the WEAP API, you can get the coordinates of a demand site (or any other node on the Schematic).

Here is sample Visual Basic Script (VBS) code to do this. (To learn more about the WEAP API, see the User Guide topic "Automating WEAP (API)" http://www.weap21.org/WebHelp/index.html#WEAPBranch.htm )

For Each Br in WEAP.Branch("\Demand Sites and Catchments").Children

Print Br.FullName & ": " & Br.X & ", " & Br.Y


Mr. Hamide Jamal Ilacinho

Subject: Re: Demand site   
Posted: 8/29/2016 Viewed: 8128 times
Thanks...I'll learn more about it.
Topic "Demand site"