DaySim icon indicating copy to clipboard operation
DaySim copied to clipboard

Increase usefulness of model trace facilities

Open mabcal opened this issue 6 years ago • 2 comments

This includes the following:

  1. The current tracing of model outcomes produces too much output. Make it possible to limit it in two ways. (a) Make it subject to the existing configuration parameter TraceAfterInvalidAttempts, so it will only report the outcomes for person-days or household-days where there have been a certain number of invalid attempts. (b) Have a new user input for a TraceHousehold. If this is given a value greater than 0, it will only produce the model trace output for that particular household.

  2. In addition to being able to write out model choice outcomes, add write statements for key model calculations from ChoiceProbabilityCalculator. This includes each AddUtilityTerm, AddUtilityComponent, and AddAlternative operation, and then in SimulateChoice, the drawing of a random number and the choice probabilities of all the alternatives. This can have it's own configuration control to turn it on and off, subject to the same conditions as writing the model outcomes (specific household or # of invalid attempts). This restores the trace functionality that was once in DaySim and was then removed.

  3. This will work from either Default or Actum.

mabcal avatar Oct 26 '18 22:10 mabcal