To create simulations with , create a Python file that imports the relevant packages, uses the classes and functions to meet your specific needs, and then run the script using python script_name.py
.
For example, if you would like to create many simulations "on-the-fly" (such as parameter sweeps) then you should use the :py~idmtools.builders.simulation_builder.SimulationBuilder
and :py~idmtools.entities.templated_simulation.TemplatedSimulations
classes. On the other hand, if you would like to create multiple simulations beforehand then you can use the :py~idmtools.entities.simulation.Simulation
class.
See the following examples for each of these scenarios:
../examples/builders/experiment_builder_python.py
../examples/builders/manual_building.py
Many additional examples can be found in the /examples folder of the GitHub repository.
create-sims-tags create-sims-emod