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
Ocean microplastics: First global view shows seasonal changes and sour...
An estimated 8 million tons of plastic trash enters the ocean each year, and most of it is battered by sun and waves int...

Cause, scope determined for deadly winter debris flow in Uttarakhand,...
The Uttarakhand region of India experienced a humanitarian tragedy on Feb. 7, 2021, when a wall of debris and water barr...

World-first discovery could fuel the new green ammonia economy
Scientists have developed a new technique using phosphonium salts that can help drive the future production of green amm...
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"
Log in to post new messages or reply to existing messages.
Author Message
Mr. Mehdi Mobasheri

Subject: API   
Posted: 5/21/2020 Viewed: 1441 times
Hello everyone. I managed to use the API of WEAP with vba,to run my program up to 1000 repetitions.
But unfortunately, after running the program several times, it gives me an error in repeating number 617 that there is a pre-export file.
Do you want to rewrite it? And the program stops.
Is there a solution to this problem?
Or is there a certain capacity for maximum repetition in the program?

please help me.
Topic "API"