matsim-org / matsim-libs

Multi-Agent Transport Simulation
www.matsim.org
490 stars 452 forks source link

Scaling PT vehicles for sample population (Berlin scenario) #3299

Open pburla91 opened 6 months ago

pburla91 commented 6 months ago

Hi everyone,

I was looking at the Berlin Scenario (https://svn.vsp.tu-berlin.de/repos/public-svn/matsim/scenarios/countries/de/berlin/berlin-v5.5-10pct/input/) and realized that the transit vehicles have not been scaled down to the sample population being run.

Based on the discussion in https://github.com/matsim-org/matsim-code-examples/issues/395#issuecomment-658785424, I would assume that the pce units have to be scaled down too? Is there any specific reason why only 1 pce is assigned to busses, trams etc. and why the transit vehicle's pce units haven't been scaled down?

Thank you in advance :)

Janekdererste commented 5 months ago

In the case of the Berlin scenario, as well as the other scenarios under https://github.com/matsim-scenarios, pt is separated from the road network, including buses. This is because we generate the pt mode from GTFS-Data automatically. Hence, the pt network is not flow capacity bound and it doesn't really matter, what pce is assigned, as each transit line has its own links.

If you are preparing a scenario where busses and trams run on the same infrastructure as regular vehicular traffic, you would have to select appropriate pce values.

When a scenario is scaled down, i.e., only a subset of persons is used to execute the simulation, the flow and storage capacities in the network are scaled down, using flowCapacityFactor and storageCapactityFactor in the qsim module of the configuration. The pce values of the vehicle types remain the same.