Parameter Sweep¶
Introduction¶
A Parameter Sweep runs multiple simulations while systematically varying one or more outputs to study their effects.
Define the base model for your parameter sweep.
Click Workflow -> Create Parameter Sweep to create a new parameter sweep.
The Workflow tab will appear in the model tree.
Go to the workflow tab and click on the Parameter Sweep object.
Click Edit Parameter Sweep in the context-specific toolbar.
Edit the parameter sweep table. This form supports copy/paste. You are encouraged to use Excel in another window and copy the data into the form from there for larger parameter sweeps.
Click OK.
Save your document.
Exporting the Sweep¶
The cases are exported to the directory you choose, with each case in its own sub-directory named after the Case Name you specify on the parameter sweep table. Both the pre-processor document and solver files are saved during this export step.
Click Workflow -> Export Parameter Sweep.
Choose a directory where the cases will be exported and saved.
Click OK.
Once the cases are exported, you can manually load them into the M-Star Queue or process them in your own system.
Running the Sweep¶
Click Workflow -> Run Parameter Sweep.
Choose an output directory.
Click OK.
The cases are exported.
The Queue GUI is opened up with the parameter sweep loaded.
See M-Star Queue for more information on processing queues.
Parameter Sweep Toolbar¶
Context-Specific Toolbar Forms |
Description |
|---|---|
|
The Add Variable window opens a selection of properties to add as a variable. |
|
The Edit Parameter Sweep window. |
|
The Help command launches the M-Star reference documentation in your web browser. |
For a full description of each option, see Context-Specific Toolbar selections.
Additional Resources¶
For more on this subject, check out the following:
Add Variable
Edit Parameter Sweep
Help