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

Using WEAP
Download
Licensing
User Guide
Tutorial
Videos
Resources

User Forum
Discussions
Members List
Edit Profile

Additional Support
Training
University Courses
Collaboration

About Us
SEI-US Water Resources Program
Please Contact Us


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

User Forum

All Topics | Topic "Simulation intermidiate results"
Log in to post new messages or reply to existing messages.
 
Author Message
Ioannis Tsoukalas

Subject: Simulation intermidiate results   
Posted: 1/9/2015 Viewed: 9526 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
Jack Sieber

Subject: Re: Simulation intermidiate results   
Posted: 1/9/2015 Viewed: 9525 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
Ioannis Tsoukalas

Subject: Re: Simulation intermidiate results   
Posted: 1/9/2015 Viewed: 9522 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
Jack Sieber

Subject: Re: Simulation intermidiate results   
Posted: 1/9/2015 Viewed: 9521 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"