Skip to content

Household Manager and Matrix Manager

Cundo Arellano edited this page May 25, 2020 · 2 revisions

Before executing a model run, the travel model requires a Household Manager and a Matrix Manager to be created. In the SANDAG model application, the Matrix Manager resides on the same machine as the main CT-RAMP client process. The Matrix Manager is tasked with managing all of the skim matrices used by the choice models. When a skim is needed, a request is made to the Matrix Manager, which then reads the required skim from disk and stores it in memory. Once in memory, each matrix is available to any other JPPF node process that may need it.

The Household Manager is tasked with managing the simulated households, as well as each simulated person in each simulated household. The Household Manager provides the JPPF nodes with information regarding the households for which the JPPF nodes are applying choice models and stores the resulting information computed by the JPPF nodes. To help keep run time down, the synthetic population is read from disk and stored in memory at the beginning of the application and then continuously updated as choice models are completed and iterations are performed. When the last iteration is complete, the necessary information is written to disk.

Both the Household Manager and Matrix Manager have substantial memory footprints.