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 "Simulation intermidiate results"
Log in to post new messages or reply to existing messages.
 
Author Message
Eng. Ioannis Tsoukalas

Subject: Simulation intermidiate results   
Posted: 1/9/2015 Viewed: 16962 times
Hello,
Is there any way:
1) to get (e.g. write in a csv or text file) intermidiate results before the end of simulation?
2) to pause and resume the simulation?
I have looked the COM-API interface but could not find anything relevant.

Thanks,
Yiannis
Mr. Jack Sieber

Subject: Re: Simulation intermidiate results   
Posted: 1/9/2015 Viewed: 16945 times
1) You can write a script (VBS, Javascript, Python, etc.) to write out partial results, and call it from a calculation "Event" during calculation, such as at the end of each year calculated. On the menu, go to Advanced, Scripting, Edit Events.
2) No, there is no way to pause and resume calculations.

Jack
Eng. Ioannis Tsoukalas

Subject: Re: Simulation intermidiate results   
Posted: 1/9/2015 Viewed: 16939 times
Dear Jack thank you for your quick answer!
One last question; after getting the partial results can i write a script to abort the simulation?
Does WEAP support such function through COM-API?

Thanks
Mr. Jack Sieber

Subject: Re: Simulation intermidiate results   
Posted: 1/9/2015 Viewed: 16934 times
No, there is no way to use a script to stop calculations. You can always click the "Cancel" button yourself.
Topic "Simulation intermidiate results"