swifco_rs module

class swifco_rs.Model

The basic model object to hold sub-models and resources, and to run simulations.

Parameters:

seed - the random seed for this model. Default from entropy (i.e. “random”).

add_resource()

Add a resource to the model.

add_system()

Add a system (sub-model) to the model.

run()

Run the model.

set_map_init()

Set the model’s map initialization system.

set_pop_init()

Set the model’s population initialization system.