A Parameter Sweep is when a model is run a number of times with different parameters to perhaps find an optimal solution.
These two articles in Wikipedia might be of interest.
Other tools that may do parameter sweeps:
One way to do optimization in Ptolemy II would be to do a parameter sweep on a model by using the higher order component (HOC) actors
such as ModelReference.
See the ModelReference actor:
and RunCompositeActor
Tests:
- ptII/ptolemy/actor/lib/hoc/test/auto/DEInPNInRunCompositeActor.xml
- ptII/ptolemy/actor/lib/hoc/test/auto/RunCompositeActor.xml
- ptII/ptolemy/actor/lib/hoc/test/auto/RunCompositeActor2.xml
- ptII/ptolemy/actor/lib/hoc/test/auto/RunCompositeActor3.xml
- ptII/ptolemy/actor/lib/hoc/test/auto/RunCompositeActor4.xml
It is also possible to use a state machine:
- $PTII/ptolemy/domains/modal/demo/MultipleRuns/MultipleRuns.xml
Another way is to invoke the model multiple times from the command line and pass in different command line arguments. Properly escaping a string can be tricky.
Ptolemy/Kepler papers that cover Parameter Sweeps
- Jianwu Wang, "Distributed Execution Architectures in Ptolemy II," 9th Biennial Ptolemy Miniconference, February 16, 2011
- Jianwu Wang, Altintas, I., Hosseini, P.R., Barseghian, D., Crawl, D., Berkley, C., Jones, M.B., "Accelerating Parameter Sweep Workflows by Utilizing Ad-hoc Network Computing Resources: an Ecological Example," Services - I, 2009 World Conference on, 6-10 July 2009. DOI
- David Abramson, Blair Bethwaite, Colin Enticott, Slavisa Garic, Tom Peachey, "Parameter Space Exploration Using Scientific Workflows," Computational Science – ICCS 2009, Lecture Notes in Computer Science Volume 5544, 2009, pp 104-113.
Ptolemy/Kepler Mailing List mentions of Parameter Sweeps