matsim-org / matsim-libs

Multi-Agent Transport Simulation
www.matsim.org
461 stars 436 forks source link

Any tool for synthetic population for generating plan.xml? #1672

Open sinkan851014 opened 2 years ago

sinkan851014 commented 2 years ago

Hi, I'm trying to simulate real world in MATSim. I knew that IPF method is most used in synthetic population. Wanted to know if there is any normal method like software or java class in library usually use to create this input data for MATSim? Cause there is no public data like PUMS in my research location. Any information would help me a lot!

Thanks very much!

phaj19 commented 2 years ago

There is no simple way to make real-world population in Matsim, but there are many ways to achieve something usable. Try to go through the examples in this Github location. Some tips: Accessibility contribution has a nice way to generate facilities from OSM data. There are some classes in Matsim to help handling shapefiles (try to get the population data in shapefile format): https://github.com/matsim-org/matsim-code-examples/tree/13.x/src/main/java/org/matsim/codeexamples/population/demandGenerationFromShapefile You will need to come up with the daily schedules yourself if you do not have a survey data ready. Location choice strategy (somewhat outdated now) can help you improve your agents' activity location. Some extra coding to achieve the population that you want is highly recommended.

Some extra sources for generating population: Origin-Destination Matrix Facility loads (like what Google Maps has for each point of interest)

Having a worldwide population from which you can just import data into your model is just a very nice dream for now :-)

sebhoerl commented 2 years ago

A method that may or may not be adaptable to your case and additional references to the relevant methods and tools can be found here as well: Hörl and Balac (2021)