Composite traffic model

From Testiwiki
Jump to: navigation, search



This page is about a composite traffic model that is an updated version of File:Composite traffic.ANA. The new version is coded with R.

Question

How to estimate potential to aggregate individual trips into public transportation or composite vehicles (airport-taxi-like vehicles for several passengers)?

Answer

Rationale

Variables

+ Show code

Initiation code

Actual model

  • Trip aggregator
    • Optimization rules:
  1. No second transfer -> prioritize "secondary" passengers
  2. Fill as many 8-person-vehicles as possible
  3. Fill as many 4-person-vehicles as possible
  4. Special rule: for trips with no possible transfer-point -> direct trip
  5. Transfer the rest (will always be 4-person-vehicles)
  6. Re-check vehicle configurations, when exact numbers of primary and secondary passengers as well as transferees are known

+ Show code

--# : Takes below 10 minutes to run. Neat! --Teemu R 14:08, 2 August 2011 (EEST)

--# : Though much slower on the serverside R... --Teemu R 14:26, 2 August 2011 (EEST)

# : Current problems: 1) The whole trip data does not load from the database, but 2 hours works. 2) The last time point with trips.left.trans has 0 rows, so the code temporarily calculates up to the second last time point. --Jouni (talk) 20:42, 18 March 2015 (UTC)

Plans for further development:

  • Make an input form for bus transport subsidies (user can decide)
  • Based on subsidies less or more bus routes will be running.

--# : Got any ideas on how the active bus routes should be derived from the amount of subsidies? --Teemu R 10:12, 18 August 2011 (EEST)

  • If bus is not available, trips will be made by private cars.
  • Calculate the impacts on costs due to a) fine particles and health, b) CO2 and climate, c) fuel costs, d) driver salary costs based on kilometres driven. Parking, rush delay, and capital costs due to vehicle maintenance are ignored. (All these ignorances are biased towards cars looking good.)
  • Play with the model in the course. The model runs should be quick because there is no optimising.

# : Though there will be more data (private + public trips vs. only private) downloaded. Which might also cause memory problems, since the data is fairly large (4M rows). --Teemu R 10:12, 18 August 2011 (EEST)

  • Practical implementation: Teemu does as much of the model as he can; Sami finalises the work.

--# : By the way, what should be the name for a new page considering the model described in these comments? Since we're no longer talking about composite traffic... Something like "Helsinki metropolitan area traffic model"? --Teemu R 14:50, 18 August 2011 (EEST)

See also