Timetable file cz_train61.ttt

   1  $REQUIRE cz_rename.ttt
   2  $REQUIRE cz_vagon.ttt
   3  $REQUIRE cz_freight.ttt
   4  $REQUIRE cz_bgelem.ttt
   5  $REQUIRE cz_loc.ttt
   6
   7
   8  #3. Layer
   9
  10  #-Lokomotivy parni---------------------------------------------------------------------
  11
  12
  13  $DEF M262_0=CSD_M262_0|CSD_M262_0[M][MP:47,12,3,5][MP:110,12,3,5]|CSD_M262_0B|CSD_M262_0B[M][MP:47,12,3,5][MP:110,12,3,5]
  14  $DEF M283_0=CSD_M283_0A
  15  $DEF M284_1=CSD_M284_1A
  16
  17  # Motorove rychle samostatne vozy
  18  $DEF MRSV=M262_0|M283_0|M284_1
  19
  20  $DEF M242_0=CSD_M242_0
  21  $DEF M130_4=CSD_M130_4|CSD_M130_4L
  22  $DEF M131_1=CSD_M131_1|M131_1B|CSD_M131_1|CSD_M131_1081L|CSD_M131_1081|CSD_M131_1133L|CSD_M131_1133|CSD_M131_1228L|CSD_M131_1228|CSD_M131_1280L|CSD_M131_1280|CSD_M131_1477L|CSD_M131_1477
  23
  24  $DEF MLV=M131_1|M242_0
  25
  26
  27  #$DEF CD_T334=CD_T334+>CD_T334_1+>CD_T334_3+>CD_T334_2+.3[<R]
  28
  29  $DEF DB_GMHS30LHL=DB_GMHS30HL[O:DB_GMHS30L1,24,25][O:DB_GMHS30L2,82,25]
  30  $DEF ABMM=ABM3
  31
  32
  33  #-Varianty lokomotiv ---------------------------------------------------------------------
  34
  35  $DEF T435_0=CSD_T435_0B|CSD_T435_0B[M]|CSD_T435_0R|CSD_T435_0R[M]|CD_T435_0|CSD_720_040L|CSD_720_040|CSD_720_139L|CSD_720_139|CSD_720_139AL|CSD_720_139A|CSD_720L|CSD_720|CD_720_016L|CD_720_016|EZ_720_539L|EZ_720_539
  36  $DEF T679_0=CSD_T679_0|CSD_T679_0[M]
  37  $DEF T678_0=CSD_T678_0C|CSD_T678_0C[M]
  38  $DEF T444_0=CSD_T444_0[>R]|CSD_T444_0[<R]
  39  $DEF T211_0=CD_T211_0|CD_T211_0[M]
  40  $DEF T334_0=CSD_T334R|CSD_T334R[M]|CSD_T334|CSD_T334[M]
  41
  42
  43  $DEF M131_2=CSD_M131_2A[>R]|CSD_M131_2A[<R]
  44  $DEF M263_0=CSD_M263_0[>R]|CSD_M263_0[<R]|CSD_M263_0[>R]|CSD_M263_0[<R]
  45
  46  $DEF MV_TATRA=CD_TATRA[>R]
  47
  48  $DEF DA60=1:(DA60[>R]|CSD_DA60[>R]|DA60[<R]|CSD_DA60[<R])|1:(CSD_DA60L~RSL[>R]|CSD_DA60L~RSL[<R])
  49
  50
  51  $DEF E499_0=E499_0_V1
  52  $DEF E499_0S=E499_0_V1S
  53
  54  $DEF E469_1=E469_1_V2
  55  $DEF E469_1S=E469_1_V2S
  56
  57  $DEF E669_001S=CSD_E669_001
  58  $DEF E669_001=CSD_E669_001
  59
  60  $DEF E669_1=E669_1_V2
  61  $DEF E669_1S=E669_1_V2S
  62
  63  $DEF E407_0S=CSD_E407_0|CSD_E407_0[M]
  64  $DEF E407_0=CSD_E407_0|CSD_E407_0[M]
  65  $DEF E416_0S=CSD_E416_0|CSD_E416_0[M]
  66  $DEF E416_0=CSD_E416_0|CSD_E416_0[M]
  67  $DEF E423_0=E423_0_V1
  68  $DEF E423_0S=E423_0_V1S
  69  $DEF E424_0=E424_0_V1
  70  $DEF E424_0S=E424_0_V1S
  71  $DEF E436_0S=CSD_E436_0
  72  $DEF E436_0=E436_0_V1
  73  $DEF E465_0=E465_0_V1
  74  $DEF E465_0S=E465_0_V1S
  75  $DEF E467_0=E467_0_V1
  76  $DEF E467_0S=E467_0_V1S
  77  $DEF E666_0S=CSD_E666_0|CSD_E666_0[M]
  78  $DEF E666_0=E666_0_V1
  79
  80  # 4. Layer
  81
  82
  83  #-Lokomotivy---------------------------------------------------------------------
  84
  85  # Tezke nakladni parni lokomotivy
  86  $DEF TNPL=7:556_0|3:534_03
  87  $DEF TNPLP=7:556_0P|3:534_03P
  88
  89  # Lehke nakladni parni lokomotivy
  90  $DEF LNPL=320_0|331_0|353_1|403_5|404_0|414_2|431_0|434_1|434_2|464_0|524_0|524_1|534_0|534_1
  91  $DEF LNPLP=320_0P|331_0P|353_1P|403_5P|404_0P|414_2P|431_0P|434_1P|434_2P|464_0P|524_0P|524_1P|534_0P|534_1P
  92
  93  # Parni postrk
  94  $DEF PPOSTRK=556_0|534_03|434_2|464_0|524_1|534_0|534_1
  95  $DEF PPOSTRKP=556_0P|534_03P|434_2P|464_0P|524_1P|534_0P|534_1P
  96
  97  # Parni priprez
  98  $DEF PPRZ=6:556_0P|3:534_03P
  99
 100  # Rychlikove parni lokomotivy
 101  $DEF RPL=387_0|399_0|475_1|476_0|477_0|498_0|498_1
 102  $DEF RPLP=387_0P|399_0P|475_1P|476_0P|477_0P|498_0P|498_1P
 103
 104  # Tezke osobni parni lokomotivy
 105  $DEF TOPL=365_0|387_0|456_0|464_0|464_2|475_1|477_0|486_0
 106  $DEF TOPLP=365_0P|387_0P|456_0P|464_0P|464_2P|475_1P|477_0P|486_0P
 107
 108  # Lehke osobni parni lokomotivy
 109  $DEF LOPL=331_0|344_0|353_1|354_0|403_5|404_0|414_2|423_0|431_0|354_1|354_1L|433_0|422_0
 110  $DEF LOPLP=331_0P|423_0P|353_1P|354_0P|354_1P|403_5P|404_0P|414_2P|431_0P|433_0P|422_0P
 111
 112  # Obojsmerne parni lokomotivy
 113  $DEF OBPL=310_0P|313_0P|320_0P|324_3P|331_0P|344_0P|353_1P|354_0P|354_1P|365_0P|387_0P|399_0P|403_5P|404_0P|414_0P|414_2P|422_0P|423_0P|431_0P|433_0P|434_1P|434_2P|456_0P|464_0P|464_2P|486_0P|524_0P|524_1P|534_0P|556_0P|534_03P|534_1P|475_1P|476_0P|477_0P|498_0P|498_1P
 114
 115
 116  # Lehke obojsmerne parni lokomotivy
 117  $DEF LOBPL=310_0P|313_0P|320_0P|324_3P|331_0P|344_0P|353_1P|354_0P|354_1P|403_5P|404_0P|414_0P|423_0P|431_0P|433_0P|434_1P|434_2P
 118
 119  # Parni posunovaci lokomotivy
 120  $DEF PPOL=310_0P|313_0P|320_0P|324_3P|344_0P|353_1P|414_0P|414_2P|524_0P|434_1P|434_2P|524_1P|534_1P
 121
 122  # Parni lokomotivy
 123  $DEF PL=310_0|313_0|320_0|324_3|331_0|344_0|353_1|354_0|354_1|365_0|387_0|399_0|403_5|404_0|414_0|414_2|422_0|423_0|431_0|433_0|434_1|434_2|456_0|464_0|464_2|475_1|476_0|477_0|486_0|498_0|498_1|524_0|524_1|534_0|534_1|556_0|534_03
 124  $DEF PLP=OBPL
 125
 126  # parni lokomotivy staticke
 127  $DEF PLS=310_0S|313_0S|320_0S|324_3S|331_0S|344_0S|353_1S|354_0S|354_1S|365_0S|387_0S|399_0S|403_5S|404_0S|414_0S|414_2S|422_0S|423_0S|431_0S|433_0S|434_1S|434_2S|456_0S|464_0S|464_2S|475_1S|476_0S|477_0S|486_0S|498_0S|498_1S|524_0S|524_1S|534_0S|534_03S|534_1S|556_0S
 128
 129  # Kondenzacni posunovaci lokomotivy
 130  $DEF VKPOL=1435BN60|CS40
 131
 132  # Tezke nakladni elektricke lokomotivy solo
 133  $DEF TNEL=5:E469_1|1:E669_001|4:E669_1|3:E499_0
 134  $DEF TNELP=5:E469_1|4:E669_1|3:E499_0
 135  $DEF TNEL=TNEL[PDU]|TNEL|TNEL[PFU]
 136
 137  # Tezke nakladni elektricke lokomotivy double
 138  $DEF TNELD=(2*E469_1)|(2*E499_0)
 139  $DEF TNELDP=(2*E469_1)|(2*E499_0)
 140  $DEF TNELD=TNELD[PDU]|TNELD|TNELD[PFU]
 141
 142  # Rychlikove osobni elektricke lokomotivy
 143  $DEF ROEL=E499_0
 144  $DEF ROELP=E499_0
 145  $DEF ROEL=ROEL[PDU]|ROEL|ROEL[PFU]
 146
 147  # Lehke elektricke lokomotivy
 148  $DEF LEL=E423_0|E424_0|E436_0|E416_0|E407_0
 149  $DEF LELP=E436_0|E416_0|E407_0
 150  $DEF LEL=2:LEL[PDU]|7:LEL|1:LEL[PFU]
 151
 152  # Osobni elektricke lokomotivy
 153  $DEF OEL=E499_0|E469_1
 154  $DEF OELP=E499_0|E469_1
 155  $DEF OEL=OEL[PDU]|OEL|OEL[PFU]
 156
 157
 158  # Elektricke posunovaci lokomotivy
 159  $DEF EPOL=E423_0|E424_0|E436_0|E467_0|E416_0|E407_0|E666_0|E465_0
 160  $DEF EPOLP=E467_0|E436_0|E416_0|E407_0|E666_0|E465_0
 161  $DEF EPOL=EPOL[PDU]|EPOL|EPOL[PFU]
 162
 163  # Elektricke lokomotivy
 164  $DEF EL=E499_0|E469_1|E423_0|E424_0|E436_0|E467_0|E416_0|E407_0|E666_0|E465_0
 165  $DEF ELP=E499_0|E469_1|E467_0|E436_0|E416_0|E407_0|E666_0|E465_0|E669_1
 166  $DEF ELS=E499_0S|E469_1S|E669_1S|E407_0S|E416_0S|E423_0S|E424_0S|E436_0S|E467_0S|E465_0S|E666_0S
 167
 168  # Tezke nakladni dieselove lokomotivy
 169  $DEF TNDL=T679_0|T678_0
 170
 171  # Tezke nakladni dieselove lokomotivy
 172  $DEF TNDLD=(2*T679_0)|(2*T678_0)|(2*T679_0|T678_0)
 173
 174  # Lehke nakladni dieselove lokomotivy
 175  $DEF LNDL=4:T435_0|4:T444_0|2:T426_0
 176
 177  # Nakladni dieselove lokomotivy
 178  $DEF NDL=TNDL|LNDL
 179
 180  # Tezke osobni dieselove lokomotivy
 181  $DEF TODL=T679_0
 182
 183  # Lehke osobni dieselove lokomotivy
 184  $DEF LODL=4:T435_0|4:T444_0|2:T426_0
 185
 186  # Dieselove posunovaci lokomotivy
 187  $DEF DPOL=T211_0|T334_0|T435_0|T444_0
 188
 189  # Dieselove posunovaci lokomotivy vleckove
 190  $DEF VDPOL=T211_0|T334_0|T435_0|T444_0
 191
 192
 193  # Dieselove lokomotivy
 194  $DEF DL=T211_0|T334_0|T426_0|T435_0|T444_0|T678_0|T679_0
 195
 196  # Dieselove lokomotivy staticke
 197  $DEF DLS=T211_0|T334_0|T426_0S|T435_0|T444_0|T678_0|T679_0
 198
 199  #Staticke lokomotivy do pozadi nezavisla trakce
 200  $DEF LOKNTS=7:PLS|3:DLS
 201
 202  # 5. layer
 203
 204  $DEF MRJ262=M262_0, (1-2*BAM)
 205  $DEF MRO262=M262_0, (2-4*BAM), 1:M284_1|9:M262_0
 206  $DEF MR262=MRJ262|MRO262
 207
 208  $DEF MRJ284=M284_1, (1-2*BAM)
 209  $DEF MRO284=M284_1, (2-4*BAM), 9:M284_1|1:M262_0
 210  $DEF MR284=MRJ284|MRO284
 211
 212  $DEF MLO130_4=M130_4
 213  $DEF MLJ130_4=M130_4
 214  $DEF ML130_4=MLO130_4|MLJ130_4
 215
 216  $DEF MLO242=M242_0,LMOS_V57, M242_0
 217  $DEF MLJ242=M242_0, 0-1*CLM35|(CDLM38|CDFLM37)
 218  $DEF ML242=MLO242|MLJ242
 219
 220  $DEF MLO131=M131_1,LMOS_V58, M131_1
 221  $DEF MLJ131=M131_1, 0-1*BLM|BDLM
 222  $DEF ML131=MLO131|MLJ131
 223
 224
 225
 226  #-Soupravy vagonu---------------------------------------------------------------------
 227
 228  # Motorove pripojne vozy
 229  $DEF MPV=BLM|BDLM
 230
 231  # Motorove rychle pripojne vozy
 232  $DEF MRPV=BAM
 233
 234  # Rychlikove soupravy ceske
 235  $DEF RSCZ=RSZEL_V42|RSDZEL_V142
 236
 237  # Rychlikove soupravy hlavni trate
 238  $DEF RSCZHT=RSZEL_V35|RSDZEL_V135
 239
 240  # Rychlikove soupravy
 241  $DEF RS=RSCZ|RSCZHT
 242
 243  #Tezke osobni soupravy BX20
 244  $DEF TOSBX20=TOSZEL_V40|TOSZEL_V80
 245
 246
 247  #Tezke osobni soupravy BE30
 248  $DEF TOSBE30=TOSZEL_V36
 249
 250  #Tezke osobni soupravy BA60
 251  $DEF TOSBA60=TOSZEL_V37
 252
 253  #Tezke osobni soupravy pripojne motorove vozy
 254  $DEF TOSMRPV=MOS_V54
 255
 256  #Tezke osobni soupravy vedlejsi trate
 257  $DEF TOSVT=TOSBX20|TOSBE30
 258
 259  #Tezke osobni soupravy hlavni trate
 260  $DEF TOSHT=TOSBA60|TOSBE30|TOSMRPV|RSZEL_V81
 261
 262  #Tezke osobni soupravy
 263  $DEF TOS=TOSBA60|TOSBE30|TOSBX20|TOSMRPV|RSZEL_V81
 264
 265  #Nakladni sluzebni vagony
 266  $DEF NSV=DS|DSK
 267
 268  #Lehke osobni soupravy
 269  $DEF LOS=(LOSZEL_V79|LOSZEL_V41|LOSZEL_V38)|(LMOS_V57|LMOS_V58)
 270
 271  #Lehke osobni posunovane soupravy BE30
 272  $DEF LOPSBI20=LOPSZEL_V41|LOPSZEL_V79
 273
 274  #Lehke osobni posunovane soupravy BE30
 275  $DEF LOPSBE30=LOPSZEL_V36
 276
 277  #Lehke osobni posunovane soupravy soupravy motorove rychle pripojne vozy
 278  $DEF LOPSMRPV=[MI:4]TOSMRPV
 279
 280  #Lehke osobni posunovane soupravy motorove lehke pripojne vozy
 281  $DEF LOPSMLPV=1-3*B_V58
 282
 283  #Lehke osobni posunovane soupravy x60
 284  $DEF LOPS60=(0-4*(B_V37A|B_V37B|B_V37C|A_V35|D_V35))|(0-4@(B_V37A|B_V37B|B_V37C|A_V35|D_V35))
 285
 286  #Lehke osobni posunovane soupravy 4x
 287  $DEF LOPS4AB=(0-2*B_V42, 1-3*D_V42)|((1-3*D_V42)|(0-2*B_V42))
 288
 289  #Lehke osobni posunovane soupravy
 290  $DEF OPS=LOPSBI20|LOPSBE30|LOPS4AB|LOPSMRPV|LOPSMLPV|LOPS60
 291
 292
 293  #Postovni vagony
 294  $DEF POST=POST61
 295
 296  #Nakladni  vagony dvounapravove
 297  $DEF NV2=NV2_61
 298
 299  #Nakladni  vagony ctyrnapravove
 300  $DEF NV4=NV4_61
 301
 302  #Nakladni vagony
 303  $DEF NV=NV2|NV4
 304
 305  #Nakladni vagony pripojitelne za osobni vlak
 306  $DEF NVPOS=NVPOS61
 307
 308  # Tezky nakladni homogenni
 309  $DEF TNHV2=TNHV61
 310
 311  #Nakladni vagony vedlejsi trate stare
 312  $DEF NVVTS=NVVTS61
 313
 314  #Nakladni vagony vedlejsi trate - navic stare
 315  $DEF NVVT=NVVTS|NV2
 316
 317  # Tezky smiseny nakladni
 318  $DEF TSN=NSV, 9-15*NV
 319
 320  # Tezky smiseny nakladni skupinky vagonu
 321  $DEF TSNSV=NSV, 9-15*(1-4@NV)
 322
 323  # Tezky nakladni homogenni
 324  $DEF TSNH=(0-1*NSV, TNHV2)|(TNHV2,0-1*NSV)
 325
 326  # Tezky nakladni homogenni dva druhy vagonu
 327  $DEF TNHDD=TNHV2, 2-4@NV
 328
 329  # Tezky nakladni
 330  $DEF TNV=1:TSN|1:TSNSV|2:TSNH|2:TNHDD
 331
 332  # Nakladni posunovane soupravy
 333  $DEF NPS=0-2*NSV, 1-5*NV
 334
 335  # Lehka smisena nakladni souprava
 336  $DEF LSN=NSV, 0-4*NVVT
 337
 338  # Lehka homogenni nakladni souprava
 339  $DEF LHN=8:0|2:1*NSV, 1-4@NVVT
 340
 341  # Lehka nakladni souprava
 342  $DEF LNS=LSN|LHN
 343
 344  #Souprava v pozadi
 345  $DEF BGSS=1:(TOS|LOS|OPS)|2:(NPS|TNV|LNS)
 346
 347  #Souprava v pozadi s preferenci osobnich vozu
 348  $DEF BGSOSS=7:(TOS|LOS|OPS)|3:(NPS|TNV|LNS)
 349
 350  # 6a. layer
 351
 352  #-Vlaky---------------------------------------------------------------------
 353
 354  # Tezky nakladni parni
 355  $DEF TNP=(6:TNPL|4:((2*TNPL)|(2@TNPL))), TNV, (3:1|7:0)*PPOSTRK
 356  $DEF TNPP=(6:TNPLP|4:((2*TNPLP)|(2@TNPLP))), TNV, (3:1|7:0)*PPOSTRKP
 357
 358  # Tezky nakladni elektricky
 359  $DEF TNE=TNEL, TNV, (3:1|7:0)*(PPOSTRK|TNEL)
 360  $DEF TNEP=TNEL, TNV, (3:1|7:0)*(PPOSTRKP|TNEL)
 361
 362  # Tezky nakladni dieselovy
 363  $DEF TND=TNDL|TNDLD, TNV, (3:1|7:0)*(PPOSTRK)
 364  $DEF TNDP=TNDL|TNDLD, TNV, (3:1|7:0)*(PPOSTRKP)
 365
 366  # Lehke smisene nakladni-------------------
 367
 368  # Lehky smiseny nakladni parni nakladni
 369  $DEF LSNP=LNPL, 0-1*NSV, 0-4*NVVT
 370  $DEF LSNPP=LNPLP, 0-1*NSV, 0-4*NVVT
 371
 372  # Lehky smiseny nakladni dieselovy
 373  $DEF LSND=LNDL, 0-1*NSV, 0-4*NVVT
 374
 375  # Lehky smiseny nakladni elektricky
 376  $DEF LSNE=LEL, 0-1*NSV, 0-4*NVVT
 377
 378  # Rychliky-------------------
 379
 380  # Rychlik parni
 381  $DEF RP=RPL, RS
 382  $DEF RPP=RPLP, RS
 383
 384  # Rychlik dieselovy
 385  $DEF RD=TODL, RS
 386
 387  # Rychlik elektricky (jezdi jen pomalu)
 388  $DEF RE=ROEL, RS
 389
 390  # Tezke osobni-------------------
 391
 392  # Tezky osobni parni
 393  $DEF TOP=TOPL, TOS
 394  $DEF TOPP=TOPLP, TOS
 395
 396  # Tezky osobni dieselovy
 397  $DEF TOD=TODL, TOS
 398
 399  # Tezky osobni elektricky
 400  $DEF TOE=ROEL, TOS
 401
 402  # Lokalni osobni-------------------
 403
 404  # Lokalni osobni parni
 405  $DEF LOP=LOPL, LOS
 406  $DEF LOPP=LOPLP, LOS
 407
 408  # Lokalni osobni dieselove
 409  $DEF LOD=LODL, LOS
 410
 411  # Lokalni osobni elektricky
 412  $DEF LOE=LEL, LOS
 413
 414  # -----------Posunovaci osobni
 415
 416  # Posunovaci osobni dieselovy tazeny
 417  $DEF PODTA=DL, OPS
 418
 419  # Posunovaci osobni dieselovy tlaceny
 420  $DEF PODTL=OPS, DL
 421
 422  # Posunovaci osobni elektricky tazeny - zde jiz nepouzity, mozna v JR
 423  $DEF POETA=OEL, OPS
 424
 425  # Posunovaci osobni elektricky tlaceny
 426  $DEF POETL=OPS, OEL
 427
 428  # Posunovaci osobni stridavy tazeny
 429  $DEF POSTA=SPOL, OPS
 430
 431  # Posunovaci osobni stridavy tlaceny
 432  $DEF POSTL=OPS, SPOL
 433
 434  # Posunovaci osobni parni tazeny
 435  $DEF POPTA=PPOL, OPS
 436
 437  # Posunovaci osobni parni tlaceny
 438  $DEF POPTL=OPS, PPOL
 439
 440  # -----------Posunovaci nakladni
 441
 442  # Posunovaci nakladni parni tazeny
 443  $DEF PNPTA=PPOL, NPS
 444
 445  # Posunovaci nakladni parni tlaceny
 446  $DEF PNPTL=NPS, PPOL
 447
 448  #Posunovaci nakladni elektrickY tazeny
 449  $DEF PNETA=EL, NPS
 450
 451  #Posunovaci nakladni elektrickY tlaceny
 452  $DEF PNETL=NPS, EL
 453
 454  # Posunovaci nakladni stridavy tazeny
 455  $DEF PNSTA=SPOL, NPS
 456
 457  # Posunovaci nakladni stridavy tlaceny
 458  $DEF PNSTL=NPS, SPOL
 459
 460  # Posunovaci nakladni dieselovy tazeny
 461  $DEF PNDTL=NPS, DL
 462
 463  # Posunovaci nakladni dieselovy tlaceny
 464  $DEF PNDTA=DL, NPS
 465
 466  # ----------------Manipulacni
 467
 468  # Manipulacni parni tazeny
 469  $DEF MPPTA=PPOL, 0-1*NSV
 470
 471  # Manipulacni parni  tlaceny
 472  $DEF MPPTL=0-1*NSV, PPOL
 473
 474  # Manipulacni dieselovy tazeny
 475  $DEF MPDTA=DL, 0-1*NSV
 476
 477  # Manipulacni dieselovy tlaceny
 478  $DEF MPDTL=0-1*NSV, DL
 479
 480  # Manipulacni elektricky
 481  $DEF MPETA=EL, 0-1*NSV
 482
 483  # Manipulacni elektricky
 484  $DEF MPETL=0-1*NSV, EL
 485
 486  # Manipulacni stridavy
 487  $DEF MPSTA=SPOL, 0-1*NSV
 488
 489  # Manipulacni stridavy
 490  $DEF MPSTL=0-1*NSV, SPOL
 491
 492  # 6b. layer
 493
 494  #-Vlaky---------------------------------------------------------------------
 495
 496  # Vsechny lokomotivy nezavisla trakce
 497  $DEF LONT=3:OBPL|1:DL
 498
 499  # Vsechny lokomotivy elektricka trakce
 500  $DEF LOET=1:OBPL|1:DL|3:EL
 501
 502  # Dreziny
 503  $DEF DRZ=3:MV_TATRA|1:(M_HAJT|M_HAJT2|M_HAJT3)|1:KLTK
 504
 505  # Udrzba el. vedeni
 506  $DEF UEV=M131_2|M263_0
 507
 508
 509
 510  #Motorovy vlak
 511
 512  #001 Motorovy rychly
 513  $DEF MR=MRSV|MR262|MR284
 514
 515  #002
 516  $DEF ML=ML242|ML131|ML130_4
 517
 518  #003
 519  $DEF MRO=MRO262|MRO284
 520
 521  #004
 522  $DEF MRJ=MRJ262|MRJ284
 523
 524  #005
 525  $DEF MLJ=MLJ242|MLJ131|MLJ130_4
 526
 527  #006 Motorovy lokalni obousmerny
 528  $DEF MLO=MLO242|MLO131|MLO130_4
 529
 530
 531  # 7. layer
 532  #-------------------------------------------
 533
 534
 535  #007 Tezky nakladni vsechny trakce bez postrku
 536  $DEF TNVTBP=(1-2@TNELD)|TNEL|(1-2@TNDL)|(1-2*TNPL), TNV
 537  $DEF TNVTBPP=(1-2@TNELD)|TNEL|(1-2@TNDL)|(1-2*TNPLP), TNV
 538
 539  #008 ST
 540
 541  #009 Tezky nakladni nezavisle trakce
 542  $DEF TNNT=7:TNP|3:TND
 543  $DEF TNNTP=7:TNPP|3:TND
 544
 545
 546  #010 Tezky nakladni elektricka trakce
 547  $DEF TNET=3:TNP|6:TNE|2:TND
 548  $DEF TNETP=3:TNPP|6:TNE|2:TND
 549
 550  #011 ST
 551
 552  #----------C Rychly nakladni
 553
 554  #012 Rychly nakladni nezavisle trakce
 555  $DEF NEXNT=TNNT
 556  $DEF NEXNTP=TNNTP
 557
 558  #014 Rychly nakladni elektricka trakce
 559  $DEF NEXET=TNET
 560  $DEF NEXETP=TNETP
 561
 562  #015 ST
 563
 564  #----------D Lehky nakladni
 565
 566  #016 Lehky smiseny nakladni nezavisla trakce 2
 567  $DEF LSNNT=3:LSND|7:LSNP
 568  $DEF LSNNTP=3:LSND|7:LSNPP
 569
 570  #017 Lehky smiseny nakladni elektricka trakce 1
 571  $DEF LSNET=1:LSNE|8:LSNP|1:LSND
 572  $DEF LSNETP=1:LSNE|8:LSNPP|1:LSND
 573
 574  #018 ST
 575
 576
 577  #----------E Rychliky
 578
 579  #019 Rychlik nezavisla trakce
 580  $DEF RNT=7:RP|3:RD
 581  $DEF RNTP=7:RPP|3:RD
 582
 583  #020 Rychlik elektrifikovane trate
 584  $DEF RET=4:RP|5:RE|1:RD
 585  $DEF RETP=4:RPP|5:RE|1:RD
 586
 587  #021 ST
 588
 589  #----------F Tezky osobni
 590
 591
 592  #022 Tezky osobni nezavisla trakce
 593  $DEF TONT=7:TOP|3:TOD
 594  $DEF TONTP=7:TOPP|3:TOD
 595
 596  #023 Tezky osobni elektrifikovane trate
 597  $DEF TOET=4:TOP|2:TOD|4:TOE
 598  $DEF TOETP=4:TOPP|2:TOD|4:TOE
 599
 600  #024 ST
 601
 602
 603  #----------G Lokalni osobni
 604
 605
 606  #025 Lokalni osobni nezavisla trakce
 607  $DEF LOSNT=7:LOP|3:LOD
 608  $DEF LOSNTP=7:LOPP|3:LOD
 609
 610
 611  #026 Lokalni osobni elektrifikovane trate
 612  $DEF LOSET=6:LOP|2:LOD|2:LOE
 613  $DEF LOSETP=6:LOPP|2:LOD|2:LOE
 614
 615  #027 ST
 616
 617
 618  #----------H Posunovaci nakladni
 619
 620  #028 Posunovaci nakladni elektricka trakce tazeny 2
 621  $DEF PNETTA=PNETA|PNDTA|PNPTA
 622
 623  #029 Posunovaci nakladni elektricka trakce tlaceny 2
 624  $DEF PNETTL=PNETL|PNDTL|PNPTL
 625
 626  #030 ST
 627
 628  #031 ST
 629
 630  #069 Posunovaci nakladni nezavisle trakce tlaceny 2
 631  $DEF PNNTTL=PNDTL|PNPTL
 632
 633  #070 Posunovaci nakladni nezavisle trakce tazeny 2
 634  $DEF PNNTTA=PNDTA|PNPTA
 635
 636
 637  #----------CH Posunovaci osobni
 638
 639  #071 Posunovaci osobni elektricka trakce tazeny 2
 640  $DEF POETTA=POETA|PODTA|POPTA
 641
 642  #072 Posunovaci osobni elektricka trakce tlaceny 2
 643  $DEF POETTL=POETL|PODTL|POPTL
 644
 645  #073 ST
 646
 647  #074 ST
 648
 649  #075 Posunovaci osobni nezavisle trakce tazeny 2
 650  $DEF PONTTA=PODTA|POPTA
 651
 652  #076 Posunovaci osobni nezavisle trakce tlaceny 2
 653  $DEF PONTTL=PODTL|POPTL
 654
 655
 656  #----------I Manipulacni
 657
 658  #032 Manipulacni nezavisle trakce tazeny 0
 659  $DEF MPNTTA=MPDTA|MPPTA
 660
 661  #033 Manipulacni nezavisle trakce tlaceny 0
 662  $DEF MPNTTL=MPDTL|MPPTL
 663
 664  #034 Manipulacni nezavisle trakce 3
 665  $DEF MPNT=MPNTTL|MPNTTA
 666
 667  #035 Manipulacni elektricka trakce tazeny 0
 668  $DEF MPETTA=MPDTA|MPETA|MPPTA
 669
 670  #036 Manipulacni elektricka trakce tlaceny 0
 671  $DEF MPETTL=MPDTL|MPETL|MPPTL
 672
 673  #037 Manipulacni elektricka trakce 1
 674  $DEF MPET=5:MPETTL|5:MPETTA|1:UEV
 675
 676  #038 Manipulacni elektricka trakce na kuse koleji 3
 677  $DEF MPKSET=3:(MR|MLO)|4:MPET
 678
 679  #039 ST
 680
 681  #040 ST
 682
 683  #041 ST
 684
 685  #042 ST
 686
 687  #----------J Lokomotivni vlaky
 688
 689  #043 Lokomotivni vlak NT/ST
 690  $DEF LOVLNTST=(SELP[PD],DPOL)|(DPOL, SELP[PD])
 691
 692  #044 Lokomotivni vlak NT/ET
 693  $DEF LOVLNTET=(ELP[PD],DPOL|PPOL)|(DPOL|PPOL, ELP[PD])
 694
 695  #045 Lokomotivni vlak ET
 696  $DEF LOVLET=EL|DL|OBPL
 697
 698  #046 ST
 699
 700  #047 Lokomotivni vlak NT
 701  $DEF LOVLNT=OBPL|DL
 702
 703
 704  # 8. layer
 705
 706
 707  #-Kombinace vlaku---------------------------------------------------------------------
 708
 709  #----------K Posunovaci
 710
 711
 712  #048 Posunovaci vlaky elektrifikovane trate
 713  $DEF PVET=4:POETTA|4:POETTL|4:PNETTA|4:PNETTL|1:UEV
 714
 715  #049 ST
 716
 717  #050 Posunovaci vlaky neelektrifikovane trate
 718  $DEF PVNT=PONTTA|PONTTL|PNNTTA|PNNTTL
 719
 720  #----------L Projizdejici
 721
 722  #051 Projizdejici vlaky elektrifikovane trate
 723  $DEF PRVET=6:[MI:20]TNET|1:LSNNT|6:RET|6:TOET|1:LOSET|3:MR|1:ML
 724  $DEF PRVETP=6:[MI:20]TNETP|1:LSNNTP|6:RETP|6:TOETP|1:LOSETP|3:MR|1:ML
 725
 726  #052 ST
 727
 728  #053 Projizdejici vlaky neelektrifikovane trate
 729  $DEF PRVNT=[MI:20]TNNT|LSNNT|RNT|TONT|LOSNT|MR|ML
 730  $DEF PRVNTP=[MI:20]TNNTP|LSNNTP|RNTP|TONTP|LOSNTP|MR|ML
 731
 732  #----------M Nakladni
 733
 734  #054 Nakladni vlaky elektrifikovane trate
 735  $DEF NAVET=6:[MI:20]TNET|1:LSNNT
 736  $DEF NAVETP=6:[MI:20]TNETP|1:LSNNTP
 737
 738  #055 ST
 739
 740  #056 Nakladni vlaky neelektrifikovane trate
 741  $DEF NAVNT=[MI:20]TNNT|LSNNT
 742  $DEF NAVNTP=[MI:20]TNNTP|LSNNTP
 743
 744  #----------N Osobni
 745
 746  #057 Osobni vlaky elektrifikovane trate
 747  $DEF OSVET=3:RET|3:TOET|1:LOSET|3:MR|1:ML
 748  $DEF OSVETP=3:RETP|3:TOETP|1:LOSETP|3:MR|1:ML
 749
 750  #058 ST
 751
 752  #059 Osobni vlaky neelektrifikovane trate
 753  $DEF OSVNT=RNT|TONT|LOSNT|MR|ML
 754  $DEF OSVNTP=RNTP|TONTP|LOSNTP|MR|ML
 755
 756  #----------O Pomale
 757
 758  #060 Pomale vlaky elektrifikovane trate
 759  $DEF POVET=6:[MI:20]TNET|1:LSNNT|6:TOET|2:LOSET|1:ML|1:UEV|1:DRZ
 760  $DEF POVETP=6:[MI:20]TNETP|1:LSNNTP|6:TOETP|2:LOSETP|1:ML|1:UEV|1:DRZ
 761
 762  #061 ST
 763
 764  #062 Pomale vlaky neelektrifikovane trate
 765  $DEF POVNT=[MI:20]TNNT|LSNNT|TONT|LOSNT|ML|DRZ
 766  $DEF POVNTP=[MI:20]TNNTP|LSNNTP|TONTP|LOSNTP|ML|DRZ
 767
 768  #----------P Rychle
 769
 770  #063 Rychle vlaky elektrifikovane trate
 771  $DEF RYVET=RET|TOET|MR
 772  $DEF RYVETP=RETP|TOETP|MR
 773
 774  #064 ST
 775
 776  #065 Rychle vlaky neelektrifikovane trate
 777  $DEF RYVNT=RNT|TONT|MR
 778  $DEF RYVNTP=RNTP|TONTP|MR
 779
 780
 781  #----------Q Pomale osobni
 782
 783  #066 Pomale osobni vlaky
 784  $DEF POSVNT=LOSNT|ML
 785  $DEF POSVNTP=LOSNTP|ML
 786
 787  #067 Pomale osobni vlaky elektricka trakce
 788  $DEF POSVET=LOSET|ML
 789  $DEF POSVETP=LOSETP|ML
 790
 791
 792  #068 ST
 793
 794  #9. Layer
 795  #----------------------------------------------------------
 796
 797  #108, 111a
 798  # Nakladni souprava pro UNIT pridani postrku
 799  $DEF TNVUNIT=TNV
 800
 801  # Predni loko pro UNIT pridani postrku
 802  $DEF TNLUNITNT=7:TNPLP|3:TNDL
 803
 804  # Postr pro UNIT
 805  $DEF NLUNITNT=7:PPOSTRKP|3:NDL
 806
 807  #207, 211a
 808  # Predni loko pro UNIT pridani postrku
 809  $DEF TNLUNITET=TNEL|TNPLP
 810
 811  # Postrk pro UNIT
 812  $DEF NLUNITET=3:TNEL|2:NDL|5:PPOSTRKP
 813
 814  #307, 311a
 815  # Predni loko pro UNIT pridani postrku
 816  $DEF TNLUNITST=2:TNDL|6:SEL
 817
 818  # Postrk pro UNIT
 819  $DEF NLUNITST=3:NDL|4:SEL
 820
 821  #108, 117a
 822  # Vlak pro GET|PUT
 823  $DEF VGPNT=RNT
 824
 825  # Vagony pripojitelne za vlak GET|PUT
 826  $DEF VAGP=POST|NVPOS
 827
 828  # Posunivaci loko GET|PUT
 829  $DEF POLGPNT=6:PPOL|4:DPOL
 830
 831  #207, 217a, 226a
 832  # Vlak pro GET|PUT
 833  $DEF VGPET=RET
 834
 835  # Posunivaci loko GET|PUT
 836  $DEF POLGPET=4:DPOL|4:EPOL|4:PPOL
 837
 838  #307, 317a, 326a
 839  # Vlak pro GET|PUT
 840  $DEF VGPST=RST
 841
 842  # Posunivaci loko GET|PUT
 843  $DEF POLGPSST=4:DPOL|3:SPOL
 844
 845  #111a
 846  # Posunovaci vlak pro PUT
 847  $DEF PVPUTNT=LSNNT
 848
 849  # Posunovane Vagony pripojovane za vlak PUT
 850  $DEF PVAGPUT=NVVT
 851
 852  # Posunovaci loko PUT
 853  $DEF POLPUTNT=3:LNDL|4:DPOL
 854
 855  #211a
 856  # Posunovaci vlak pro PUT
 857  $DEF PVPUTET=LSNET
 858
 859  # Posunovaci loko PUT
 860  $DEF POLPUTET=4:DPOL|4:EPOL|4:PPOL
 861
 862  #311a
 863  # Posunovaci vlak pro PUT
 864  $DEF PVPUTST=LSNST
 865
 866  # Posunovaci loko PUT
 867  $DEF POLPUTST=3:LNDL|4:DPOL|3:SPOL
 868
 869  #111a, 112
 870  # Posunovaci vlak pro CHANGE
 871  $DEF LNSCHANGE=LNS
 872
 873  # Prvni lokomotiva pro CHANGE
 874  $DEF NLCHANGE1NT=3:LNDL|7:LNPLP
 875
 876  # Druha lokomotiva pro CHANGE
 877  $DEF NLCHANGE2NT=3:LNDL|7:LNPLP
 878
 879  #211a
 880  # Prvni lokomotiva pro CHANGE
 881  $DEF NLCHANGE1ET=3:LNDL|3:EPOL|4:LNPLP
 882
 883  # Druha lokomotiva pro CHANGE
 884  $DEF NLCHANGE2ET=3:LNDL|3:EPOL|4:LNPLP
 885
 886  #311a
 887  # Prvni lokomotiva pro CHANGE
 888  $DEF NLCHANGE1ST=LNDL|SPOL
 889
 890  # Druha lokomotiva pro CHANGE
 891  $DEF NLCHANGE2ST=LNDL|SPOL
 892
 893  #112
 894  # Nakladni souprava pro UNIT pridani priprahu
 895  $DEF TNVPRUNIT=TNV
 896
 897  # Predni loko pro UNIT pridani priprahu
 898  $DEF TNLPRUNITNT=TNPLP
 899
 900  # Priprah pro UNIT
 901  $DEF NLPRUNITNT=7:TNPLP|3:TNDL
 902
 903  #211a
 904  # Predni loko pro UNIT pridani priprahu
 905  $DEF TNLPRUNITET=TNELP
 906
 907  # Priprah pro UNIT
 908  $DEF NLPRUNITET=7:TNPLP|3:TNDL
 909
 910  #311a
 911  # Predni loko pro UNIT pridani priprahu
 912  $DEF TNLPRUNITST=SELJSP
 913
 914  # Priprah pro UNIT
 915  $DEF NLPRUNITST=TNDL
 916
 917  #116a, 118a
 918  # Vlak pro UNIT na kuse koleji
 919  $DEF VLUNITNT=MLJ|MRJ
 920
 921  # Loko pro UNIT na kuse koleji ktera odtahne vlak
 922  $DEF POLUNITNT=LNPL|PPOL|LNDL|DPOL
 923
 924  #216a, 218a, 408
 925  # Loko pro UNIT na kuse koleji ktera odtahne vlak
 926  $DEF POLUNITET=4:EPOL|4:(LNPL|PPOL|LNDL|DPOL)
 927
 928  #316a, 318a, 406, 407
 929  # Loko pro UNIT na kuse koleji ktera odtahne vlak
 930  $DEF POLUNITST=5:SELL|1:SPOL|4:(LNDL|DPOL)
 931
 932  #117a
 933  # Souprava pro CHANGE
 934  $DEF SCHANGENT=RS
 935
 936  # Prvni lokomotiva pro CHANGE
 937  $DEF LCHANGE1NT=2:DPOL|2:TODL|3:PPOL|3:RPLP
 938
 939  # Druha lokomotiva pro CHANGE
 940  $DEF LCHANGE2NT=2:DPOL|2:TODL|3:PPOL|3:RPLP
 941
 942  #217a, 226a
 943  # Prvni lokomotiva pro CHANGE
 944  $DEF LCHANGE1ET=2:DPOL|2:TODL|3:PPOL|3:RPLP|5:EPOL|5:ROEL
 945
 946  # Druha lokomotiva pro CHANGE
 947  $DEF LCHANGE2ET=2:DPOL|2:TODL|3:PPOL|3:RPLP|5:EPOL|5:ROEL
 948
 949  #317a
 950  # Prvni lokomotiva pro CHANGE
 951  $DEF LCHANGE1ST=2:LNDL|2:DPOL|4:SL|4:TODL
 952
 953  # Druha lokomotiva pro CHANGE
 954  $DEF LCHANGE2ST=2:LNDL|2:DPOL|4:SL|4:TODL
 955
 956  #10. vrstva definice pro pohyby na prechodove stanici
 957  #-------------------------------------------------------
 958
 959
 960  #401 Provoz na stejnosmernych kolejich
 961  # Osobni souprava pro stridavy vlak pak stejnosmerny
 962  $DEF OSSP01=TOSHT
 963
 964  # Stridava loko ktera vlak priveze
 965  $DEF LOK1ST01=SELP
 966
 967  # Nezavisla posunovaci loko
 968  $DEF LOK2NT01=DPOL
 969
 970  # Loko ktera vlak odveze
 971  $DEF LOK3ET01=7:OEL|3:TODL
 972
 973  # Nakladni souprava pro stridavy vlak pak stejnosmerny
 974  $DEF NSP02=TNV
 975
 976  # Stridava loko ktera vlak priveze
 977  $DEF LOK1ST02=SELDP|SELP
 978
 979  # Nezavisla posunovaci loko
 980  $DEF LOK2NT02=DPOL
 981
 982  # Loko ktera vlak odveze
 983  $DEF LOK3NT02=7:(TNEL|TNELD)|3:(TNDL|TNDLD)
 984
 985  # Nakladni souprava pro dieselovy vlak pak stejnosmerny
 986  $DEF NSP03=TNV
 987
 988  # Diesel loko ktera vlak priveze
 989  $DEF LOK1NT03=TNDL|TNDLD
 990
 991  # Diesel loko ktera vlak priveze
 992  $DEF LOK2ET03=TNEL
 993
 994
 995  # Rychlik s ES loko
 996  $DEF REES04=REES
 997
 998  # Nakladni vlak s ES loko
 999  $DEF NVES04=NEXES|TNES
1000
1001  #404 Provoz na stridavych kolejich
1002
1003  # Stejnosmerna loko ktera vlak priveze
1004  $DEF LOK1ET01=OELP
1005
1006  # Loko ktera vlak odveze
1007  $DEF LOK3ST01=7:SEL|3:TODL
1008
1009  # Stejnosmerna loko ktera vlak priveze
1010  $DEF LOK1ET02=[PD]TNELDP|[PD]TNELP
1011
1012  # Loko ktera vlak odveze
1013  $DEF LOK3ST02=7:SEL|3:(TNDL|TNDLD)
1014
1015  # loko ktera vlak priveze
1016  $DEF LOK2ST03=SEL
1017
1018  # Rychlik s ES loko
1019  $DEF REES04=REES
1020
1021  # Nakladni vlak s ES loko
1022  $DEF NVES04=NEXES|TNES
1023
1024
1025  #406 Provoz na stridavych kusich kolejich
1026
1027  # Posunovaci NT loko ktera dotlaci el. loko
1028  $DEF LOK1NT05=DPOL
1029
1030  # Posunovana ST loko
1031  $DEF LOK2ST05=SELP
1032
1033  #408 Provoz na stridavych kusich kolejich
1034
1035  # Posunovana ET loko
1036  $DEF LOK2ET05=ELP
1037
1038  #Odtazeni nebo pritazeni el. loko a odjezd posunu i loko - animace posunovace - 401, 404, 207, 307, 211, 311, 216, 316, 218, 318
1039  $DEF LOKSOLET=ELP
1040  $DEF LOKSOLST=SLP
1041  $DEF LPOSNT=T211POSUN
1042
1043  # 11. layer - Vlecky
1044  #-------------------------------------
1045
1046
1047  #Vleckova lokomotiva
1048  $DEF VLLOKNT01=7:PPOL|3:VDPOL
1049
1050  #Vleckova lokomotiva cisterny
1051  $DEF VLLOKNT02=5:PPOL|3:VDPOL|2:VKPOL
1052
1053  #Tratova lokomotiva
1054  $DEF TLLOKNT=7:TNPLP|3:(TNDL|TNDLD)
1055
1056  #Vleckove soupravy Vapenka
1057  $DEF POSSVAP=POSSVAP61
1058  $DEF TNHVVAP=TNHVVAP61
1059
1060  $DEF POSVLTAZVAP=VLLOKNT01, POSSVAP
1061  $DEF POSVLTLVAP=POSSVAP, VLLOKNT01
1062
1063  #Vlecka petrochemie
1064  $DEF POSSCIST=POSSCIST61
1065  $DEF TNHVCIST=TNHVCIST61
1066
1067  $DEF POSVLTAZCIST=VLLOKNT01, POSSCIST
1068  $DEF POSVLTLCIST=POSSCIST, VLLOKNT01
1069
1070
1071  #Vlecka uhli
1072
1073  $DEF POSSUHLI=POSSUHLI61
1074  $DEF TNHVUHLIPLNE=TNHVUHLIPLNE61
1075  $DEF TNHVUHLIPRAZDNE=TNHVUHLIPRAZDNE61
1076
1077  $DEF POSVLTAZUHLI=VLLOKNT01, POSSUHLI
1078  $DEF POSVLTLUHLI=POSSUHLI, VLLOKNT01
1079
1080
1081
1082  # 12. layer - vlaky v pozadi
1083  #-------------------------------------
1084  #Vlecka P9901, 9902, 9904
1085
1086  #Vleckova lokomotiva
1087  $DEF VLLOKNTBG01=VDPOL
1088
1089  #Tratova lokomotiva
1090  $DEF TLLOKNTBG=TNDL|TNDLD
1091
1092  #Vlak v pozadi nezavisla trakce
1093  $DEF BGVNTS=3:(LOKNTS|BGSS|(LOKNTS,BGSS))|1:(MR|ML)
1094
1095  #Vlak v pozadi s preferenci osobniho vlaku nezavisla trakce
1096  $DEF BGVOSNTS=3:(LOKNTS|BGSOSS|(LOKNTS,BGSOSS))|1:(MR|ML)
1097
1098  # 14. layer - ostatni elementy v pozadi
1099  # -------------------------------------
1100
1101  $DEF BUSP=SKODA_706RTO|SKODA_706RTO[M]