DaySim
DaySim copied to clipboard
Increase usefulness of model trace facilities
This includes the following:
-
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.
-
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.
-
This will work from either Default or Actum.