Next: Deleting the File-Based Cache
Up: File-Based Cache
Previous: Reasons to Use Cache
Index
During a simulation, UrbanSim writes a variety of data to the simulation
cache. These include:
- Any dataset attribute read into memory or computed during the year.
- A log file for each year, containing anything written to the UrbanSim
logger.
- A log file for the top-level process that runs each year of the
simulation.
- Meta-data about the information in the simulation
cache, such as the ``version'' of each variable so that
we only need to recompute variables when their inputs change.
You can adjust the frequence with which the simulation flushes dataset
attribute values to the simulation cache:
- After computing each year. This is always done.
- After computing each model. Set
'datasets_to_cache_after_each_model' in the run configuration to
a list of dataset names you wish to cache. An empty list (default) causes
no caching.
- After computing each variable. Set
'flush_variables' to True in the
run configuration.
Next: Deleting the File-Based Cache
Up: File-Based Cache
Previous: Reasons to Use Cache
Index
info (at) urbansim.org