Composite traffic model: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(started adding bits of code)
mNo edit summary
Line 13: Line 13:
:#Fill as many 8-person-vehicles as possible
:#Fill as many 8-person-vehicles as possible
:#Fill as many 4-person-vehicles as possible
:#Fill as many 4-person-vehicles as possible
:#Special rule: for trips with no possible transfer-point -> direct trip
:#Transfer the rest (will always be 4-person-vehicles)
:#Transfer the rest (will always be 4-person-vehicles)
:#Special rule for trips with no possible transfer-point
:#Re-check vehicle configurations, when exact numbers of primary and secondary passengers as well as transferees are known


<rcode>
<rcode>

Revision as of 11:12, 20 July 2011



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.

Definition

R 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

TODO: {{#todo:Ruvetaan keräämään tälle sivulle matskua mallin uudesta versiosta.|Smxb|}}