Skip to content

RSGInc/popsampler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synthetic Population Spatial Sampler

  • Run a population synthesizer as usual

  • Specify a sample rate for each zone

  • Assign HHs into bins by income, size, workers by zone

  • Sample HHs by bin to match zone level sample rates

  • Set the expansion weight of each record

  • Run travel model as usual

  • Average trip matrices before assignment

  • For example:

    • Oversample study area zones @ 400%
      • Replicate a synthetic household four times
      • Set the weight to 0.25
    • Undersample zones outside study area @ 25%
      • Select 1 in 4 synthetic households
      • Set the weight to 4

Example

test\test_popsampler.py

See Also

https://github.com/RSGInc/populationsim

About

Synthetic Population Spatial Sampler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages