Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase usefulness of model trace facilities #181

Open
mabcal opened this issue Oct 26, 2018 · 2 comments
Open

Increase usefulness of model trace facilities #181

mabcal opened this issue Oct 26, 2018 · 2 comments

Comments

@mabcal
Copy link
Contributor

mabcal commented Oct 26, 2018

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.

@PeterVermont
Copy link
Contributor

PeterVermont commented Oct 27, 2018 via email

@mabcal
Copy link
Contributor Author

mabcal commented Oct 27, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants