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
Not acting like themselves: Antidepressants in environment alter crayf...
Expose crayfish to antidepressants, and they become more outgoing -- but that might not be such a positive thing for the...

Baltic herring larvae appear earlier and grow faster due to climate ch...
Conditions during Baltic herring spawning may have cascading effects on the whole Baltic ecosystem.

Small streams in agricultural ecosystems are heavily polluted with pes...
Pesticides safeguard agricultural yields by controlling insects, fungi, and weeds. However, they also enter streams and...
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 "API Help"
Log in to post new messages or reply to existing messages.
Author Message
Mr. Reza Ahmad Limon

Subject: API Help   
Posted: 2/13/2018 Viewed: 3619 times
I am just starting with WEAP API and I was trying to run the example in WEAP help. But, it doesn't run and shows this error "WEAPApplication.Scenarios: Invalid scenario: Supply measures". So, I have checked the "Weaping River Basin" file itself and it does have that scenario. I have tried to run the lines on the example on Excel VBScript editor. From there I have found that the script cannot change the scenario to "Supply Measures" scenario when the schematic view is on. But, if the "Data" view is on it can change the scenarios. So, I added a line on the example script to change the view to "Data". But, it doesn't go to Data view with the script instead goes to schematic view and while command says to go to Schematic view it shows error that there is no such view. Does anyone here knows what's happening here and how can I fix this?
Topic "API Help"