-
Notifications
You must be signed in to change notification settings - Fork 5
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
Implement matching of census-like persons to vista-like trips #4
Comments
The example population generation script now incorporates demographics-based trips generation. The sampled census person is matched to one of 5 VISTA demographic cohorts, and the activities/trips are generated based on the model for that cohort. Available since c45f9be. |
The cohort-based population generation is implemented and working since c45f9be. However, the agent-id won't be kept at final XML which makes it complicated to joining demographics to plans. Also, there was a very low number of 65+ travellers in our cohort compared to VISTA "travellers" 65+. Next steps:
|
@jafshin this can be closed now? |
We do not currently do any sensible matching of the sampled census-like persons to the generated vista-like trips. Any matching performed is arbitrary. For this reason, we do not write out the census attributes in the final MATSim XML output currently.
The code to be improved is here:
demand/R/match.R
Lines 16 to 17 in 266d481
The text was updated successfully, but these errors were encountered: