Planning Public Transportation with Raku

Metro Route 4

by Arne Sommer

Metro Route 4

[159.2.2] Published 15. December 2021.

[ Introduction | Oslo Metro | Oslo Tram | Bergen | Misc. ]
[ Metro Introduction | Metro 1 | Metro 4 | Metro 5 | Metro 2/3 | Metro All | My Metro ]

Route 4: Vestli - Bergkrystallen

The eastern part of route 1 (Brynseng - Bergkrystallen), called «Lambertseterbanen» (the «Lambertseter Line») is only served by route 1 at certain times. The main route to Bergkrystallen is number 4. Let us have a look at that one.

File: oslo-metro/04.def
#
# 4 Bergkrystallen - Vestli
# --------------------------------------------------
OS415 B   B:3 Bergkrystallen
OS414 A   B   Munkelia
OS413 A   B:2 Lambertseter
OS412 A:2 B   Karlsrud
OS411 A   B:2 Brattlikollen
OS410 A:2 B   Ryen
OS409 A   B:2 Manglerud
OS408 A:2 B   Høyenhall
OS407 A   B:2 Brynseng
OS406 A:2 B:2 Helsfyr
OS405 A:2 B   Ensjø
OS404 A:2 B:3 Tøyen
OS403 A:2 B   Grønland
OS402 A   B   Jernbanetorget
OS401 A   B:2 Stortinget
OS421 B:2 A:2 Nationaltheatret
OS422 B:3 A:4 Majorstuen
OS531 B:2 A   Blindern
OS532 B   A   Forskningsparken
OS533 B:2 A:3 Ullevål stadion
OS534 B:3 A:2 Nydalen
OS535 B   A   Storo
OS536 B:2 A:2 Sinsen
OS537 B:2 A:2 Løren
OS538 B:2 A:2 Økern
OS539 B:2 A:2 Risløkka
OS540 B   A   Vollebekk
OS541 B   A   Linderud
OS542 B   A:2 Veitvet
OS543 B:3 A   Rødtvet
OS544 B   A   Kalbakken
OS545 B   A:2 Ammerud
OS546 B   A   Grorud
OS547 B   A   Romsås
OS548 B:2 A   Rommen
OS549 B   A   Stovner
OS550 B:4 A   Vestli

The first half (Bergkrystallen to Majorstuen) is copied from Route 1.

The vehicle definition file:

File: oslo-metro/vehicles-4.def
=0400
1 D Bk/4;Bk 10
1 U Ve/4;Ve 10

Then the route setup file:

File: oslo-metro/metro-4.setup
## Networkplanner ##

route set 4 file:04.def down:0 up:13 interval:15

summary

vehicles vehicles-4.def

Running it:

$ networkplanner oslo-metro/metro-4.setup

The summary:

Route 4: Bergkrystallen - Vestli
----------------------------------------------------------------
  00  | 10  25  40  55  Bergkrystallen [B]
  01  | 11  26  41  56  Munkelia [A]
  02  | 12  27  42  57  Lambertseter [A]
  04  | 14  29  44  59  Karlsrud [A]
  05  | 15  30  45  00  Brattlikollen [A]
  07  | 17  32  47  02  Ryen [A]
  08  | 18  33  48  03  Manglerud [A]
  10  | 20  35  50  05  Høyenhall [A]
  11  | 21  36  51  06  Brynseng [A]
  13  | 23  38  53  08  Helsfyr [A]
  15  | 25  40  55  10  Ensjø [A]
  17  | 27  42  57  12  Tøyen [A]
  19  | 29  44  59  14  Grønland [A]
  20  | 30  45  00  15  Jernbanetorget [A]
  21  | 31  46  01  16  Stortinget [A]
  23  | 33  48  03  18  Nationaltheatret [B]
  26  | 36  51  06  21  Majorstuen [B]
  28  | 38  53  08  23  Blindern [B]
  29  | 39  54  09  24  Forskningsparken [B]
  31  | 41  56  11  26  Ullevål stadion [B]
  34  | 44  59  14  29  Nydalen [B]
  35  | 45  00  15  30  Storo [B]
  37  | 47  02  17  32  Sinsen [B]
  39  | 49  04  19  34  Løren [B]
  41  | 51  06  21  36  Økern [B]
  43  | 53  08  23  38  Risløkka [B]
  44  | 54  09  24  39  Vollebekk [B]
  45  | 55  10  25  40  Linderud [B]
  46  | 56  11  26  41  Veitvet [B]
  49  | 59  14  29  44  Rødtvet [B]
  50  | 00  15  30  45  Kalbakken [B]
  51  | 01  16  31  46  Ammerud [B]
  52  | 02  17  32  47  Grorud [B]
  53  | 03  18  33  48  Romsås [B]
  55  | 05  20  35  50  Rommen [B]
  56  | 06  21  36  51  Stovner [B]
1:00  | 10  25  40  55  Vestli [B]

Route 4: Vestli - Bergkrystallen
----------------------------------------------------------------
00  | 04  19  34  49  Vestli [A]
01  | 05  20  35  50  Stovner [A]
02  | 06  21  36  51  Rommen [A]
03  | 07  22  37  52  Romsås [A]
04  | 08  23  38  53  Grorud [A]
06  | 10  25  40  55  Ammerud [A]
07  | 11  26  41  56  Kalbakken [A]
08  | 12  27  42  57  Rødtvet [A]
10  | 14  29  44  59  Veitvet [A]
11  | 15  30  45  00  Linderud [A]
12  | 16  31  46  01  Vollebekk [A]
14  | 18  33  48  03  Risløkka [A]
16  | 20  35  50  05  Økern [A]
18  | 22  37  52  07  Løren [A]
20  | 24  39  54  09  Sinsen [A]
21  | 25  40  55  10  Storo [A]
23  | 27  42  57  12  Nydalen [A]
26  | 30  45  00  15  Ullevål stadion [A]
27  | 31  46  01  16  Forskningsparken [A]
28  | 32  47  02  17  Blindern [A]
32  | 36  51  06  21  Majorstuen [A]
34  | 38  53  08  23  Nationaltheatret [A]
36  | 40  55  10  25  Stortinget [B]
37  | 41  56  11  26  Jernbanetorget [B]
38  | 42  57  12  27  Grønland [B]
41  | 45  00  15  30  Tøyen [B]
42  | 46  01  16  31  Ensjø [B]
44  | 48  03  18  33  Helsfyr [B]
46  | 50  05  20  35  Brynseng [B]
47  | 51  06  21  36  Høyenhall [B]
49  | 53  08  23  38  Manglerud [B]
50  | 54  09  24  39  Ryen [B]
52  | 56  11  26  41  Brattlikollen [B]
53  | 57  12  27  42  Karlsrud [B]
55  | 59  14  29  44  Lambertseter [B]
56  | 00  15  30  45  Munkelia [B]
59  | 03  18  33  48  Bergkrystallen [B]

Note the handling of accumulated travel time of 60 minutes or more (on the last row in the Down direction), to make it easier to read.

The vehicle part of the output:

	      0401  0402  0403  0404  0405  0406  0407  0408  0409
-------------------------------------------------------------------
Bk/4	dep   0010  0025  0040  0055  0110  0125  0140  0155  0210 
Ve	arr   0110  0125  0140  0155  0210  0225  0240  0255  0310 
Ve/4	dep   0119  0134  0149  0204  0219  0234  0249  0304  0319 
Bk	arr   0218  0233  0248  0303  0318  0333  0348  0403  0418 
Bk/4	dep   0225  0240  0255  0310  0325  0340  0355  0410  0425 

0400: Number of vehicles: 9
---------------------------------------
Total number of vehicles: 9

Let us add route 1 and 4 together, to form a network.

File: oslo-metro/vehicles-1+4.def
=0100
1 D Bk/1;Bk    6
1 U Frs/1;Frs 10

=0400
1 D Bk/4;Bk 10
1 U Ve/4;Ve 10
File: oslo-metro/metro-1+4.setup
## Networkplanner ##

route set 1 file:01.def down:2  up:13 interval:15
route set 4 file:04.def down:10 up:4  interval:15

summary

vehicles vehicles-1+4.def

Running it:

$ networkplanner oslo-metro/metro-1+4.setup

The vehicle part of the output now has to routes:

	      0101  0102  0103  0104  0105  0106  0107  0108  0109
-------------------------------------------------------------------
Bk/1	dep   0002  0017  0032  0047  0102  0117  0132  0147  0202 
Frs	arr   0100  0115  0130  0145  0200  0215  0230  0245  0300 
Frs/1	dep   0113  0128  0143  0158  0213  0228  0243  0258  0313 
Bk	arr   0211  0226  0241  0256  0311  0326  0341  0356  0411 
Bk/1	dep   0217  0232  0247  0302  0317  0332  0347  0402  0417 

	      0401  0402  0403  0404  0405  0406  0407  0408  0409
-------------------------------------------------------------------
Bk/4	dep   0010  0025  0040  0055  0110  0125  0140  0155  0210 
Ve	arr   0110  0125  0140  0155  0210  0225  0240  0255  0310 
Ve/4	dep   0119  0134  0149  0204  0219  0234  0249  0304  0319 
Bk	arr   0218  0233  0248  0303  0318  0333  0348  0403  0418 
Bk/4	dep   0225  0240  0255  0310  0325  0340  0355  0410  0425 

0100: Number of vehicles: 9
0400: Number of vehicles: 9
---------------------------------------
Total number of vehicles: 18

The timingpoint part, showing whether we have achieved a decent interval between the lines on the shared section. (We have.)

Bergkrystallen [A]
 02  17  32  47   1 Frognerseteren
 11  26  41  56   1 Bergkrystallen

Bergkrystallen [B]
 03  18  33  48   4 Bergkrystallen
 10  25  40  55   4 Vestli

Frognerseteren [A]
 13  28  43  58   1 Bergkrystallen

Frognerseteren [B]
 00  15  30  45   1 Frognerseteren

Majorstuen [A]
 06  21  36  51   4 Bergkrystallen
 14  29  44  59   1 Bergkrystallen

Majorstuen [B]
 06  21  36  51   4 Vestli
 13  28  43  58   1 Frognerseteren

Storo [A]
 10  25  40  55   4 Bergkrystallen

Storo [B]
 00  15  30  45   4 Vestli

Stortinget [A]
 01  16  31  46   4 Vestli
 08  23  38  53   1 Frognerseteren

Stortinget [B]
 03  18  33  48   1 Bergkrystallen
 10  25  40  55   4 Bergkrystallen

Vestli [A]
 04  19  34  49   4 Bergkrystallen

Vestli [B]
 10  25  40  55   4 Vestli

[ Introduction | Oslo Metro | Oslo Tram | Bergen | Misc. ]
[ Metro Introduction | Metro 1 | Metro 4 | Metro 5 | Metro 2/3 | Metro All | My Metro ]