Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.27 KB

create-sims.rst

File metadata and controls

31 lines (19 loc) · 1.27 KB

Create and run simulations

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:

SimulationBuilder example

../examples/builders/experiment_builder_python.py

Simulation example

../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