All Topics | Topic: “Simulation intermidiate results”
Author Message
Eng. Ioannis Tsoukalas
Subject: Simulation intermidiate results   
Posted: 1/9/2015 Viewed: 21858 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: 21841 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: 21834 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: 21829 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”