matsim-org / matsim-code-examples

A repository containing code examples around MATSim
GNU General Public License v3.0
79 stars 176 forks source link

Integrating Cadyts and MATSim for calibration #201

Open MAlbertini95 opened 5 years ago

MAlbertini95 commented 5 years ago

I’m trying to create a MATSim scenario for my case study. I was looking at the works regarding the integration of Cadyts with MATSim for the calibration of the travel demand, and I had some question:
-Firstly, in relation to the scaling up of the network properties, how’s made? -Secondly, how did you group all different plans from CEMDAP into a list for every agent? -Lastly, what method did you use to calculate zonal parameters and zone2zone infos to put in CEMDAP, since I’m quite new, I would like to know if thhere’s a fast method to get the infos. Hope you can help with questions, thanks for the attention, Best Regards

kainagel commented 4 years ago

Dear Matteo,

Your question can be understood at several levels, and I am not sure which one you are aiming for. I will try:

Concrete scenario generation

Here, I would strongly recommend to go for the simplest approach possible, and make it more complex over time if needed. The simplest approach possible is

I can't tell from your email if you have already undertaken steps in this direction, and if so, which ones.

Longer term plan for better scenario

The CEMDAP/Cadyts approach is one of many possible approaches; if it is useful for you depends strongly (1) on your available data, and (2) on your needs. As available data, it needs at least a commuting matrix, i.e. how many people travel from one zone to another for work in the morning. Other things, such as precise locations of facilities for activities, or traffic counts, are optional.

If this is what you need, we could provide more help, since it is something we are currently working on ourselves (in particular replacing CEMDAP by ActiTopp, which makes the whole tool chain java-only). We would, however, need to know how far you are with the concrete scenario generation described above, which tools you are using, which input data you have, etc.

General

If you want concrete help, could you please do the following:

Best wishes ...

MAlbertini95 commented 4 years ago

Dear Mr. Nagel, Ok, so I would try to explain better at which point I am with the building up of the scenario. I already have a OSM-derived network, and I have ancd i know how to generate a realistic synthetic population ( 112.500 pp) from my case study. I do have now to obtain somehow the travel plans for each person, and I don’t really know how to build it, the more feasible method I found was the one you used for the Berlin Open scenario, but if you gave suggestions I’ll be take it in consideration, it would be great. I do have a commuter matrix, but with a lower resolution than TAZ-resolution I would like to simulate. So I thought a calibration would be useful to better represent the current scenario ( I do have traffic counts ). Lastly, I know just a little of how CEMDAP works, and how to input data, but I don’t know to convert output files into readable MATSim plans (how to deal with TAZ zones and the coordinates, how to write multiple plans into one agent plans). Hope you can help and/or give advice. Thank you for your attention. Best Regards,


Da: kainagel notifications@github.com Inviato: Wednesday, September 11, 2019 11:55:32 AM A: matsim-org/matsim-code-examples matsim-code-examples@noreply.github.com Cc: MAlbertini95 teo.albe@hotmail.it; Author author@noreply.github.com Oggetto: Re: [matsim-org/matsim-code-examples] Integrating Cadyts and MATSim for calibration (#201)

Dear Matteo,

Your question can be understood at several levels, and I am not sure which one you are aiming for. I will try:

Concrete scenario generation

Here, I would strongly recommend to go for the simplest approach possible, and make it more complex over time if needed. The simplest approach possible is

I can't tell from your email if you have already undertaken steps in this direction, and if so, which ones.

Longer term plan for better scenario

The CEMDAP/Cadyts approach is one of many possible approaches; if it is useful for you depends strongly (1) on your available data, and (2) on your needs. As available data, it needs at least a commuting matrix, i.e. how many people travel from one zone to another for work in the morning. Other things, such as precise locations of facilities for activities, or traffic counts, are optional.

If this is what you need, we could provide more help, since it is something we are currently working on ourselves (in particular replacing CEMDAP by ActiTopp, which makes the whole tool chain java-only). We would, however, need to know how far you are with the concrete scenario generation described above, which tools you are using, which input data you have, etc.

General

If you want concrete help, could you please do the following:

Best wishes ...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/matsim-org/matsim-code-examples/issues/201?email_source=notifications&email_token=AMNEGPP6W7EMUYDHEC23UZLQJC6BJA5CNFSM4IS67ZX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6N6HYQ#issuecomment-530310114, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMNEGPNLUI35AHDWCT2TLDTQJC6BJANCNFSM4IS67ZXQ.

kainagel commented 4 years ago

Going through old emails. Don't know if this one here is still an issue. I would say that the above-mentioned RunPOnePersonPopulationGenerator would be a good starting point. There is more material in the same package, for increasingly complex cases, and then more material if you go one level up (int org.matsim.codeexamples.population). The approach that we always use for situations like yours (having a commuter matrix referring to zones) is: