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

Adjust a third party synthetic population #174

Closed
inoruk94 opened this issue Apr 19, 2023 · 8 comments
Closed

Adjust a third party synthetic population #174

inoruk94 opened this issue Apr 19, 2023 · 8 comments

Comments

@inoruk94
Copy link

Hello,

I have at my disposal a third party synthetic population WITH trips already generated and associated with persons.
However, the synthetic population is not exactly correct.

Is there a way to clean and adjust this synthetic population and somehow keep the trips information for each persons ?

Maybe this could be achieved using the repop mode ?
I saw on the forum (issue #135) that, for now, the creation of the seed synthetic population hdf5 datastore is mandatory.
What are the steps to create such a seed ? How much time would that take ?

Or would it be possible to generate weights for every person which would help to adjust the synthetic population without having to generate new households and persons ?
Would this method be possible with the survey_weighting mode ?

Or maybe do you see other ways to adjust this synthetic population ?

Thank you for your answers !

@bettinardi
Copy link
Collaborator

It's not clear to me what parts of your existing population you want to adjust. Could you add a little more detail on what you are hoping to change in your existing synthetic population?

@inoruk94
Copy link
Author

I would like my population to match the governement' statistical data (I'm working in Belgium) for different parameters : the total number of persons per statistical zone, the distribution of persons per statistical zone by age, income, active/inactive, profession

These parameters are not correct for my current existing synthetic population

@bettinardi
Copy link
Collaborator

Not sure if this is a great idea... But could you use your existing syn pop as the seed data. Is your existing syn pop a 100% sample...

@binnympaul
Copy link
Collaborator

I concur with @bettinardi. The repop feature works only when you have an existing PopulationSim setup. You would probably need to start from scratch. You may use the existing syn pop as the seed but the existing weight may not be very useful as initial weights.

@Jxr99int2013
Copy link

We are using the Repop the first time since the PopulationSim's adoption in the Southern Oregon ABM in 2020. The example did work on its setup, but not the real application even though we are testing one MAZ (micro-analysis zone), the lowest zonal level. But the example was based on TAZ, the lowest zonal level. Still trying to figure out why not.

@bettinardi
Copy link
Collaborator

Sorry to leave this cold - I'm working to review outstanding issues - is this still a concern/issue?

@inoruk94
Copy link
Author

I did not manage to make it work with Population SIM, using the existing syn pop as the seed data. I focused on the main adaptations that needed to be done to the existing syn pop, and used a software like R to make the changes.
My existing syn pop was already good; the changes were not that important, so I managed to get a pretty good results.

@bettinardi
Copy link
Collaborator

I'm glad you were able to get to a workable solution. Sorry the PopulationSim software was not useful to you in this case.

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

No branches or pull requests

4 participants