SamUL Script to Simulate with Multiple Processor Cores

  • pgilman
  • Topic Author
More
14 Nov 2012 11:51 #1009 by pgilman
The SamUL script in the attached file demonstrates how to use the function mpsimulate() to run simulations with multiple processor cores to speed up scripts that take a long time to run on computers with multi-core processors.
You can also speed up simulations in SamUL by using simulate(false) in place of simulate(). When you use the function with the false parameter, SAM does not update the hourly results in the user interface, which saves saves time and memory. Unless you are switching between the SamUL script and the case to view results, you won't need the user interface results.
Best regards,

Paul.

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum