//$i Quark_noc.jpg

sky skj_night.t3d endsky
atmo 0.004 0.004 0.012 0 300 0 0.012 0.012 endatmo
light -500 1000 -1000 0.027 0.027 0.027 0.078 0.133 0.196 0 0 0 endlight


include quark/lasy2.inc end

include quark/quarkmceplus2007.scm end

include quark/trak_q2.scm end

include quark/lampy.scm 1 end

include quark/lasek.scn end

include quark/hekt2.inc end


//----------koncowka

event KeyCtrl01 multiple 1.0 none MD_Wielki_Kac_door1a_open MD_Wielki_Kac_door1b_open obrotnica_Wielki_Kac_tor1 endevent
event KeyCtrl02 multiple 1.0 none MD_Wielki_Kac_door2a_open MD_Wielki_Kac_door2b_open obrotnica_Wielki_Kac_tor2 endevent
event KeyCtrl03 multiple 1.0 none MD_Wielki_Kac_door5a_close MD_Wielki_Kac_door5b_close obrotnica_Wielki_Kac_tor5 endevent
event KeyCtrl04 multiple 1.0 none otwierajbrame6 obrotnica_Wielki_Kac_tor6 endevent
event otwierajbrame6 multiple 1.0 none MD_Wielki_Kac_door6a_open MD_Wielki_Kac_door6b_open endevent

//otwarcie drzwi jesli ktos jest przy torze 6 w lokomotywowni:
node 800 0 otwieraj6 eventlauncher -100 1.5 823 9.0 m 0 otwierajbrame6 otwierajbrame6 end

event wyjazd_z_szopy multiple 20.0 szopa-torpostojowy zwrMD02- zwrMD01+ duza18+ duza10- duza_zwrot_zeberko+ Wielki_Kac_Tm6_Ms2 Wielki_Kac_Tm3_Ms2 WK_zeberko_osob_odjazd condition trackfree endevent
event start1p_active putvalues 12.0 none 0.1 0.1 0.1 Jump_to_order 0 0 endevent 
event WK_manewry_reset multiple 1.0 none Wielki_Kac_Tm6_Ms1 Wielki_Kac_Tm3_Ms1 endevent

//MC: wyjazd z WK do K 
event tor_6_tam multiple 50.0 duza10 tor_6_tam_wolnyszlak duza10- duza18- duza12- Wielki_Kac_Tm3_Ms1 condition trackfree endevent
event tor_6_tam_wolnyszlak multiple 80.0 duza16 duza6end_s10 duza_zwrot_zeberko- condition trackfree endevent
event WK_zeberko_osob_odjazd multiple 200.0 none duza10- duza18- duza12- duza_zwrot_zeberko+ duza8end_S10 endevent

//wylaczenie silnikow i zgaszenie swiatel po zjezdzie do szopy
event su45stop putvalues 10.0 none 0.1 0.1 0.1 Prepare_engine 0 0 endevent

//MC: wyjazd brutta
event tor_2_tam multiple 50.0 none duza2end_s2 duza10+ duza12+ duza18+ endevent
//MC: aktywizacja AI brutta
event tor2end_active putvalues 25.0 none -0.1 2.1 0.5 Jump_to_order 0 0 endevent 

//event kolo multiple 1.0 none koniecwp_s13 end2- end3- end5- zwrot14- endevent
//event koniec5 multiple 130.0 none koniec5e_s2 sem7wl_s5 sem7wp_s1 sem7ll_s1 endevent
//event wjazd multiple 240.0 none sem2wb_s13 zwrot04- zwrot03- sem1p_s1 zwrot01+ endevent

node 800 0 Ko-status memcell 51 13 0.3 4wolny 0 0 none endmemcell
//MC: wjazd do Koniewic - wybor toru:
event zDejaw-Koniewice multiple 15.0 none zDejaw-Koniewice4 zDejaw-Koniewice2 endevent

//MC: wjazd do Koniewic na tor zasadniczy 4 (zeberko)
event zDejaw-Koniewice4 multiple 5.0 Ko-status end2+ end3+ end6- koniecwp_s13 condition memcompare * * 0 endevent

//zajecie toru 4
event koniec4_zajety updatevalues 0.0 Ko-status * * 1 endevent

//MC: wjazd do Koniewic na tor zasadniczy 2
event zDejaw-Koniewice2 multiple 10.0 Ko-status end2+ end4+ end6+ end101+ koniec4p_s1 koniecwp_s5 condition memcompare * * 1 endevent

//MC: aktywizacja toru 7 stacji koncowej K.
event  koniec7_active putvalues 20.0 none 0.1 0.1 0.1 Jump_to_order 0 0 endevent 

//MC: ulozenie drogi przebiegu ze stacji koncowej toru 7
event koniec7_doDejaw multiple 1.0 koniec7start koniec_I_s10 end10- end9- zwrot14- end7+ end5- end3+ end1+ condition trackoccupied endevent

//MC: aktywizacja toru 1 stacji koncowej
event  koniec1_active putvalues 15.0 none 0.1 0.1 0.1 Jump_to_order 0 0 endevent

//MC: aktywizacja toru 3 stacji koncowej (wyjazd na niezelektr.)
event  koniec3_active putvalues 27.0 none 0.1 0.1 0.1 Jump_to_order 0 0 endevent 
//do Skwarek przez dolna trase
event Koniewice3-Skwarki multiple 50.0 none koniec5e_s2 end16+ koniec3_active endevent


//MC: ulozenie drogi przebiegu ze stacji koncowej toru 1
event Koniewice1-Dejawy multiple 20.0 koniec1p_sem_mem koniec1_active koniec1p_s2 end5+ end3+ end1+ tor_2_tam condition memcompare * 0 0 endevent

//MC: ulozenie drogi przebiegu ze stacji koncowej toru 3 (po manewrach)
event Koniewice3-DejawyOK multiple 10.0 testawarii Koniec_Tm7_Ms1 koniec3p_s10 end7- end5- end3+ end2+ end1+ condition trackfree endevent
event Koniewice3-DejawyAwaria multiple 20.0 testawarii Koniec_Tm7_Ms1 koniec3p_sz1 end7- end5- end3- end2- end1+ condition trackoccupied endevent
event Koniewice3-Dejawy multiple 130.0 none Koniewice3-DejawyOK Koniewice3-DejawyAwaria endevent

//manewry: wypchanie skladu z toru 1 na tor postojowy, powrot na tor 2, przejazd za glowice, wjazd na tor 3.
event Koniewice-manewr1 multiple 120.0 szopa-torpostojowy koniec4p_Ms2 end6- end101- end102+ condition trackoccupied endevent
event Koniewice-manewr2 multiple 70.0 none koniec4p_S1 Koniec_Tm4_Ms2 end6+ endevent
event Koniewice-manewr3 multiple 50.0 none Koniec_Tm4_Ms1 koniec2p_Ms2 end6+ end101+ end4+ end2+ endevent
event Koniewice-manewr4 multiple 40.0 none koniec2p_S1 Koniec_Tm7_Ms2 end2- end3- end5- end7- endevent


//MC: przelot przez Dejawy z K do WK
event Koniewice-Dejawy-Wielki_Kac multiple 10.0 none Dejawy_Kopalnia_P_S3 Dejawy_zwr17+ Dejawy_zwr10+ Dejawy_Kopalnia_D_S6 Dejawy_zwr05+ Dejawy_zwr01+ endevent
event DejawyWjazd-awaria multiple 10 none Dejawy_Kopalnia_Sz2_sz Dejawy_zwr17+ Dejawy_zwr11+ Dejawy_Kopalnia_E_S10 Dejawy_Kopalnia_E_W24 Dejawy_zwr03+ Dejawy_zwr02- Dejawy_zwr01- endevent

//informacja o statusie stacji DK: zajetosc toru 1, 3:
node 800 0 DK-status memcell 1 5 0.3 1wolny 0 3 none endmemcell

//MC: Dejawy:wjazd na tor 1 z WK i dalej do K
event WK-Dejawy_wjazd multiple 10.0 none Wielki_Kac-Dejawy1_przelot Wielki_Kac-Dejawy3 endevent

//MC: Dejawy:wjazd na boczny tor 3 z WK 
event Wielki_Kac-Dejawy3 multiple 5.0 DK-status Dejawy_Kopalnia_A_S13 Dejawy_zwr02+ Dejawy_zwr03- Dejawy_zwr04- Dejawy_zwr12+ condition memcompare * * 3 endevent
event Dejawy_brutto_wjazd updatevalues 0.0 DK-status * * 1 endevent
event Dejawy_brutto_manewry updatevalues 0.0 DK-status * 2 * endevent

event Wielki_Kac-Dejawy1_przelot multiple 10.0 DK-status Dejawy_Kopalnia_A_S2 Dejawy_zwr02+ Dejawy_zwr03+ Dejawy_Kopalnia_K_S2 Dejawy_zwr11+ Dejawy_zwr16+ Dejawy_zwr17+ condition memcompare * * 1 endevent

//MC: Dejawy:wyjazd z toru 3 (manewry)
event Dejawy3-Manewr1 multiple 40.0 none
Dejawy_Kopalnia_L_ms2 Dejawy_zwr12+ Dejawy_zwr16+ Dejawy_zwr13+ endevent

//MC: Dejawy:wyjazd z toru 3a (zeberka) na tor 5 (manewry)
event Dejawy3-Manewr2 multiple 15.0 Dejawy_tor5start Dejawy_Kopalnia_L_S1 Dejawy_Kopalnia_Tm5_Ms2
Dejawy_zwr12+ Dejawy_zwr14- Dejawy_zwr13- condition trackfree endevent

//MC: Dejawy:wyjazd z toru 5 (manewry)
event Dejawy5-Manewr3 multiple 5.0 Dejawy_zwr03 Dejawy_Kopalnia_Tm5_Ms1
Dejawy_Kopalnia_G_ms2 Dejawy_zwr06- Dejawy_zwr04+ Dejawy_zwr03- Dejawy_zwr02+ condition trackfree endevent

//MC: Dejawy:wjazd na tor 7 (manewry - prosba o zezwolenie)
event Dejawy7-Manewr4 multiple 50.0 Dejawy_zwr03 
Dejawy_Kopalnia_G_S1 Dejawy7-Manewr4ust condition trackfree endevent

//MC: Dejawy:wjazd na tor 7 (manewry - ustawienie drogi)
event Dejawy7-Manewr4ust multiple 4.0 Dejawy_zwr06 
Dejawy_Kopalnia_Tm6_Ms2 Dejawy_zwr06+ Dejawy_zwr07- condition trackfree endevent

//MC: Dejawy:wyjazd z toru 7 do WK 
event Dejawy7-WielkiKac multiple 5.0 DK-status Dejawy_Kopalnia_H_S10 Dejawy_Kopalnia_Tm6_Ms1
Dejawy_zwr07- Dejawy_zwr06+ Dejawy_zwr04+ Dejawy_zwr03- Dejawy_zwr02- Dejawy_zwr01- condition memcompare * 2 * endevent
event DK_brutto_odjazd updatevalues 0.0 DK-status * 1 * endevent



//Dejawy-KWK: ladowanie wegla do eaosow
event ladowaniewegla putvalues 10.0 none -2368 5 8333 Load=Coal 50 1 endevent 
event ladowaniestop1 trackvel 60.0 KWK-bocznicastopstart1 5.0 endevent
event ladowaniestop2 trackvel 61.0 Kopalnia_zwr01 5.0 endevent
event ladowaniestop3 trackvel 62.0 KWK-bocznicastopstart3 5.0 endevent
event ladowaniestop4 trackvel 63.0 Kopalnia_zwr03 5.0 endevent
event ladowaniestop5 trackvel 64.0 KWK-bocznicastopstart5 5.0 endevent
event ladowaniestart1 trackvel 0.0 KWK-bocznicastopstart1 0.0 endevent
event ladowaniestart2 trackvel 0.0 Kopalnia_zwr01 0.0 endevent
event ladowaniestart3 trackvel 0.0 KWK-bocznicastopstart3 0.0 endevent
event ladowaniestart4 trackvel 0.0 Kopalnia_zwr03 0.0 endevent
event ladowaniestart5 trackvel 0.0 KWK-bocznicastopstart5 0.0 endevent

event koniecladowania multiple 0.0 none ladowaniestop1 ladowaniestop2 ladowaniestop3 ladowaniestop4 ladowaniestop5 endevent
event poczatekladowania multiple 0.0 none ladowaniestart1 ladowaniestart2 ladowaniestart3 ladowaniestart4 ladowaniestart5 endevent


//informacja o statusie stacji WK: zajetosc toru 1, 3, 5:
node 800 0 WK-status memcell 0 0 0.3 1wolny 0 0 none endmemcell

// zajecie toru 1
event WK_1Zajety updatevalues 0.0 WK-status 1zajety * * endevent

// zajecie toru 3
event WK_3Zajety updatevalues 0.0 WK-status * 3 * endevent
// zwolnienie toru 3
event WK_3Wolny updatevalues 0.0 WK-status * 0 * endevent

// zajecie toru 5
event WK_5Zajety updatevalues 0.0 WK-status * * 5 endevent
// zwolnienie toru 5
event WK_5Wolny updatevalues 0.0 WK-status * * 0 endevent


event Dejawy-Wielki_Kac multiple 1.0 none Dejawy-Wielki_Kac5 Dejawy-Wielki_Kac3 Dejawy-Wielki_Kac-przelot endevent
//MC Wielki_Kac: wjazd z Dejaw na tor 5:
event Dejawy-Wielki_Kac5 multiple 1.0 WK-status duza13- duza11- duza9- duza_dodzwr1+ duza_dodzwr2- Dejawy-Wielki_Kac5utwierdz condition memcompare * * 0 endevent
event Dejawy-Wielki_Kac5utwierdz multiple 5.0 none duzaendwl_S13 WK_Sp1R_sp4 WK_Sp2R_sp4 endevent


//MC Wielki_Kac: wjazd z Dejaw na tor 3:
event Dejawy-Wielki_Kac3 multiple 2.0 WK-status duzaendwl_S13 duza13- duza11+ WK_Sp1R_sp4 WK_Sp2R_sp4 condition memcompare * 0 5 endevent

//MC Wielki_Kac: wjazd z Dejaw na tor 1 i dalej do Skwarek:
event Dejawy-Wielki_Kac-przelot multiple 3.0 WK-status duzaendwl_S2 duza13+ WK_Sp1R_sp2 WK_Sp2R_sp2 WK_wyjazd_S condition memcompare 1wolny 3 5 endevent
event WK_wyjazd_S multiple 1.0 none duza5+ duza3+ duza1+ przejazd-WK1_zamykaj duza1pocz_S2 endevent


event WK_kasujwjazdD multiple 1.0 none duzaendwl_S1 WK_Sp1R_sp1 WK_Sp2R_sp1 endevent

//MC: restowanie sygnalizatorow wyjazdowych glowicy wschodniej koncowej stacji
event koniec_resetp multiple 10.0 none koniec_I_S1 koniec5p_s1 koniec3p_s1 koniec1p_s1 koniec2p_s1 koniec4p_s1 endevent

//MC: restowanie sygnalizatorow wyjazdowych glowicy polnocnej W.K. oraz wygaszenie sBL toru niewlasciwego
event duza_resete multiple 8.0 none duza2end_s1 duza4end_s1 duza6end_s1 232N_ciemny endevent


//MC: resetowanie sygnalizatorow wyjazdowych glowicy poludniowej D.
event Dejawy_reset1 multiple 6.0 none Dejawy_Kopalnia_D_S1 Dejawy_Kopalnia_C_S1 endevent

//MC: restowanie sygnalizatorow wyjazdowych glowicy polnocnej D.
event Dejawy_reset2 multiple 7.0 none Dejawy_Kopalnia_K_s1 Dejawy_Kopalnia_L_S1 Dejawy_Kopalnia_M_S1 endevent

//stacja Wielki Kac Doly
event WKDolny_doKoniewic multiple 30.0 none sem7pl_s2 zwrot13+ KoniewiceDoly5  endevent
event KoniewiceDoly5 multiple 385.0 none koniecwb_s5 end16+ end9+ zwrot14+ endevent

event WKDolny_doMyd multiple 35.0 none sem7pp_s2 zwrot11+ KoniewiceDoly5 endevent

event WKDolny_doWK multiple 90.0 bok3pp sem7ll_s2 WKD_zwrot4+ zwrot12+ zwrot13+ condition trackoccupied endevent

event 3_tam multiple 60.0 none sem7wp_s5 zwrot11+ endevent
event 3_tu multiple 20.0 none sem7wl_s5 zwrot13+ endevent

event wiadukt_warning putvalues 10.0 none 1100 -12 -1000 Warning_signal 1 3 endevent


//mijanki:
node 800 0 Myd-status memcell -90 10 0.3 1wolny 0 0 none endmemcell
event Mydelniczka_doWKDolny multiple 120.0 Myd-status sem5lp_Sr2 zwrot10+ Mydelniczka_doSkwarki condition memcompare * 1 1 endevent
event Mydelniczka_doSkwarki multiple 10.0 none sem5wp_Sr1 sem5pl_Sr3 zwrot09- endevent
event Myd_mem_update1 updatevalues 0.0 Myd-status * * 1 endevent
event Myd_mem_update2 updatevalues 0.0 Myd-status * 1 * endevent
event Mydelniczka_wjazdWK multiple 40.0 none sem5wp_Sr3 zwrot10-  endevent
event Mydelniczka_kasuj multiple 20.0 none sem5wl_Sr1 tosem5wl_Od1  endevent

event Zatyle_wjazdM multiple 20.0 none sem3wp_S5 sem3lp_S1 zwrot08+ endevent
event bok_1_tu multiple 80.0 none sem3lp_S2 zwrot07+ sem2wb_S13 endevent
event bok_1_tam multiple 70.0 none sem3pp_S2 sem3wl_s1 sem5wl_Sr2 tosem5wl_Od2 zwrot09+ endevent
//event bok_2_tu multiple 120.0 none sem5ll_s2 zwrot09+ sem5wl_s1 sem3wp_s13 zwrot08- sem3pp_s1 endevent
//event bok_2_tam multiple 120.0 none sem5pp_s10 zwrot10- endevent

event wjazd multiple 240.0 none sem2wb_s13 zwrot04- zwrot03- sem1p_s1 zwrot01+ endevent

//Skwarki:
//MC: aktywizacja toru 1 stacji poczatkowej S.
event start1p_active putvalues 30.0 none 0.1 0.1 0.1 Jump_to_order 0 0 endevent 
// Skwarki-Koniewice dolna trasa:
event Skwarki1-Wielki_Kac_Dolny multiple 25.0 start1p zwrot01- zwrot06- sem1p_s10 sem3wl_S5 skwarki_A_S10 condition trackoccupied endevent
// aktywizacja toru 2 stacji poczatkowej S.
event start1s_active putvalues 20.0 none 0.1 0.1 0.1 Jump_to_order 0 0 endevent
// Skwarki-Wlk_Kac:
event Skwarki2-Wielki_Kac multiple 30.0 start1p zwrot01+ zwrot02+ zwrot04+ zwrot06+ sem1s_s2 condition trackoccupied endevent

//MC: restowanie sygnalizatorow wyjazdowych glowicy polnocnej S.
event start_resetp multiple 5.0 none sem1p_s1 sem1s_s1 sem1l_s1 endevent

event skwarki-manewr1 multiple 45.0 none semendp01_Ms2 Skwarki_zwr04- Skwarki_zwr05- endevent
event skwarki-manewr2 multiple 25.0 none semendp01_S1 Skwarki_zwr04+ MD_Wielki_Kac_door2a_open MD_Wielki_Kac_door2b_open Skwarki2-Wielki_Kac_SU45 endevent
event Skwarki2-Wielki_Kac_SU45 multiple 80.0 none zwrot01+ zwrot02+ zwrot04+ zwrot06+ sem1s_s2 endevent
event awaria multiple 1.0 none endevent//aw1- aw2- aw3- aw4- endevent
event awaria1 multiple 1.0 none endevent//aw1+ aw2+ aw3+ aw4+ endevent
event Skwarki_wjazd_WK multiple 20.0 none Skwarki_wjazd_WK_brutto Skwarki_wjazd_WK_IC endevent
event Skwarki_wjazd_WK_brutto multiple 5.0 DK-status elek_bocznica+ zwrot05+ zwrot03+ zwrot-obejscie1- sem2wp_s13 condition memcompare * 1 * endevent
event Skwarki_wjazd_WK_IC multiple 10.0 DK-status elek_bocznica+ zwrot05+ zwrot03+ zwrot-obejscie1+ sem2wp_s5 condition memcompare * 0 * endevent
event odczepiaj putvalues 0.0 none 0.1 0.1 0.1 Shunt 0 0 endevent

// wjazd do WK od strony S:
event WK_wjazd_ze_Skwarek multiple 25.0 none duzapoczwp_s13 duza6- duza8- przejazd-WK1_zamykaj endevent

// WK Drożdżownia:
event WK_drozdzownia_odjazd multiple 70.0 none WKDroz_zwr2+ WKDroz_zwr1+ WKD_D_Sr2 WielkiKac_W_S13 zwrMD01- duza10- duza_zwrot_zeberko+ endevent


FirstInit

//pospieszny Skwarki->Wielki_Kac->Koniewice
trainset PE1301 start1s 3.0 0.0
node 800 0 EU06-01 dynamic PKP\4E_v1 EU06-01.dds 4E 0.0 headdriver 3 0 enddynamic
node 800 0 PassPack2 dynamic PKP\Z1_v1 Z1_gw_2-N Z1 0.0 nobody 35 10 Passengers enddynamic
node 800 0 PassPack2 dynamic PKP\1xxa_v1 noc4 1xxa 0.0 nobody 35 10 Passengers enddynamic
node 800 0 PassPack2 dynamic PKP\111a-noc_v1 111a30 111a30 0.0 nobody 35 10 Passengers enddynamic
node 800 0 PassPack2 dynamic PKP\111a-noc_v1 111a24 111a24 0.0 nobody 35 10 Passengers enddynamic
node 800 0 PassPack2 dynamic PKP\111a-noc_v1 111a25 111a25 0.0 nobody 35 10 Passengers enddynamic
node 800 0 PassPack2 dynamic PKP\111a-noc_v1 111a26 111a26 0.0 nobody 35 10 Passengers enddynamic
node 800 0 PassPack2 dynamic PKP\111a-noc_v1 111a27 111a27 0.0 nobody 35 10 Passengers enddynamic
node 800 0 PassPack2 dynamic PKP\111a-noc_v1 111a28 111a28 0.0 nobody 35 10 Passengers enddynamic
node 800 0 PassPack2 dynamic PKP\111a-noc_v1 111a29 111a29 0.0 nobody 35 10 Passengers enddynamic
node 800 0 PassPack2 dynamic PKP\111a-noc_v1 112a6 112a6 0.0 nobody 0 10 Passengers enddynamic
endtrainset

//osobowy Koniewice->Wielki Kac
trainset ME212 koniec_1start 5.0 0.0
node 800 0 EU07-114 dynamic PKP\4E_v1 4E-114.dds 4E 0.0 headdriver 3 0 enddynamic
node 800 0 5051-304510-1 dynamic PKP\Bdhpumn-noc_v1 bdhpumn1.dds bdhpumn 0.0 nobody 3 0 enddynamic
node 800 0 5051-304510-1 dynamic PKP\Bdhpumn-noc_v1 bdhpumn1.dds bdhpumn 0.0 nobody 3 0 enddynamic
node 800 0 PassPack2 dynamic PKP\111a-noc_v1 120A-4 120A-4 0.0 nobody 3 0 enddynamic
endtrainset

//towarowy Koniewice->Wielki Kac
trainset TME4252 koniec7start 10.0 0.0
node 800 0 EU07-009 dynamic PKP\4E_v1 4E-009.dds 4E 0.0 headdriver 3 0 enddynamic
node 800 0 5520372-3 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-4 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-5 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-6 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-7 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-8 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-9 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-6 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5051-304510-1 dynamic PKP\Rs_v1 rs01.dds 412Z 0.0 nobody 3 0 enddynamic
node 800 0 5051-304510-1 dynamic PKP\Rs_v1 rs01.dds 412Z 0.0 nobody 3 0 enddynamic
node 800 0 5051-304510-1 dynamic PKP\Rs_v1 rs01.dds 412Z 0.0 nobody 0 0 enddynamic
endtrainset


//towarowy Wielki Kac->Dejawy
trainset TME2351 tor2end 5.0 0.01
node 800 0 ET22-001 dynamic PKP\ET22_v1 201E-001.dds 201E_dumb 0.0 headdriver 3 0 enddynamic
node 800 0 5520372-1 dynamic PKP\eaos_v1 412W-35.dds 412W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-2 dynamic PKP\eaos_v1 412W-35.dds 412W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-3 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-4 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-5 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-6 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-7 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-8 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-9 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-6 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-7 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-8 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-9 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-1 dynamic PKP\eaos_v1 412W-35.dds 412W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-2 dynamic PKP\eaos_v1 412W-35.dds 412W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-3 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-4 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-5 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-6 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-7 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-8 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-9 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-6 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-7 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-8 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 0 enddynamic
node 800 0 5520372-9 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 0 0 enddynamic

//osobowy Koniewice->Skwarki 
trainset MM1302 koniec5end 0 0
node 800 0 EU06-01 dynamic PKP\4E_v1 EU06-01.dds 4E 0.0 headdriver 3 0 enddynamic
node 800 0 5051-304510-1 dynamic PKP\1xxa_v1 120A_gw_1 120a 0.0 nobody 3 15 passengers enddynamic
node 800 0 5051-304510-1 dynamic PKP\1xxa_v1 120A_gw_1 120a 0.0 nobody 3 15 passengers enddynamic
node 800 0 5051-304510-1 dynamic PKP\1xxa_v1 120A_gw_1 120a 0.0 nobody 0 15 passengers enddynamic
endtrainset

//osobowy Skwarki->Koniewice (dolna trasa niezelektryfikowana)
trainset MM1301 start1p 1.0 0.0
node 800 0 505120-00256-5 dynamic PKP\1xxa_v1 111a6.dds 111a 0.0 nobody 3 10 Passengers enddynamic
node 800 0 505120-00256-5 dynamic PKP\1xxa_v1 111a6.dds 111a 0.0 nobody 3 20 Passengers enddynamic
node 800 0 505120-00256-5 dynamic PKP\1xxa_v1 111a6.dds 111a 0.0 nobody 0 10 Passengers enddynamic
endtrainset


//trainset rozklad bok3pl 0 0
//endtrainset

trainset rozklad zTestowa_start1 0 50
//$o - 
node 800 0 ST44-1074 dynamic PKP\ST44_v1 st44-1074.dds st44 0.0 headdriver 3 0 enddynamic
node 800 0 505120-00256-5 dynamic PKP\1xxa_v1 111a6.dds 111a 0.0 nobody 3 20 Passengers enddynamic
node 800 0 505120-00256-5 dynamic PKP\1xxa_v1 111a6.dds 111a 0.0 nobody 3 10 Passengers enddynamic
node 800 0 505120-00256-5 dynamic PKP\1xxa_v1 111a6.dds 111a 0.0 nobody 3 20 Passengers enddynamic
node 800 0 505120-00256-5 dynamic PKP\1xxa_v1 111a6.dds 111a 0.0 nobody 3 10 Passengers enddynamic
node 800 0 5051-304510-1 dynamic PKP\1xxa_v1 adnu_120 111a 0.0 nobody 0 15 passengers enddynamic
endtrainset


// inny tabor

trainset none Koniewice_14a 10.0 0.0
node 800 0 5051-304510-1 dynamic PKP\Rs_v1 rs01.dds 412Z 0.0 nobody 3 0 enddynamic
node 800 0 5051-304510-1 dynamic PKP\Rs_v1 rs01.dds 412Z 0.0 nobody 3 0 enddynamic
node 800 0 5051-304510-1 dynamic PKP\Rs_v1 rs01.dds 412Z 0.0 nobody 0 0 enddynamic
endtrainset

trainset rozklad bok3lp 10.0 30.0
node 800 0 SM31-165 dynamic PKP\SM31_v1 none 411D 0.0 nobody 3 0 enddynamic
node 800 0 5520372-4 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-5 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-6 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5051-304510-1 dynamic PKP\Rs_v1 rs01.dds 412Z 0.0 nobody 3 0 enddynamic
node 800 0 5051-304510-1 dynamic PKP\Rs_v1 rs01.dds 412Z 0.0 nobody 0 0 enddynamic
endtrainset

trainset none Koniewice_3 10.0 0.0
node 800 0 5051-304510-1 dynamic PKP\1xxa_v1 adu_160_tlk 111a 0.0 nobody 3 10 Passengers enddynamic
node 800 0 5051-304510-1 dynamic PKP\1xxa_v1 adu_160_tlk 111a 0.0 nobody 3 15 Passengers enddynamic 
node 800 0 5051-304510-1 dynamic PKP\1xxa_v1 bdu_160_tlk 111a 0.0 nobody 3 10 Passengers enddynamic
node 800 0 5051-304510-1 dynamic PKP\1xxa_v1 bdu_160_tlk 111a 0.0 nobody 3 20 Passengers enddynamic
node 800 0 5051-304510-1 dynamic PKP\1xxa_v1 wrbd_160_tlk 111a 0.0 nobody 3 5 Passengers enddynamic 
node 800 0 5051-304510-1 dynamic PKP\1xxa_v1 bdu_160_tlk 111a 0.0 nobody 3 30 Passengers enddynamic
node 800 0 5051-304510-1 dynamic PKP\1xxa_v1 bdu_160_tlk 111a 0.0 nobody 3 30 Passengers enddynamic
node 800 0 5051-304510-1 dynamic PKP\1xxa_v1 bdu_160_tlk 111a 0.0 nobody 0 10 Passengers enddynamic
endtrainset

//trainset rozklad zTestowa_start1 0.0 0.0
//trainset rozklad gagarin_start 0.0 0.0
//node 800 0 ET22-443 dynamic PKP\et22 ET22-443 201E 0.0 headdriver 3 0 enddynamic
//node 800 0 ST44-1099 dynamic PKP\ST44 st44-1099 m62dumb 0.0 headdriver 3 0 enddynamic
//node 800 0 5520372-7 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520372-8 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520372-9 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520373-1 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520373-2 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520373-3 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520373-4 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520373-5 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520373-6 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520373-7 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520373-8 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520373-9 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520374-1 dynamic PKP\eaos eaos2 eaos 0.0 nobody 3 40 Coal enddynamic
//node 800 0 5520374-2 dynamic PKP\eaos eaos2 eaos 0.0 nobody 0 40 Coal enddynamic
//endtrainset


trainset none Dejawy-tor7 10.0 0.0  
node 800 0 5520372-1 dynamic PKP\eaos_v1 412W-35.dds 412W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-2 dynamic PKP\eaos_v1 412W-35.dds 412W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-3 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-4 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-5 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-6 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-7 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-8 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-9 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-6 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-7 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-8 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-9 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 0 40 Coal enddynamic
endtrainset


//lokomotywownia:
//trainset rozklad torpoczl 25.0 0.0
trainset rozklad szopa-torpostojowy 5.0 0.0
//$o - 
//node 800 0 EP07-1003 dynamic PKP\eu07_PR4 303E-m-1003.dds 303E-m 0.0 headdriver 3 0 enddynamic
node 800 0 SU46-048 dynamic PKP\SU46_v1 su46-048 303D 0.0 headdriver 3 0 enddynamic
//node 800 0 EU07-503 dynamic PKP\EU07 eu07-503 303E-M 0.0 reardriver 0 0 enddynamic
//node 800 0 Ty2-1234 dynamic PKP\Ty2 Ty2-01 Ty2 0.0 nobody 0 0 enddynamic
endtrainset


//node 800 0 Ty2-1234 dynamic PKP\Ty2 none Ty2 szopa-torpostojowy2 2.0 nobody 0 0 enddynamic
// node 800 0 ASF1 dynamic PKP\EL16 none ASFdumb szopa-tor1 12.0 nobody 0 0 enddynamic
// node 800 0 SM42-175 dynamic PKP\SM42 sm42-174 sm42Dwrak szopa-tor5 2.0 nobody 0 0 enddynamic
// node 800 0 EU07-536 dynamic PKP\EU07 eu07-536 303Ewrak szopa-tor6 9.5 reardriver 0 0 enddynamic
// node 800 0 ST44-089 dynamic PKP\ST44 st44-089 m62dumb szopa-torpostojowy2 5 nobody 0 0 enddynamic


//trainset rozklad tor_pogotowia_sieciowego2 10.0 0.0
// node 800 0 SM42-176 dynamic PKP\SM42 sm42-174 sm42Dwrak 0.0 nobody 3 0 enddynamic
//node 800 0 sieciowy_platforma dynamic PKP\Sgs none 412Zas 0.0 nobody 3 0 enddynamic
//node 800 0 sieciowy_A dynamic PKP\sieciowiec none A 0.0 nobody 3 0 enddynamic
//node 800 0 sieciowy_B dynamic PKP\sieciowiec none B 0.0 nobody 3 0 enddynamic
//node 800 0 sieciowy_C dynamic PKP\sieciowiec none C 0.0 nobody 0 0 enddynamic
//endtrainset


//ladowanie wegla
trainset none KWK-bocznica 1.0 10.0
//$o - 
node 800 0 SM31-074 dynamic PKP\sm31_v1 none 411D 0.0 reardriver 3 0 enddynamic
node 800 0 5520372-1 dynamic PKP\eaos_v1 412W-35.dds 412W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-2 dynamic PKP\eaos_v1 412W-35.dds 412W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-3 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-4 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-5 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-6 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-7 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-8 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-9 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-6 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-7 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-8 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-9 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-1 dynamic PKP\eaos_v1 412W-35.dds 412W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-2 dynamic PKP\eaos_v1 412W-35.dds 412W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-3 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-4 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-5 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-6 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-7 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 3 40 Coal enddynamic
node 800 0 5520372-8 dynamic PKP\eaos_v1 401W-21.dds 401W 0.0 nobody 0 40 Coal enddynamic
endtrainset


//trainset rozklad bipy 40.0 0.0
//node 500 0 40681A dynamic PKP\Bipa Bhp-19028 Bipa-A 0.0 nobody 3 0 enddynamic
//node 500 0 40681C dynamic PKP\Bipa Bhp-19028 Bipa-CD 0.0 nobody 3 0 enddynamic
//node 500 0 40681C dynamic PKP\Bipa Bhp-19028 Bipa-CD 0.0 nobody 3 0 enddynamic
//node 500 0 40681B dynamic PKP\Bipa Bhp-19028 Bipa-B 0.0 nobody 0 0 enddynamic
//endtrainset


//przeszkadzajki ;-)

// node 800 0 maluch1 dynamic road\Fiat #beige.dds Fiat126p Poledroga1 0.0 headdriver 25.0 2 Passengers enddynamic

// node 800 0 farmer1 dynamic road\men furman.dds chlop Poledroga1 0.0 headdriver 4.0 0 enddynamic

//node 800 0 fordtransit2 dynamic road\Ford transit_pomaranczowy transit330Ldumb droga-B 0.0 headdriver 25.0 0 enddynamic

//node 800 0 maluch2 dynamic road\Fiat #red.dds Fiat126p WielkiKac_ulica1 0.0 nobody 0 0 enddynamic
//node 800 0 Autosan1 dynamic road\Autosan none H9-20dumb WielkiKac_ulica2 0.0 nobody 0 0 enddynamic

//node 800 0 Jelcz121mb dynamic road\JelczM121 m121_kr.dds m121mb WielkiKac_ulica3 0.0 headdriver 50.0 0 enddynamic

//node 800 0 sokista dynamic road\men sok.dds sok sokstart2 0.0 headdriver 5.0 0 enddynamic
//node 800 0 mib1 dynamic road\men engineer.dds man WielkiKac_chodnik2 0.0 headdriver 6.5 0 enddynamic

//node 800 0 Jelcz1 dynamic road\Jelcz Jelcz-pakaszara1 315dumb WielkiKac_droga1 0.0 headdriver 70.0 0 enddynamic
//node 800 0 maluch3 dynamic road\Fiat #blue.dds Fiat126p WielkiKac_droga2 0.0 headdriver 71.0 2 Passengers enddynamic

//node 800 0 maluch4 dynamic road\Fiat #yellow.dds Fiat126p drogakon-start1 0.0 headdriver 80.0 2 Passengers enddynamic
//node 800 0 fordtransit1 dynamic road\Ford transit_niebieski.dds transit330Ldumb drogakon-start2 0.0 headdriver 71.0 0 enddynamic
//node 800 0 Autosan2 dynamic road\Autosan none H9-20dumb drogakon-start3 0.0 headdriver 60.0 10 Passengers enddynamic
//node 800 0 maluch5 dynamic road\Fiat #yellow.dds Fiat126p roadstart2 0.0 headdriver 60.0 2 Passengers enddynamic

//trainset rozklad WielkiKac_bocznica1 0.0 0.0
// node 800 0 machajka dynamic PKP\machajka none machajka 10.0 headdriver 0 0 enddynamic
// node 800 0 ufo dynamic PKP\Bd Xg 111a 10.0 nobody 0 0 enddynamic
// endtrainset


