NetLogo 7.0.0-beta2:

ls:create-models

ls:create-models number path ls:create-models number path anonymous command

Create the specified number of instances of the given model. The path can be absolute, or relative to the main model. Compared with ls:create-interactive-models, this primitive creates lightweight models that are hidden by default. You should use this primitive if you plan on having many instances of the given model. The models may be shown using ls:show; when visible, they will have a view and command center, but no other widgets, e.g. plots or monitors.

If given a command, LevelSpace will call the command after loading each instance of the model with the model-id as the argument. This allows you to easily store model ids in a variable or list when loading models, or do other initialization. For example, to store a model id in a variable, you can do:

Child model RNGs are seeded from the parent models RNG when they are created. Thus, if you seed the parent’s model RNG before child model before child models are created, the simulation as a whole will be reproducible. Use the ls:random-seed primitive to seed the model system’s RNGs after child models have been created.

Take me to the full LevelSpace Extension Dictionary