mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-29 17:06:36 +01:00
Merge staging into feat/gl46-migration
origin/staging7ac2472c3into feat/gl46-migrationdb26a33ed, so that #468 merges into staging. Merge base037158104. Staging carries master up to571487612(squashed in #514); this branch had merged master up to7c12b83ba. Conflicts, file by file: - README.md: WITH_BETTER_RENDERER row dropped (gl46), USE_SYSTEM_JSON row kept (staging) - CMakeLists.txt: gl46 lists, plus staging's new core sources (hardwareinfo, sn_utils, regionfile, inionlysettings, fieldshunting, gaugewrap, drivingaid, signalpassing, brakereleaser, crew, brakecharge); none listed twice - tests/unit/CMakeLists.txt: both (texturealpha, freecameramotion; editorSwitchDrives, Camera) - vehicle/brakingcurve.{h,cpp}, tests/unit/test_braking_curve.cpp (add/add): staging (#479 brake_acting on the same #409 code) - editor/editorHttp.cpp: staging (it has gl46's #432 and certificate fixes, plus #439 libcurl loaded at run time) - tests/unit/test_editor_http.cpp (add/add): staging (adds the available() case of #439) - utilities/Globals.h: gl46 crashdump_full (staging's CrashDumpFull is #425, replaced here by utilities/crashdump.cpp); fmradio and staging's OpenAL options both; gfx_headlights_beamwidth (#481) not taken - utilities/Globals.cpp: both (odometer.expiry, OpenAL keys, fmradio, gl46 gfx keys); gfx.headlights.beamwidth (#481) not taken - utilities/Logs.cpp: staging's log_file_name() for both files, with gl46's crashdump_set_log_file() for both - utilities/utilities.h: gl46 set_thread_random_engine(); Random(int, int) gone on both sides - tests/unit/test_utilities.cpp: staging's includes - simulation/simulationtest.cpp: gl46 (no NvRenderer, LegacyRenderer, BasicRenderer here) - ci_shadervalidator/* (incl. add/add utilities/Logs.h): gl46's validator of shaders/ogl46 and shaders/vk14; staging's #437 fixed the GL 3.3 one - gl/shader.cpp, gl/glsl_common.cpp: gl46 (shaders come from rendering/common/shadersource.cpp); HEADLIGHT_BEAM_WIDTH (#481) not taken - shaders/mat_wire.frag: gl46. Rename detection paired staging's mat_colored.frag (#481) with it - lang/editor_pl.po: union; the 12 camera speed / orthophoto entries staging adds are here already (master #312) - audio/audiorenderer.{h,cpp}: both (fmradio; startsample and the low-pass filter); the destructor releases the radio, then the filter - application/editormode.h, application/editormodeswitchdrive.cpp: staging (#509 on #330, which is all this side had) - application/application.cpp: gl46's start sequence (no init_ogl, ANGLE or NvRenderer; crash window after init_ui) with staging's hardware::log_system() (#389) - EU07.cpp: gl46 (crash reports of utilities/crashdump.cpp); staging's side was #425's handler, replaced here - model/Texture.{h,cpp}: gl46 (texture_source); staging's side is master #399/#411/#362/#386, merged here before - world/Track.h, world/TrackSleepers.h: both (TrackBlend, lay(Fastened)/fasten; TrackBuckle, pack_models) - world/Segment.cpp: staging's track buckling on the split stray factors both sides have - vehicle/Driver.h: staging's additions (#444, #494, #473, #346, timetable flags) - vehicle/Driver.cpp: staging's file, with this branch'sf4f8c75e4(road orders measured along the lane) and8fbf05674(a holding road order blocks the ones past it) applied again; #409's SeenAheadTolerance gives way to #473 - vehicle/DynObj.h: friend opengl46_renderer and friend class vehicle_table - vehicle/DynObj.cpp: gl46's vehicle_table::update() with staging's update_off_track_contacts() and update_brake_pipes() - McZapkie/Mover.cpp: staging's function splits (#239) and hose exchange (#388); every line this branch added to Mover.cpp/MOVER.h is kept - .github/workflows/build_bin.yml: staging's apt-install step (#497) and pinned download-artifact (#331) Modify/delete, kept deleted: - rendering/opengl33renderer.{cpp,h}, rendering/openglparticles.cpp, rendering/openglrenderer.{cpp,h}: staging's versions are master's, and every master change to them is in this branch's history already - shaders/light_common.glsl, shaders/mat_sunlessnormalmap_specgloss.frag: see below Carried into this branch's code: - the hose exchange after each sub-step (#387/#388) also in update_steps_parallel(), per group of vehicles, as update() does it single-threaded - physics.pipewake (pipe_wakes(), wake_cause::scndpipe) in staging's GetScndDVc(), where the main reservoir hose exchange went - hardware::log_gl_context() (#389) in after_window() of the GL 4.6 backend, init_ogl() being gone Taken back out of the auto-merge (renderers this branch removed): - shaders/vk14/tonemapping.glsl: #481's switch to ACES, applied there by rename detection - environment/skydome.cpp, simulation/simulationenvironment.cpp: #415, the sky of the legacy renderer - application/application.cpp: #384's fallback of an unknown gfxrenderer, which this branch had dropped Not carried from staging (renderer files removed here): - master #481 (571487612): old assets drawn as in 26.05 (metal diffuse, sun highlight tint, ACES, SUN_DIFFUSE_SCALE 2.5, untinted Diffuse, mat_colored base) and gfx.headlights.beamwidth. Made for the GL 3.3 shaders; the PBR shaders of shaders/ogl46 and vk14 (and their SPIR-V binaries) are the author's call - #437: the unique temporary file of the shader validator (Sonar S5443); gl46's validator still writes /tmp/shader* Unit tests: 1133 of 1137 cases pass. Four staging tests fail (derailment: a repaired vehicle is back on the rails; three pullee cases): the vehicle stands, and with physics.sleepheld (on by default here) its physics sleeps with the Fb / FStand of before. With physics.sleepheld off they pass. Left to the author.
This commit is contained in:
@@ -37,8 +37,10 @@ With `--test` the simulator:
|
||||
test mode are applied again after it,
|
||||
- runs the simulation as fast as it can in fixed steps of 0.03 s of simulation time per
|
||||
frame (three 10 ms physics steps), whatever the real time, the time speed or the machine,
|
||||
- seeds its random numbers with a fixed seed unless `-seed` or `randomseed` gives one, so two
|
||||
runs of a scenery come out the same (the physicslogs of two runs are byte for byte equal),
|
||||
- seeds its random numbers with a fixed seed unless `-seed` or `randomseed` gives one, so,
|
||||
with the fixed step above, two runs of a scenery come out the same (the physicslogs of two
|
||||
runs are byte for byte equal; a seed without the fixed step isn't enough, see
|
||||
[A seed alone doesn't make a run repeatable](#a-seed-alone-doesnt-make-a-run-repeatable)),
|
||||
- quits when the test ends, and says how it ended in the exit code and in a `test: ...`
|
||||
line on stdout and in the log. A command line it can't take, a start that fails, or an
|
||||
exception thrown by the simulator (of any type, on Linux too) ends the same way, with the
|
||||
@@ -135,13 +137,46 @@ Python 3.10+, no extra packages. Options:
|
||||
`cmake-build-*/bin/Release/eu07*.exe`. The build needs the `--test` and `-ini` command
|
||||
line options.
|
||||
- name one or more cases to run only those, e.g. `run.py ... eu07_td_timetable`.
|
||||
- `-j N` runs N cases at once. Each case prints its results when it is done. All 19 cases
|
||||
take about 30 s with `-j 4`, loading included.
|
||||
- `-j N` runs N cases at once. Each case prints its results when it is done. The 42 cases
|
||||
that aren't `slow` take about 30 s with `-j 4` and 2 minutes one at a time, loading included.
|
||||
- `--watch` runs a case the old way, in a visible window in real time (or faster with
|
||||
`--timespeed N`), closed after the case's `duration`; the exit code isn't checked then. For
|
||||
watching what a case does.
|
||||
- `--slow` runs the cases marked `slow` too. Without it, and with no cases named, they are
|
||||
skipped (and listed): each is a whole mission on a big scenery and takes many minutes. A
|
||||
slow case named on the command line always runs. Run them one at a time (`-j 1`): each
|
||||
simulator loads a whole scenery. A case on a mission of the base scenery with physicslog on
|
||||
(`vehicle` given) removes every physicslog written in the game dir meanwhile, so with `-j N`
|
||||
it runs alone, after the others.
|
||||
- `--seed N` (a number or a word) runs the cases with another seed of the simulator's random
|
||||
numbers (`randomseed`) than the fixed one of the test mode, for a bug that shows up only
|
||||
sometimes: run the case with a few seeds. A seed repeats a run only in the test mode, see
|
||||
below.
|
||||
|
||||
Exit code is 0 when every case passed. Logs of each run (`log.txt`, `errors.txt`,
|
||||
### A seed alone doesn't make a run repeatable
|
||||
|
||||
The same seed gives the same run only when every frame lasts the same simulation time. Each
|
||||
frame the simulator splits the time since the last one into physics steps of at most 10 ms
|
||||
(`driver_mode::update()`); outside the test mode that time comes from the wall clock (times
|
||||
`timespeed`), so the number and the length of the steps follow the frame rate, and with them
|
||||
the speeds, the pressures and the moments the AI decides things. Two runs of one scenery with
|
||||
one seed then drift apart, the more so on a busy machine.
|
||||
|
||||
- The test mode (`--test`, what `run.py` runs by default) sets a fixed step itself: 0.03 s of
|
||||
simulation time per frame, three 10 ms steps, whatever the wall clock
|
||||
(`Timer::set_fixed_step()` in `driver_mode::enter()`). A case run twice with the same
|
||||
`--seed`, or with none, comes out the same. This is the way to repeat a run.
|
||||
- `--watch` doesn't use the test mode: it runs on the wall clock, so a watched run isn't
|
||||
repeatable, seed or not. Use it to look at a case, not to repeat one.
|
||||
- Outside the test mode (`--watch`, or the simulator started by hand with `-seed`) the setting
|
||||
`deltaoverride N` makes every frame last 1/N s of simulation time, whatever the wall clock
|
||||
and `timespeed` (`Timer::set_delta_override()`). It goes in `eu07.ini`, a `-ini` file or a
|
||||
case's `ini` list. In the test mode it takes the place of the 0.03 s step. Whether a watched
|
||||
run with it repeats byte for byte hasn't been checked.
|
||||
|
||||
Exit code is 0 when every case passed, or failed as its `xfail` mark says it does (`XFAIL` in
|
||||
the summary); a case marked `xfail` that passes (`XPASS`) fails the run, so that the mark gets
|
||||
removed. Logs of each run (`log.txt`, `errors.txt`,
|
||||
`stdout.txt`, the physicslogs of the vehicle and of other trains of the case, the black box as
|
||||
`autotest_<case>.blackbox`) are moved to `tests/scenarios/out/<case>/`.
|
||||
|
||||
@@ -171,7 +206,17 @@ The lead vehicle is named `autotest_<case>`, so every case has its own physicslo
|
||||
files and cases can run in parallel. The `autotest_*` sceneries (and the simulator's `.sbt`
|
||||
geometry cache of them) stay in the game's `scenery/` dir; the cache is dropped when the base
|
||||
scenery is newer, and after a run cut short (`wall_timeout`, `error`, a crash, or killed by run.py),
|
||||
which could have been writing it.
|
||||
which could have been writing it. A case with `file.binary.terrain no` in its `ini` has no cache
|
||||
written, and one left by an earlier run is removed.
|
||||
|
||||
A case with `vehicle` runs a train of the base scenery under its own name: its physicslog is
|
||||
`physicslog/<vehicle>.dat` (one of that name already in the game dir is replaced), and with the
|
||||
physicslogs on, every train of the scenery writes one, over any of the same name; those written
|
||||
during the run are deleted after it. Don't run such a case along with another one in the same game dir.
|
||||
|
||||
Apart from these the game dir loses its `log.txt` and `errors.txt`, those of the last game
|
||||
session: the simulator deletes them at every start, before it knows that the run's log goes
|
||||
to `logs/`.
|
||||
|
||||
## Writing a case
|
||||
|
||||
@@ -180,14 +225,21 @@ which could have been writing it.
|
||||
| key | meaning |
|
||||
| --- | --- |
|
||||
| `base_scenery` | scenery file in the game's `scenery/` dir |
|
||||
| `strip_trainsets` | drop the base scenery's trainsets (default `true`) |
|
||||
| `strip_trainsets` | drop the base scenery's trainsets (default `true`); `false` keeps them, for a case on one of the scenery's own missions (below) |
|
||||
| `vehicle` | the train under test is this vehicle of the base scenery (its node name), instead of the `autotest_<case>` one of the fragment: `test.vehicle`, the physicslog checked and `{{vehicle}}` are this one. With `strip_trainsets` `false` |
|
||||
| `replace` | literal replacements in the text of the base scenery, a list of `[old, new]`, e.g. to put another locomotive on a mission; an `old` the scenery doesn't have is an error |
|
||||
| `physicslog` | `false` turns the physicslogs (and the black box) off for the run: on a scenery with dozens of AI trains each of them would write 3-4 kB per second of simulation into the game dir. Such a case has the result of the test mode and the log checks only (default `true`) |
|
||||
| `slow` | `true` marks a case that takes many minutes: skipped unless named or run with `--slow` |
|
||||
| `xfail` | marks a case that fails because of a known, reported bug, with the reference and the reason as its text, e.g. `"eu07/maszyna#524: the AI never couples"`. Its failure is reported as `XFAIL` and doesn't fail the run; when it passes (`XPASS`) the run fails until the mark is removed |
|
||||
| `time` | replace the scenery start time, `HH:MM` |
|
||||
| `track_friction` | set the friction of every track of the base scenery (default in the sceneries is 0.15), e.g. for slippery rail |
|
||||
| `track_events` | lines added to tracks of the base scenery, by track name, e.g. `{ "tor1k": "event0 test_pass" }`; only tracks in the scenery file itself, not in its includes |
|
||||
| `test_config` | lines of a `config` block added to the scenery, e.g. `["test.timeout 90"]`; the block always has `test.vehicle` with the case's lead vehicle, so only its train counts for the pass and the standstill |
|
||||
| `ini` | extra `eu07.ini` lines for the run, after the common ones of the runner's `-ini` file, e.g. `["crashdamage yes"]` |
|
||||
| `fragment` | `.scn` file in `cases/` added to the scenery: trainsets after `FirstInit` (before it they derail on unlinked track), the rest before it (launchers read after it never fire) |
|
||||
| `fragment` | `.scn` file in `cases/` added to the scenery: trainsets after `FirstInit` (before it they derail on unlinked track), the rest before it (launchers read after it never fire). Optional when the case keeps the scenery's trainsets |
|
||||
| `vars` | values for `{{name}}` in the fragment; a list becomes one line per item |
|
||||
| `timetable` | a timetable file in `cases/` for a trainset of the fragment, for a train whose timetable no scenery of the game has: copied to the game's `scenery/` dir as `autotest_<case>.txt` for the run and removed after it; the fragment names it `{{timetable}}` |
|
||||
| `vehicle_variants` | vehicles of the case's own, made from those of the game, e.g. with a `.fiz` key the game's data doesn't have yet: a list of `{ "name": ..., "from": "<dir>/<type>", "replace": [[old, new], ...] }`. For the run the vehicle's `.fiz`, with the literal replacements (an `old` it doesn't have is an error), and its `.mmd` are copied beside it in the game's `dynamic/` dir as `autotest_<case>_<name>` and removed after it; the fragment names the type `{{variant_<name>}}`, e.g. `dynamic pkp/et42_v2 112e-014-a {{variant_a}} ...`. The copy of the `.mmd` has the name of the vehicle it is made from in place of `(p2)`, the type name the simulator hands it, which some pass on to the include that names the model. An optional `"fiz_from": "<dir>/<file>"` copies that file instead of the vehicle's own `.fiz`, named in full, e.g. `pkp/e6act_v2/e6acta.fiz.inc` for a vehicle whose `.fiz` only includes it (`e6actad.fiz`); the `.mmd` still comes from `from`. Keys for a section of the included file can't go after the include on a line of their own: a second `Power:` line loads the power source anew |
|
||||
| `expect` | the result the test mode should end with: `pass`, `fail`, `signal_passed_at_danger`, `timeout`, `standstill` or `error`, or `wall_timeout` for the timeout of the real time watchdog (the timeout code with a verdict saying it was the real time; a case expecting `timeout` fails on it). Default `timeout` for a case with `duration`, else `pass` |
|
||||
| `duration` | seconds of simulation to record: the test timeout of the run (`--test-timeout`) |
|
||||
| `timeout` | wall-clock seconds before giving up, loading included: the simulator's `--test-wall-timeout` (default 600) |
|
||||
@@ -209,6 +261,91 @@ starting at `vars.velocity` km/h; with `track_friction` 0.03 it locks the wheels
|
||||
and slides past the signal, so those cases set `test.fail_if_stop_overran no`.
|
||||
`td_red_signal_pass.scn` adds the `test_pass` event, which `test_mode_pass` puts as `event0`
|
||||
on `tor1k`, the track in front of the signal.
|
||||
`td_shunt_red_signal.scn` is the same with no timetable, so the AI shunts (Shunt) towards the signal at
|
||||
stop, starting `vars.offset` m into `tdo_n1734`: `eu07_td_shunt_red_signal` alone and
|
||||
`eu07_td_shunt_push_red_signal` pushing three coaches, both from 30 km/h, have to stop before the signal,
|
||||
151 m from the start (the shunting AI used to coast up to it and pass it at about 28 km/h, fixed
|
||||
by #409). They stop after 145 m and 141 m.
|
||||
|
||||
The `traxx_*` cases run a Traxx (E186, `p160dc`), whose driver's brake handle (MHZ_6P) has a time
|
||||
chamber, like the MHZ_K5P, M394, Knorr, St113, FVel6 and FVE408 handles, which no other case has: the
|
||||
AI getting such a locomotive ready has a rule of its own for releasing the train brake (5775493b2,
|
||||
#444). `traxx_td_timetable` is the timetable run from a trainset ready to depart,
|
||||
`traxx_td_timetable_cold` the same from a cold start (`td_cold_timetable.scn`, the handle in its
|
||||
holding position, the brake pipe low), and `traxx_td_crew_add` the locomotive standing ready to depart
|
||||
with nobody in it, the handle in its holding position and the brake pipe charged, until a driver is
|
||||
put in (`td_crew.scn`, as `eu07_td_crew_add`). In all three the driver puts the handle to running
|
||||
within a second of starting and leaves.
|
||||
|
||||
`eu07_td_departure_station_capitals` runs an EU07 from where `td_timetable.scn` puts it, with the W4 of Stacja1 about
|
||||
35 m ahead, on a timetable of its own (`td_departure_station_capitals.txt`, fragment `td_departure_station.scn`):
|
||||
its first row, the station of departure, gives no arrival time and is written in capitals (`STACJA1`), the relation
|
||||
says `Stacja1`, as in some timetables of the game (`Os33733` of linia_107_poludnie.scn starts at `ZAGORZ`). The
|
||||
train has to stop there and leave at its departure time, 10:35, which the log shows as `as TEST24: at 10:35 next
|
||||
Przystanek`; taking Stacja1 for a station it passes through, the driver logs `passed STACJA1` at once and leaves as
|
||||
soon as the route is set at 10:34, and the train manager gives no departure signal. `eu07_td_departure_station` is the
|
||||
same with the row written as in the relation. `eu07_td_timetable_past_w4` (fragment `td_timetable_past_w4.scn`) puts
|
||||
the td/rozklad train, an EU07 with three coaches, with its head 80 m past the W4 of Stacja1, on `tor1k`: the W4 stays
|
||||
under the consist, behind the head, and the driver still counts Stacja1 and leaves at 10:35, since the scan of the
|
||||
route begins at the last vehicle and keeps a W4 behind the head.
|
||||
|
||||
`eu07_coaches_td_timetable` is the timetable case with the EU07 and three coaches, a train that brakes with the train
|
||||
brake, beside the light EU07 and the SN61 alone, which brake with the independent brake. The `*_td_downgrade_w4_signal`
|
||||
cases (fragment `td_downgrade_w4_signal.scn`, timetable `td_downgrade.txt`) run on a line the fragment adds beside the
|
||||
tracks of td.scn, at x = -3000: 300 m level, then 3000 m down a gradient of 20 per mille, under an overhead wire fed
|
||||
by a substation of its own (`gr_pwr`; the wire on the section `pwr01` of td.scn gave the EU07 no voltage). The train
|
||||
starts on the level at the W4 of Gora, stops at the W4 of Dol 1500 m down the gradient, leaves at 10:38 and stops before
|
||||
`gr_sem`, a signal at stop 1100 m further down (a memory cell with `SetVelocity 0 0` and the event that reads it, no
|
||||
model), about 1590 m and 2690 m from the start. The three trains are the light EU07, the SN61 alone and the EU07 with
|
||||
three coaches.
|
||||
|
||||
`e6actad_genset_td_timetable` (fragment `td_timetable_genset.scn`) is the timetable run of a dual-mode vehicle on its
|
||||
genset (eu07/maszyna#536): an E6ACTad, the Dragon 2 "last mile" with a 520 kW diesel generator set. The game data has no
|
||||
genset for it yet, so the case makes its own E6ACTad (`vehicle_variants`, `{{variant_g6}}`): the `.mmd` of `e6actad`, and
|
||||
as its `.fiz` the `e6acta.fiz.inc` that `e6actad.fiz` includes (`fiz_from`), with `GensetStart=Manual` added to the
|
||||
`Cntrl.` line and `GensetPower=520 GensetVoltage=3000 GensetIdleRPM=700 GensetMaxRPM=1800 GensetStartTime=8
|
||||
GensetSpinUpTime=3 GensetPmaxRatio=0.85` to the `Power:` line. `event0` of the start track gives the standing vehicle, once,
|
||||
`PutValues` `MainSwitch 0`, `TractionMode 1` (the selector on the genset) and `GensetSwitch 1`, a second apart, as the
|
||||
vehicle holds one command at a time. The AI knows nothing of the genset: it closes the line breaker once the genset runs
|
||||
and drives the timetable on it, at most 520 kW x 0.85 = 442 kW at the wheels (`traction_power`).
|
||||
`e6actad_catenary_td_timetable` is the same variant without the events: it stays on the catenary and takes several
|
||||
times that, which shows the check tells the two apart.
|
||||
|
||||
### Heavy trains
|
||||
|
||||
The heavy train cases (#187, #199, #263, #265) run on lines of their own beside the tracks of td.scn, at x = -3000, as
|
||||
the `*_td_downgrade_w4_signal` cases of #479 do: 100 m tracks, an overhead wire fed by a substation of its own (none for
|
||||
the diesel case) and signals at stop that are a memory cell with `SetVelocity 0 0` and the event that reads it, with no
|
||||
model. Each train starts on a level stretch long enough for the whole consist, with its head 10 m before the W4 of Gora,
|
||||
which is where the distances in the checks start from. A freight train leaves a station of its timetable as soon as it
|
||||
stands there (`IsCargoTrain` in `TController`), so the freight trains leave Gora at once, not at 10:35. The checks that
|
||||
look for a train that comes to a stand use the vehicle speed (`keeps_moving`), as the wheels of a heavy train starting
|
||||
on poor rails spin while it stands; `starts_again` checks a start from a signal that clears at a given time, and how far
|
||||
the train rolls back meanwhile.
|
||||
|
||||
| case | fragment | train | what it shows |
|
||||
| --- | --- | --- | --- |
|
||||
| `et41_coal_td_downgrade_restriction` | `td_downgrade_restriction.scn`: 600 m level, 3500 m down 20 per mille, 20 km/h from 1500 to 1900 m down, the signal 3000 m down | ET41, 25 coal wagons 412W with 40 t each, G (about 1670 t) | passes: through the restriction at 10.5 km/h at the lowest, stops at the signal (3078 m) |
|
||||
| `et22_764_td_downgrade_restriction` | the same | ET22, 20 heavy wagons 764 with 84 t each (about 2650 t) | `xfail`: dips to 8.5 km/h in the 20 km/h restriction (below the 10 km/h #263 counts as a defect); it doesn't stop |
|
||||
| `st43_steel_td_downgrade12_long` | `td_downgrade12_long.scn`: 900 m level, 6500 m down 12 per mille, no wire, the signal 6000 m down | ST43, 45 coil wagons 425S, G | passes: holds 35-37.5 km/h of the 40 all the way down, never below 20 km/h, stops at the signal |
|
||||
| `et41_coal_td_upgrade_start` | `td_upgrade_signal_start.scn`: 600 m level, 2500 m up 10 per mille, a signal 1000 m up that clears at 10:42, another 2300 m up | the ET41 with 25 coal wagons | passes: stops at the first signal with the whole train on the gradient, moves off 4.7 s after it clears, 10 km/h after 52 s, rolls back 0.04 m |
|
||||
| `eu07a_coaches_td_upgrade_long` | `td_upgrade_long.scn`: 600 m level, 5500 m up 10 per mille, the signal 5300 m up | EU07A (303E), 8 coaches (about 360 t), passenger timetable at 80 km/h | passes: 80 km/h at 1430 m, never below 73.8 km/h on the climb |
|
||||
| `et41_coal_td_slippery_start` | `td_level_signal.scn`: 2100 m level, the signal 1000 m ahead | ET41, 25 coal wagons with 60 t each (about 2170 t), `friction 0.3` | passes with the fix of this branch: gets going and stops at the signal (1082 m, at 392 s); before it, 395 slips in 1500 s and 75 m |
|
||||
|
||||
What the AI still does with heavy trains, without a case that fails on it:
|
||||
|
||||
- On a steep descent into a restriction a heavy G train holds the speed by applying and releasing the train brake in
|
||||
turn. Its brake takes 10-15 s to release, so it falls well below the limit before the brake lets go: 10.5-12 km/h
|
||||
for the ET41 with coal wagons, 8.5 km/h for the ET22 with the 764 wagons (the `xfail` above), in a 20 km/h
|
||||
restriction. #263 reported this train stopping before the restriction in 10 of 12 runs; on staging it no longer
|
||||
does, also with `friction 0.5` and with the wagons fully loaded.
|
||||
- Starting uphill, a heavy train pulls against its train brake while the brake releases (#265): in
|
||||
`et41_coal_td_upgrade_start` about 13 s at about 200 kN with the head moving by the slack of the couplers alone. It
|
||||
starts at full power, without taking up the slack first.
|
||||
- The AI doesn't know the adhesion of the rails: it plans braking with `Global.FrictionWeatherFactor` alone, and the
|
||||
result of its running brake test (`adjust_desired_speed_for_braking_test`) is shown in the debug panel only. It sands
|
||||
ahead of a slip only at a high motor current, and, since the fix of `et41_coal_td_slippery_start`, through the rest of
|
||||
a start that has slipped (`control_wheelslip()`); not before a hard brake, nor before the first slip of a start.
|
||||
|
||||
The `test_mode_*` cases show the ends of the test mode: `test_mode_pass` (exit 0, the pass
|
||||
event), `test_mode_signal_passed_at_danger` (exit 11), `test_mode_timeout` (exit 12, from
|
||||
@@ -220,6 +357,13 @@ standstill of 100 s ends the test although the traffic runs on (counting every v
|
||||
into the test timeout).
|
||||
`test_mode_pass_while_moving` reports the pass from `event2` of `tor1k` (the direction the train runs), as the train runs onto
|
||||
it, with `test.no_movement_before_pass no`, so the test ends with the train still moving.
|
||||
`test_mode_standing_1m_past_signal` and `test_mode_standing_4m_past_signal` (fragment `td_past_red_signal.scn`) set
|
||||
the td/rozklad train at a stand with its head 1 m and 4 m past the exit signal at stop (the memory cell of the
|
||||
signal is 51 m into `tor1k`). The driver finds the signal behind the head at its first look ahead, 13.6 s in, and a
|
||||
standing train passes nothing, so both run into their timeout. When a signal found up to 5 m behind the head
|
||||
still counted as one the head had ahead, standing or not, both ended as signals passed at danger at 13.6 s (a
|
||||
train set 6 m or 20 m past didn't). Starting at 0 km/h the driver doesn't wake up within the case, so they start at
|
||||
0.1 km/h, as `td_red_signal.scn` does.
|
||||
|
||||
The `en57_2000_automatic_coupler_*` cases (issue #86) share `td_automatic_coupler_hit.scn`: an
|
||||
EN57-2000 unit without a driver runs at `vars.velocity` km/h into a standing one, from
|
||||
@@ -230,18 +374,274 @@ couple and neither shows up: the black box has to have the last car of the stand
|
||||
writes nothing to the log when couplers catch). Nothing reports a result, so both end on the 60 s
|
||||
test timeout.
|
||||
|
||||
`et21_td_no_wire_reports` (issue #421, fragment `td_no_wire.scn`) adds a 200 m track of its own,
|
||||
with no overhead wire, 400 m off the line of td.scn (every track of td.scn is under the wire), with
|
||||
an ET21 and its AI driver on it. The pantographs go up and find no wire, so the locomotive can't
|
||||
start: the driver has to say so in the log, once, naming the locomotive and where it stands, and
|
||||
not mistake it for a wire without voltage. It ends on the standstill.
|
||||
|
||||
The `eu07_td_off_track_*` cases run with `physics.derailment new`, where a derailed vehicle leaves the track and
|
||||
moves on the ground by itself (`vehicle/derailmotion.h`); they check what the black box records of it with
|
||||
`leaves_track`, and the log has a line of each vehicle off the track every second (`derailment: ... off the track`).
|
||||
`td_off_track.scn` keeps an EU07 with an AI driver standing on track 1 of Stacja1 to log its physics, and has the train
|
||||
of the case, without a driver, run at `vars.velocity` km/h from `vars.offset` m past point 1 of `vars.track`:
|
||||
`eu07_td_off_track_buckle_fast` (133 km/h, `tdo_n222` buckled 600 mm over 8 m from the start with the `buckle`
|
||||
keyword of the track) and `eu07_td_off_track_overturn` (190 km/h, over the overturning speed of the R 600 m curve)
|
||||
from `tdo_n157`, `eu07_td_off_track_end` off the end of a track of its own (`vars.track_nodes`).
|
||||
`eu07_td_off_track_buckle` is `td_buckle_event.scn` with an EU07 and three coaches on the timetable, at the 46 km/h
|
||||
of the AI. The `eu07_td_off_track_curve_*` cases have an EU07 overturn at 150 km/h on a track of R 300 m of their own,
|
||||
on level ground, on an embankment 4 m high and in a cutting, made of triangle strips in the fragment
|
||||
(`td_off_track_curve_*.scn`, written by `make_off_track_curves.py`: a curve of R 300 m from (-300, 400) about the
|
||||
centre (-600, 400), the cross section swept along it every 0.03 rad; the banks of the cutting rise 4 m at 1:1.5, then
|
||||
on at 1:5).
|
||||
|
||||
`eu07_td_cold_connect` (fragment `td_cold_connect.scn`) has an EU07 with a hand brake
|
||||
(`4E-ZEZ_GREY`; the plain `4e` has none) standing cold on track 1 of Stacja1 (trainset velocity 0,
|
||||
so it starts with the hand brake on) and two coaches standing 45 m ahead of it. Its driver sleeps
|
||||
until `event0` of its track gives it, once, `Shunt -1 3`: start the engine, couple to the consist
|
||||
ahead (Connect, the first order it drives under), go on shunting. It passes when the first coach,
|
||||
pushed, runs onto `tor1k` (`eventall2`), with the train still moving, and the black box has the
|
||||
locomotive coupled to the coaches (it couples about 70 s after the start). A driver that leaves its
|
||||
hand brake on under Connect pulls against it for good and the case ends as a standstill after 300 s.
|
||||
|
||||
The `eu07_td_buckle_*` cases (fragment `td_buckle_event.scn`) run the timetable train of
|
||||
`td_timetable.scn` and buckle the curve `tdo_n222`, about 950 m ahead of it, with a `trackbuckle`
|
||||
event of `vars.amplitude` at 10:35. Both have `physics.derailment new` in `ini`: the default,
|
||||
`monitor`, leaves the decision to the legacy draw and only logs what the criteria would do
|
||||
(`derailment monitor: ... overturned at 46 km/h on track tdo_n222`), so the train runs on to
|
||||
Przystanek whatever the buckle. With 600 mm over a main lobe of 8 m the locomotive overturns on
|
||||
the buckle at 46 km/h, 1036 m from the start (`Bad driving: ... derailed on buckled track`); with
|
||||
30 mm it keeps on the rails and stops at Przystanek after 1400 m.
|
||||
|
||||
`sm42_td_uncouple_past_signal` (fragment `td_uncouple_past_signal.scn`) is the uncoupling of the SM42 at Debica on
|
||||
L053 poranek (step 10 of `deb_sm42_stat`) on td.scn. An SM42 with no timetable stands turned at the far end of `tor1k`,
|
||||
three wagons loaded with gravel (51 m of train) behind it towards the exit signal `stacja1_j`, which stays at stop (no
|
||||
route). `tdo_n1734`, the track behind `tor1k`, is closed (`trackvel 0`) from the start. `event0` of `tor1k` gives the
|
||||
driver `Shunt -1 0`: it pulls the wagons back for 47 m and stops in front of the closed track, with the far end of the
|
||||
last wagon 2 m past the signal's memory cell (the `distance` check keeps it 0-4 m past). The pull leaves the screw
|
||||
coupler stretched, 0.019 m apart at the buffers, and a screw coupler is let go only with the buffers pressed together
|
||||
(under 0.01 m). At the first stand `event0` gives `Shunt 0 0`: brake the wagons, change direction, push the buffers in,
|
||||
uncouple. After the direction change the driver counts `stacja1_j` as passed at its first move, so its speed is capped
|
||||
at 0. The driver used to work the brake releaser only while it wanted to speed up, so the locomotive stayed braked by
|
||||
the wagons' brake application and never closed the gap: no `uncoupled` in the log, and the case ran into its timeout.
|
||||
Now the locomotive is released, eases into the wagons and uncouples within a second. The wagons are loaded so that the
|
||||
stop leaves the gap above 0.01 m: with a coach and an empty wagon the buffers came to rest 0.009 m apart and the
|
||||
coupler let go at once.
|
||||
|
||||
The `*_td_crew_*` cases (eu07/maszyna#510, fragment `td_crew.scn`) are about the crew command of a
|
||||
`putvalues` event, `Crew:<vehicle> <cab> <flags>`: cab 1 or -1 puts an AI driver in cab A or B of
|
||||
the vehicle named, 0 takes its AI driver off. The vehicle is named in the text, so the events are
|
||||
set off by event launchers, at an hour or with a delay; `vars.trainsets` are the vehicles and
|
||||
`vars.crew` the events of the case:
|
||||
|
||||
- `eu07_td_crew_add`: an EU07 standing cold with nobody in it gets a driver in cab A 20 s after
|
||||
the start. A driver put in a standing vehicle waits for orders, as the one of a standing
|
||||
trainset does, so `event0` of its track gives the order to go (`Shunt -1 0`), once: the driver
|
||||
starts the locomotive and leaves through the exit signal, whose aspect makes it a train run.
|
||||
`eu07_td_crew_add_rear` is the same with cab B: the locomotive leaves the other way, its rear
|
||||
end leading (`moves`, from the black box).
|
||||
- `eu07_td_crew_remove`: the EU07 of `eu07_td_timetable` loses its driver at 10:36, on the run at
|
||||
59 km/h. It is left with the power off and the brake valve in the emergency position: it
|
||||
stands 16 s and 168 m later and doesn't move in the 164 s to the end (`stops_driverless`; the
|
||||
physicslog ends when the driver goes). `en57_td_crew_remove` (driven from the head car, the
|
||||
motors in the middle one), `vectron_td_crew_remove` (induction motors and an integrated handle)
|
||||
and `sm42_td_crew_remove` (diesel) are the same with other vehicles.
|
||||
- `eu07_td_crew_swap`: the driver waiting at Stacja1 is taken off after 20 s, which leaves the
|
||||
locomotive braked, and a new one put in 20 s later, who gets the order to go, releases the
|
||||
brakes and leaves.
|
||||
- `golf_td_crew_swap`: a car running along the road `d3` at 50 km/h loses its driver, which
|
||||
leaves it with its own brake applied in full: it stands 3 s and 17 m later. A road vehicle has
|
||||
no cab to tell by and takes a driver all the same: the new one, put in 40 s later, drives on
|
||||
along the road, at up to 100 km/h, having no timetable to cap the speed as the first one had
|
||||
(the trainset's `50`).
|
||||
- `eu07_td_crew_refused`: the run of `eu07_td_timetable` with crew events which must be refused,
|
||||
at the start and again on the run: a second driver for the locomotive, a driver for a coach
|
||||
(no cab), a cab which is none of 1, -1, 0, a driver taken off a coach which has none, and a
|
||||
vehicle the scenery lacks. Each leaves its line in the log and the train runs its timetable to
|
||||
the stop at Przystanek as it does without them.
|
||||
- `en57_td_crew_parted`: an EN57-2000 unit with an AI driver and no timetable stands on track 1,
|
||||
another one with nobody in it runs into its rear at 100 km/h (`crashdamage yes`). The hit
|
||||
breaks the coupler between the middle and the rear car (`parts`, at 2 s), which leaves the rear
|
||||
car with the driver in charge of it. The driver taken off at 10:35 had all three cars in charge,
|
||||
the parted one too, and none of them keeps it (the log line `the driver was in charge of 3
|
||||
vehicles`; the cars still coupled to the head car are two).
|
||||
|
||||
A vehicle with a user in it is left alone by the command, which the test mode can't show: nobody
|
||||
sits in a vehicle there.
|
||||
|
||||
`eu07_td_hauls_dead_vectron` is the timetable run with a dead locomotive in the train: behind the EU07 a
|
||||
Vectron with nobody in it, coupled with the hook and the brake hose alone (the EU07's coupling `3`) and
|
||||
prepared for hauling, the parameter `H` after its own coupling (`0.H`: the pullee mode of
|
||||
MaSzyna-EU07/maszyna#64). The checks are those of the timetable cases; the train takes 300 s to
|
||||
Przystanek and on (20 km/h after 79 s, the stop after 220 s and 1405 m). Without the `H` the Vectron,
|
||||
which applies the emergency brake while none of its cabs is active, empties the brake pipe of the train
|
||||
in two seconds, both locomotives stand with their brake cylinders full and the train never moves.
|
||||
`eu07_td_hauls_dead_vectron_cold` (fragment `td_cold_timetable.scn`) is the same train from a cold start:
|
||||
trainset velocity 0, so both locomotives stand braked (brake pipe at 3.5 bar, batteries off, the spring
|
||||
brake of the Vectron switched on), and `event0` of the track gives the driver `Obey_train`, once. The EU07
|
||||
starts up, charges the brake pipe and leaves on time (the stop after 209 s and 1393 m); without the `H`
|
||||
the pipe stays below 1 bar and the case ends as a standstill after 300 s.
|
||||
|
||||
`eu07_td_reinspect_brakes_after_coupling` (fragment `td_reinspect_brakes.scn`, eu07/maszyna#350 and #282) is about the
|
||||
wagon inspector of the AI (`TController::AutoRewident()`) on a train formed by coupling. An EU07 stands cold on the line
|
||||
from Stacja1 (`koniec`) and a cut stands 45 m ahead of it, braked, with nobody in it: 16 coaches with P alone (BDhpumn)
|
||||
and next to the locomotive 8 empty wagons with G and P (401W), 541 m of wagons. `event0` of the locomotive's track gives
|
||||
the driver `Shunt -3 3`, once: couple to the cut with the coupler and the brake hose and run it on as a train
|
||||
(`Obey_train`), waiting for the way, which `event2` of `tdo_n231`, in front of the cut, gives as a `SetVelocity 40 40`
|
||||
(no signal of the line is in sight). Over 500 m of wagons make it a train on G (Cw-1 §19.1), where the brake of a wagon
|
||||
without G is cut out (§19.9). The inspector looks at the train as the AI couples, at 4 km/h (t=69 s), too fast for it to
|
||||
cut a brake out, and leaves that for the next standstill: `reinspect_brakes()` cuts the 16 coaches out as the train stands
|
||||
a moment later, its brakes applied by the empty pipe of the cut. Neither the physicslog nor the black box has the brakes
|
||||
of the wagons, so the case tells by how the train brakes: `event2` of `tdo_n240` takes the driver off at 38 km/h, which
|
||||
leaves the brake valve in the emergency position, and braked by the locomotive and the 8 wagons alone the train stops 29 s
|
||||
and 211 m later, a mean deceleration of 0.27 m/s² (`stops_driverless` with `max_deceleration` 0.40). With every brake
|
||||
working it stops at 0.57 m/s², 99 m: that is `eu07_td_reinspect_brakes_legacy_inspector`, the same run with the inspector
|
||||
of the earlier releases (`ai.brakesetting.cw1 no`), which cuts no brake out, and also what a build whose
|
||||
`reinspect_brakes()` does nothing gives for the first case, which then fails. The test passes 150 s after the driver goes.
|
||||
|
||||
The `*_section*` and `*_converter_interlock*` cases are about the line breaker closed ahead of the pantographs
|
||||
(`PantRequiresMain=Yes` in `Cntrl.`, MaSzyna-EU07/maszyna#272) and the line contactors that wait for the
|
||||
converter of their own vehicle (`LineContactorsInterlock=Converter`, #276), driven by the AI on the timetable
|
||||
run of td.scn. The overhead wire of td.scn is changed with `replace`: one span of it, 61 m some 400 m from
|
||||
the start (`0.7764 5.845 1561.2417` onwards, over the way out of Stacja1, which the train runs under power at
|
||||
50-55 km/h), gets no supply and 0 V (`traction none 0`), and in `ep05_td_section_insulator` the span before
|
||||
it is split around a section insulator 1 m long (`traction * 0`, as sceneries hang insulators). The EP05 has
|
||||
`PantRequiresMain=Yes` in the game's data; the ET42 has no `LineContactorsInterlock` yet (SVN data of #276),
|
||||
so those cases run variants of the vehicles made for the run (`vehicle_variants`).
|
||||
|
||||
- `ep05_td_timetable`: the EP05 on the plain timetable run, the reference: 20 km/h after 73 s, the stop
|
||||
after 205 s and 1400 m.
|
||||
- `ep05_td_dead_section`: the EP05 runs into the span without voltage under power, nothing on the track
|
||||
telling its driver to coast. The traction force drops to nothing at once and the AI puts the master
|
||||
controller to 0; the line breaker stays closed (the log
|
||||
says the vehicle lost power for 4.05 s, which it says only while the line breaker is closed). Behind the
|
||||
section the AI takes power again (535 m, 36 kN by 595 m) and stops at Przystanek (1399 m).
|
||||
- `ep05_td_neutral_section`: the same with the track under that span, `koniec`, marked as one to coast
|
||||
through (`overhead 0`, which `track_events` adds as it adds events): the AI puts the master controller to
|
||||
0 as the locomotive runs onto it, 25 m ahead of the dead wire, and takes power again behind it.
|
||||
- `eu07_td_dead_section`: the old behaviour for reference, an EU07 (pantographs first) into the same span:
|
||||
its line breaker opens after 0.2 s (`lost power for 0.21 sec`, no longer), and behind the section the AI
|
||||
closes it again and takes power (493 m).
|
||||
- `ep05_td_section_insulator`: the EP05 runs under the insulator under power at 50 km/h. The pantograph is
|
||||
without voltage for some 0.07 s, which the vehicle bridges by holding the last voltage for 0.2 s
|
||||
(`TDynamicObject::Update`): the traction force stays between 50 and 58 kN past it and nothing is logged.
|
||||
Without the hold the undervoltage relay of a `PantRequiresMain` vehicle would open the line contactors,
|
||||
which close again only with the master controller back at its first position. With the insulator 15 m long
|
||||
instead (a trial run) the vehicle does lose power there (logged, the force drops to 0), which shows the
|
||||
pantograph runs under the piece of wire.
|
||||
- `et42_td_converter_interlock_cold`: an ET42 with `LineContactorsInterlock=Converter` in both sections
|
||||
stands cold (`td_cold_timetable.scn`) and is ordered to run the timetable: the AI starts the converters,
|
||||
leaves (20 km/h after 74 s) and stops at Przystanek (1393 m). It and `et42_td_converter_interlock`, the
|
||||
same from the timetable start, check that the AI gets such a train going; a plain ET42 passes them too.
|
||||
- `et42_td_converter_interlock_slow_converter`: the check that the interlock takes effect. The same cold ET42
|
||||
with a converter that starts 60 s after it is switched on (`ConverterStartDelay=60`): the line contactors
|
||||
wait for it, and the train reaches 20 km/h at 80.0 s; `starts` with `after: 77` fails it earlier. With the
|
||||
same converter and no interlock it gets there at 73.8 s, as fast as without the slow converter (a copy of
|
||||
the case without the key, run once, not kept).
|
||||
- `ep05_td_interlock_dead_section_cold`: #272 and #276 together, an EP05 with `LineContactorsInterlock=Converter`
|
||||
added, standing cold, with the span without voltage on its way: the pantographs can go up only through the
|
||||
closed line breaker, so the AI has to close it first, then start the converter; it leaves (20 km/h after
|
||||
77 s). Under the dead wire the converter stops with the main circuit, behind it the converter starts again
|
||||
and the AI takes power (573 m, 4 s later than the EP05 without the interlock) and stops at Przystanek
|
||||
(1393 m).
|
||||
|
||||
What these can't reach: the local converter switch of the ET42 (`converterlocal_sw:`), which the AI has to put
|
||||
back on (`LineContactorsHeldByLocalConverterSwitch()`, the part of #276 in `determine_consist_state()` and
|
||||
the `converteron` hint), is in the cab only: no command of a scenery or of the train's cables sets
|
||||
`ConverterAllowLocal`, and nobody sits in a cab in the test mode, so the switch is always on in a case.
|
||||
|
||||
The `eu07_td_switch_*` cases (fragment `td_switch_thrown.scn`, the review of #289, point 2b) throw a switch of
|
||||
Stacja1 by an event under an EU07 with three coaches and check that the train keeps to the rails (`on_track`) and that
|
||||
the AI keeps to the route it is really on. Both switches of the station have their points towards the line and the
|
||||
way to track 2 straight (position 0), to track 1 curved (position 1); the ends of the two ways are 1.9 m apart, the
|
||||
tracks 4.6 m. `zwr01` at the west end is run through facing by a train running into the station, `zwr02` at the east
|
||||
end trailing by one leaving it. The throw is an event set off once, by the rear axle of the locomotive running onto a
|
||||
track (`event1`/`event2` of it, which only the vehicle with the driver sets off) or by a launcher 5 s after the start;
|
||||
a driver that stands cold gets its order (`vars.order`) from `event0` of its track, after the throw where the train
|
||||
stands over the switch. On track 1 a signal at stop of the case's own stands at z 1100: the train has to stop before
|
||||
it (`event0` of `tdo_n1725` passes the test, running onto `tdo_n1734` fails it); on track 2 the exit signal `stacja1_k`
|
||||
at stop. What they showed on `staging` of 2026-11-22 (f15ea405), where an axle on a switch keeps the way it ran onto
|
||||
(the segment it took when it got onto the switch) but leaves the switch by the way it is set to now, and the AI does
|
||||
not scan its route again for a switch that changed behind the head of the train:
|
||||
|
||||
| case | throw | result |
|
||||
| --- | --- | --- |
|
||||
| `eu07_td_switch_facing_control` | none, set to track 1 from the start | passes: stops before the signal of track 1 |
|
||||
| `eu07_td_switch_thrown_facing_head` | `zwr01` to track 1 with the locomotive on the switch | `xfail`: the locomotive jumps sideways at the end of the switch (0.78 m off the track in the black box), the whole train goes to track 1, and the AI, still on the route of track 2, runs past the signal of track 1 at 40 km/h |
|
||||
| `eu07_td_switch_thrown_facing_behind` | `zwr01` to track 1 with the locomotive just past it | `xfail`: the locomotive runs on along track 2 and the coaches coupled to it along track 1, side by side, for 900 m |
|
||||
| `eu07_td_switch_thrown_standing_facing` | `zwr01` to track 1 under the standing train, which then leaves facing | `xfail`: the second coach runs with a bogie on each track, its body 2.3 m off both; the AI, which scans from the last vehicle, reads the signals of track 1 while it runs on track 2 (a signal passed at danger, `stacja1_j`) |
|
||||
| `eu07_td_switch_thrown_standing_trailing` | `zwr02` to track 1 under the standing train, which then leaves trailing | passes: the first wheels coming from track 2 push the switch back (as through any switch set against them from the frog end) |
|
||||
| `eu07_td_switch_thrown_trailing` | `zwr02` to track 2 under the coaches of the timetable train leaving track 1 | passes: the switch is pushed back, the train stops at Przystanek after 1402 m |
|
||||
|
||||
Nothing derails in any of them with `physics.derailment monitor` (the default; the monitor reported nothing either),
|
||||
and the three `xfail` cases run with `physics.derailment new` came out the same to the metre: the criteria of
|
||||
derailment look at the curve, the cant and the speed of a vehicle, not at its bogies being on two tracks. Nor does the
|
||||
coupler between a locomotive and a coach 4.6 m beside it break.
|
||||
|
||||
### Cases on a mission of a scenery
|
||||
|
||||
The cases made from players' reports (eu07/maszyna#421, #506, #524, #525) run a whole mission
|
||||
of a scenery of the game, among its own traffic: `strip_trainsets` `false`, `vehicle` the
|
||||
mission's own locomotive or unit, every train driven by AI as always in the test mode. They are
|
||||
`slow`, have `physicslog` `false` unless a check needs the black box, and `file.binary.terrain no`
|
||||
in `ini`, so that no geometry cache of the copied scenery (hundreds of MB for these) is written
|
||||
into the game dir. What they add to the scenery:
|
||||
|
||||
- nothing, when standing too long is the bug: `test.standstill` is set above the longest wait
|
||||
the mission has, and the run ends with `duration` (`baltyk_skm1_*`),
|
||||
- `mission_state_probe.scn`: these sceneries steer each station with a state cell per train
|
||||
(text and two values, e.g. `deb_tme222158_stat` = `a 6 *`: the route of step 6 is set). The
|
||||
probe is a loop of two events that looks at the cell `vars.cell` every 5 s and reports the
|
||||
pass once it holds `vars.state` (a `memcompare`: `* 6 *`, `d * *`), with `vars.reason` as the
|
||||
text. No fail event: a train that never gets there ends the test with the standstill or the
|
||||
timeout. A periodic event launcher wouldn't do, the simulator polls those near the camera only,
|
||||
- events named `<track>:event0`, `:event1`, `:event2` or `:eventall1`...: the simulator binds an
|
||||
event with such a name to the track by itself, so a fragment can hang events on tracks that
|
||||
live in the scenery's includes, where `track_events` doesn't reach (`wrzosy_pxe336080_couple.scn`).
|
||||
The name must not be one the scenery has already: a second event of the same name replaces the first.
|
||||
|
||||
A train whose trainset has velocity 0 has a driver that sleeps in `Wait_for_orders` when nobody
|
||||
is in the cab: the player would drive it, so the fragment has to give the orders the player's
|
||||
hands stand for, with `PutValues` from an event the vehicle itself sets off (`event0` of the
|
||||
track it stands on). The first of them may be the one to couple (`Shunt -2 -3`): a driver whose
|
||||
first order is `Connect` releases the hand brake a cold locomotive starts with
|
||||
(`eu07_td_cold_connect`). The mission trains of velocity 0.1 wait for their signal and need nothing.
|
||||
|
||||
The cases and what they showed on master of 2026-11-11 (the two L053 poranek rows also on
|
||||
staging f15ea405 of 2026-11-23):
|
||||
|
||||
| case | report | result |
|
||||
| --- | --- | --- |
|
||||
| `wrzosy_pxe336080_couples` | #524 | passes: ordered to, the locomotive couples to the rake (`couples`, 262 s) and takes it out of the depot (696 s). The scenery itself gives no such order |
|
||||
| `baltyk_skm1_roj55324_shunting_signal` | #525 | passes, with four seeds: the unit on the siding is let into the platforms 4 minutes after the start, once the shunter beside it has done its first moves, and leaves at 10:42 |
|
||||
| `baltyk_skm1_roj55321_departure` | #525 | passes, with three seeds: the unit in the platform leaves at 10:34 |
|
||||
| `l053_poranek_tme222158_debica` | #421 | passes: TME222158 gets the exit signal to Sandomierz (step 6 of `deb_tme222158_stat`) after 4086.2 s. On master of 2026-11-11 the station jammed 4 minutes after the start, the AI of EP07-338'16 passed the shunting signal Tm4 at stop at 29 km/h; #409 fixed that. On staging f15ea405 (2026-11-23) the station's SM42-1096 jammed it next: ordered to uncouple at step 10 of `deb_sm42_stat`, with its cut standing across `debica_k_sem_info` at stop, it stayed braked and never got the coupler off (standstill after 4347 s), until the AI kept the locomotive released while it pushes the buffers in to uncouple (`sm42_td_uncouple_past_signal`) |
|
||||
| `l053_poranek_tme222158_debica_et21` | #421 | passes after 4131.6 s. On master of 2026-11-11, with an ET21 as in the report, the locomotive stopped for good at Debica Towarowa, on the headshunt 20 m past the end of the overhead wire, and its driver never got out of `Prepare_engine`. Since #409 the ET21 gets through Debica Towarowa (steps 1-5 of `dt_tme222158_stat`) to Debica; there it waited for the SM42 as `l053_poranek_tme222158_debica` did, until the same fix |
|
||||
| `l053_poludnie_roj32134_debica` | #506 | passes: both trains run and the unit ends at Debica after 6134 s; no train in its way |
|
||||
|
||||
In the L053 sceneries the test mode logs a signal passed at danger for several shunting
|
||||
locomotives within minutes, so these cases have `test.fail_if_stop_overran no`.
|
||||
|
||||
The simulation ran at 15 times real time on Baltyk and at 5-8 times on L053 (with another
|
||||
build going on on the machine) with the physicslogs off, and at 3-4 times on Wrzosy with them
|
||||
on (250 drivers, the road vehicles included: 740 MB of physicslogs in 900 s), after 30-150 s of
|
||||
loading.
|
||||
|
||||
Checks (speeds in km/h, times in seconds of physicslog time, distances in metres). Most use
|
||||
the physicslog Velocity column, which is the wheel speed: it stays at 0 while the wheels are
|
||||
locked in a skid. The ones marked *vehicle speed* use the vehicle speed column at the end of
|
||||
the row instead, logged by builds from this branch on.
|
||||
|
||||
- `starts` `min_speed`, `within`: reaches `min_speed` within `within` seconds.
|
||||
- `starts` `min_speed`, `within` (`after`): reaches `min_speed` within `within` seconds (and not before `after` seconds,
|
||||
when given).
|
||||
- `max_speed` `limit`, `tolerance`: never goes faster than `limit + tolerance`.
|
||||
- `brakes` `min_pressure`: after moving off, brake cylinder pressure reaches `min_pressure` bar
|
||||
(physicslog pressures are in bar whatever its header says; the brake pipe runs at 5.0).
|
||||
- `stops` `moving_speed`, `stop_speed`, `hold`, optional `min_distance`, `max_distance`: after
|
||||
reaching `moving_speed`, stays at or below `stop_speed` for `hold` seconds; with the distances,
|
||||
that stop has to be between them (metres travelled, as in `distance`).
|
||||
- `stops` `moving_speed`, `stop_speed`, `hold`, optional `min_distance`, `max_distance`, `max_time`,
|
||||
`nth`: after reaching `moving_speed`, stays at or below `stop_speed` for `hold` seconds; with the
|
||||
distances, that stop has to be between them (metres travelled, as in `distance`), with `max_time`
|
||||
it has to begin by then (seconds of the physicslog). `nth` (default 1) takes a later stop: each
|
||||
stop after the first counts once the train has reached `moving_speed` again.
|
||||
- `stays_stopped` `moving_speed`, `stop_speed`: after moving off and stopping, never goes
|
||||
above `stop_speed` again.
|
||||
- `distance` `min`, `max`: total distance travelled. The physicslog has no position, so the
|
||||
@@ -255,6 +655,16 @@ the row instead, logged by builds from this branch on.
|
||||
after moving off, moves no more than `max_distance` metres, e.g. no creeping on locked wheels.
|
||||
- `ends_moving` `min_speed`: the last row of the physicslog is at `min_speed` or faster, e.g.
|
||||
the test ended without waiting for the train to stop.
|
||||
- `traction_power` `max_kw`, optional `min_peak_kw` (*vehicle speed*): the power at the wheels, the
|
||||
traction force times the vehicle speed, never goes above `max_kw` and, given `min_peak_kw`, reaches
|
||||
it at least once; e.g. a dual-mode vehicle running on the power of its genset. The traction force
|
||||
column is in N, whatever the header says.
|
||||
- `keeps_moving` `moving_speed`, `min_speed`, `until_distance`, optional `from_distance` (*vehicle speed*): once at
|
||||
`moving_speed`, the speed stays at or above `min_speed` between the two distances (metres travelled, from the vehicle
|
||||
speed), e.g. a heavy train doesn't come to a stand on a descent before a restriction. Reports the lowest speed.
|
||||
- `starts_again` `after`, `min_speed`, `within`, optional `max_rollback` (*vehicle speed* for the rollback): standing
|
||||
at the time `after` (a signal that clears then), the train reaches `min_speed` within `within` seconds, and rolls back
|
||||
no more than `max_rollback` metres meanwhile.
|
||||
- `log_contains` `pattern`: a line of the run's `log.txt` matches the regex, e.g. the
|
||||
`Bad driving: ... collided` message of a collision.
|
||||
- `log_lacks` `pattern`: no line of the run's `log.txt` matches the regex.
|
||||
@@ -264,10 +674,64 @@ the row instead, logged by builds from this branch on.
|
||||
filled in as in the fragment, e.g. `{{vehicle}}_rb`. Fails when the two were coupled from the
|
||||
start, came apart again, or the run left no black box. The black box is looked at once a
|
||||
second, so the time given is that of the first look after the couplers caught.
|
||||
- `parts` `vehicle`, `other`, optional `before`: the black box has the two vehicles, coupled to
|
||||
each other, come apart (the coupler itself let go: broken, or uncoupled), by the time `before`
|
||||
of the recording when given.
|
||||
- `driver_changes` `vehicle`, `to`, optional `after`, `before`: the black box has the vehicle get
|
||||
the driver `to` (`none`, `ai` or `user`) at a time of the recording between the two, having had
|
||||
another one before, and keep it to the end.
|
||||
- `stops_driverless` `vehicle`, `min_speed`, `within`, optional `stop_speed` (0.5), `max_creep`
|
||||
(1 m), `hold` (60 s): the black box has the vehicle lose its driver at `min_speed` or faster,
|
||||
stand `within` seconds later and stay within `max_creep` of where it stopped for the rest of
|
||||
the recording, or until it gets a driver again, at least `hold` seconds. The physicslog can't
|
||||
tell: the driver writes it, so it ends when the driver goes. Optional `min_deceleration`,
|
||||
`max_deceleration` (m/s²): the mean deceleration of that stop, from the speed the driver left at
|
||||
and the way to the stop (v²/2s), has to be within them, e.g. a train some of whose brakes are
|
||||
cut out stops slower.
|
||||
- `moves` `vehicle`, `min_speed`, optional `direction` (`front`, or `rear`): the black box has the
|
||||
vehicle reach `min_speed` with that end leading (the physicslog speed has no direction).
|
||||
- `traction` `from_distance`, `to_distance`, and one or more of `reaches`, `at_most`, `at_least`: the
|
||||
traction force in kN (the physicslog has it in N, whatever its header says) while the vehicle runs between
|
||||
the two distances (metres travelled, as in `distance`): its highest there reaches `reaches`, e.g. the power
|
||||
taken again behind a section without voltage; it stays at or below `at_most`, e.g. none under a dead wire;
|
||||
it stays at or above `at_least`, e.g. no power lost under an insulator.
|
||||
- `master_controller` `from_distance`, `to_distance`, `at_most`: the master controller stays at or below the
|
||||
position between the two distances, e.g. at 0 where the scenery tells the driver to coast.
|
||||
- `leaves_track` `vehicle`, optional `cause` (`flange climbed`, `overturned`, `end of track`, `pulled off`,
|
||||
`collision`), `min_offset`, `max_offset`, `min_distance`, `max_distance`, `lying`: with
|
||||
`physics.derailment new` the black box has the vehicle leave the track and come to rest off it; at rest its
|
||||
distance from the axis of the track (either side) and the distance it went on the ground are within the
|
||||
bounds, and it lies on its side, or not, as `lying` says.
|
||||
- `consist_folds` `vehicles` (the names of the train front to back, comma separated), `min_bend`, optional
|
||||
`min_folds` (1), `alternate`, `both_sides`: with `physics.derailment new` the train came to rest folded up off
|
||||
the track: at least `min_folds` of the bends between neighbours at rest (the angle between their headings in the
|
||||
black box, either way along) are `min_bend` degrees or more; with `alternate` neighbouring bends of that size turn
|
||||
opposite ways (a zigzag), with `both_sides` some of the vehicles rest on either side of the track. A vehicle that
|
||||
stayed on the rails has no bend with its neighbours.
|
||||
- `no_overlap` `max_transient`, `max_at_rest` (a check on the log): with `physics.derailment new` the bodies of the
|
||||
vehicles off the track and of those near them don't go into each other. The simulator logs every second the most
|
||||
any two of them overlapped by (`derailment: the bodies overlap by up to ... m (which two, how they are related)
|
||||
over the last second, ... m now`), and once more when all vehicles off the track are at rest (`, all at rest`); the
|
||||
most on the way is at most `max_transient` m, the overlap at rest at most `max_at_rest` m.
|
||||
|
||||
- `on_track` `vehicles`, optional `max_offset` (0.75 m), `max_detour` (5 m): every vehicle whose name starts with
|
||||
`vehicles` (e.g. `{{vehicle}}`, the train of the case) keeps to the rails in the black box, in each of its states:
|
||||
its middle is within `max_offset` of the line of a track (level distance, the map of the tracks of the black box),
|
||||
and of two vehicles coupled to each other the way along the tracks from one to the other (through the ends of the
|
||||
tracks that meet) is no more than `max_detour` longer than the straight line between them. A vehicle with its
|
||||
bogies on two tracks that part, or thrown sideways, is off the line; a coach running on beside the locomotive it is
|
||||
coupled to, on the next track, has a way to it hundreds of metres long. A coach on a curve of 300 m, through the
|
||||
S of a switch, was up to 0.38 m off. The middle of a vehicle is the middle of the chord between its pivots, so on
|
||||
a curve of radius R a vehicle running right is a^2 / 8R off the track, a being the distance of the pivots: a 19.5 m
|
||||
coach 0.59 m at R 80, 0.79 m at R 60. The default suits curves down to about R 65 for such a coach; a case with
|
||||
tighter curves sets more. The black box lists a vehicle once a second, so a jump between two lists shows up only
|
||||
as it is at the next one.
|
||||
|
||||
New check types go in `CHECKS` in `run.py`; each gets the physicslog rows and the check's
|
||||
parameters and returns `(passed, detail)`. Checks on the log go in `LOG_CHECKS` and get the
|
||||
text of `log.txt` instead of the rows. Checks on the black box (`blackbox_doc.md` in the root of
|
||||
the repo; the simulator writes it along with the physicslogs) go in `BLACKBOX_CHECKS` and get
|
||||
what `read_blackbox()` read of it: the names of the vehicles and the coupling records. A check
|
||||
what `read_blackbox()` read of it: the names of the vehicles, the coupling records, and the
|
||||
states of each vehicle from the `vehicles` records (position, speed, driver; a vehicle is listed
|
||||
when it moved, changed speed or got another driver, and all of them every 60 s). A check
|
||||
on another kind of record has to add it there.
|
||||
|
||||
18
tests/scenarios/cases/baltyk_skm1_roj55321_departure.json
Normal file
18
tests/scenarios/cases/baltyk_skm1_roj55321_departure.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"description": "eu07/maszyna#525, Baltyk skm1, the mission that starts in the platform of Baltyk Glowny (EN71-014ra, ROJ55321, departure 10:34): the exit signal has to clear and the unit has to leave. Standing for 10 minutes ends the test as standstill.",
|
||||
"base_scenery": "baltyk_skm1.scn",
|
||||
"strip_trainsets": false,
|
||||
"vehicle": "EN71-014ra",
|
||||
"slow": true,
|
||||
"physicslog": false,
|
||||
"ini": [
|
||||
"file.binary.terrain no"
|
||||
],
|
||||
"test_config": [
|
||||
"test.standstill 600",
|
||||
"test.fail_if_stop_overran no"
|
||||
],
|
||||
"duration": 900,
|
||||
"expect": "timeout",
|
||||
"timeout": 900
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"description": "eu07/maszyna#525, Baltyk skm1, the mission that starts on the siding of Baltyk Towarowy next to the shunter (EN90-009A, ROJ55324): the station lets the unit into the platforms once its shunter 6Dg-1244, on the track beside it, has done its first moves (4 minutes after the start), and out to Alakowice at 10:42. A shunter that gets stuck leaves the unit at the shunting signal for good: standing for 15 minutes ends the test as standstill.",
|
||||
"base_scenery": "baltyk_skm1.scn",
|
||||
"strip_trainsets": false,
|
||||
"vehicle": "EN90-009A",
|
||||
"slow": true,
|
||||
"physicslog": false,
|
||||
"ini": [
|
||||
"file.binary.terrain no"
|
||||
],
|
||||
"test_config": [
|
||||
"test.standstill 900",
|
||||
"test.fail_if_stop_overran no"
|
||||
],
|
||||
"duration": 1800,
|
||||
"expect": "timeout",
|
||||
"timeout": 900
|
||||
}
|
||||
25
tests/scenarios/cases/e6actad_catenary_td_timetable.json
Normal file
25
tests/scenarios/cases/e6actad_catenary_td_timetable.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"description": "GE#536 stage 1, the twin of e6actad_genset_td_timetable without the switching events: the same E6ACTad variant stays on its catenary position and runs the td/rozklad timetable as the plain E6ACT does, on far more than the genset's 442 kW at the wheels, which shows the traction_power check tells the two apart. The same variant g6 as the genset case.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_timetable.scn",
|
||||
"vehicle_variants": [
|
||||
{ "name": "g6", "from": "pkp/e6act_v2/e6actad", "fiz_from": "pkp/e6act_v2/e6acta.fiz.inc", "replace": [
|
||||
["InactiveCabFlag=15", "InactiveCabFlag=15 GensetStart=Manual"],
|
||||
["PhysicalLayout=3", "PhysicalLayout=3 GensetPower=520 GensetVoltage=3000 GensetIdleRPM=700 GensetMaxRPM=1800 GensetStartTime=8 GensetSpinUpTime=3 GensetPmaxRatio=0.85"]
|
||||
] }
|
||||
],
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp\\e6act_v2 e6actad-017 {{variant_g6}} 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"ini": ["gfxrenderer null"],
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "log_lacks", "pattern": "Genset of" },
|
||||
{ "type": "starts", "min_speed": 20, "within": 150 },
|
||||
{ "type": "max_speed", "limit": 90, "tolerance": 3 },
|
||||
{ "type": "traction_power", "max_kw": 6000, "min_peak_kw": 1000 },
|
||||
{ "type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420 }
|
||||
]
|
||||
}
|
||||
28
tests/scenarios/cases/e6actad_genset_td_timetable.json
Normal file
28
tests/scenarios/cases/e6actad_genset_td_timetable.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"description": "GE#536 stage 1: an E6ACTad (Dragon 2 last mile) on the td/rozklad timetable of td.scn, switched to its genset by the scenery before it leaves: PutValues MainSwitch 0, TractionMode 1, GensetSwitch 1 from event0 of its track, 1 s apart. The AI, which knows nothing of the genset, closes the line breaker once the genset runs and drives to Przystanek on at most 442 kW at the wheels (520 kW x 0.85). Makes its own E6ACTad for the run (vehicle_variants g6: e6acta.fiz.inc with the genset keys, the .mmd of e6actad).",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_timetable_genset.scn",
|
||||
"vehicle_variants": [
|
||||
{ "name": "g6", "from": "pkp/e6act_v2/e6actad", "fiz_from": "pkp/e6act_v2/e6acta.fiz.inc", "replace": [
|
||||
["InactiveCabFlag=15", "InactiveCabFlag=15 GensetStart=Manual"],
|
||||
["PhysicalLayout=3", "PhysicalLayout=3 GensetPower=520 GensetVoltage=3000 GensetIdleRPM=700 GensetMaxRPM=1800 GensetStartTime=8 GensetSpinUpTime=3 GensetPmaxRatio=0.85"]
|
||||
] }
|
||||
],
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp\\e6act_v2 e6actad-017 {{variant_g6}} 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"ini": ["gfxrenderer null"],
|
||||
"track_events": {
|
||||
"tdo_n1734": "event0 autotest_genset"
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "log_contains", "pattern": "Genset of autotest_e6actad_genset_td_timetable: running" },
|
||||
{ "type": "starts", "min_speed": 20, "within": 180 },
|
||||
{ "type": "max_speed", "limit": 90, "tolerance": 3 },
|
||||
{ "type": "traction_power", "max_kw": 451, "min_peak_kw": 380 },
|
||||
{ "type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420 }
|
||||
]
|
||||
}
|
||||
17
tests/scenarios/cases/en57_2000_crush_new.json
Normal file
17
tests/scenarios/cases/en57_2000_crush_new.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"description": "G14 stage 2: an EN57-2000 unit without a driver runs at 20 km/h into a standing one on td.scn, with physics.collisions new. Too fast for the automatic couplers to catch: past the buffers the cab ends crush, a few decimetres, too little for either unit to climb onto the other, so both stay on the rails; the run ends on the 60 s test timeout.",
|
||||
"base_scenery": "td.scn",
|
||||
"ini": ["crashdamage yes", "physics.collisions new"],
|
||||
"fragment": "td_automatic_coupler_hit.scn",
|
||||
"vars": {
|
||||
"velocity": "20",
|
||||
"offset": "0"
|
||||
},
|
||||
"expect": "timeout",
|
||||
"duration": 60,
|
||||
"timeout": 300,
|
||||
"checks": [
|
||||
{ "type": "log_contains", "pattern": "Bad driving: autotest_\\S+ and autotest_\\S+ collided at \\d+ km/h, the \\w+ end of autotest_\\S+ crushed" },
|
||||
{ "type": "log_lacks", "pattern": "Bad driving: autotest_\\S+ derailed" }
|
||||
]
|
||||
}
|
||||
34
tests/scenarios/cases/en57_td_crew_parted.json
Normal file
34
tests/scenarios/cases/en57_td_crew_parted.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"description": "Crew event on a train parted by a broken coupler (eu07/maszyna#510, review of #422): an EN57-2000 unit with an AI driver and no timetable stands on track 1 of Stacja1 on td.scn, and another one with nobody in it runs into its rear at 100 km/h. The hit breaks the coupler between the middle and the rear car of the standing unit (TMoverParameters::damage_coupler()), which parts the unit and leaves the rear car with the driver in charge of it, as uncoupling doesn't. At 10:35 a putvalues event, Crew:<vehicle> 0 0, takes the driver off: all three vehicles of the unit had it in charge, the parted ones too, and none of them keeps it.",
|
||||
"base_scenery": "td.scn",
|
||||
"ini": ["crashdamage yes"],
|
||||
"time": "10:34",
|
||||
"fragment": "td_crew.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset none tdo_n1734 0.0 0.0",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\en57-2000_v1 en57-2040_ra 6ba 0 headdriver 255 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_s dynamic pkp\\en57-2000_v1 en57-2040_s 6bs 0 nobody 255 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_rb dynamic pkp\\en57-2000_v1 en57-2040_rb 6bb 0 nobody 0 0 enddynamic",
|
||||
"endtrainset",
|
||||
"trainset none tdo_n1725 0.0 100",
|
||||
"node -1 0 {{vehicle}}_hit_ra dynamic pkp\\en57-2000_v1 en57-2040_ra 6ba 0 nobody 255 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_hit_s dynamic pkp\\en57-2000_v1 en57-2040_s 6bs 0 nobody 255 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_hit_rb dynamic pkp\\en57-2000_v1 en57-2040_rb 6bb 0 nobody 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"crew": [
|
||||
"event autotest_crew_off putvalues 0 none 0 0 0 Crew:{{vehicle}} 0 0 endevent",
|
||||
"node -1 0 autotest_crew_off_launcher eventlauncher 0 0 0 -1 none 1035 autotest_crew_off end"
|
||||
]
|
||||
},
|
||||
"duration": 120,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "log_contains", "pattern": "Bad driving: autotest_\\S+ broke a coupler" },
|
||||
{ "type": "parts", "vehicle": "{{vehicle}}_s", "other": "{{vehicle}}_rb", "before": 30 },
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_en57_td_crew_parted\\] the AI driver leaves" },
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_en57_td_crew_parted\\] the driver was in charge of 3 vehicles" },
|
||||
{ "type": "driver_changes", "vehicle": "{{vehicle}}", "to": "none", "after": 50, "before": 70 }
|
||||
]
|
||||
}
|
||||
29
tests/scenarios/cases/en57_td_crew_remove.json
Normal file
29
tests/scenarios/cases/en57_td_crew_remove.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"description": "Crew event, the driver disappears (eu07/maszyna#510): as eu07_td_crew_remove, with an EN57 unit of three cars, driven from its head car while the motors are in the middle one, which loses its AI driver on the run at 10:36, stops and stays where it stopped.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_crew.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset td/rozklad tdo_n1734 0.0 0.1",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\en57_v2 EN57-1000ra EN57RA_GSO_WKM1_KM_NS_N 0 headdriver 255 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_s dynamic pkp\\en57_v2 EN57-1000s EN57S_WKM1_KM_NS_S 0 nobody 255 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_rb dynamic pkp\\en57_v2 EN57-1000rb EN57RB_GSO_WKM1_KM_NS 0 nobody 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"crew": [
|
||||
"event autotest_crew_off putvalues 0 none 0 0 0 Crew:{{vehicle}} 0 0 endevent",
|
||||
"node -1 0 autotest_crew_off_launcher eventlauncher 0 0 0 -1 none 1036 autotest_crew_off end"
|
||||
]
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "starts", "min_speed": 20, "within": 150 },
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_en57_td_crew_remove\\] the AI driver leaves" },
|
||||
{ "type": "driver_changes", "vehicle": "{{vehicle}}", "to": "none", "after": 115, "before": 130 },
|
||||
{ "type": "stops_driverless", "vehicle": "{{vehicle}}", "min_speed": 20, "within": 60, "hold": 100 },
|
||||
{ "type": "log_lacks", "pattern": "derailed" },
|
||||
{ "type": "log_lacks", "pattern": "collided" }
|
||||
]
|
||||
}
|
||||
22
tests/scenarios/cases/ep05_td_dead_section.json
Normal file
22
tests/scenarios/cases/ep05_td_dead_section.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"description": "#272: an EP05 (PantRequiresMain=Yes: its line breaker closes ahead of the pantographs and holds without voltage) runs the td/rozklad timetable of td.scn with one span of the overhead wire on its way, 61 m some 400 m from the start, left without voltage, and nothing on the track to tell the driver to coast. The AI runs into it under power: the line breaker stays closed (the log keeps saying the vehicle lost power, which it says only while the line breaker is closed), the traction force drops to nothing and the AI puts the master controller to 0; behind the section the AI takes power again and stops at Przystanek.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_timetable.scn",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp/ep05_v2 ep05-23 ep05 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"replace": [
|
||||
["node -1 0 none traction pwr01 3500 4500 0.01 cu 3.0 1\r\n0.7764 5.845 1561.2417", "node -1 0 none traction none 0 4500 0.01 cu 3.0 1\r\n0.7764 5.845 1561.2417"]
|
||||
],
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{"type": "starts", "min_speed": 20, "within": 150},
|
||||
{"type": "max_speed", "limit": 90, "tolerance": 3},
|
||||
{"type": "traction", "from_distance": 420, "to_distance": 455, "at_most": 1},
|
||||
{"type": "traction", "from_distance": 460, "to_distance": 620, "reaches": 25},
|
||||
{"type": "log_contains", "pattern": "lost power for [3-9]\\.\\d\\d sec"},
|
||||
{"type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"description": "#272 with #276: an EP05 whose line breaker closes ahead of the pantographs (PantRequiresMain=Yes) and whose line contactors close only with its own converter running (LineContactorsInterlock=Converter, a variant of the .fiz made for the run) stands cold on track 1 of Stacja1 and gets the order to run the td/rozklad timetable, with the span without voltage of ep05_td_dead_section on its way. The pantographs go up only through the closed line breaker, so the AI has to close it first, then start the converter, and leave; under the dead wire the main circuit, and with it the converter, has no voltage; behind it the AI takes power again and stops at Przystanek.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_cold_timetable.scn",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp/ep05_v2 ep05-23 {{variant_ep05}} 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"vehicle_variants": [
|
||||
{"name": "ep05", "from": "pkp/ep05_v2/ep05", "replace": [["Camshaft=Yes PantRequiresMain=Yes", "Camshaft=Yes PantRequiresMain=Yes LineContactorsInterlock=Converter"]]}
|
||||
],
|
||||
"replace": [
|
||||
["node -1 0 none traction pwr01 3500 4500 0.01 cu 3.0 1\r\n0.7764 5.845 1561.2417", "node -1 0 none traction none 0 4500 0.01 cu 3.0 1\r\n0.7764 5.845 1561.2417"]
|
||||
],
|
||||
"track_events": {
|
||||
"tdo_n1734": "event0 autotest_wake"
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{"type": "starts", "min_speed": 20, "within": 150},
|
||||
{"type": "max_speed", "limit": 90, "tolerance": 3},
|
||||
{"type": "traction", "from_distance": 420, "to_distance": 455, "at_most": 1},
|
||||
{"type": "traction", "from_distance": 460, "to_distance": 620, "reaches": 25},
|
||||
{"type": "log_contains", "pattern": "lost power for [3-9]\\.\\d\\d sec"},
|
||||
{"type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420}
|
||||
]
|
||||
}
|
||||
26
tests/scenarios/cases/ep05_td_neutral_section.json
Normal file
26
tests/scenarios/cases/ep05_td_neutral_section.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"description": "#272: as ep05_td_dead_section, with the track under the span without voltage (koniec, 371-466 m) marked as a section to coast through (overhead 0), as a scenery marks a neutral section: the AI puts the master controller to zero when the locomotive runs onto that track, coasts under the dead wire with the line breaker closed, and takes power again behind it.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_timetable.scn",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp/ep05_v2 ep05-23 ep05 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"replace": [
|
||||
["node -1 0 none traction pwr01 3500 4500 0.01 cu 3.0 1\r\n0.7764 5.845 1561.2417", "node -1 0 none traction none 0 4500 0.01 cu 3.0 1\r\n0.7764 5.845 1561.2417"]
|
||||
],
|
||||
"track_events": {
|
||||
"koniec": "overhead 0"
|
||||
},
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{"type": "starts", "min_speed": 20, "within": 150},
|
||||
{"type": "max_speed", "limit": 90, "tolerance": 3},
|
||||
{"type": "master_controller", "from_distance": 395, "to_distance": 455, "at_most": 0},
|
||||
{"type": "traction", "from_distance": 415, "to_distance": 455, "at_most": 1},
|
||||
{"type": "traction", "from_distance": 470, "to_distance": 640, "reaches": 25},
|
||||
{"type": "log_contains", "pattern": "lost power for [3-9]\\.\\d\\d sec"},
|
||||
{"type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420}
|
||||
]
|
||||
}
|
||||
21
tests/scenarios/cases/ep05_td_section_insulator.json
Normal file
21
tests/scenarios/cases/ep05_td_section_insulator.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"description": "#272: the EP05 of ep05_td_timetable runs under power under a section insulator: a piece of the overhead wire 1 m long with no supply (\"*\", 0 V), some 375 m from the start. The pantograph is without voltage for a few hundredths of a second, which the vehicle bridges by holding the last voltage for 0.2 s (TDynamicObject::Update). Without the hold the undervoltage relay would open the line contactors, which on a PantRequiresMain vehicle close again only with the master controller back at its first position: the traction force stays up all the way past the insulator.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_timetable.scn",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp/ep05_v2 ep05-23 ep05 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"replace": [
|
||||
["node -1 0 none traction pwr01 3500 4500 0.01 cu 3.0 1\r\n0.687223 5.8 1500.25\r\n0.7764 5.845 1561.2417\r\n0.687223 7.5 1500.25\r\n0.7764 7.545 1561.2417\r\n0.4 4.0 3 0.04 vis\r\nendtraction", "node -1 0 none traction pwr01 3500 4500 0.01 cu 3.0 1\r\n0.687223 5.8 1500.25\r\n0.7457 5.8295 1540.2499\r\n0.687223 7.5 1500.25\r\n0.7457 7.5295 1540.2499\r\n0.4 4.0 3 0.04 vis\r\nendtraction\r\nnode -1 0 none traction * 0 4500 0.01 cu 3.0 1\r\n0.7457 5.8295 1540.2499\r\n0.7472 5.8302 1541.2499\r\n0.7457 7.5295 1540.2499\r\n0.7472 7.5302 1541.2499\r\n0.4 4.0 3 0.04 vis\r\nendtraction\r\nnode -1 0 none traction pwr01 3500 4500 0.01 cu 3.0 1\r\n0.7472 5.8302 1541.2499\r\n0.7764 5.845 1561.2417\r\n0.7472 7.5302 1541.2499\r\n0.7764 7.545 1561.2417\r\n0.4 4.0 3 0.04 vis\r\nendtraction"]
|
||||
],
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{"type": "starts", "min_speed": 20, "within": 150},
|
||||
{"type": "max_speed", "limit": 90, "tolerance": 3},
|
||||
{"type": "traction", "from_distance": 345, "to_distance": 395, "at_least": 30},
|
||||
{"type": "log_lacks", "pattern": "lost power"},
|
||||
{"type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420}
|
||||
]
|
||||
}
|
||||
17
tests/scenarios/cases/ep05_td_timetable.json
Normal file
17
tests/scenarios/cases/ep05_td_timetable.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"description": "EP05 (PantRequiresMain=Yes) on td.scn, AI driver on the td/rozklad timetable: starts from Stacja1, keeps to the speed limit, brakes to a stop at Przystanek. The reference run of the ep05_td_*_section cases, with the overhead wire live all the way.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_timetable.scn",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp/ep05_v2 ep05-23 ep05 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{"type": "starts", "min_speed": 20, "within": 150},
|
||||
{"type": "max_speed", "limit": 90, "tolerance": 3},
|
||||
{"type": "brakes", "min_pressure": 0.5},
|
||||
{"type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420}
|
||||
]
|
||||
}
|
||||
27
tests/scenarios/cases/et21_td_no_wire_reports.json
Normal file
27
tests/scenarios/cases/et21_td_no_wire_reports.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"description": "ET21 with an AI driver on a track of td.scn's own with no overhead wire: it raises the pantographs, finds no wire and can't start; the driver tells of it in the log, once, and keeps waiting for the voltage (eu07/maszyna#421). The test ends on the standstill.",
|
||||
"base_scenery": "td.scn",
|
||||
"fragment": "td_no_wire.scn",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp\\et21_v2 ET21-367 3e2 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"test_config": [
|
||||
"test.standstill 300"
|
||||
],
|
||||
"expect": "standstill",
|
||||
"timeout": 900,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "AI \\[autotest_et21_td_no_wire_reports\\]: can't start, no overhead wire above its raised pantographs \\(at -?[\\d.]+, -?[\\d.]+, -?[\\d.]+\\)"
|
||||
},
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "no voltage in the overhead wire at its raised pantographs"
|
||||
},
|
||||
{
|
||||
"type": "distance",
|
||||
"max": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
62
tests/scenarios/cases/et22_764_td_downgrade_restriction.json
Normal file
62
tests/scenarios/cases/et22_764_td_downgrade_restriction.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"description": "An ET22 with 20 loaded heavy wagons 764 (Uaai, 84 t of machinery each, KE, G; about 2650 t) on the line of et41_coal_td_downgrade_restriction: down 20 per mille into a 20 km/h restriction 400 m long, then to the signal at stop. The train is to keep above 10 km/h through the restriction (#187: it almost stops).",
|
||||
"xfail": "#187, #263: down 20 per mille the AI holds the 20 km/h restriction by applying and releasing the train brake in turn (handle 0, then 1.25-2.75, then 0 again); the release of this G train takes 10-15 s, so each one comes late and the train dips to 8.5 km/h, below the 10 km/h #263 counts as a defect. It doesn't stop. Known limitation of the AI, not fixed here",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_downgrade_restriction.scn",
|
||||
"timetable": "td_freight_downgrade.txt",
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\et22_v3 201E-1150 201E 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w01 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w02 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w03 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w04 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w05 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w06 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w07 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w08 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w09 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w10 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w11 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w12 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w13 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w14 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w15 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w16 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w17 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w18 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w19 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w20 dynamic db\\uaaikks_v1 993_6_221-5 764 0 nobody 3 84 hmachinnery1 enddynamic"
|
||||
]
|
||||
},
|
||||
"expect": "standstill",
|
||||
"duration": 1200,
|
||||
"timeout": 1500,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 300
|
||||
},
|
||||
{
|
||||
"type": "max_speed",
|
||||
"limit": 60,
|
||||
"tolerance": 5
|
||||
},
|
||||
{
|
||||
"type": "keeps_moving",
|
||||
"moving_speed": 20,
|
||||
"min_speed": 10,
|
||||
"until_distance": 2450
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 15,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 20,
|
||||
"min_distance": 2950,
|
||||
"max_distance": 3110
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"description": "An ET41 with 25 loaded coal wagons (412W, 60 t each, cast-iron blocks, G; about 1670 t) on a line of its own beside td.scn: from the level down a gradient of 20 per mille at the 60 km/h of its timetable, into a 20 km/h restriction 400 m long 1500 m down the gradient, then to the signal at stop 3000 m down. The train is to pass through the restriction without coming to a stand, and stop at the signal (#263, #187).",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_downgrade_restriction.scn",
|
||||
"timetable": "td_freight_downgrade.txt",
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\et41_v2 41-045-a 203e-a 0 headdriver 55 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_b dynamic pkp\\et41_v2 41-045-b 203e-b 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w01 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w02 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w03 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w04 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w05 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w06 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w07 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w08 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w09 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w10 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w11 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w12 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w13 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w14 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w15 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w16 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w17 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w18 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w19 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w20 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w21 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w22 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w23 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w24 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w25 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic"
|
||||
]
|
||||
},
|
||||
"expect": "standstill",
|
||||
"duration": 1200,
|
||||
"timeout": 1500,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 300
|
||||
},
|
||||
{
|
||||
"type": "max_speed",
|
||||
"limit": 60,
|
||||
"tolerance": 5
|
||||
},
|
||||
{
|
||||
"type": "keeps_moving",
|
||||
"moving_speed": 20,
|
||||
"min_speed": 10,
|
||||
"until_distance": 2400
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 15,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 20,
|
||||
"min_distance": 2950,
|
||||
"max_distance": 3110
|
||||
}
|
||||
]
|
||||
}
|
||||
66
tests/scenarios/cases/et41_coal_td_slippery_start.json
Normal file
66
tests/scenarios/cases/et41_coal_td_slippery_start.json
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"description": "An ET41 with 25 fully loaded coal wagons (412W, 80 t each, G; about 2170 t) starts on level track with the rail friction at 0.3 of its normal (eu07.ini friction 0.3, as on wet leaves), and runs to the signal at stop 1000 m ahead. The train is to get going, keep moving and stop at the signal (#187: heavy trains slip, grip and snatch over and over and often don't get going).",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_level_signal.scn",
|
||||
"timetable": "td_freight_downgrade.txt",
|
||||
"ini": [
|
||||
"friction 0.3"
|
||||
],
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\et41_v2 41-045-a 203e-a 0 headdriver 55 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_b dynamic pkp\\et41_v2 41-045-b 203e-b 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w01 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w02 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w03 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w04 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w05 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w06 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w07 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w08 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w09 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w10 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w11 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w12 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w13 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w14 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w15 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w16 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w17 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w18 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w19 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w20 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w21 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w22 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w23 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w24 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w25 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 60 coal enddynamic"
|
||||
]
|
||||
},
|
||||
"expect": "standstill",
|
||||
"duration": 1500,
|
||||
"timeout": 1800,
|
||||
"checks": [
|
||||
{
|
||||
"type": "moves",
|
||||
"vehicle": "{{vehicle}}",
|
||||
"min_speed": 10
|
||||
},
|
||||
{
|
||||
"type": "keeps_moving",
|
||||
"moving_speed": 5,
|
||||
"min_speed": 3,
|
||||
"from_distance": 100,
|
||||
"until_distance": 900
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 10,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 20,
|
||||
"min_distance": 1040,
|
||||
"max_distance": 1150
|
||||
}
|
||||
]
|
||||
}
|
||||
73
tests/scenarios/cases/et41_coal_td_upgrade_start.json
Normal file
73
tests/scenarios/cases/et41_coal_td_upgrade_start.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"description": "An ET41 with 25 loaded coal wagons (412W, 60 t each, G; about 1670 t) on a line of its own beside td.scn: up a gradient of 10 per mille to the signal hu_sem1 1000 m up, at stop until 10:42, where it stops with the whole train on the gradient; when the signal clears, it is to start without rolling back and get away, to the signal at stop 2300 m up (#265, #187).",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_upgrade_signal_start.scn",
|
||||
"timetable": "td_freight_downgrade.txt",
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\et41_v2 41-045-a 203e-a 0 headdriver 55 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_b dynamic pkp\\et41_v2 41-045-b 203e-b 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w01 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w02 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w03 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w04 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w05 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w06 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w07 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w08 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w09 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w10 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w11 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w12 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w13 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w14 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w15 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w16 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w17 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w18 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w19 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w20 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w21 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w22 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w23 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w24 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic",
|
||||
"node -1 0 {{vehicle}}_w25 dynamic pkp\\412w_v2 31515362022-6 412W 0 nobody 3 40 coal enddynamic"
|
||||
]
|
||||
},
|
||||
"expect": "standstill",
|
||||
"duration": 1500,
|
||||
"timeout": 1800,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 300
|
||||
},
|
||||
{
|
||||
"type": "max_speed",
|
||||
"limit": 60,
|
||||
"tolerance": 5
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 15,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 60,
|
||||
"min_distance": 1040,
|
||||
"max_distance": 1110
|
||||
},
|
||||
{
|
||||
"type": "starts_again",
|
||||
"after": 480,
|
||||
"min_speed": 10,
|
||||
"within": 120,
|
||||
"max_rollback": 1.0
|
||||
},
|
||||
{
|
||||
"type": "distance",
|
||||
"min": 2340,
|
||||
"max": 2410
|
||||
}
|
||||
]
|
||||
}
|
||||
24
tests/scenarios/cases/et42_td_converter_interlock.json
Normal file
24
tests/scenarios/cases/et42_td_converter_interlock.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"description": "#276: as et42_td_converter_interlock_cold, from the timetable start (trainset velocity 0.1, the locomotive ready to go).",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_timetable.scn",
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp/et42_v2 112e-014-a {{variant_a}} 0 headdriver 255 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_b dynamic pkp/et42_v2 112e-014-b {{variant_b}} 0 nobody 3 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"vehicle_variants": [
|
||||
{"name": "a", "from": "pkp/et42_v2/112e-a", "replace": [["IniCDelay=0.5 SCDelay=0.1", "IniCDelay=0.5 SCDelay=0.1 LineContactorsInterlock=Converter"]]},
|
||||
{"name": "b", "from": "pkp/et42_v2/112e-b", "replace": [["IniCDelay=0.5 SCDelay=0.1", "IniCDelay=0.5 SCDelay=0.1 LineContactorsInterlock=Converter"]]}
|
||||
],
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{"type": "starts", "min_speed": 20, "within": 150},
|
||||
{"type": "max_speed", "limit": 90, "tolerance": 3},
|
||||
{"type": "brakes", "min_pressure": 0.5},
|
||||
{"type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420}
|
||||
]
|
||||
}
|
||||
27
tests/scenarios/cases/et42_td_converter_interlock_cold.json
Normal file
27
tests/scenarios/cases/et42_td_converter_interlock_cold.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"description": "#276: an ET42 whose sections take power only with their own converter running (LineContactorsInterlock=Converter in Cntrl., the .fiz key the shipped et42_v2 doesn't have yet: a variant of both sections made for the run) stands cold on track 1 of Stacja1 on td.scn and gets the order to run the td/rozklad timetable. The AI has to start the converters before the line contactors close: it leaves, keeps to the speed limit and stops at Przystanek.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_cold_timetable.scn",
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp/et42_v2 112e-014-a {{variant_a}} 0 headdriver 255 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_b dynamic pkp/et42_v2 112e-014-b {{variant_b}} 0 nobody 3 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"vehicle_variants": [
|
||||
{"name": "a", "from": "pkp/et42_v2/112e-a", "replace": [["IniCDelay=0.5 SCDelay=0.1", "IniCDelay=0.5 SCDelay=0.1 LineContactorsInterlock=Converter"]]},
|
||||
{"name": "b", "from": "pkp/et42_v2/112e-b", "replace": [["IniCDelay=0.5 SCDelay=0.1", "IniCDelay=0.5 SCDelay=0.1 LineContactorsInterlock=Converter"]]}
|
||||
],
|
||||
"track_events": {
|
||||
"tdo_n1734": "event0 autotest_wake"
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{"type": "starts", "min_speed": 20, "within": 150},
|
||||
{"type": "max_speed", "limit": 90, "tolerance": 3},
|
||||
{"type": "brakes", "min_pressure": 0.5},
|
||||
{"type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"description": "#276, the check that the interlock takes effect: the ET42 of et42_td_converter_interlock_cold, with ConverterStartDelay=60 added to both sections, so the converters need a minute to start. With LineContactorsInterlock=Converter the line contactors wait for them and the train leaves later than it does with the same converter delay and no interlock (20 km/h at 80.0 s with it, at 73.8 s without it, measured with this case and a copy without the interlock key). Then it runs the timetable to Przystanek.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_cold_timetable.scn",
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp/et42_v2 112e-014-a {{variant_a}} 0 headdriver 255 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_b dynamic pkp/et42_v2 112e-014-b {{variant_b}} 0 nobody 3 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"vehicle_variants": [
|
||||
{"name": "a", "from": "pkp/et42_v2/112e-a", "replace": [["IniCDelay=0.5 SCDelay=0.1", "IniCDelay=0.5 SCDelay=0.1 LineContactorsInterlock=Converter ConverterStartDelay=60"]]},
|
||||
{"name": "b", "from": "pkp/et42_v2/112e-b", "replace": [["IniCDelay=0.5 SCDelay=0.1", "IniCDelay=0.5 SCDelay=0.1 LineContactorsInterlock=Converter ConverterStartDelay=60"]]}
|
||||
],
|
||||
"track_events": {
|
||||
"tdo_n1734": "event0 autotest_wake"
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{"type": "starts", "min_speed": 20, "after": 77, "within": 150},
|
||||
{"type": "max_speed", "limit": 90, "tolerance": 3},
|
||||
{"type": "brakes", "min_pressure": 0.5},
|
||||
{"type": "stops", "moving_speed": 20, "stop_speed": 1, "hold": 0, "min_distance": 1380, "max_distance": 1420}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"description": "An EU07 with three coaches on the line of eu07_td_downgrade_w4_signal, down a gradient of 20 per mille: stops at the W4 of Dol, then before the signal at stop. A train braking with the train brake, the control of the light EU07 and SN61 cases.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_downgrade_w4_signal.scn",
|
||||
"timetable": "td_downgrade.txt",
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 0 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"duration": 540,
|
||||
"timeout": 900,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 150
|
||||
},
|
||||
{
|
||||
"type": "max_speed",
|
||||
"limit": 80,
|
||||
"tolerance": 3
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 20,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 20,
|
||||
"min_distance": 1500,
|
||||
"max_distance": 1700
|
||||
},
|
||||
{
|
||||
"type": "distance",
|
||||
"min": 2550,
|
||||
"max": 2750
|
||||
}
|
||||
]
|
||||
}
|
||||
40
tests/scenarios/cases/eu07_coaches_td_timetable.json
Normal file
40
tests/scenarios/cases/eu07_coaches_td_timetable.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"description": "EU07 with three coaches on td.scn, AI driver on the td/rozklad timetable: starts from Stacja1, keeps to the speed limit, brakes to a stop at Przystanek with the train brake.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_timetable.scn",
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 0 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"duration": 360,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 150
|
||||
},
|
||||
{
|
||||
"type": "max_speed",
|
||||
"limit": 90,
|
||||
"tolerance": 3
|
||||
},
|
||||
{
|
||||
"type": "brakes",
|
||||
"min_pressure": 0.5
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 20,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 0,
|
||||
"min_distance": 1380,
|
||||
"max_distance": 1420
|
||||
}
|
||||
]
|
||||
}
|
||||
19
tests/scenarios/cases/eu07_td_buckle_derails.json
Normal file
19
tests/scenarios/cases/eu07_td_buckle_derails.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"description": "EU07 on td.scn on the td/rozklad timetable; at 10:35, as it leaves, the curve tdo_n222 about 950 m ahead buckles hard with a trackbuckle event: 600 mm out of the curve over a main lobe of 8 m (an equivalent radius of 9 m, about 30 m for the body on axles 11 m apart). The AI doesn't see it and runs into it at the 46 km/h it has there: with physics.derailment new (the default, monitor, only logs what the criteria would do and the train runs on) the locomotive leaves the rails on the buckle and stops short of Przystanek.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_buckle_event.scn",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic",
|
||||
"amplitude": "600 8"
|
||||
},
|
||||
"ini": ["gfxrenderer null", "physics.derailment new"],
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "log_contains", "pattern": "Track \"tdo_n222\" buckled \\(event autotest_buckle\\): 600 mm to the (left|right) at [0-9.]+ m, main lobe 8.0 m" },
|
||||
{ "type": "log_contains", "pattern": "Bad driving: autotest_\\S+ derailed on buckled track" },
|
||||
{ "type": "starts", "min_speed": 20, "within": 150 },
|
||||
{ "type": "distance", "max": 1100 }
|
||||
]
|
||||
}
|
||||
19
tests/scenarios/cases/eu07_td_buckle_event.json
Normal file
19
tests/scenarios/cases/eu07_td_buckle_event.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"description": "EU07 on td.scn on the td/rozklad timetable; at 10:35, as it leaves, the curve tdo_n222 about 950 m ahead buckles with a trackbuckle event (30 mm out of the curve, as the heat does: an equivalent radius of 330 m, too little to derail it). The track is laid again during the game and the train keeps on it to Przystanek, with physics.derailment new: the criteria decide, as in eu07_td_buckle_derails.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_buckle_event.scn",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic",
|
||||
"amplitude": "30"
|
||||
},
|
||||
"ini": ["gfxrenderer null", "physics.derailment new"],
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "log_contains", "pattern": "Track \"tdo_n222\" buckled \\(event autotest_buckle\\): 30 mm to the (left|right)" },
|
||||
{ "type": "starts", "min_speed": 20, "within": 150 },
|
||||
{ "type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420 },
|
||||
{ "type": "log_lacks", "pattern": "Bad driving" }
|
||||
]
|
||||
}
|
||||
28
tests/scenarios/cases/eu07_td_cold_connect.json
Normal file
28
tests/scenarios/cases/eu07_td_cold_connect.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"description": "EU07 with a hand brake (4E-ZEZ_GREY) on td.scn, standing cold with the hand brake on, gets the order to couple to the two coaches standing 45 m ahead (Shunt -1 3): after starting the engine it has to release its hand brake, run up to the coaches, couple and push them on. Connect is the first order the AI drives under.",
|
||||
"base_scenery": "td.scn",
|
||||
"fragment": "td_cold_connect.scn",
|
||||
"vars": {
|
||||
"locomotive": "pkp\\4e_v1 4E-ZEZ-234 4E-ZEZ_GREY",
|
||||
"rake": [
|
||||
"node -1 0 {{vehicle}}_c1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 115 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608011-6 BDHPUMN_NG_1 0 nobody 0 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"track_events": {
|
||||
"tdo_n1725": "event0 autotest_wake",
|
||||
"tor1k": "eventall2 autotest_pass"
|
||||
},
|
||||
"test_config": [
|
||||
"test.timeout 900",
|
||||
"test.standstill 300",
|
||||
"test.no_movement_before_pass no"
|
||||
],
|
||||
"expect": "pass",
|
||||
"timeout": 900,
|
||||
"checks": [
|
||||
{ "type": "couples", "vehicle": "{{vehicle}}", "other": "{{vehicle}}_c2" },
|
||||
{ "type": "log_lacks", "pattern": "derailed" },
|
||||
{ "type": "log_lacks", "pattern": "collided" }
|
||||
]
|
||||
}
|
||||
31
tests/scenarios/cases/eu07_td_crew_add.json
Normal file
31
tests/scenarios/cases/eu07_td_crew_add.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"description": "Crew event, a driver appears (eu07/maszyna#510): an EU07 stands cold on track 1 of Stacja1 on td.scn with nobody in it. 20 s after the start a putvalues event, Crew:<vehicle> 1 0, puts an AI driver in its cab A; the scenery then gives the driver the order to go (Shunt -1 0 from event0 of the track), and the driver starts the locomotive and leaves through the exit signal.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_crew.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset none tdo_n1734 0.0 0.0",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 nobody 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"crew": [
|
||||
"event autotest_crew_put putvalues 0 none 0 0 0 Crew:{{vehicle}} 1 0 endevent",
|
||||
"event autotest_crew_on multiple 20 none autotest_crew_put autotest_crew_waits endevent",
|
||||
"node -1 0 autotest_crew_on_launcher eventlauncher 0 0 0 -1 none 1034 autotest_crew_on end"
|
||||
]
|
||||
},
|
||||
"track_events": {
|
||||
"tdo_n1734": "event0 autotest_wake"
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_eu07_td_crew_add\\] an AI driver takes cab A" },
|
||||
{ "type": "driver_changes", "vehicle": "{{vehicle}}", "to": "ai", "after": 15, "before": 30 },
|
||||
{ "type": "starts", "min_speed": 20, "within": 240 },
|
||||
{ "type": "moves", "vehicle": "{{vehicle}}", "direction": "front", "min_speed": 20 },
|
||||
{ "type": "log_lacks", "pattern": "derailed" },
|
||||
{ "type": "log_lacks", "pattern": "collided" }
|
||||
]
|
||||
}
|
||||
33
tests/scenarios/cases/eu07_td_crew_add_rear.json
Normal file
33
tests/scenarios/cases/eu07_td_crew_add_rear.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"description": "Crew event, a driver appears in cab B (eu07/maszyna#510): as eu07_td_crew_add, with Crew:<vehicle> -1 0. The driver takes the rear cab, so the order to go sends the locomotive the other way, its rear end leading.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_crew.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset none tdo_n1734 0.0 0.0",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 nobody 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"crew": [
|
||||
"event autotest_crew_put putvalues 0 none 0 0 0 Crew:{{vehicle}} -1 0 endevent",
|
||||
"event autotest_crew_on multiple 20 none autotest_crew_put autotest_crew_waits endevent",
|
||||
"node -1 0 autotest_crew_on_launcher eventlauncher 0 0 0 -1 none 1034 autotest_crew_on end"
|
||||
]
|
||||
},
|
||||
"track_events": {
|
||||
"tdo_n1734": "event0 autotest_wake"
|
||||
},
|
||||
"test_config": [
|
||||
"test.fail_if_stop_overran no"
|
||||
],
|
||||
"duration": 200,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_eu07_td_crew_add_rear\\] an AI driver takes cab B" },
|
||||
{ "type": "driver_changes", "vehicle": "{{vehicle}}", "to": "ai", "after": 15, "before": 30 },
|
||||
{ "type": "moves", "vehicle": "{{vehicle}}", "direction": "rear", "min_speed": 5 },
|
||||
{ "type": "log_lacks", "pattern": "derailed" },
|
||||
{ "type": "log_lacks", "pattern": "collided" }
|
||||
]
|
||||
}
|
||||
40
tests/scenarios/cases/eu07_td_crew_refused.json
Normal file
40
tests/scenarios/cases/eu07_td_crew_refused.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"description": "Crew events which must change nothing (eu07/maszyna#510): the run of eu07_td_timetable, with a coach standing on track 2, and crew events set off at the start and again at 10:36, on the run: a second driver for the locomotive (it has one), a driver for the coach (no cab), a cab which is none of 1, -1, 0, a driver taken off the coach (it has none) and a vehicle the scenery lacks. Each is refused in the log and the train runs its timetable to the stop at Przystanek.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_crew.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset td/rozklad tdo_n1734 0.0 0.1",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic",
|
||||
"endtrainset",
|
||||
"trainset none tor2k 30.0 0.0",
|
||||
"node -1 0 {{vehicle}}_coach dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"crew": [
|
||||
"event autotest_crew_second putvalues 0 none 0 0 0 Crew:{{vehicle}} 1 0 endevent",
|
||||
"event autotest_crew_coach putvalues 0 none 0 0 0 Crew:{{vehicle}}_coach 1 0 endevent",
|
||||
"event autotest_crew_cab putvalues 0 none 0 0 0 Crew:{{vehicle}} 2 0 endevent",
|
||||
"event autotest_crew_nobody putvalues 0 none 0 0 0 Crew:{{vehicle}}_coach 0 0 endevent",
|
||||
"event autotest_crew_unknown putvalues 0 none 0 0 0 Crew:autotest_no_such_vehicle 0 0 endevent",
|
||||
"event autotest_crew_all multiple 0 none autotest_crew_second autotest_crew_coach autotest_crew_cab autotest_crew_nobody autotest_crew_unknown endevent",
|
||||
"node -1 0 autotest_crew_launcher1 eventlauncher 0 0 0 -1 none 1034 autotest_crew_all end",
|
||||
"node -1 0 autotest_crew_launcher2 eventlauncher 0 0 0 -1 none 1036 autotest_crew_all end"
|
||||
]
|
||||
},
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "starts", "min_speed": 20, "within": 150 },
|
||||
{ "type": "max_speed", "limit": 90, "tolerance": 3 },
|
||||
{ "type": "brakes", "min_pressure": 0.5 },
|
||||
{ "type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420 },
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_eu07_td_crew_refused\\] refused, the vehicle has a driver already" },
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_eu07_td_crew_refused_coach\\] refused, the vehicle has no cab" },
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_eu07_td_crew_refused\\] refused, the cab has to be 1, -1 or 0" },
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_eu07_td_crew_refused_coach\\] no driver to take off" },
|
||||
{ "type": "log_contains", "pattern": "PutValues - \\[Crew:autotest_no_such_vehicle\\]" },
|
||||
{ "type": "log_lacks", "pattern": "Crew: .* (takes cab|leaves)" }
|
||||
]
|
||||
}
|
||||
27
tests/scenarios/cases/eu07_td_crew_remove.json
Normal file
27
tests/scenarios/cases/eu07_td_crew_remove.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"description": "Crew event, the driver disappears (eu07/maszyna#510): an EU07 with an AI driver leaves Stacja1 on td.scn on the td/rozklad timetable at 10:35. At 10:36, on the run, a putvalues event, Crew:<vehicle> 0 0, takes the driver off: the locomotive is left with the power off and the brake valve in the emergency position, stops and stays where it stopped.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_crew.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset td/rozklad tdo_n1734 0.0 0.1",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"crew": [
|
||||
"event autotest_crew_off putvalues 0 none 0 0 0 Crew:{{vehicle}} 0 0 endevent",
|
||||
"node -1 0 autotest_crew_off_launcher eventlauncher 0 0 0 -1 none 1036 autotest_crew_off end"
|
||||
]
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "starts", "min_speed": 20, "within": 150 },
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_eu07_td_crew_remove\\] the AI driver leaves" },
|
||||
{ "type": "driver_changes", "vehicle": "{{vehicle}}", "to": "none", "after": 115, "before": 130 },
|
||||
{ "type": "stops_driverless", "vehicle": "{{vehicle}}", "min_speed": 20, "within": 60, "hold": 100 },
|
||||
{ "type": "log_lacks", "pattern": "derailed" },
|
||||
{ "type": "log_lacks", "pattern": "collided" }
|
||||
]
|
||||
}
|
||||
34
tests/scenarios/cases/eu07_td_crew_swap.json
Normal file
34
tests/scenarios/cases/eu07_td_crew_swap.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"description": "Crew events, the driver is replaced (eu07/maszyna#510): an EU07 with an AI driver waits on track 1 of Stacja1 on td.scn. 20 s after the start Crew:<vehicle> 0 0 takes the driver off, which leaves the locomotive braked; 20 s later Crew:<vehicle> 1 0 puts a new one in cab A, who gets the order to go (Shunt -1 0 from event0 of the track), releases the brakes and leaves through the exit signal.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_crew.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset td/rozklad tdo_n1734 0.0 0.1",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"crew": [
|
||||
"event autotest_crew_off putvalues 20 none 0 0 0 Crew:{{vehicle}} 0 0 endevent",
|
||||
"node -1 0 autotest_crew_off_launcher eventlauncher 0 0 0 -1 none 1034 autotest_crew_off end",
|
||||
"event autotest_crew_put putvalues 0 none 0 0 0 Crew:{{vehicle}} 1 0 endevent",
|
||||
"event autotest_crew_on multiple 40 none autotest_crew_put autotest_crew_waits endevent",
|
||||
"node -1 0 autotest_crew_on_launcher eventlauncher 0 0 0 -1 none 1034 autotest_crew_on end"
|
||||
]
|
||||
},
|
||||
"track_events": {
|
||||
"tdo_n1734": "event0 autotest_wake"
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_eu07_td_crew_swap\\] the AI driver leaves" },
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_eu07_td_crew_swap\\] an AI driver takes cab A" },
|
||||
{ "type": "driver_changes", "vehicle": "{{vehicle}}", "to": "ai", "after": 35, "before": 50 },
|
||||
{ "type": "starts", "min_speed": 20, "within": 200 },
|
||||
{ "type": "moves", "vehicle": "{{vehicle}}", "direction": "front", "min_speed": 20 },
|
||||
{ "type": "log_lacks", "pattern": "derailed" },
|
||||
{ "type": "log_lacks", "pattern": "collided" }
|
||||
]
|
||||
}
|
||||
22
tests/scenarios/cases/eu07_td_dead_section.json
Normal file
22
tests/scenarios/cases/eu07_td_dead_section.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"description": "The reference of ep05_td_dead_section: an EU07, whose pantographs come first and whose line breaker opens without voltage (no PantRequiresMain), runs into the same span without voltage under power. Its line breaker opens 0.2 s into the section (the log says it lost power for 0.2x s, no longer: it says so only while the line breaker is closed), and behind it the AI closes the line breaker again, takes power and stops at Przystanek.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_timetable.scn",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp/4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"replace": [
|
||||
["node -1 0 none traction pwr01 3500 4500 0.01 cu 3.0 1\r\n0.7764 5.845 1561.2417", "node -1 0 none traction none 0 4500 0.01 cu 3.0 1\r\n0.7764 5.845 1561.2417"]
|
||||
],
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{"type": "starts", "min_speed": 20, "within": 150},
|
||||
{"type": "max_speed", "limit": 90, "tolerance": 3},
|
||||
{"type": "log_contains", "pattern": "lost power for 0\\.2\\d sec"},
|
||||
{"type": "log_lacks", "pattern": "lost power for (0\\.[3-9]|[1-9])"},
|
||||
{"type": "traction", "from_distance": 460, "to_distance": 700, "reaches": 25},
|
||||
{"type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420}
|
||||
]
|
||||
}
|
||||
35
tests/scenarios/cases/eu07_td_departure_station.json
Normal file
35
tests/scenarios/cases/eu07_td_departure_station.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"description": "Control for eu07_td_departure_station_capitals: the same timetable with the first row written as in the relation (Stacja1). The train stops at Stacja1 and leaves at 10:35.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:33",
|
||||
"fragment": "td_departure_station.scn",
|
||||
"timetable": "td_departure_station.txt",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"duration": 360,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "as TEST25: at \\d+:\\d+ passed Stacja1"
|
||||
},
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "as TEST25: at 10:35 next Przystanek"
|
||||
},
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 240
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 20,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 0,
|
||||
"min_distance": 1380,
|
||||
"max_distance": 1420
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"description": "EU07 on td.scn on a timetable whose first row, the station of departure, is written in capitals (STACJA1) and gives no arrival time, while the relation says Stacja1. The train is to stop there and wait for its departure at 10:35, not take Stacja1 for a station it passes through and leave as soon as the route is set at 10:34 (linia_107_poludnie.scn, Os33733 at ZAGORZ).",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:33",
|
||||
"fragment": "td_departure_station.scn",
|
||||
"timetable": "td_departure_station_capitals.txt",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"duration": 360,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "as TEST24: at \\d+:\\d+ passed STACJA1"
|
||||
},
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "as TEST24: at 10:35 next Przystanek"
|
||||
},
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 240
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 20,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 0,
|
||||
"min_distance": 1380,
|
||||
"max_distance": 1420
|
||||
}
|
||||
]
|
||||
}
|
||||
47
tests/scenarios/cases/eu07_td_downgrade_w4_signal.json
Normal file
47
tests/scenarios/cases/eu07_td_downgrade_w4_signal.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"description": "A light EU07 on a line of its own beside td.scn, down a gradient of 20 per mille on a timetable: stops at the W4 of Dol 1500 m down the gradient, leaves at 10:38 and stops before the signal gr_sem at stop 1100 m further down. The EU07 alone brakes with its independent brake.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_downgrade_w4_signal.scn",
|
||||
"timetable": "td_downgrade.txt",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"duration": 540,
|
||||
"timeout": 900,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 150
|
||||
},
|
||||
{
|
||||
"type": "max_speed",
|
||||
"limit": 80,
|
||||
"tolerance": 3
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 20,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 20,
|
||||
"min_distance": 1500,
|
||||
"max_distance": 1700
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 20,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 20,
|
||||
"min_distance": 2550,
|
||||
"max_distance": 2750,
|
||||
"max_time": 355,
|
||||
"nth": 2
|
||||
},
|
||||
{
|
||||
"type": "distance",
|
||||
"min": 2550,
|
||||
"max": 2750
|
||||
}
|
||||
]
|
||||
}
|
||||
20
tests/scenarios/cases/eu07_td_hauls_dead_vectron.json
Normal file
20
tests/scenarios/cases/eu07_td_hauls_dead_vectron.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"description": "EU07 on td.scn hauls a dead Vectron prepared for hauling (coupling 3, parameter H: the pullee mode of MaSzyna-EU07/maszyna#64), AI driver on the td/rozklad timetable: starts from Stacja1, keeps to the speed limit, brakes to a stop at Przystanek. Without the H the Vectron vents the brake pipe and the train never moves.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_timetable.scn",
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp/4e_v1 4e-004 4e 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 dead_{{vehicle}} dynamic pkp/vectron_v1 1293-107 wariant_7w 0 nobody 0.H 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "starts", "min_speed": 20, "within": 150 },
|
||||
{ "type": "max_speed", "limit": 90, "tolerance": 3 },
|
||||
{ "type": "brakes", "min_pressure": 0.5 },
|
||||
{ "type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420 }
|
||||
]
|
||||
}
|
||||
23
tests/scenarios/cases/eu07_td_hauls_dead_vectron_cold.json
Normal file
23
tests/scenarios/cases/eu07_td_hauls_dead_vectron_cold.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"description": "As eu07_td_hauls_dead_vectron, from a cold start: the trainset stands with velocity 0, so both locomotives start braked (brake pipe at 3.5 bar, batteries off, the Vectron's spring brake on). The EU07's driver gets the order to run as a train, starts the engine, charges the brake pipe and hauls the Vectron, prepared for hauling (parameter H), to Przystanek.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_cold_timetable.scn",
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp/4e_v1 4e-004 4e 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 dead_{{vehicle}} dynamic pkp/vectron_v1 1293-107 wariant_7w 0 nobody 0.H 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"track_events": {
|
||||
"tdo_n1734": "event0 autotest_wake"
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "starts", "min_speed": 20, "within": 150 },
|
||||
{ "type": "max_speed", "limit": 90, "tolerance": 3 },
|
||||
{ "type": "brakes", "min_pressure": 0.5 },
|
||||
{ "type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420 }
|
||||
]
|
||||
}
|
||||
56
tests/scenarios/cases/eu07_td_off_track_buckle.json
Normal file
56
tests/scenarios/cases/eu07_td_off_track_buckle.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"description": "physics.derailment new: EU07 with three coaches on td.scn on the td/rozklad timetable; at 10:35, as it leaves, the curve tdo_n222 about 950 m ahead buckles hard with a trackbuckle event (600 mm out of the curve over a main lobe of 8 m). The AI runs into it at the 33-35 km/h it has there with the coaches (46 km/h alone): the locomotive overturns on the buckle, goes off the track towards the bulge, falls on its side and stops on the ground some 30 m on; the coupling pulls the first coach off the rails.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_buckle_event.scn",
|
||||
"vars": {
|
||||
"amplitude": "600 8",
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 115 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608011-6 BDHPUMN_NG_1 0 nobody 115 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 115 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"ini": [
|
||||
"gfxrenderer null",
|
||||
"physics.derailment new",
|
||||
"couplerphysics all"
|
||||
],
|
||||
"expect": "timeout",
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "Track \\\"tdo_n222\\\" buckled \\(event autotest_buckle\\): 600 mm"
|
||||
},
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "derailment: autotest_\\S+ leaves the track"
|
||||
},
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 150
|
||||
},
|
||||
{
|
||||
"type": "leaves_track",
|
||||
"vehicle": "{{vehicle}}",
|
||||
"min_offset": 3,
|
||||
"max_distance": 45,
|
||||
"min_distance": 15,
|
||||
"lying": true
|
||||
},
|
||||
{
|
||||
"type": "consist_folds",
|
||||
"vehicles": "{{vehicle}},{{vehicle}}_w1",
|
||||
"min_bend": 15
|
||||
},
|
||||
{
|
||||
"type": "no_overlap",
|
||||
"max_transient": 0.2,
|
||||
"max_at_rest": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
55
tests/scenarios/cases/eu07_td_off_track_buckle_fast.json
Normal file
55
tests/scenarios/cases/eu07_td_off_track_buckle_fast.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"description": "physics.derailment new: an EU07 with three coaches and no driver runs at 133 km/h into the curve tdo_n222 of td.scn (R 600 m, cant 65 mm), buckled hard 600 mm over a main lobe of 8 m from the start (the buckle keyword of the track). The locomotive overturns on the buckle: it leaves the track, falls on its side within a second and slides on the ground to a stop some 170 m on, 30 m off the track; the coaches behind it go off and over as well, and the train comes to rest folded, the vehicles turned against each other by 10 to 20 degrees.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_off_track.scn",
|
||||
"vars": {
|
||||
"track": "tdo_n157",
|
||||
"offset": "60",
|
||||
"velocity": "133",
|
||||
"track_nodes": "",
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}}_off dynamic pkp\\4e_v1 4e-004 4e 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_off_w1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 115 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_off_w2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608011-6 BDHPUMN_NG_1 0 nobody 115 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_off_w3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 115 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"ini": [
|
||||
"gfxrenderer null",
|
||||
"physics.derailment new",
|
||||
"couplerphysics all"
|
||||
],
|
||||
"expect": "timeout",
|
||||
"duration": 60,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "derailment: autotest_\\S+_off leaves the track"
|
||||
},
|
||||
{
|
||||
"type": "leaves_track",
|
||||
"vehicle": "{{vehicle}}_off",
|
||||
"cause": "overturned",
|
||||
"min_offset": 20,
|
||||
"min_distance": 120,
|
||||
"max_distance": 230,
|
||||
"lying": true
|
||||
},
|
||||
{
|
||||
"type": "consist_folds",
|
||||
"vehicles": "{{vehicle}}_off,{{vehicle}}_off_w1,{{vehicle}}_off_w2,{{vehicle}}_off_w3",
|
||||
"min_bend": 8,
|
||||
"min_folds": 2
|
||||
},
|
||||
{
|
||||
"type": "no_overlap",
|
||||
"max_transient": 0.2,
|
||||
"max_at_rest": 0.05
|
||||
}
|
||||
],
|
||||
"track_events": {
|
||||
"tdo_n222": "buckle 600;8"
|
||||
}
|
||||
}
|
||||
36
tests/scenarios/cases/eu07_td_off_track_curve_cutting.json
Normal file
36
tests/scenarios/cases/eu07_td_off_track_curve_cutting.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"description": "physics.derailment new: an EU07 without a driver runs at 150 km/h into a curve of R 300 m without cant, a track of 150 m laid on its own in the fields of td.scn (autotest_curve), in a cutting with banks of 1:1.5 4 m high, the ground rising on beyond them at 1:5 (triangles of the fragment). Over its overturning speed (about 120 km/h) it overturns out of the curve: it runs into the bank on the outside of the curve, climbs it and stops sooner than on level ground.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_off_track_curve_cutting.scn",
|
||||
"vars": {
|
||||
"velocity": "150"
|
||||
},
|
||||
"ini": [
|
||||
"gfxrenderer null",
|
||||
"physics.derailment new",
|
||||
"couplerphysics all"
|
||||
],
|
||||
"expect": "timeout",
|
||||
"duration": 60,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "derailment: autotest_\\S+_off leaves the track"
|
||||
},
|
||||
{
|
||||
"type": "leaves_track",
|
||||
"vehicle": "{{vehicle}}_off",
|
||||
"cause": "overturned",
|
||||
"min_offset": 40,
|
||||
"min_distance": 150,
|
||||
"max_distance": 230
|
||||
},
|
||||
{
|
||||
"type": "no_overlap",
|
||||
"max_transient": 0.2,
|
||||
"max_at_rest": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"description": "physics.derailment new: an EU07 without a driver runs at 150 km/h into a curve of R 300 m without cant, a track of 150 m laid on its own in the fields of td.scn (autotest_curve), on an embankment 4 m high with slopes of 1:1.5 (triangles of the fragment). Over its overturning speed (about 120 km/h) it overturns out of the curve: it falls on its side over the edge of the embankment, slides down its slope and on over the level ground at its foot, 4 m lower.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_off_track_curve_embankment.scn",
|
||||
"vars": {
|
||||
"velocity": "150"
|
||||
},
|
||||
"ini": [
|
||||
"gfxrenderer null",
|
||||
"physics.derailment new",
|
||||
"couplerphysics all"
|
||||
],
|
||||
"expect": "timeout",
|
||||
"duration": 60,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "derailment: autotest_\\S+_off leaves the track"
|
||||
},
|
||||
{
|
||||
"type": "leaves_track",
|
||||
"vehicle": "{{vehicle}}_off",
|
||||
"cause": "overturned",
|
||||
"min_offset": 40,
|
||||
"min_distance": 150,
|
||||
"max_distance": 280,
|
||||
"lying": true
|
||||
},
|
||||
{
|
||||
"type": "no_overlap",
|
||||
"max_transient": 0.2,
|
||||
"max_at_rest": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
37
tests/scenarios/cases/eu07_td_off_track_curve_flat.json
Normal file
37
tests/scenarios/cases/eu07_td_off_track_curve_flat.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"description": "physics.derailment new: an EU07 without a driver runs at 150 km/h into a curve of R 300 m without cant, a track of 150 m laid on its own in the fields of td.scn (autotest_curve), on level ground (the grass of td.scn). Over its overturning speed (about 120 km/h) it overturns out of the curve: it slides on the grass out of the curve, falls on its side and stops.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_off_track_curve_flat.scn",
|
||||
"vars": {
|
||||
"velocity": "150"
|
||||
},
|
||||
"ini": [
|
||||
"gfxrenderer null",
|
||||
"physics.derailment new",
|
||||
"couplerphysics all"
|
||||
],
|
||||
"expect": "timeout",
|
||||
"duration": 60,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "derailment: autotest_\\S+_off leaves the track"
|
||||
},
|
||||
{
|
||||
"type": "leaves_track",
|
||||
"vehicle": "{{vehicle}}_off",
|
||||
"cause": "overturned",
|
||||
"min_offset": 40,
|
||||
"min_distance": 150,
|
||||
"max_distance": 260,
|
||||
"lying": true
|
||||
},
|
||||
{
|
||||
"type": "no_overlap",
|
||||
"max_transient": 0.2,
|
||||
"max_at_rest": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
46
tests/scenarios/cases/eu07_td_off_track_end.json
Normal file
46
tests/scenarios/cases/eu07_td_off_track_end.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"description": "physics.derailment new: an EU07 with three coaches and no driver runs at 60 km/h off the end of a track of 150 m laid on its own in the fields of td.scn (autotest_stub): it runs straight on, upright, on the ground, and stops some 30 m on (the friction of 0.3 against the 39 km/h left of its 60 km/h as it drops off the end of the rails, the coaches pushing it); the first coach follows it off the end.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_off_track.scn",
|
||||
"vars": {
|
||||
"track": "autotest_stub",
|
||||
"offset": "100",
|
||||
"velocity": "60",
|
||||
"track_nodes": "node -1 0 autotest_stub track normal 150.0 1.435 0.15 25.0 20 0 flat vis\n rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1\n-150.0 0.2 600.0 0.0 //point 1\n0.0 0.0 0.0 //control vector 1\n0.0 0.0 0.0 //control vector 2\n-150.0 0.2 750.0 0.0 //point 2\n0\nendtrack",
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}}_off dynamic pkp\\4e_v1 4e-004 4e 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_off_w1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 115 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_off_w2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608011-6 BDHPUMN_NG_1 0 nobody 115 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_off_w3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 115 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"ini": [
|
||||
"gfxrenderer null",
|
||||
"physics.derailment new",
|
||||
"couplerphysics all"
|
||||
],
|
||||
"expect": "timeout",
|
||||
"duration": 60,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "derailment: autotest_\\S+_off leaves the track"
|
||||
},
|
||||
{
|
||||
"type": "leaves_track",
|
||||
"vehicle": "{{vehicle}}_off",
|
||||
"cause": "end of track",
|
||||
"max_offset": 0.5,
|
||||
"min_distance": 5,
|
||||
"max_distance": 60,
|
||||
"lying": false
|
||||
},
|
||||
{
|
||||
"type": "no_overlap",
|
||||
"max_transient": 0.2,
|
||||
"max_at_rest": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
46
tests/scenarios/cases/eu07_td_off_track_overturn.json
Normal file
46
tests/scenarios/cases/eu07_td_off_track_overturn.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"description": "physics.derailment new: an EU07 with three coaches and no driver runs at 190 km/h into the curve of R 600 m of td.scn (tdo_n213, tdo_n222), cant 65 mm: over the overturning speed (about 165 km/h) it overturns out of the curve, falls on its side and slides off the track to a stop; the coaches go over as well.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_off_track.scn",
|
||||
"vars": {
|
||||
"track": "tdo_n157",
|
||||
"offset": "60",
|
||||
"velocity": "190",
|
||||
"track_nodes": "",
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}}_off dynamic pkp\\4e_v1 4e-004 4e 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_off_w1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 115 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_off_w2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608011-6 BDHPUMN_NG_1 0 nobody 115 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_off_w3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 115 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"ini": [
|
||||
"gfxrenderer null",
|
||||
"physics.derailment new",
|
||||
"couplerphysics all"
|
||||
],
|
||||
"expect": "timeout",
|
||||
"duration": 60,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "derailment: autotest_\\S+_off leaves the track"
|
||||
},
|
||||
{
|
||||
"type": "leaves_track",
|
||||
"vehicle": "{{vehicle}}_off",
|
||||
"cause": "overturned",
|
||||
"min_offset": 50,
|
||||
"min_distance": 250,
|
||||
"max_distance": 420,
|
||||
"lying": true
|
||||
},
|
||||
{
|
||||
"type": "no_overlap",
|
||||
"max_transient": 0.2,
|
||||
"max_at_rest": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"description": "eu07/maszyna#350, #282: an EU07 on td.scn couples on the run (Shunt -3 3) to a cut standing on the line, 16 coaches with P alone and 8 empty wagons with G and P, 541 m of wagons, and runs it on as a train (Obey_train): a train on G (Cw-1 19.1), so the brakes of the coaches are to be cut out (19.9). The inspector looks at the train as it couples, at 4 km/h, and leaves the cut-outs for the standstill; reinspect_brakes() makes them as the train stands just after. The driver taken off at 38 km/h leaves the brake valve in the emergency position: braked by the locomotive and the 8 wagons alone the train stops at some 0.27 m/s2, over 210 m (with every brake working, 0.57 m/s2 over 99 m).",
|
||||
"base_scenery": "td.scn",
|
||||
"fragment": "td_reinspect_brakes.scn",
|
||||
"vars": {
|
||||
"locomotive": "pkp\\4e_v1 4e-004 4e",
|
||||
"cut": [
|
||||
"node -1 0 {{vehicle}}_c01 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c02 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c03 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c04 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c05 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c06 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c07 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c08 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c09 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c10 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c11 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c12 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c13 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c14 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c15 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c16 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w1 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w2 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w3 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w4 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w5 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w6 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w7 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w8 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 0 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"track_events": {
|
||||
"koniec": "event0 autotest_wake",
|
||||
"tdo_n231": "event2 autotest_way",
|
||||
"tdo_n240": "event2 autotest_crew_off"
|
||||
},
|
||||
"test_config": [
|
||||
"test.timeout 1200",
|
||||
"test.standstill 600"
|
||||
],
|
||||
"expect": "pass",
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "couples",
|
||||
"vehicle": "{{vehicle}}",
|
||||
"other": "{{vehicle}}_w8"
|
||||
},
|
||||
{
|
||||
"type": "stops_driverless",
|
||||
"vehicle": "{{vehicle}}",
|
||||
"min_speed": 30,
|
||||
"within": 90,
|
||||
"hold": 60,
|
||||
"min_deceleration": 0.15,
|
||||
"max_deceleration": 0.4
|
||||
},
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "derailed"
|
||||
},
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "collided"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"description": "The train of eu07_td_reinspect_brakes_after_coupling with the inspector of the releases before eu07/maszyna#350 (ai.brakesetting.cw1 no), which cuts no brake out: every brake of the train works, and the emergency stop after the driver is taken off at 38 km/h comes at some 0.57 m/s2, over 99 m. It shows what the deceleration check of that case tells apart.",
|
||||
"base_scenery": "td.scn",
|
||||
"fragment": "td_reinspect_brakes.scn",
|
||||
"vars": {
|
||||
"locomotive": "pkp\\4e_v1 4e-004 4e",
|
||||
"cut": [
|
||||
"node -1 0 {{vehicle}}_c01 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c02 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c03 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c04 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c05 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c06 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c07 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c08 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c09 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c10 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c11 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c12 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c13 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c14 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c15 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c16 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w1 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w2 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w3 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w4 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w5 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w6 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w7 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w8 dynamic pkp\\401w_v2 82515314470-4 401w_w_d 0 nobody 0 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"track_events": {
|
||||
"koniec": "event0 autotest_wake",
|
||||
"tdo_n231": "event2 autotest_way",
|
||||
"tdo_n240": "event2 autotest_crew_off"
|
||||
},
|
||||
"test_config": [
|
||||
"test.timeout 1200",
|
||||
"test.standstill 600"
|
||||
],
|
||||
"expect": "pass",
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "couples",
|
||||
"vehicle": "{{vehicle}}",
|
||||
"other": "{{vehicle}}_w8"
|
||||
},
|
||||
{
|
||||
"type": "stops_driverless",
|
||||
"vehicle": "{{vehicle}}",
|
||||
"min_speed": 30,
|
||||
"within": 60,
|
||||
"hold": 60,
|
||||
"min_deceleration": 0.45
|
||||
},
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "derailed"
|
||||
},
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "collided"
|
||||
}
|
||||
],
|
||||
"ini": [
|
||||
"ai.brakesetting.cw1 no"
|
||||
]
|
||||
}
|
||||
24
tests/scenarios/cases/eu07_td_shunt_push_red_signal.json
Normal file
24
tests/scenarios/cases/eu07_td_shunt_push_red_signal.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"description": "EU07 shunting on td.scn (no timetable, so its AI drives under Shunt), pushing three coaches with no route set, the first coach starting at 30 km/h about 150 m before the exit signal stacja1_j at stop: stops before the signal and stays there.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_shunt_red_signal.scn",
|
||||
"vars": {
|
||||
"offset": "0.0",
|
||||
"velocity": "30",
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}}_w1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 115 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608011-6 BDHPUMN_NG_1 0 nobody 115 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 115 0 enddynamic",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "max_speed", "limit": 40 },
|
||||
{ "type": "stops", "moving_speed": 5, "stop_speed": 0.5, "hold": 5 },
|
||||
{ "type": "stays_stopped", "moving_speed": 5, "stop_speed": 0.5 },
|
||||
{ "type": "distance", "max": 150 }
|
||||
]
|
||||
}
|
||||
19
tests/scenarios/cases/eu07_td_shunt_red_signal.json
Normal file
19
tests/scenarios/cases/eu07_td_shunt_red_signal.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"description": "EU07 shunting on td.scn (no timetable, so its AI drives under Shunt) with no route set, starting at 30 km/h about 150 m before the exit signal stacja1_j at stop: stops before the signal and stays there.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_shunt_red_signal.scn",
|
||||
"vars": {
|
||||
"offset": "0.0",
|
||||
"velocity": "30",
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "max_speed", "limit": 40 },
|
||||
{ "type": "stops", "moving_speed": 5, "stop_speed": 0.5, "hold": 5 },
|
||||
{ "type": "stays_stopped", "moving_speed": 5, "stop_speed": 0.5 },
|
||||
{ "type": "distance", "max": 150 }
|
||||
]
|
||||
}
|
||||
52
tests/scenarios/cases/eu07_td_switch_facing_control.json
Normal file
52
tests/scenarios/cases/eu07_td_switch_facing_control.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"description": "Switch under a train, the control of the facing cases (#289 review 2b): an EU07 with three coaches runs from the west line into Stacja1 on td.scn, facing through switch zwr01, which is set to track 1 from the start (keyctrl02, with the entry signal at 40). Nothing is thrown. The train has to stop before a signal at stop on track 1 and stay on the rails.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_switch_thrown.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset none start 80.0 0.0",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"route": "node -1 0 autotest_route_launcher eventlauncher 0 0 0 -1 none 1034 keyctrl02 end",
|
||||
"throw": "zwr01_1",
|
||||
"trigger": "",
|
||||
"order": "Shunt -1 0"
|
||||
},
|
||||
"track_events": {
|
||||
"start": "event0 autotest_wake",
|
||||
"tdo_n1725": [
|
||||
"event2 autotest_signal1_info",
|
||||
"event0 autotest_pass"
|
||||
],
|
||||
"tdo_n1734": [
|
||||
"eventall1 autotest_fail",
|
||||
"eventall2 autotest_fail"
|
||||
]
|
||||
},
|
||||
"test_config": [
|
||||
"test.timeout 400",
|
||||
"test.standstill 120"
|
||||
],
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 30,
|
||||
"within": 200
|
||||
},
|
||||
{
|
||||
"type": "on_track",
|
||||
"vehicles": "{{vehicle}}",
|
||||
"max_offset": 0.6
|
||||
},
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "Bad driving"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"description": "Switch thrown under a train running facing through it (#289 review 2b): as eu07_td_switch_thrown_facing_head, but zwr01 is thrown to track 1 when the locomotive has left the switch for track 2 (event of tor2p, set off by its rear axle), with the coaches still before and on the switch. A train cannot run on two tracks at once: every vehicle has to keep to the line of a track, whatever the throw does to them.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_switch_thrown.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset none start 80.0 0.0",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"route": "node -1 0 autotest_route_launcher eventlauncher 0 0 0 -1 none 1034 keyctrl01 end",
|
||||
"throw": "zwr01_1 zwr01_V40",
|
||||
"trigger": "",
|
||||
"order": "Shunt -1 0"
|
||||
},
|
||||
"track_events": {
|
||||
"start": "event0 autotest_wake",
|
||||
"tor2p": [
|
||||
"event1 autotest_throw",
|
||||
"event2 autotest_throw"
|
||||
],
|
||||
"tdo_n109": "event0 autotest_pass"
|
||||
},
|
||||
"test_config": [
|
||||
"test.timeout 400",
|
||||
"test.standstill 120"
|
||||
],
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 30,
|
||||
"within": 200
|
||||
},
|
||||
{
|
||||
"type": "on_track",
|
||||
"vehicles": "{{vehicle}}",
|
||||
"max_offset": 0.6
|
||||
},
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "Bad driving"
|
||||
}
|
||||
],
|
||||
"xfail": "#289 review 2b, as before the stack (TrkFoll reverted in c268673c): the axles still on the switch leave it by the way it is set to now, those behind it take that way too, so the coaches go to track 1 and the locomotive they are coupled to runs on along track 2, 4.6 m beside them, with nothing derailed or broken"
|
||||
}
|
||||
57
tests/scenarios/cases/eu07_td_switch_thrown_facing_head.json
Normal file
57
tests/scenarios/cases/eu07_td_switch_thrown_facing_head.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"description": "Switch thrown under a train running facing through it (#289 review 2b): as eu07_td_switch_facing_control, but the way is set to track 2 (keyctrl01) and zwr01 is thrown to track 1 when the locomotive has run onto the switch with both its bogies (event of the switch track, set off by its rear axle). The locomotive and the train behind it have to go on to track 1 and stay on the rails, and the AI has to stop before the signal at stop on track 1.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_switch_thrown.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset none start 80.0 0.0",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"route": "node -1 0 autotest_route_launcher eventlauncher 0 0 0 -1 none 1034 keyctrl01 end",
|
||||
"throw": "zwr01_1 zwr01_V40",
|
||||
"trigger": "",
|
||||
"order": "Shunt -1 0"
|
||||
},
|
||||
"track_events": {
|
||||
"start": "event0 autotest_wake",
|
||||
"zwr01": [
|
||||
"event1 autotest_throw",
|
||||
"event2 autotest_throw"
|
||||
],
|
||||
"tdo_n1725": [
|
||||
"event2 autotest_signal1_info",
|
||||
"event0 autotest_pass"
|
||||
],
|
||||
"tdo_n1734": [
|
||||
"eventall1 autotest_fail",
|
||||
"eventall2 autotest_fail"
|
||||
]
|
||||
},
|
||||
"test_config": [
|
||||
"test.timeout 400",
|
||||
"test.standstill 120"
|
||||
],
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 30,
|
||||
"within": 200
|
||||
},
|
||||
{
|
||||
"type": "on_track",
|
||||
"vehicles": "{{vehicle}}",
|
||||
"max_offset": 0.6
|
||||
},
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "Bad driving"
|
||||
}
|
||||
],
|
||||
"xfail": "#289 review 2b, as before the stack (TrkFoll reverted in c268673c): an axle keeps the way of the switch it ran onto but leaves by the way the switch is set to now, so the locomotive jumps 1.9 m sideways at the end of the switch, an axle at a time; and the AI keeps the route it scanned before the throw (a switch behind the head of the train is not scanned again), so on track 1 it brakes for the exit signal of track 2 and runs past the signal at stop of track 1 at 40 km/h"
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"description": "Switch thrown under a standing train, which then leaves facing through it (#289 review 2b): an EU07 with three coaches stands cold across zwr01 on td.scn, the locomotive on track 2, the last coaches over the switch, which is set to track 2. 5 s after the start the switch is thrown to track 1; then the driver gets the order to go, into the station, facing through the switch. Every vehicle has to keep to the line of a track.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_switch_thrown.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset none tor2p 50.0 0.0",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"route": "",
|
||||
"throw": "zwr01_1 zwr01_V40",
|
||||
"trigger": [
|
||||
"event autotest_throw_later multiple 5 none autotest_throw endevent",
|
||||
"node -1 0 autotest_throw_launcher eventlauncher 0 0 0 -1 none 1034 autotest_throw_later end"
|
||||
],
|
||||
"order": "Shunt -1 0"
|
||||
},
|
||||
"track_events": {
|
||||
"tor2p": "event0 autotest_wake_after_throw",
|
||||
"tdo_n109": "event0 autotest_pass"
|
||||
},
|
||||
"test_config": [
|
||||
"test.timeout 400",
|
||||
"test.standstill 120"
|
||||
],
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 200
|
||||
},
|
||||
{
|
||||
"type": "on_track",
|
||||
"vehicles": "{{vehicle}}",
|
||||
"max_offset": 0.6
|
||||
},
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "Bad driving"
|
||||
}
|
||||
],
|
||||
"xfail": "#289 review 2b, as before the stack (TrkFoll reverted in c268673c): the axles that stood on the switch leave it by the way it is set to now, so the second coach runs with one bogie on track 2 and the other on track 1, 4.6 m apart, its body 2.3 m off both, with nothing derailed or broken; and the AI scans its route from the last vehicle through the switch as now set, reads the signals of track 1 while it runs on track 2, and its head is counted past the exit signal of track 1 at stop"
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"description": "Switch thrown under a standing train, which then leaves trailing through it (#289 review 2b): an EU07 with three coaches stands cold across zwr02 on td.scn, the locomotive on the line, the coaches behind it over the switch and on track 2, the switch set to track 2. 5 s after the start it is thrown to track 1; then the driver gets the order to go, out to the line. The wheels coming from track 2 push the switch back over (as through any switch set against them from the frog end); every vehicle has to keep to the line of a track. Passes once the locomotive runs onto tdo_n176, with the train clear of the switch.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_switch_thrown.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset none tdo_n145 40.0 0.0",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"route": "",
|
||||
"throw": "zwr02_1 zwr02_v40",
|
||||
"trigger": [
|
||||
"event autotest_throw_later multiple 5 none autotest_throw endevent",
|
||||
"node -1 0 autotest_throw_launcher eventlauncher 0 0 0 -1 none 1034 autotest_throw_later end"
|
||||
],
|
||||
"order": "Obey_train 0 0"
|
||||
},
|
||||
"track_events": {
|
||||
"tdo_n145": "event0 autotest_wake_after_throw",
|
||||
"tdo_n176": [
|
||||
"event1 autotest_pass_running",
|
||||
"event2 autotest_pass_running"
|
||||
]
|
||||
},
|
||||
"test_config": [
|
||||
"test.timeout 400",
|
||||
"test.standstill 120",
|
||||
"test.no_movement_before_pass no"
|
||||
],
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 10,
|
||||
"within": 200
|
||||
},
|
||||
{
|
||||
"type": "on_track",
|
||||
"vehicles": "{{vehicle}}",
|
||||
"max_offset": 0.6
|
||||
},
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "Bad driving"
|
||||
}
|
||||
]
|
||||
}
|
||||
56
tests/scenarios/cases/eu07_td_switch_thrown_trailing.json
Normal file
56
tests/scenarios/cases/eu07_td_switch_thrown_trailing.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"description": "Switch thrown under a train running trailing through it (#289 review 2b): the td/rozklad timetable train, an EU07 with three coaches, leaves track 1 of Stacja1 on td.scn through zwr02 from its frog end; when the locomotive has run onto the line (event of tdo_n145, set off by its rear axle) the switch is thrown to track 2 under the coaches. The wheels coming from track 1 push it back over; the train has to stay on the rails and run its timetable to the stop at Przystanek.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_switch_thrown.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset td/rozklad tdo_n1734 0.0 0.1",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"route": "node -1 0 autotest_route_launcher eventlauncher 0 0 0 -1 none 1034 keyctrl04 end",
|
||||
"throw": "zwr02_0 zwr02_vmax",
|
||||
"trigger": "",
|
||||
"order": "Obey_train 0 0"
|
||||
},
|
||||
"track_events": {
|
||||
"tdo_n145": [
|
||||
"event1 autotest_throw",
|
||||
"event2 autotest_throw"
|
||||
]
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 240
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 20,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 0,
|
||||
"min_distance": 1380,
|
||||
"max_distance": 1420
|
||||
},
|
||||
{
|
||||
"type": "on_track",
|
||||
"vehicles": "{{vehicle}}",
|
||||
"max_offset": 0.6
|
||||
},
|
||||
{
|
||||
"type": "log_lacks",
|
||||
"pattern": "Bad driving"
|
||||
},
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "EVENT LAUNCHED.*: autotest_throw_done$"
|
||||
}
|
||||
]
|
||||
}
|
||||
28
tests/scenarios/cases/eu07_td_timetable_past_w4.json
Normal file
28
tests/scenarios/cases/eu07_td_timetable_past_w4.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"description": "EU07 with three coaches on td.scn on the td/rozklad timetable, placed with its head 80 m past the W4 of Stacja1, the first station of the timetable, which stays under the consist. The driver counts Stacja1 as the stop it stands at and leaves at 10:35.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_timetable_past_w4.scn",
|
||||
"vars": {
|
||||
"offset": 15,
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 0 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "as ROJ65113: at 10:35 next Przystanek"
|
||||
},
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 240
|
||||
}
|
||||
]
|
||||
}
|
||||
50
tests/scenarios/cases/eu07a_coaches_td_upgrade_long.json
Normal file
50
tests/scenarios/cases/eu07a_coaches_td_upgrade_long.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"description": "An EU07A (303E) with 8 coaches (about 360 t) on a line of its own beside td.scn: up a gradient of 10 per mille, 5.5 km long, at the 80 km/h of its timetable, to the signal at stop 5300 m up. The train is to keep above 70 km/h on the climb (#187: an EU07A hung at 55-58 km/h on 10 per mille).",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_upgrade_long.scn",
|
||||
"timetable": "td_passenger_upgrade.txt",
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\303e_v1 303E-336'20 303E 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c1 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c2 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c3 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c4 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c5 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c6 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c7 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_c8 dynamic pkp\\bdhpumn_v3 bdhpumn_50512608068-6 BDHPUMN_TAPICERKA_1 0 nobody 3 0 enddynamic"
|
||||
]
|
||||
},
|
||||
"expect": "standstill",
|
||||
"duration": 1200,
|
||||
"timeout": 1500,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 150
|
||||
},
|
||||
{
|
||||
"type": "max_speed",
|
||||
"limit": 80,
|
||||
"tolerance": 3
|
||||
},
|
||||
{
|
||||
"type": "keeps_moving",
|
||||
"moving_speed": 20,
|
||||
"min_speed": 70,
|
||||
"from_distance": 2500,
|
||||
"until_distance": 4800
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 15,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 20,
|
||||
"min_distance": 5330,
|
||||
"max_distance": 5410
|
||||
}
|
||||
]
|
||||
}
|
||||
30
tests/scenarios/cases/golf_td_crew_swap.json
Normal file
30
tests/scenarios/cases/golf_td_crew_swap.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"description": "Crew events on a road vehicle (eu07/maszyna#510): a car with an AI driver runs along the road d3 of td.scn, at 50 km/h, the top speed its trainset gives it. 20 s after the start Crew:<vehicle> 0 0 takes the driver off: the car is left with its own brake applied in full, stops and stands. 40 s later Crew:<vehicle> 1 0 puts a driver in again (a road vehicle has no cab to tell by, and takes one all the same), who drives on along the road, with no timetable to cap the speed.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_crew.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset 50 d3 0.0 30",
|
||||
"node -1 0 {{vehicle}} dynamic road\\golf none golf 0 headdriver 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"crew": [
|
||||
"event autotest_crew_off putvalues 20 none 0 0 0 Crew:{{vehicle}} 0 0 endevent",
|
||||
"node -1 0 autotest_crew_off_launcher eventlauncher 0 0 0 -1 none 1034 autotest_crew_off end",
|
||||
"event autotest_crew_on putvalues 60 none 0 0 0 Crew:{{vehicle}} 1 0 endevent",
|
||||
"node -1 0 autotest_crew_on_launcher eventlauncher 0 0 0 -1 none 1034 autotest_crew_on end"
|
||||
]
|
||||
},
|
||||
"duration": 120,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_golf_td_crew_swap\\] the AI driver leaves" },
|
||||
{ "type": "stops_driverless", "vehicle": "{{vehicle}}", "min_speed": 10, "within": 30, "hold": 30 },
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_golf_td_crew_swap\\] an AI driver takes cab A" },
|
||||
{ "type": "driver_changes", "vehicle": "{{vehicle}}", "to": "ai", "after": 55, "before": 70 },
|
||||
{ "type": "starts", "min_speed": 20, "within": 60 },
|
||||
{ "type": "log_lacks", "pattern": "derailed" },
|
||||
{ "type": "log_lacks", "pattern": "collided" }
|
||||
]
|
||||
}
|
||||
24
tests/scenarios/cases/l053_poludnie_roj32134_debica.json
Normal file
24
tests/scenarios/cases/l053_poludnie_roj32134_debica.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"description": "eu07/maszyna#506, L053 poludnie, ROJ23133 Debica - Rudawa and ROJ32134 back (EN57-1797ra): the unit runs both trains among the scenery's traffic and ends at Debica (the station's state cell of ROJ32134 says done).",
|
||||
"base_scenery": "l053_poludnie.scn",
|
||||
"strip_trainsets": false,
|
||||
"vehicle": "EN57-1797ra",
|
||||
"fragment": "mission_state_probe.scn",
|
||||
"vars": {
|
||||
"cell": "deb_roj32134_stat",
|
||||
"state": "d * *",
|
||||
"reason": "roj32134_ended_at_debica"
|
||||
},
|
||||
"slow": true,
|
||||
"physicslog": false,
|
||||
"ini": [
|
||||
"file.binary.terrain no"
|
||||
],
|
||||
"test_config": [
|
||||
"test.timeout 7200",
|
||||
"test.standstill 1500",
|
||||
"test.fail_if_stop_overran no"
|
||||
],
|
||||
"expect": "pass",
|
||||
"timeout": 3600
|
||||
}
|
||||
30
tests/scenarios/cases/l053_poranek_tme222158_debica.json
Normal file
30
tests/scenarios/cases/l053_poranek_tme222158_debica.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"description": "eu07/maszyna#421, L053 poranek, TME222158: the locomotive brings the wagons with steel coils from Debica Towarowa to Debica, uncouples (Shunt 0 0 from the scenery), shunts on the Ms2 signals while the station's SM42 takes the wagons away, couples to its next train and gets the exit signal to Sandomierz (step 6 of the station's state cell).",
|
||||
"base_scenery": "l053_poranek.scn",
|
||||
"strip_trainsets": false,
|
||||
"vehicle": "ET22-654",
|
||||
"fragment": "mission_state_probe.scn",
|
||||
"vars": {
|
||||
"cell": "deb_tme222158_stat",
|
||||
"state": "* 6 *",
|
||||
"reason": "tme222158_got_the_exit_signal_at_debica"
|
||||
},
|
||||
"slow": true,
|
||||
"physicslog": false,
|
||||
"ini": [
|
||||
"file.binary.terrain no"
|
||||
],
|
||||
"test_config": [
|
||||
"test.timeout 6000",
|
||||
"test.standstill 2100",
|
||||
"test.fail_if_stop_overran no"
|
||||
],
|
||||
"expect": "pass",
|
||||
"timeout": 3600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "Uncoupling \\[et22-654\\]: uncoupled"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"description": "eu07/maszyna#421 as reported in 2021, with an ET21 on TME222158 (the scenery has an ET22 there now): the same run as l053_poranek_tme222158_debica, the locomotive of the mission replaced.",
|
||||
"base_scenery": "l053_poranek.scn",
|
||||
"strip_trainsets": false,
|
||||
"replace": [
|
||||
[
|
||||
"node -1 0 ET22-654 dynamic pkp\\et22_v3 201E-654 201E -1 headdriver 3 0 enddynamic",
|
||||
"node -1 0 ET21-367 dynamic pkp\\et21_v2 ET21-367 3e2 -1 headdriver 3 0 enddynamic"
|
||||
]
|
||||
],
|
||||
"vehicle": "ET21-367",
|
||||
"fragment": "mission_state_probe.scn",
|
||||
"vars": {
|
||||
"cell": "deb_tme222158_stat",
|
||||
"state": "* 6 *",
|
||||
"reason": "tme222158_got_the_exit_signal_at_debica"
|
||||
},
|
||||
"slow": true,
|
||||
"physicslog": false,
|
||||
"ini": [
|
||||
"file.binary.terrain no"
|
||||
],
|
||||
"test_config": [
|
||||
"test.timeout 6000",
|
||||
"test.standstill 2100",
|
||||
"test.fail_if_stop_overran no"
|
||||
],
|
||||
"expect": "pass",
|
||||
"timeout": 3600,
|
||||
"checks": [
|
||||
{
|
||||
"type": "log_contains",
|
||||
"pattern": "Uncoupling \\[et21-367\\]: uncoupled"
|
||||
}
|
||||
]
|
||||
}
|
||||
13
tests/scenarios/cases/mission_state_probe.scn
Normal file
13
tests/scenarios/cases/mission_state_probe.scn
Normal file
@@ -0,0 +1,13 @@
|
||||
// added by tests/scenarios/run.py to a scenery that keeps its own trainsets (strip_trainsets false): the
|
||||
// case tests one of the scenery's missions, with every train driven by AI.
|
||||
// the sceneries of this kind steer their stations with state cells, one per train (text and two values,
|
||||
// e.g. "a 6 *": the route of step 6 is set for the train, "d * *": the train is done at this station).
|
||||
// the probe looks at the cell {{cell}} every 5 s from the start on and reports the pass once it holds
|
||||
// {{state}}. no fail event: a train that never gets there ends the test with the standstill or the
|
||||
// timeout of the test mode.
|
||||
// the two events calling each other are the loop these sceneries use themselves (e.g. bal_obsluga_stacji);
|
||||
// an event with "onstart" in its name is queued when the scenery starts.
|
||||
event onstart_autotest_probe multiple 30 none autotest_probe endevent
|
||||
event autotest_probe multiple 0 {{cell}} autotest_pass else autotest_probe_wait condition memcompare {{state}} endevent
|
||||
event autotest_probe_wait multiple 5 none autotest_probe endevent
|
||||
event autotest_pass UpdateValues 0 __test.result {{reason}} 1 * endevent
|
||||
27
tests/scenarios/cases/sm42_td_crew_remove.json
Normal file
27
tests/scenarios/cases/sm42_td_crew_remove.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"description": "Crew event, the driver disappears (eu07/maszyna#510): as eu07_td_crew_remove, with an SM42 diesel shunter which loses its AI driver on the run at 10:36, stops and stays where it stopped.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_crew.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset td/rozklad tdo_n1734 0.0 0.1",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\sm42_v1 6D-468 6D 0 headdriver 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"crew": [
|
||||
"event autotest_crew_off putvalues 0 none 0 0 0 Crew:{{vehicle}} 0 0 endevent",
|
||||
"node -1 0 autotest_crew_off_launcher eventlauncher 0 0 0 -1 none 1036 autotest_crew_off end"
|
||||
]
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "starts", "min_speed": 20, "within": 150 },
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_sm42_td_crew_remove\\] the AI driver leaves" },
|
||||
{ "type": "driver_changes", "vehicle": "{{vehicle}}", "to": "none", "after": 115, "before": 130 },
|
||||
{ "type": "stops_driverless", "vehicle": "{{vehicle}}", "min_speed": 20, "within": 60, "hold": 100 },
|
||||
{ "type": "log_lacks", "pattern": "derailed" },
|
||||
{ "type": "log_lacks", "pattern": "collided" }
|
||||
]
|
||||
}
|
||||
25
tests/scenarios/cases/sm42_td_uncouple_past_signal.json
Normal file
25
tests/scenarios/cases/sm42_td_uncouple_past_signal.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"description": "SM42 shunter on td.scn pulls three loaded wagons back along tor1k and stops with the far end of the last one a few metres past the exit signal stacja1_j at stop, then gets Shunt 0 0 (uncouple): after the direction change the signal lies at stop over that wagon, behind the new head, and the AI has to push the buffers in all the same and let the coupler go.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_uncouple_past_signal.scn",
|
||||
"vars": {
|
||||
"wagons": [
|
||||
"node -1 0 {{vehicle}}_w3 dynamic pkp\\401z_v2 82515940087-8 401zp_2 0 nobody 3 60 gravel enddynamic",
|
||||
"node -1 0 {{vehicle}}_w2 dynamic pkp\\401z_v2 82515942691-5 401zp_1 0 nobody 3 60 gravel enddynamic",
|
||||
"node -1 0 {{vehicle}}_w1 dynamic pkp\\401z_v2 82515993043-7 401zl_2 0 nobody 3 60 gravel enddynamic"
|
||||
]
|
||||
},
|
||||
"track_events": {
|
||||
"tor1k": "event0 autotest_wake"
|
||||
},
|
||||
"test_config": [
|
||||
"test.fail_if_stop_overran no"
|
||||
],
|
||||
"duration": 180,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "log_contains", "pattern": "Uncoupling \\[autotest_sm42_td_uncouple_past_signal\\]: uncoupled" },
|
||||
{ "type": "distance", "min": 45, "max": 49 }
|
||||
]
|
||||
}
|
||||
47
tests/scenarios/cases/sn61_td_downgrade_w4_signal.json
Normal file
47
tests/scenarios/cases/sn61_td_downgrade_w4_signal.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"description": "An SN61 railcar alone on the line of eu07_td_downgrade_w4_signal, down a gradient of 20 per mille: stops at the W4 of Dol, then before the signal at stop. The SN61 alone brakes with its independent brake.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_downgrade_w4_signal.scn",
|
||||
"timetable": "td_downgrade.txt",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp\\sn61_v2 SN61-13 SN61_v1 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"duration": 540,
|
||||
"timeout": 900,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 150
|
||||
},
|
||||
{
|
||||
"type": "max_speed",
|
||||
"limit": 80,
|
||||
"tolerance": 3
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 20,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 20,
|
||||
"min_distance": 1500,
|
||||
"max_distance": 1700
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 20,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 20,
|
||||
"min_distance": 2550,
|
||||
"max_distance": 2750,
|
||||
"max_time": 366,
|
||||
"nth": 2
|
||||
},
|
||||
{
|
||||
"type": "distance",
|
||||
"min": 2550,
|
||||
"max": 2750
|
||||
}
|
||||
]
|
||||
}
|
||||
86
tests/scenarios/cases/st43_steel_td_downgrade12_long.json
Normal file
86
tests/scenarios/cases/st43_steel_td_downgrade12_long.json
Normal file
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"description": "An ST43 with 45 loaded steel coil wagons (425S, G) on a line of its own beside td.scn: from the level down a gradient of 12 per mille, 6 km long, at the 40 km/h of its timetable, to the signal at stop 6000 m down. The train is not to come to a stand on the way down (#199).",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_downgrade12_long.scn",
|
||||
"timetable": "td_freight_downgrade12.txt",
|
||||
"vars": {
|
||||
"consist": [
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\st43_v1 st43-195 060Da 0 headdriver 3 0 enddynamic",
|
||||
"node -1 0 {{vehicle}}_w01 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w02 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w03 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w04 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w05 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w06 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w07 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w08 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w09 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w10 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w11 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w12 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w13 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w14 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w15 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w16 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w17 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w18 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w19 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w20 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w21 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w22 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w23 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w24 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w25 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w26 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w27 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w28 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w29 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w30 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w31 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w32 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w33 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w34 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w35 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w36 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w37 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w38 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w39 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w40 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w41 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w42 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w43 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w44 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic",
|
||||
"node -1 0 {{vehicle}}_w45 dynamic pkp\\425s_v1 31514644357-9 425S_1 0 nobody 3 3 steel_coils enddynamic"
|
||||
]
|
||||
},
|
||||
"expect": "standstill",
|
||||
"duration": 1500,
|
||||
"timeout": 1800,
|
||||
"checks": [
|
||||
{
|
||||
"type": "starts",
|
||||
"min_speed": 20,
|
||||
"within": 400
|
||||
},
|
||||
{
|
||||
"type": "max_speed",
|
||||
"limit": 40,
|
||||
"tolerance": 5
|
||||
},
|
||||
{
|
||||
"type": "keeps_moving",
|
||||
"moving_speed": 20,
|
||||
"min_speed": 5,
|
||||
"until_distance": 5800
|
||||
},
|
||||
{
|
||||
"type": "stops",
|
||||
"moving_speed": 15,
|
||||
"stop_speed": 1.0,
|
||||
"hold": 20,
|
||||
"min_distance": 5950,
|
||||
"max_distance": 6110
|
||||
}
|
||||
]
|
||||
}
|
||||
11
tests/scenarios/cases/td_buckle_event.scn
Normal file
11
tests/scenarios/cases/td_buckle_event.scn
Normal file
@@ -0,0 +1,11 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed:
|
||||
// td_timetable.scn (the timetable train from track 1 of Stacja1 to Przystanek), and at 10:35, as the train leaves,
|
||||
// the curve tdo_n222 (R 600 m, about 950 m ahead of it) buckles in the heat out of the curve with the
|
||||
// trackbuckle event of {{amplitude}} mm (see world/TrackBuckle.h)
|
||||
trainset td/rozklad tdo_n1734 0.0 0.1
|
||||
{{consist}}
|
||||
endtrainset
|
||||
|
||||
node -1 0 autotest_route eventlauncher 0 0 0 -1 none 1034 keyctrl04 end
|
||||
event autotest_buckle trackbuckle 0 tdo_n222 {{amplitude}} endevent
|
||||
node -1 0 autotest_buckle_launcher eventlauncher 0 0 0 -1 none 1035 autotest_buckle end
|
||||
28
tests/scenarios/cases/td_cold_connect.scn
Normal file
28
tests/scenarios/cases/td_cold_connect.scn
Normal file
@@ -0,0 +1,28 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// on the straight track 1 of Stacja1: a locomotive with an AI driver stands cold (trainset velocity 0, so
|
||||
// it starts "Braked": hand brake on, battery off, pantographs down) on tdo_n1725, its front 60 m past
|
||||
// point 1 of the track, facing point 2; the rake (vars.rake) stands, braked as well and with nobody in it,
|
||||
// on tdo_n1734 ahead of it, its front 60 m past point 1 of that track, some 45 m in front of the
|
||||
// locomotive (two coaches of 26.4 m).
|
||||
trainset none tdo_n1725 60.0 0.0
|
||||
node -1 0 {{vehicle}} dynamic {{locomotive}} 0 headdriver 0 0 enddynamic
|
||||
endtrainset
|
||||
|
||||
trainset none tdo_n1734 60.0 0.0
|
||||
{{rake}}
|
||||
endtrainset
|
||||
|
||||
// a driver of a standing trainset sleeps on Wait_for_orders until something wakes it. event0 of the
|
||||
// locomotive's track (the case's track_events) runs while it stands there and gives it, once (the memory
|
||||
// cell), the order a scenery gives a shunter to couple: Shunt -1 3, couple to the consist standing ahead
|
||||
// with the coupler and the brake hose and go on shunting. the engine is cold, so the AI starts it
|
||||
// first: its orders are Prepare_engine, Connect, Shunt, and Connect is the first one it drives under.
|
||||
node -1 0 autotest_ordered memcell 0 0 0 ordered 0 0 none endmemcell
|
||||
event autotest_wake multiple 0 autotest_ordered autotest_order autotest_order_given condition memcompare * 0 * endevent
|
||||
event autotest_order PutValues 0 none 0 0 0 Shunt -1 3 endevent
|
||||
event autotest_order_given UpdateValues 0 autotest_ordered * 1 * endevent
|
||||
|
||||
// the rake, pushed by the locomotive, runs onto tor1k (40 m ahead of its first coach) towards its
|
||||
// point 2: eventall2 of tor1k (the case's track_events) passes the test, which ends there with the train
|
||||
// still moving (test.no_movement_before_pass no), 100 m short of the exit signal at the end of tor1k.
|
||||
event autotest_pass UpdateValues 0 __test.result the_rake_was_coupled_and_pushed 1 * endevent
|
||||
19
tests/scenarios/cases/td_cold_timetable.scn
Normal file
19
tests/scenarios/cases/td_cold_timetable.scn
Normal file
@@ -0,0 +1,19 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed:
|
||||
// the trainset goes after FirstInit, the launcher and the events before it.
|
||||
// the case's consist stands cold where td.scn keeps its timetable train (track 1 of Stacja1): trainset
|
||||
// velocity 0, so every vehicle starts "Braked": brake pipe at 3.5 bar, battery off, hand and spring brakes on.
|
||||
// it has the same timetable: Stacja1 10:35 -> Przystanek -> Stacja2.
|
||||
trainset td/rozklad tdo_n1734 0.0 0.0
|
||||
{{consist}}
|
||||
endtrainset
|
||||
|
||||
// the way out of track 1, as in td_timetable.scn
|
||||
node -1 0 autotest_route eventlauncher 0 0 0 -1 none 1034 keyctrl04 end
|
||||
|
||||
// a driver of a standing trainset sleeps on Wait_for_orders until something wakes it. event0 of the train's
|
||||
// track (the case's track_events) runs while it stands there and gives it, once (the memory cell), the order
|
||||
// to run as a train: Obey_train. the engine is cold, so the AI starts it first (Prepare_engine).
|
||||
node -1 0 autotest_ordered memcell 0 0 0 ordered 0 0 none endmemcell
|
||||
event autotest_wake multiple 0 autotest_ordered autotest_order autotest_order_given condition memcompare * 0 * endevent
|
||||
event autotest_order PutValues 0 none 0 0 0 Obey_train 0 0 endevent
|
||||
event autotest_order_given UpdateValues 0 autotest_ordered * 1 * endevent
|
||||
22
tests/scenarios/cases/td_crew.scn
Normal file
22
tests/scenarios/cases/td_crew.scn
Normal file
@@ -0,0 +1,22 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// the vehicles of the case (vars.trainsets), the lead one on track 1 of Stacja1 (tdo_n1734), where td.scn keeps
|
||||
// its timetable train, and the crew events of the case (vars.crew, eu07/maszyna#510): a putvalues event with
|
||||
// "Crew:<vehicle> <cab> <flags>" puts an AI driver in cab A (1) or cab B (-1) of the vehicle named, or takes its
|
||||
// AI driver off (0). the vehicle is named in the text, so the events run from event launchers, with no vehicle
|
||||
// setting them off.
|
||||
{{trainsets}}
|
||||
|
||||
// the way out of track 1, see td_timetable.scn
|
||||
node -1 0 autotest_route eventlauncher 0 0 0 -1 none 1034 keyctrl04 end
|
||||
|
||||
{{crew}}
|
||||
|
||||
// a driver put in a standing vehicle waits for orders, as the driver of a standing trainset does, and the scenery
|
||||
// has to give them. event0 of the track the locomotive stands on (the track_events of the case) runs while a
|
||||
// vehicle with a driver in charge stands there; once the cell says a new driver waits (autotest_crew_waits, run
|
||||
// along with the crew event), it gives the order to go, Shunt -1 0, one time.
|
||||
node -1 0 autotest_ordered memcell 0 0 0 ordered 0 0 none endmemcell
|
||||
event autotest_crew_waits UpdateValues 0 autotest_ordered * 1 * endevent
|
||||
event autotest_wake multiple 0 autotest_ordered autotest_order autotest_order_given condition memcompare * 1 * endevent
|
||||
event autotest_order PutValues 0 none 0 0 0 Shunt -1 0 endevent
|
||||
event autotest_order_given UpdateValues 0 autotest_ordered * 2 * endevent
|
||||
9
tests/scenarios/cases/td_departure_station.scn
Normal file
9
tests/scenarios/cases/td_departure_station.scn
Normal file
@@ -0,0 +1,9 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// the same start as td_timetable.scn, the W4 of Stacja1 about 35 m ahead of the train, but on the case's own
|
||||
// timetable: {{timetable}}, a copy of the case's "timetable" file, Stacja1 10:35 -> Przystanek -> Stacja2 whose
|
||||
// first row gives no arrival time, only the departure. the route out of track 1 is set at 10:34
|
||||
trainset {{timetable}} tdo_n1734 0.0 0.1
|
||||
{{consist}}
|
||||
endtrainset
|
||||
|
||||
node -1 0 autotest_route eventlauncher 0 0 0 -1 none 1034 keyctrl04 end
|
||||
20
tests/scenarios/cases/td_departure_station.txt
Normal file
20
tests/scenarios/cases/td_departure_station.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
________________________________________________________________
|
||||
[ Rodzaj i numer pociagu | TEST25 ]
|
||||
[ Kategoria | RO ]
|
||||
[________________________________________________|______________]
|
||||
[ | Stacja1 ]
|
||||
[ Relacja pociagu | Stacja2 ]
|
||||
[________________________________________________|______________]
|
||||
[ Wymagany % ciezaru hamujacego | 88% ]
|
||||
[________________________________________________|______________]
|
||||
[ Seria i obciazenie lokomotywy | EU07 210 ]
|
||||
[________________________________________________|______________]
|
||||
[ | | Stacja1 2 | | ]
|
||||
[ | 60 | R1,L,H,RT,PP 2 10.35 | ]
|
||||
[ | |----------------------------------1----------|---]
|
||||
[ | | Przystanek 1 10.37 | 4 ]
|
||||
[ |_____| R1,+,L,H,PP,pt 1 10.37.3 | ]
|
||||
[ | 90 |----------------------------------1----------|---]
|
||||
[ | | Stacja2 1 10.39 | 1 ]
|
||||
[ | | R1 1 10.40 | ]
|
||||
[_______|_____|__________________________________1__________|___]
|
||||
20
tests/scenarios/cases/td_departure_station_capitals.txt
Normal file
20
tests/scenarios/cases/td_departure_station_capitals.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
________________________________________________________________
|
||||
[ Rodzaj i numer pociagu | TEST24 ]
|
||||
[ Kategoria | RO ]
|
||||
[________________________________________________|______________]
|
||||
[ | Stacja1 ]
|
||||
[ Relacja pociagu | Stacja2 ]
|
||||
[________________________________________________|______________]
|
||||
[ Wymagany % ciezaru hamujacego | 88% ]
|
||||
[________________________________________________|______________]
|
||||
[ Seria i obciazenie lokomotywy | EU07 210 ]
|
||||
[________________________________________________|______________]
|
||||
[ | | STACJA1 2 | | ]
|
||||
[ | 60 | R1,L,H,RT,PP 2 10.35 | ]
|
||||
[ | |----------------------------------1----------|---]
|
||||
[ | | Przystanek 1 10.37 | 4 ]
|
||||
[ |_____| R1,+,L,H,PP,pt 1 10.37.3 | ]
|
||||
[ | 90 |----------------------------------1----------|---]
|
||||
[ | | Stacja2 1 10.39 | 1 ]
|
||||
[ | | R1 1 10.40 | ]
|
||||
[_______|_____|__________________________________1__________|___]
|
||||
20
tests/scenarios/cases/td_downgrade.txt
Normal file
20
tests/scenarios/cases/td_downgrade.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
________________________________________________________________
|
||||
[ Rodzaj i numer pociagu | TEST26 ]
|
||||
[ Kategoria | RO ]
|
||||
[________________________________________________|______________]
|
||||
[ | Gora ]
|
||||
[ Relacja pociagu | Koniec ]
|
||||
[________________________________________________|______________]
|
||||
[ Wymagany % ciezaru hamujacego | 88% ]
|
||||
[________________________________________________|______________]
|
||||
[ Seria i obciazenie lokomotywy | EU07 210 ]
|
||||
[________________________________________________|______________]
|
||||
[ | | Gora 2 | | ]
|
||||
[ | 80 | R1,L,H,RT,PP 2 10.35 | ]
|
||||
[ | |----------------------------------1----------|---]
|
||||
[ | | Dol 1 10.37 | 4 ]
|
||||
[ |_____| R1,+,L,H,PP 1 10.38 | ]
|
||||
[ | 80 |----------------------------------1----------|---]
|
||||
[ | | Koniec 1 10.45 | 7 ]
|
||||
[ | | R1 1 10.46 | ]
|
||||
[_______|_____|__________________________________1__________|___]
|
||||
608
tests/scenarios/cases/td_downgrade12_long.scn
Normal file
608
tests/scenarios/cases/td_downgrade12_long.scn
Normal file
@@ -0,0 +1,608 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// a line of its own, away from the tracks of td.scn: 900 m level, then 6500 m down a gradient of 12 per mille,
|
||||
// with no overhead wire (diesel trains). the train starts on the level with its head 10 m before the W4 of Gora and runs on
|
||||
// the timetable {{timetable}} (no stop; a freight train leaves Gora at once) at its line limit, down to the signal hl_sem
|
||||
// at stop 6000 m down the gradient. the line goes on 500 m past the signal
|
||||
node -1 0 hl_00 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_01 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_02 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_03 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_04 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_05 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_06 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_07 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_08 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 0.0 0.0
|
||||
0
|
||||
event2 gora#1_stopinfo
|
||||
endtrack
|
||||
node -1 0 hl_09 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 58.80 100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_10 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 58.80 100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 57.60 200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_11 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 57.60 200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 56.40 300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_12 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 56.40 300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 55.20 400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_13 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 55.20 400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 54.00 500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_14 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 54.00 500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 52.80 600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_15 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 52.80 600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 51.60 700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_16 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 51.60 700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 50.40 800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_17 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 50.40 800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 49.20 900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_18 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 49.20 900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 48.00 1000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_19 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 48.00 1000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 46.80 1100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_20 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 46.80 1100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 45.60 1200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_21 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 45.60 1200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 44.40 1300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_22 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 44.40 1300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 43.20 1400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_23 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 43.20 1400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 42.00 1500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_24 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 42.00 1500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 40.80 1600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_25 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 40.80 1600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 39.60 1700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_26 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 39.60 1700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 38.40 1800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_27 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 38.40 1800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 37.20 1900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_28 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 37.20 1900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 36.00 2000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_29 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 36.00 2000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 34.80 2100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_30 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 34.80 2100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 33.60 2200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_31 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 33.60 2200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 32.40 2300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_32 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 32.40 2300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 31.20 2400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_33 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 31.20 2400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 30.00 2500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_34 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 30.00 2500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 28.80 2600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_35 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 28.80 2600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 27.60 2700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_36 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 27.60 2700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 26.40 2800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_37 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 26.40 2800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 25.20 2900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_38 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 25.20 2900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 24.00 3000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_39 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 24.00 3000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 22.80 3100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_40 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 22.80 3100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 21.60 3200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_41 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 21.60 3200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 20.40 3300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_42 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 20.40 3300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 19.20 3400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_43 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 19.20 3400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 18.00 3500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_44 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 18.00 3500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 16.80 3600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_45 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 16.80 3600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 15.60 3700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_46 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 15.60 3700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 14.40 3800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_47 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 14.40 3800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 13.20 3900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_48 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 13.20 3900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 12.00 4000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_49 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 12.00 4000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 10.80 4100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_50 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 10.80 4100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 9.60 4200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_51 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 9.60 4200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 8.40 4300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_52 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 8.40 4300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 7.20 4400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_53 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 7.20 4400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 6.00 4500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_54 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 6.00 4500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 4.80 4600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_55 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 4.80 4600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 3.60 4700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_56 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 3.60 4700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 2.40 4800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_57 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 2.40 4800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 1.20 4900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_58 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 1.20 4900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -0.00 5000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_59 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -0.00 5000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -1.20 5100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_60 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -1.20 5100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -2.40 5200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_61 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -2.40 5200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -3.60 5300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_62 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -3.60 5300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -4.80 5400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_63 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -4.80 5400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -6.00 5500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_64 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -6.00 5500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -7.20 5600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_65 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -7.20 5600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -8.40 5700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_66 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -8.40 5700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -9.60 5800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_67 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -9.60 5800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -10.80 5900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_68 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -10.80 5900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -12.00 6000.0 0.0
|
||||
0
|
||||
event2 hl_sem_info
|
||||
endtrack
|
||||
node -1 0 hl_69 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -12.00 6000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -13.20 6100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_70 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -13.20 6100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -14.40 6200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_71 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -14.40 6200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -15.60 6300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_72 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -15.60 6300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -16.80 6400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hl_73 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -16.80 6400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -18.00 6500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
// the W4 of the stations of the timetable
|
||||
include ip/pkp/w4n.inc gora#1 -2997.3 60.00 -90.0 180 0 0 -10 202 end
|
||||
// a signal at stop: what the AI reads of one, a memory cell with SetVelocity 0 0 and the event that reads it
|
||||
node -1 0 hl_sem_mem memcell -2997.3 -4.00 6000.0 SetVelocity 0.0 0.0 none endmemcell
|
||||
event hl_sem_info getvalues 5.0 hl_sem_mem endevent
|
||||
|
||||
trainset {{timetable}} hl_08 0.0 0.1
|
||||
{{consist}}
|
||||
endtrainset
|
||||
638
tests/scenarios/cases/td_downgrade_restriction.scn
Normal file
638
tests/scenarios/cases/td_downgrade_restriction.scn
Normal file
@@ -0,0 +1,638 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// a line of its own, away from the tracks of td.scn: 600 m level, then 3500 m down a gradient of 20 per mille,
|
||||
// under an overhead wire. the train starts on the level with its head 10 m before the W4 of Gora and runs on the timetable
|
||||
// {{timetable}} (no stop; a freight train leaves Gora at once): its line limit, a 20 km/h restriction from 1500 to 1900 m
|
||||
// down the gradient, then the signal hr_sem at stop 3000 m down the gradient. the line goes on 500 m past the signal
|
||||
node -1 0 hr_00 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_01 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_02 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_03 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_04 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_05 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 0.0 0.0
|
||||
0
|
||||
event2 gora#1_stopinfo
|
||||
endtrack
|
||||
node -1 0 hr_06 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 58.00 100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_07 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 58.00 100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 56.00 200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_08 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 56.00 200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 54.00 300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_09 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 54.00 300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 52.00 400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_10 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 52.00 400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 50.00 500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_11 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 50.00 500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 48.00 600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_12 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 48.00 600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 46.00 700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_13 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 46.00 700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 44.00 800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_14 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 44.00 800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 42.00 900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_15 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 42.00 900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 40.00 1000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_16 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 40.00 1000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 38.00 1100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_17 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 38.00 1100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 36.00 1200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_18 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 36.00 1200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 34.00 1300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_19 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 34.00 1300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 32.00 1400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_20 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 32.00 1400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 30.00 1500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_21 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 30.00 1500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 28.00 1600.0 0.0
|
||||
0
|
||||
velocity 20
|
||||
endtrack
|
||||
node -1 0 hr_22 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 28.00 1600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 26.00 1700.0 0.0
|
||||
0
|
||||
velocity 20
|
||||
endtrack
|
||||
node -1 0 hr_23 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 26.00 1700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 24.00 1800.0 0.0
|
||||
0
|
||||
velocity 20
|
||||
endtrack
|
||||
node -1 0 hr_24 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 24.00 1800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 22.00 1900.0 0.0
|
||||
0
|
||||
velocity 20
|
||||
endtrack
|
||||
node -1 0 hr_25 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 22.00 1900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 20.00 2000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_26 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 20.00 2000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 18.00 2100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_27 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 18.00 2100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 16.00 2200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_28 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 16.00 2200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 14.00 2300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_29 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 14.00 2300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 12.00 2400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_30 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 12.00 2400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 10.00 2500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_31 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 10.00 2500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 8.00 2600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_32 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 8.00 2600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 6.00 2700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_33 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 6.00 2700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 4.00 2800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_34 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 4.00 2800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 2.00 2900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_35 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 2.00 2900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 0.00 3000.0 0.0
|
||||
0
|
||||
event2 hr_sem_info
|
||||
endtrack
|
||||
node -1 0 hr_36 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 0.00 3000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -2.00 3100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_37 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -2.00 3100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -4.00 3200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_38 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -4.00 3200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -6.00 3300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_39 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -6.00 3300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -8.00 3400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hr_40 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 -8.00 3400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 -10.00 3500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
// the overhead wire along the whole line, as td.scn has it: 5.6 m above the rail, the carrier 1.7 m higher, fed by
|
||||
// a substation of its own
|
||||
node -1 0 hr_pwr tractionpowersource -3000.0 60.00 0.0 3400 0 0.01 2000 1.0 3 60.0 end
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -600.0
|
||||
-3000.0 65.60 -500.0
|
||||
-3000.0 67.30 -600.0
|
||||
-3000.0 67.30 -500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -500.0
|
||||
-3000.0 65.60 -400.0
|
||||
-3000.0 67.30 -500.0
|
||||
-3000.0 67.30 -400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -400.0
|
||||
-3000.0 65.60 -300.0
|
||||
-3000.0 67.30 -400.0
|
||||
-3000.0 67.30 -300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -300.0
|
||||
-3000.0 65.60 -200.0
|
||||
-3000.0 67.30 -300.0
|
||||
-3000.0 67.30 -200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -200.0
|
||||
-3000.0 65.60 -100.0
|
||||
-3000.0 67.30 -200.0
|
||||
-3000.0 67.30 -100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -100.0
|
||||
-3000.0 65.60 0.0
|
||||
-3000.0 67.30 -100.0
|
||||
-3000.0 67.30 0.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 0.0
|
||||
-3000.0 63.60 100.0
|
||||
-3000.0 67.30 0.0
|
||||
-3000.0 65.30 100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 63.60 100.0
|
||||
-3000.0 61.60 200.0
|
||||
-3000.0 65.30 100.0
|
||||
-3000.0 63.30 200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 61.60 200.0
|
||||
-3000.0 59.60 300.0
|
||||
-3000.0 63.30 200.0
|
||||
-3000.0 61.30 300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 59.60 300.0
|
||||
-3000.0 57.60 400.0
|
||||
-3000.0 61.30 300.0
|
||||
-3000.0 59.30 400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 57.60 400.0
|
||||
-3000.0 55.60 500.0
|
||||
-3000.0 59.30 400.0
|
||||
-3000.0 57.30 500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 55.60 500.0
|
||||
-3000.0 53.60 600.0
|
||||
-3000.0 57.30 500.0
|
||||
-3000.0 55.30 600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 53.60 600.0
|
||||
-3000.0 51.60 700.0
|
||||
-3000.0 55.30 600.0
|
||||
-3000.0 53.30 700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 51.60 700.0
|
||||
-3000.0 49.60 800.0
|
||||
-3000.0 53.30 700.0
|
||||
-3000.0 51.30 800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 49.60 800.0
|
||||
-3000.0 47.60 900.0
|
||||
-3000.0 51.30 800.0
|
||||
-3000.0 49.30 900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 47.60 900.0
|
||||
-3000.0 45.60 1000.0
|
||||
-3000.0 49.30 900.0
|
||||
-3000.0 47.30 1000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 45.60 1000.0
|
||||
-3000.0 43.60 1100.0
|
||||
-3000.0 47.30 1000.0
|
||||
-3000.0 45.30 1100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 43.60 1100.0
|
||||
-3000.0 41.60 1200.0
|
||||
-3000.0 45.30 1100.0
|
||||
-3000.0 43.30 1200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 41.60 1200.0
|
||||
-3000.0 39.60 1300.0
|
||||
-3000.0 43.30 1200.0
|
||||
-3000.0 41.30 1300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 39.60 1300.0
|
||||
-3000.0 37.60 1400.0
|
||||
-3000.0 41.30 1300.0
|
||||
-3000.0 39.30 1400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 37.60 1400.0
|
||||
-3000.0 35.60 1500.0
|
||||
-3000.0 39.30 1400.0
|
||||
-3000.0 37.30 1500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 35.60 1500.0
|
||||
-3000.0 33.60 1600.0
|
||||
-3000.0 37.30 1500.0
|
||||
-3000.0 35.30 1600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 33.60 1600.0
|
||||
-3000.0 31.60 1700.0
|
||||
-3000.0 35.30 1600.0
|
||||
-3000.0 33.30 1700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 31.60 1700.0
|
||||
-3000.0 29.60 1800.0
|
||||
-3000.0 33.30 1700.0
|
||||
-3000.0 31.30 1800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 29.60 1800.0
|
||||
-3000.0 27.60 1900.0
|
||||
-3000.0 31.30 1800.0
|
||||
-3000.0 29.30 1900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 27.60 1900.0
|
||||
-3000.0 25.60 2000.0
|
||||
-3000.0 29.30 1900.0
|
||||
-3000.0 27.30 2000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 25.60 2000.0
|
||||
-3000.0 23.60 2100.0
|
||||
-3000.0 27.30 2000.0
|
||||
-3000.0 25.30 2100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 23.60 2100.0
|
||||
-3000.0 21.60 2200.0
|
||||
-3000.0 25.30 2100.0
|
||||
-3000.0 23.30 2200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 21.60 2200.0
|
||||
-3000.0 19.60 2300.0
|
||||
-3000.0 23.30 2200.0
|
||||
-3000.0 21.30 2300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 19.60 2300.0
|
||||
-3000.0 17.60 2400.0
|
||||
-3000.0 21.30 2300.0
|
||||
-3000.0 19.30 2400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 17.60 2400.0
|
||||
-3000.0 15.60 2500.0
|
||||
-3000.0 19.30 2400.0
|
||||
-3000.0 17.30 2500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 15.60 2500.0
|
||||
-3000.0 13.60 2600.0
|
||||
-3000.0 17.30 2500.0
|
||||
-3000.0 15.30 2600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 13.60 2600.0
|
||||
-3000.0 11.60 2700.0
|
||||
-3000.0 15.30 2600.0
|
||||
-3000.0 13.30 2700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 11.60 2700.0
|
||||
-3000.0 9.60 2800.0
|
||||
-3000.0 13.30 2700.0
|
||||
-3000.0 11.30 2800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 9.60 2800.0
|
||||
-3000.0 7.60 2900.0
|
||||
-3000.0 11.30 2800.0
|
||||
-3000.0 9.30 2900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 7.60 2900.0
|
||||
-3000.0 5.60 3000.0
|
||||
-3000.0 9.30 2900.0
|
||||
-3000.0 7.30 3000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 5.60 3000.0
|
||||
-3000.0 3.60 3100.0
|
||||
-3000.0 7.30 3000.0
|
||||
-3000.0 5.30 3100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 3.60 3100.0
|
||||
-3000.0 1.60 3200.0
|
||||
-3000.0 5.30 3100.0
|
||||
-3000.0 3.30 3200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 1.60 3200.0
|
||||
-3000.0 -0.40 3300.0
|
||||
-3000.0 3.30 3200.0
|
||||
-3000.0 1.30 3300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 -0.40 3300.0
|
||||
-3000.0 -2.40 3400.0
|
||||
-3000.0 1.30 3300.0
|
||||
-3000.0 -0.70 3400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 -2.40 3400.0
|
||||
-3000.0 -4.40 3500.0
|
||||
-3000.0 -0.70 3400.0
|
||||
-3000.0 -2.70 3500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
// the W4 of the stations of the timetable
|
||||
include ip/pkp/w4n.inc gora#1 -2997.3 60.00 -90.0 180 0 0 -10 202 end
|
||||
// a signal at stop: what the AI reads of one, a memory cell with SetVelocity 0 0 and the event that reads it
|
||||
node -1 0 hr_sem_mem memcell -2997.3 8.00 3000.0 SetVelocity 0.0 0.0 none endmemcell
|
||||
event hr_sem_info getvalues 5.0 hr_sem_mem endevent
|
||||
|
||||
trainset {{timetable}} hr_05 0.0 0.1
|
||||
{{consist}}
|
||||
endtrainset
|
||||
518
tests/scenarios/cases/td_downgrade_w4_signal.scn
Normal file
518
tests/scenarios/cases/td_downgrade_w4_signal.scn
Normal file
@@ -0,0 +1,518 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// a line of its own, away from the tracks of td.scn: 300 m level, then 3000 m down a gradient of 20 per mille,
|
||||
// under an overhead wire.
|
||||
// the train starts on the level, with the W4 of Gora about 40 m ahead, and runs on the timetable {{timetable}}:
|
||||
// Gora 10:35 -> Dol, a W4 1500 m down the gradient (stop, leaves at 10:38) -> the signal gr_sem, 1100 m further
|
||||
// down, which stays at stop. the line goes on 400 m past the signal
|
||||
node -1 0 gr_00 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_01 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_02 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 0.0 0.0
|
||||
0
|
||||
event2 gora#1_stopinfo
|
||||
endtrack
|
||||
node -1 0 gr_03 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 58.00 100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_04 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 58.00 100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 56.00 200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_05 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 56.00 200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 54.00 300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_06 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 54.00 300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 52.00 400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_07 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 52.00 400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 50.00 500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_08 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 50.00 500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 48.00 600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_09 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 48.00 600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 46.00 700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_10 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 46.00 700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 44.00 800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_11 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 44.00 800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 42.00 900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_12 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 42.00 900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 40.00 1000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_13 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 40.00 1000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 38.00 1100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_14 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 38.00 1100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 36.00 1200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_15 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 36.00 1200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 34.00 1300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_16 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 34.00 1300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 32.00 1400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_17 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 32.00 1400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 30.00 1500.0 0.0
|
||||
0
|
||||
event2 dol#1_stopinfo
|
||||
endtrack
|
||||
node -1 0 gr_18 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 30.00 1500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 28.00 1600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_19 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 28.00 1600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 26.00 1700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_20 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 26.00 1700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 24.00 1800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_21 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 24.00 1800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 22.00 1900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_22 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 22.00 1900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 20.00 2000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_23 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 20.00 2000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 18.00 2100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_24 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 18.00 2100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 16.00 2200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_25 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 16.00 2200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 14.00 2300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_26 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 14.00 2300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 12.00 2400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_27 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 12.00 2400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 10.00 2500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_28 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 10.00 2500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 8.00 2600.0 0.0
|
||||
0
|
||||
event2 gr_sem_info
|
||||
endtrack
|
||||
node -1 0 gr_29 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 8.00 2600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 6.00 2700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_30 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 6.00 2700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 4.00 2800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_31 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 4.00 2800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 2.00 2900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 gr_32 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 2.00 2900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 0.00 3000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
// the overhead wire along the whole line, as td.scn has it: 5.6 m above the rail, the carrier 1.7 m higher, fed by
|
||||
// a substation of its own
|
||||
node -1 0 gr_pwr tractionpowersource -3000.0 60.00 0.0 3400 0 0.01 2000 1.0 3 60.0 end
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -300.0
|
||||
-3000.0 65.60 -200.0
|
||||
-3000.0 67.30 -300.0
|
||||
-3000.0 67.30 -200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -200.0
|
||||
-3000.0 65.60 -100.0
|
||||
-3000.0 67.30 -200.0
|
||||
-3000.0 67.30 -100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -100.0
|
||||
-3000.0 65.60 0.0
|
||||
-3000.0 67.30 -100.0
|
||||
-3000.0 67.30 0.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 0.0
|
||||
-3000.0 63.60 100.0
|
||||
-3000.0 67.30 0.0
|
||||
-3000.0 65.30 100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 63.60 100.0
|
||||
-3000.0 61.60 200.0
|
||||
-3000.0 65.30 100.0
|
||||
-3000.0 63.30 200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 61.60 200.0
|
||||
-3000.0 59.60 300.0
|
||||
-3000.0 63.30 200.0
|
||||
-3000.0 61.30 300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 59.60 300.0
|
||||
-3000.0 57.60 400.0
|
||||
-3000.0 61.30 300.0
|
||||
-3000.0 59.30 400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 57.60 400.0
|
||||
-3000.0 55.60 500.0
|
||||
-3000.0 59.30 400.0
|
||||
-3000.0 57.30 500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 55.60 500.0
|
||||
-3000.0 53.60 600.0
|
||||
-3000.0 57.30 500.0
|
||||
-3000.0 55.30 600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 53.60 600.0
|
||||
-3000.0 51.60 700.0
|
||||
-3000.0 55.30 600.0
|
||||
-3000.0 53.30 700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 51.60 700.0
|
||||
-3000.0 49.60 800.0
|
||||
-3000.0 53.30 700.0
|
||||
-3000.0 51.30 800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 49.60 800.0
|
||||
-3000.0 47.60 900.0
|
||||
-3000.0 51.30 800.0
|
||||
-3000.0 49.30 900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 47.60 900.0
|
||||
-3000.0 45.60 1000.0
|
||||
-3000.0 49.30 900.0
|
||||
-3000.0 47.30 1000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 45.60 1000.0
|
||||
-3000.0 43.60 1100.0
|
||||
-3000.0 47.30 1000.0
|
||||
-3000.0 45.30 1100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 43.60 1100.0
|
||||
-3000.0 41.60 1200.0
|
||||
-3000.0 45.30 1100.0
|
||||
-3000.0 43.30 1200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 41.60 1200.0
|
||||
-3000.0 39.60 1300.0
|
||||
-3000.0 43.30 1200.0
|
||||
-3000.0 41.30 1300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 39.60 1300.0
|
||||
-3000.0 37.60 1400.0
|
||||
-3000.0 41.30 1300.0
|
||||
-3000.0 39.30 1400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 37.60 1400.0
|
||||
-3000.0 35.60 1500.0
|
||||
-3000.0 39.30 1400.0
|
||||
-3000.0 37.30 1500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 35.60 1500.0
|
||||
-3000.0 33.60 1600.0
|
||||
-3000.0 37.30 1500.0
|
||||
-3000.0 35.30 1600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 33.60 1600.0
|
||||
-3000.0 31.60 1700.0
|
||||
-3000.0 35.30 1600.0
|
||||
-3000.0 33.30 1700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 31.60 1700.0
|
||||
-3000.0 29.60 1800.0
|
||||
-3000.0 33.30 1700.0
|
||||
-3000.0 31.30 1800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 29.60 1800.0
|
||||
-3000.0 27.60 1900.0
|
||||
-3000.0 31.30 1800.0
|
||||
-3000.0 29.30 1900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 27.60 1900.0
|
||||
-3000.0 25.60 2000.0
|
||||
-3000.0 29.30 1900.0
|
||||
-3000.0 27.30 2000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 25.60 2000.0
|
||||
-3000.0 23.60 2100.0
|
||||
-3000.0 27.30 2000.0
|
||||
-3000.0 25.30 2100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 23.60 2100.0
|
||||
-3000.0 21.60 2200.0
|
||||
-3000.0 25.30 2100.0
|
||||
-3000.0 23.30 2200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 21.60 2200.0
|
||||
-3000.0 19.60 2300.0
|
||||
-3000.0 23.30 2200.0
|
||||
-3000.0 21.30 2300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 19.60 2300.0
|
||||
-3000.0 17.60 2400.0
|
||||
-3000.0 21.30 2300.0
|
||||
-3000.0 19.30 2400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 17.60 2400.0
|
||||
-3000.0 15.60 2500.0
|
||||
-3000.0 19.30 2400.0
|
||||
-3000.0 17.30 2500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 15.60 2500.0
|
||||
-3000.0 13.60 2600.0
|
||||
-3000.0 17.30 2500.0
|
||||
-3000.0 15.30 2600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 13.60 2600.0
|
||||
-3000.0 11.60 2700.0
|
||||
-3000.0 15.30 2600.0
|
||||
-3000.0 13.30 2700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 11.60 2700.0
|
||||
-3000.0 9.60 2800.0
|
||||
-3000.0 13.30 2700.0
|
||||
-3000.0 11.30 2800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 9.60 2800.0
|
||||
-3000.0 7.60 2900.0
|
||||
-3000.0 11.30 2800.0
|
||||
-3000.0 9.30 2900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction gr_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 7.60 2900.0
|
||||
-3000.0 5.60 3000.0
|
||||
-3000.0 9.30 2900.0
|
||||
-3000.0 7.30 3000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
|
||||
// the W4 of the two stations of the timetable; the middle of the consist 2 m before it, leaves on time
|
||||
include ip/pkp/w4n.inc gora#1 -2997.3 60.00 -60.0 180 0 0 2 202 end
|
||||
include ip/pkp/w4n.inc dol#1 -2997.3 30.00 1500.0 180 0 0 2 202 end
|
||||
// a signal at stop: what the AI reads of one, a memory cell with SetVelocity 0 0 and the event that reads it
|
||||
node -1 0 gr_sem_mem memcell -2997.3 8.00 2600.0 SetVelocity 0.0 0.0 none endmemcell
|
||||
event gr_sem_info getvalues 5.0 gr_sem_mem endevent
|
||||
|
||||
trainset {{timetable}} gr_02 0.0 0.1
|
||||
{{consist}}
|
||||
endtrainset
|
||||
17
tests/scenarios/cases/td_freight_downgrade.txt
Normal file
17
tests/scenarios/cases/td_freight_downgrade.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
________________________________________________________________
|
||||
[ Rodzaj i numer pociagu | TEST44 ]
|
||||
[ Kategoria | TME ]
|
||||
[________________________________________________|______________]
|
||||
[ | Gora ]
|
||||
[ Relacja pociagu | Koniec ]
|
||||
[________________________________________________|______________]
|
||||
[ Wymagany % ciezaru hamujacego | 50% ]
|
||||
[________________________________________________|______________]
|
||||
[ Seria i obciazenie lokomotywy | ET41 1700 ]
|
||||
[________________________________________________|______________]
|
||||
[ | | Gora 2 | | ]
|
||||
[ | 60 | R1,L,H,RT,PP 2 10.35 | ]
|
||||
[ | |----------------------------------1----------|---]
|
||||
[ | | Koniec 1 10.55 | 20]
|
||||
[ | | R1 1 10.56 | ]
|
||||
[_______|_____|__________________________________1__________|___]
|
||||
17
tests/scenarios/cases/td_freight_downgrade12.txt
Normal file
17
tests/scenarios/cases/td_freight_downgrade12.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
________________________________________________________________
|
||||
[ Rodzaj i numer pociagu | TEST45 ]
|
||||
[ Kategoria | TME ]
|
||||
[________________________________________________|______________]
|
||||
[ | Gora ]
|
||||
[ Relacja pociagu | Koniec ]
|
||||
[________________________________________________|______________]
|
||||
[ Wymagany % ciezaru hamujacego | 50% ]
|
||||
[________________________________________________|______________]
|
||||
[ Seria i obciazenie lokomotywy | ST43 3000 ]
|
||||
[________________________________________________|______________]
|
||||
[ | | Gora 2 | | ]
|
||||
[ | 40 | R1,L,H,RT,PP 2 10.35 | ]
|
||||
[ | |----------------------------------1----------|---]
|
||||
[ | | Koniec 1 11.10 | 35]
|
||||
[ | | R1 1 11.11 | ]
|
||||
[_______|_____|__________________________________1__________|___]
|
||||
333
tests/scenarios/cases/td_level_signal.scn
Normal file
333
tests/scenarios/cases/td_level_signal.scn
Normal file
@@ -0,0 +1,333 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// a line of its own, away from the tracks of td.scn: 2100 m level, under an overhead wire. the train starts with
|
||||
// its head 10 m before the W4 of Gora and runs on the timetable {{timetable}} (no stop; a freight train leaves Gora at once) to the signal
|
||||
// lv_sem at stop 1000 m ahead. the line goes on 500 m past it
|
||||
node -1 0 lv_00 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_01 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_02 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_03 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_04 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_05 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 0.0 0.0
|
||||
0
|
||||
event2 gora#1_stopinfo
|
||||
endtrack
|
||||
node -1 0 lv_06 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_07 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_08 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_09 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_10 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_11 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_12 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_13 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_14 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_15 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 1000.0 0.0
|
||||
0
|
||||
event2 lv_sem_info
|
||||
endtrack
|
||||
node -1 0 lv_16 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 1000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 1100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_17 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 1100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 1200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_18 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 1200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 1300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_19 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 1300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 1400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 lv_20 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 1400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 1500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
// the overhead wire along the whole line, as td.scn has it: 5.6 m above the rail, the carrier 1.7 m higher, fed by
|
||||
// a substation of its own
|
||||
node -1 0 lv_pwr tractionpowersource -3000.0 60.00 0.0 3400 0 0.01 2000 1.0 3 60.0 end
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -600.0
|
||||
-3000.0 65.60 -500.0
|
||||
-3000.0 67.30 -600.0
|
||||
-3000.0 67.30 -500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -500.0
|
||||
-3000.0 65.60 -400.0
|
||||
-3000.0 67.30 -500.0
|
||||
-3000.0 67.30 -400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -400.0
|
||||
-3000.0 65.60 -300.0
|
||||
-3000.0 67.30 -400.0
|
||||
-3000.0 67.30 -300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -300.0
|
||||
-3000.0 65.60 -200.0
|
||||
-3000.0 67.30 -300.0
|
||||
-3000.0 67.30 -200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -200.0
|
||||
-3000.0 65.60 -100.0
|
||||
-3000.0 67.30 -200.0
|
||||
-3000.0 67.30 -100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -100.0
|
||||
-3000.0 65.60 0.0
|
||||
-3000.0 67.30 -100.0
|
||||
-3000.0 67.30 0.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 0.0
|
||||
-3000.0 65.60 100.0
|
||||
-3000.0 67.30 0.0
|
||||
-3000.0 67.30 100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 100.0
|
||||
-3000.0 65.60 200.0
|
||||
-3000.0 67.30 100.0
|
||||
-3000.0 67.30 200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 200.0
|
||||
-3000.0 65.60 300.0
|
||||
-3000.0 67.30 200.0
|
||||
-3000.0 67.30 300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 300.0
|
||||
-3000.0 65.60 400.0
|
||||
-3000.0 67.30 300.0
|
||||
-3000.0 67.30 400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 400.0
|
||||
-3000.0 65.60 500.0
|
||||
-3000.0 67.30 400.0
|
||||
-3000.0 67.30 500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 500.0
|
||||
-3000.0 65.60 600.0
|
||||
-3000.0 67.30 500.0
|
||||
-3000.0 67.30 600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 600.0
|
||||
-3000.0 65.60 700.0
|
||||
-3000.0 67.30 600.0
|
||||
-3000.0 67.30 700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 700.0
|
||||
-3000.0 65.60 800.0
|
||||
-3000.0 67.30 700.0
|
||||
-3000.0 67.30 800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 800.0
|
||||
-3000.0 65.60 900.0
|
||||
-3000.0 67.30 800.0
|
||||
-3000.0 67.30 900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 900.0
|
||||
-3000.0 65.60 1000.0
|
||||
-3000.0 67.30 900.0
|
||||
-3000.0 67.30 1000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 1000.0
|
||||
-3000.0 65.60 1100.0
|
||||
-3000.0 67.30 1000.0
|
||||
-3000.0 67.30 1100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 1100.0
|
||||
-3000.0 65.60 1200.0
|
||||
-3000.0 67.30 1100.0
|
||||
-3000.0 67.30 1200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 1200.0
|
||||
-3000.0 65.60 1300.0
|
||||
-3000.0 67.30 1200.0
|
||||
-3000.0 67.30 1300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 1300.0
|
||||
-3000.0 65.60 1400.0
|
||||
-3000.0 67.30 1300.0
|
||||
-3000.0 67.30 1400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction lv_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 1400.0
|
||||
-3000.0 65.60 1500.0
|
||||
-3000.0 67.30 1400.0
|
||||
-3000.0 67.30 1500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
// the W4 of the stations of the timetable
|
||||
include ip/pkp/w4n.inc gora#1 -2997.3 60.00 -90.0 180 0 0 -10 202 end
|
||||
// a signal at stop: what the AI reads of one, a memory cell with SetVelocity 0 0 and the event that reads it
|
||||
node -1 0 lv_sem_mem memcell -2997.3 68.00 1000.0 SetVelocity 0.0 0.0 none endmemcell
|
||||
event lv_sem_info getvalues 5.0 lv_sem_mem endevent
|
||||
|
||||
trainset {{timetable}} lv_05 0.0 0.1
|
||||
{{consist}}
|
||||
endtrainset
|
||||
18
tests/scenarios/cases/td_no_wire.scn
Normal file
18
tests/scenarios/cases/td_no_wire.scn
Normal file
@@ -0,0 +1,18 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// a piece of track of its own, 200 m long and with no overhead wire above it, 400 m off the line of td.scn
|
||||
// (all of whose tracks are under the wire), and an electric locomotive with an AI driver standing on it.
|
||||
// the driver raises the pantographs, which find no wire, and waits in Prepare_engine for the voltage for good
|
||||
// (eu07/maszyna#421); it tells of it in the log once.
|
||||
node -1 0 autotest_no_wire track normal 200.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-400.0 0.2 0.0 0.0 //point 1
|
||||
0.0 0.0 0.0 //control vector 1
|
||||
0.0 0.0 0.0 //control vector 2
|
||||
-400.0 0.2 200.0 0.0 //point 2
|
||||
0
|
||||
endtrack
|
||||
|
||||
// no timetable: the driver goes shunting; 0.01 km/h has it prepare the vehicle and wait for a signal (at 0 it sleeps)
|
||||
trainset none autotest_no_wire 100.0 0.01
|
||||
{{consist}}
|
||||
endtrainset
|
||||
14
tests/scenarios/cases/td_off_track.scn
Normal file
14
tests/scenarios/cases/td_off_track.scn
Normal file
@@ -0,0 +1,14 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed (physics.derailment new, the vehicles
|
||||
// off the track moving on the ground, vehicle/derailmotion.h):
|
||||
// an EU07 with an AI driver and no timetable stands on track 1 of Stacja1, where td.scn keeps its timetable train,
|
||||
// so it stays put and logs its physics; the train of the case has no driver and runs at {{velocity}} km/h from
|
||||
// {{offset}} m past point 1 of {{track}} towards its point 2. on the line of td.scn, from tdo_n157 on, that is the
|
||||
// curve of R 600 m (tdo_n213, tdo_n222, tdo_n231), cant 65 mm
|
||||
{{track_nodes}}
|
||||
trainset none tdo_n1734 0.0 0.0
|
||||
node -1 0 {{vehicle}} dynamic pkp\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic
|
||||
endtrainset
|
||||
|
||||
trainset none {{track}} {{offset}} {{velocity}}
|
||||
{{consist}}
|
||||
endtrainset
|
||||
441
tests/scenarios/cases/td_off_track_curve_cutting.scn
Normal file
441
tests/scenarios/cases/td_off_track_curve_cutting.scn
Normal file
@@ -0,0 +1,441 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed (physics.derailment new, the vehicles
|
||||
// off the track moving on the ground, vehicle/derailmotion.h): a track of R 300 m without cant laid on its own in the
|
||||
// fields of td.scn (autotest_curve), in a cutting with banks of 1:1.5 4 m high, the ground rising on beyond them at 1:5; written by a script, see the README.
|
||||
// an EU07 with an AI driver and no timetable stands on track 1 of Stacja1, where td.scn keeps its timetable train, so
|
||||
// it stays put and logs its physics; the EU07 of the case has no driver and runs at {{velocity}} km/h from 20 m past
|
||||
// point 1 of the curve towards its point 2
|
||||
node -1 0 none triangle_strip grass
|
||||
-456.70 32.10 355.67 0 1 0 0 0 end
|
||||
-322.47 4.00 314.15 0 1 0 0 0 end
|
||||
-455.43 32.10 359.99 0 1 0 0 0 end
|
||||
-320.02 4.00 322.51 0 1 0 0 0 end
|
||||
-454.30 32.10 364.34 0 1 0 0 0 end
|
||||
-317.83 4.00 330.95 0 1 0 0 0 end
|
||||
-453.30 32.10 368.73 0 1 0 0 0 end
|
||||
-315.88 4.00 339.44 0 1 0 0 0 end
|
||||
-452.42 32.10 373.15 0 1 0 0 0 end
|
||||
-314.19 4.00 347.99 0 1 0 0 0 end
|
||||
-451.68 32.10 377.58 0 1 0 0 0 end
|
||||
-312.76 4.00 356.59 0 1 0 0 0 end
|
||||
-451.08 32.10 382.04 0 1 0 0 0 end
|
||||
-311.59 4.00 365.22 0 1 0 0 0 end
|
||||
-450.61 32.10 386.52 0 1 0 0 0 end
|
||||
-310.68 4.00 373.89 0 1 0 0 0 end
|
||||
-450.27 32.10 391.01 0 1 0 0 0 end
|
||||
-310.02 4.00 382.58 0 1 0 0 0 end
|
||||
-450.07 32.10 395.50 0 1 0 0 0 end
|
||||
-309.63 4.00 391.29 0 1 0 0 0 end
|
||||
-450.00 32.10 400.00 0 1 0 0 0 end
|
||||
-309.50 4.00 400.00 0 1 0 0 0 end
|
||||
-450.07 32.10 404.50 0 1 0 0 0 end
|
||||
-309.63 4.00 408.71 0 1 0 0 0 end
|
||||
-450.27 32.10 408.99 0 1 0 0 0 end
|
||||
-310.02 4.00 417.42 0 1 0 0 0 end
|
||||
-450.61 32.10 413.48 0 1 0 0 0 end
|
||||
-310.68 4.00 426.11 0 1 0 0 0 end
|
||||
-451.08 32.10 417.96 0 1 0 0 0 end
|
||||
-311.59 4.00 434.78 0 1 0 0 0 end
|
||||
-451.68 32.10 422.42 0 1 0 0 0 end
|
||||
-312.76 4.00 443.41 0 1 0 0 0 end
|
||||
-452.42 32.10 426.85 0 1 0 0 0 end
|
||||
-314.19 4.00 452.01 0 1 0 0 0 end
|
||||
-453.30 32.10 431.27 0 1 0 0 0 end
|
||||
-315.88 4.00 460.56 0 1 0 0 0 end
|
||||
-454.30 32.10 435.66 0 1 0 0 0 end
|
||||
-317.83 4.00 469.05 0 1 0 0 0 end
|
||||
-455.43 32.10 440.01 0 1 0 0 0 end
|
||||
-320.02 4.00 477.49 0 1 0 0 0 end
|
||||
-456.70 32.10 444.33 0 1 0 0 0 end
|
||||
-322.47 4.00 485.85 0 1 0 0 0 end
|
||||
-458.09 32.10 448.61 0 1 0 0 0 end
|
||||
-325.17 4.00 494.13 0 1 0 0 0 end
|
||||
-459.62 32.10 452.84 0 1 0 0 0 end
|
||||
-328.12 4.00 502.34 0 1 0 0 0 end
|
||||
-461.26 32.10 457.03 0 1 0 0 0 end
|
||||
-331.31 4.00 510.44 0 1 0 0 0 end
|
||||
-463.04 32.10 461.16 0 1 0 0 0 end
|
||||
-334.75 4.00 518.45 0 1 0 0 0 end
|
||||
-464.93 32.10 465.24 0 1 0 0 0 end
|
||||
-338.42 4.00 526.36 0 1 0 0 0 end
|
||||
-466.95 32.10 469.27 0 1 0 0 0 end
|
||||
-342.33 4.00 534.15 0 1 0 0 0 end
|
||||
-469.09 32.10 473.23 0 1 0 0 0 end
|
||||
-346.47 4.00 541.82 0 1 0 0 0 end
|
||||
-471.34 32.10 477.12 0 1 0 0 0 end
|
||||
-350.84 4.00 549.36 0 1 0 0 0 end
|
||||
-473.71 32.10 480.94 0 1 0 0 0 end
|
||||
-355.43 4.00 556.76 0 1 0 0 0 end
|
||||
-476.20 32.10 484.70 0 1 0 0 0 end
|
||||
-360.24 4.00 564.03 0 1 0 0 0 end
|
||||
-478.80 32.10 488.37 0 1 0 0 0 end
|
||||
-365.27 4.00 571.15 0 1 0 0 0 end
|
||||
-481.50 32.10 491.97 0 1 0 0 0 end
|
||||
-370.51 4.00 578.11 0 1 0 0 0 end
|
||||
-484.31 32.10 495.48 0 1 0 0 0 end
|
||||
-375.95 4.00 584.91 0 1 0 0 0 end
|
||||
-487.23 32.10 498.91 0 1 0 0 0 end
|
||||
-381.60 4.00 591.55 0 1 0 0 0 end
|
||||
-490.25 32.10 502.25 0 1 0 0 0 end
|
||||
-387.44 4.00 598.02 0 1 0 0 0 end
|
||||
-493.36 32.10 505.49 0 1 0 0 0 end
|
||||
-393.48 4.00 604.30 0 1 0 0 0 end
|
||||
-496.58 32.10 508.64 0 1 0 0 0 end
|
||||
-399.70 4.00 610.41 0 1 0 0 0 end
|
||||
-499.88 32.10 511.70 0 1 0 0 0 end
|
||||
-406.10 4.00 616.32 0 1 0 0 0 end
|
||||
-503.28 32.10 514.65 0 1 0 0 0 end
|
||||
-412.68 4.00 622.04 0 1 0 0 0 end
|
||||
-506.76 32.10 517.50 0 1 0 0 0 end
|
||||
-419.42 4.00 627.56 0 1 0 0 0
|
||||
endtri
|
||||
node -1 0 none triangle_strip grass
|
||||
-322.47 4.00 314.15 0 1 0 0 0 end
|
||||
-316.74 0.00 312.38 0 1 0 0 0 end
|
||||
-320.02 4.00 322.51 0 1 0 0 0 end
|
||||
-314.24 0.00 320.91 0 1 0 0 0 end
|
||||
-317.83 4.00 330.95 0 1 0 0 0 end
|
||||
-312.00 0.00 329.52 0 1 0 0 0 end
|
||||
-315.88 4.00 339.44 0 1 0 0 0 end
|
||||
-310.01 0.00 338.19 0 1 0 0 0 end
|
||||
-314.19 4.00 347.99 0 1 0 0 0 end
|
||||
-308.29 0.00 346.92 0 1 0 0 0 end
|
||||
-312.76 4.00 356.59 0 1 0 0 0 end
|
||||
-306.83 0.00 355.69 0 1 0 0 0 end
|
||||
-311.59 4.00 365.22 0 1 0 0 0 end
|
||||
-305.63 0.00 364.51 0 1 0 0 0 end
|
||||
-310.68 4.00 373.89 0 1 0 0 0 end
|
||||
-304.70 0.00 373.35 0 1 0 0 0 end
|
||||
-310.02 4.00 382.58 0 1 0 0 0 end
|
||||
-304.03 0.00 382.22 0 1 0 0 0 end
|
||||
-309.63 4.00 391.29 0 1 0 0 0 end
|
||||
-303.63 0.00 391.11 0 1 0 0 0 end
|
||||
-309.50 4.00 400.00 0 1 0 0 0 end
|
||||
-303.50 0.00 400.00 0 1 0 0 0 end
|
||||
-309.63 4.00 408.71 0 1 0 0 0 end
|
||||
-303.63 0.00 408.89 0 1 0 0 0 end
|
||||
-310.02 4.00 417.42 0 1 0 0 0 end
|
||||
-304.03 0.00 417.78 0 1 0 0 0 end
|
||||
-310.68 4.00 426.11 0 1 0 0 0 end
|
||||
-304.70 0.00 426.65 0 1 0 0 0 end
|
||||
-311.59 4.00 434.78 0 1 0 0 0 end
|
||||
-305.63 0.00 435.49 0 1 0 0 0 end
|
||||
-312.76 4.00 443.41 0 1 0 0 0 end
|
||||
-306.83 0.00 444.31 0 1 0 0 0 end
|
||||
-314.19 4.00 452.01 0 1 0 0 0 end
|
||||
-308.29 0.00 453.08 0 1 0 0 0 end
|
||||
-315.88 4.00 460.56 0 1 0 0 0 end
|
||||
-310.01 0.00 461.81 0 1 0 0 0 end
|
||||
-317.83 4.00 469.05 0 1 0 0 0 end
|
||||
-312.00 0.00 470.48 0 1 0 0 0 end
|
||||
-320.02 4.00 477.49 0 1 0 0 0 end
|
||||
-314.24 0.00 479.09 0 1 0 0 0 end
|
||||
-322.47 4.00 485.85 0 1 0 0 0 end
|
||||
-316.74 0.00 487.62 0 1 0 0 0 end
|
||||
-325.17 4.00 494.13 0 1 0 0 0 end
|
||||
-319.50 0.00 496.08 0 1 0 0 0 end
|
||||
-328.12 4.00 502.34 0 1 0 0 0 end
|
||||
-322.51 0.00 504.45 0 1 0 0 0 end
|
||||
-331.31 4.00 510.44 0 1 0 0 0 end
|
||||
-325.76 0.00 512.73 0 1 0 0 0 end
|
||||
-334.75 4.00 518.45 0 1 0 0 0 end
|
||||
-329.27 0.00 520.90 0 1 0 0 0 end
|
||||
-338.42 4.00 526.36 0 1 0 0 0 end
|
||||
-333.02 0.00 528.97 0 1 0 0 0 end
|
||||
-342.33 4.00 534.15 0 1 0 0 0 end
|
||||
-337.01 0.00 536.92 0 1 0 0 0 end
|
||||
-346.47 4.00 541.82 0 1 0 0 0 end
|
||||
-341.23 0.00 544.74 0 1 0 0 0 end
|
||||
-350.84 4.00 549.36 0 1 0 0 0 end
|
||||
-345.69 0.00 552.44 0 1 0 0 0 end
|
||||
-355.43 4.00 556.76 0 1 0 0 0 end
|
||||
-350.38 0.00 560.00 0 1 0 0 0 end
|
||||
-360.24 4.00 564.03 0 1 0 0 0 end
|
||||
-355.29 0.00 567.42 0 1 0 0 0 end
|
||||
-365.27 4.00 571.15 0 1 0 0 0 end
|
||||
-360.42 0.00 574.68 0 1 0 0 0 end
|
||||
-370.51 4.00 578.11 0 1 0 0 0 end
|
||||
-365.77 0.00 581.79 0 1 0 0 0 end
|
||||
-375.95 4.00 584.91 0 1 0 0 0 end
|
||||
-371.33 0.00 588.73 0 1 0 0 0 end
|
||||
-381.60 4.00 591.55 0 1 0 0 0 end
|
||||
-377.09 0.00 595.51 0 1 0 0 0 end
|
||||
-387.44 4.00 598.02 0 1 0 0 0 end
|
||||
-383.05 0.00 602.11 0 1 0 0 0 end
|
||||
-393.48 4.00 604.30 0 1 0 0 0 end
|
||||
-389.21 0.00 608.52 0 1 0 0 0 end
|
||||
-399.70 4.00 610.41 0 1 0 0 0 end
|
||||
-395.56 0.00 614.75 0 1 0 0 0 end
|
||||
-406.10 4.00 616.32 0 1 0 0 0 end
|
||||
-402.10 0.00 620.79 0 1 0 0 0 end
|
||||
-412.68 4.00 622.04 0 1 0 0 0 end
|
||||
-408.81 0.00 626.62 0 1 0 0 0 end
|
||||
-419.42 4.00 627.56 0 1 0 0 0 end
|
||||
-415.69 0.00 632.26 0 1 0 0 0
|
||||
endtri
|
||||
node -1 0 none triangle_strip grass
|
||||
-316.74 0.00 312.38 0 1 0 0 0 end
|
||||
-310.06 0.00 310.31 0 1 0 0 0 end
|
||||
-314.24 0.00 320.91 0 1 0 0 0 end
|
||||
-307.50 0.00 319.05 0 1 0 0 0 end
|
||||
-312.00 0.00 329.52 0 1 0 0 0 end
|
||||
-305.20 0.00 327.86 0 1 0 0 0 end
|
||||
-310.01 0.00 338.19 0 1 0 0 0 end
|
||||
-303.17 0.00 336.73 0 1 0 0 0 end
|
||||
-308.29 0.00 346.92 0 1 0 0 0 end
|
||||
-301.40 0.00 345.66 0 1 0 0 0 end
|
||||
-306.83 0.00 355.69 0 1 0 0 0 end
|
||||
-299.91 0.00 354.65 0 1 0 0 0 end
|
||||
-305.63 0.00 364.51 0 1 0 0 0 end
|
||||
-298.68 0.00 363.67 0 1 0 0 0 end
|
||||
-304.70 0.00 373.35 0 1 0 0 0 end
|
||||
-297.73 0.00 372.72 0 1 0 0 0 end
|
||||
-304.03 0.00 382.22 0 1 0 0 0 end
|
||||
-297.05 0.00 381.80 0 1 0 0 0 end
|
||||
-303.63 0.00 391.11 0 1 0 0 0 end
|
||||
-296.64 0.00 390.90 0 1 0 0 0 end
|
||||
-303.50 0.00 400.00 0 1 0 0 0 end
|
||||
-296.50 0.00 400.00 0 1 0 0 0 end
|
||||
-303.63 0.00 408.89 0 1 0 0 0 end
|
||||
-296.64 0.00 409.10 0 1 0 0 0 end
|
||||
-304.03 0.00 417.78 0 1 0 0 0 end
|
||||
-297.05 0.00 418.20 0 1 0 0 0 end
|
||||
-304.70 0.00 426.65 0 1 0 0 0 end
|
||||
-297.73 0.00 427.28 0 1 0 0 0 end
|
||||
-305.63 0.00 435.49 0 1 0 0 0 end
|
||||
-298.68 0.00 436.33 0 1 0 0 0 end
|
||||
-306.83 0.00 444.31 0 1 0 0 0 end
|
||||
-299.91 0.00 445.35 0 1 0 0 0 end
|
||||
-308.29 0.00 453.08 0 1 0 0 0 end
|
||||
-301.40 0.00 454.34 0 1 0 0 0 end
|
||||
-310.01 0.00 461.81 0 1 0 0 0 end
|
||||
-303.17 0.00 463.27 0 1 0 0 0 end
|
||||
-312.00 0.00 470.48 0 1 0 0 0 end
|
||||
-305.20 0.00 472.14 0 1 0 0 0 end
|
||||
-314.24 0.00 479.09 0 1 0 0 0 end
|
||||
-307.50 0.00 480.95 0 1 0 0 0 end
|
||||
-316.74 0.00 487.62 0 1 0 0 0 end
|
||||
-310.06 0.00 489.69 0 1 0 0 0 end
|
||||
-319.50 0.00 496.08 0 1 0 0 0 end
|
||||
-312.88 0.00 498.35 0 1 0 0 0 end
|
||||
-322.51 0.00 504.45 0 1 0 0 0 end
|
||||
-315.96 0.00 506.92 0 1 0 0 0 end
|
||||
-325.76 0.00 512.73 0 1 0 0 0 end
|
||||
-319.29 0.00 515.39 0 1 0 0 0 end
|
||||
-329.27 0.00 520.90 0 1 0 0 0 end
|
||||
-322.88 0.00 523.76 0 1 0 0 0 end
|
||||
-333.02 0.00 528.97 0 1 0 0 0 end
|
||||
-326.71 0.00 532.01 0 1 0 0 0 end
|
||||
-337.01 0.00 536.92 0 1 0 0 0 end
|
||||
-330.80 0.00 540.15 0 1 0 0 0 end
|
||||
-341.23 0.00 544.74 0 1 0 0 0 end
|
||||
-335.12 0.00 548.16 0 1 0 0 0 end
|
||||
-345.69 0.00 552.44 0 1 0 0 0 end
|
||||
-339.69 0.00 556.04 0 1 0 0 0 end
|
||||
-350.38 0.00 560.00 0 1 0 0 0 end
|
||||
-344.48 0.00 563.78 0 1 0 0 0 end
|
||||
-355.29 0.00 567.42 0 1 0 0 0 end
|
||||
-349.51 0.00 571.37 0 1 0 0 0 end
|
||||
-360.42 0.00 574.68 0 1 0 0 0 end
|
||||
-354.76 0.00 578.81 0 1 0 0 0 end
|
||||
-365.77 0.00 581.79 0 1 0 0 0 end
|
||||
-360.24 0.00 586.08 0 1 0 0 0 end
|
||||
-371.33 0.00 588.73 0 1 0 0 0 end
|
||||
-365.93 0.00 593.19 0 1 0 0 0 end
|
||||
-377.09 0.00 595.51 0 1 0 0 0 end
|
||||
-371.83 0.00 600.12 0 1 0 0 0 end
|
||||
-383.05 0.00 602.11 0 1 0 0 0 end
|
||||
-377.93 0.00 606.88 0 1 0 0 0 end
|
||||
-389.21 0.00 608.52 0 1 0 0 0 end
|
||||
-384.24 0.00 613.45 0 1 0 0 0 end
|
||||
-395.56 0.00 614.75 0 1 0 0 0 end
|
||||
-390.74 0.00 619.82 0 1 0 0 0 end
|
||||
-402.10 0.00 620.79 0 1 0 0 0 end
|
||||
-397.43 0.00 626.00 0 1 0 0 0 end
|
||||
-408.81 0.00 626.62 0 1 0 0 0 end
|
||||
-404.30 0.00 631.97 0 1 0 0 0 end
|
||||
-415.69 0.00 632.26 0 1 0 0 0 end
|
||||
-411.34 0.00 637.74 0 1 0 0 0
|
||||
endtri
|
||||
node -1 0 none triangle_strip grass
|
||||
-310.06 0.00 310.31 0 1 0 0 0 end
|
||||
-304.32 4.00 308.54 0 1 0 0 0 end
|
||||
-307.50 0.00 319.05 0 1 0 0 0 end
|
||||
-301.71 4.00 317.45 0 1 0 0 0 end
|
||||
-305.20 0.00 327.86 0 1 0 0 0 end
|
||||
-299.37 4.00 326.43 0 1 0 0 0 end
|
||||
-303.17 0.00 336.73 0 1 0 0 0 end
|
||||
-297.30 4.00 335.48 0 1 0 0 0 end
|
||||
-301.40 0.00 345.66 0 1 0 0 0 end
|
||||
-295.50 4.00 344.59 0 1 0 0 0 end
|
||||
-299.91 0.00 354.65 0 1 0 0 0 end
|
||||
-293.98 4.00 353.75 0 1 0 0 0 end
|
||||
-298.68 0.00 363.67 0 1 0 0 0 end
|
||||
-292.73 4.00 362.95 0 1 0 0 0 end
|
||||
-297.73 0.00 372.72 0 1 0 0 0 end
|
||||
-291.75 4.00 372.18 0 1 0 0 0 end
|
||||
-297.05 0.00 381.80 0 1 0 0 0 end
|
||||
-291.06 4.00 381.44 0 1 0 0 0 end
|
||||
-296.64 0.00 390.90 0 1 0 0 0 end
|
||||
-290.64 4.00 390.72 0 1 0 0 0 end
|
||||
-296.50 0.00 400.00 0 1 0 0 0 end
|
||||
-290.50 4.00 400.00 0 1 0 0 0 end
|
||||
-296.64 0.00 409.10 0 1 0 0 0 end
|
||||
-290.64 4.00 409.28 0 1 0 0 0 end
|
||||
-297.05 0.00 418.20 0 1 0 0 0 end
|
||||
-291.06 4.00 418.56 0 1 0 0 0 end
|
||||
-297.73 0.00 427.28 0 1 0 0 0 end
|
||||
-291.75 4.00 427.82 0 1 0 0 0 end
|
||||
-298.68 0.00 436.33 0 1 0 0 0 end
|
||||
-292.73 4.00 437.05 0 1 0 0 0 end
|
||||
-299.91 0.00 445.35 0 1 0 0 0 end
|
||||
-293.98 4.00 446.25 0 1 0 0 0 end
|
||||
-301.40 0.00 454.34 0 1 0 0 0 end
|
||||
-295.50 4.00 455.41 0 1 0 0 0 end
|
||||
-303.17 0.00 463.27 0 1 0 0 0 end
|
||||
-297.30 4.00 464.52 0 1 0 0 0 end
|
||||
-305.20 0.00 472.14 0 1 0 0 0 end
|
||||
-299.37 4.00 473.57 0 1 0 0 0 end
|
||||
-307.50 0.00 480.95 0 1 0 0 0 end
|
||||
-301.71 4.00 482.55 0 1 0 0 0 end
|
||||
-310.06 0.00 489.69 0 1 0 0 0 end
|
||||
-304.32 4.00 491.46 0 1 0 0 0 end
|
||||
-312.88 0.00 498.35 0 1 0 0 0 end
|
||||
-307.20 4.00 500.29 0 1 0 0 0 end
|
||||
-315.96 0.00 506.92 0 1 0 0 0 end
|
||||
-310.34 4.00 509.03 0 1 0 0 0 end
|
||||
-319.29 0.00 515.39 0 1 0 0 0 end
|
||||
-313.74 4.00 517.67 0 1 0 0 0 end
|
||||
-322.88 0.00 523.76 0 1 0 0 0 end
|
||||
-317.40 4.00 526.20 0 1 0 0 0 end
|
||||
-326.71 0.00 532.01 0 1 0 0 0 end
|
||||
-321.31 4.00 534.62 0 1 0 0 0 end
|
||||
-330.80 0.00 540.15 0 1 0 0 0 end
|
||||
-325.48 4.00 542.92 0 1 0 0 0 end
|
||||
-335.12 0.00 548.16 0 1 0 0 0 end
|
||||
-329.89 4.00 551.09 0 1 0 0 0 end
|
||||
-339.69 0.00 556.04 0 1 0 0 0 end
|
||||
-334.54 4.00 559.13 0 1 0 0 0 end
|
||||
-344.48 0.00 563.78 0 1 0 0 0 end
|
||||
-339.43 4.00 567.02 0 1 0 0 0 end
|
||||
-349.51 0.00 571.37 0 1 0 0 0 end
|
||||
-344.56 4.00 574.76 0 1 0 0 0 end
|
||||
-354.76 0.00 578.81 0 1 0 0 0 end
|
||||
-349.92 4.00 582.34 0 1 0 0 0 end
|
||||
-360.24 0.00 586.08 0 1 0 0 0 end
|
||||
-355.50 4.00 589.76 0 1 0 0 0 end
|
||||
-365.93 0.00 593.19 0 1 0 0 0 end
|
||||
-361.30 4.00 597.01 0 1 0 0 0 end
|
||||
-371.83 0.00 600.12 0 1 0 0 0 end
|
||||
-367.32 4.00 604.08 0 1 0 0 0 end
|
||||
-377.93 0.00 606.88 0 1 0 0 0 end
|
||||
-373.54 4.00 610.97 0 1 0 0 0 end
|
||||
-384.24 0.00 613.45 0 1 0 0 0 end
|
||||
-379.97 4.00 617.66 0 1 0 0 0 end
|
||||
-390.74 0.00 619.82 0 1 0 0 0 end
|
||||
-386.60 4.00 624.17 0 1 0 0 0 end
|
||||
-397.43 0.00 626.00 0 1 0 0 0 end
|
||||
-393.42 4.00 630.47 0 1 0 0 0 end
|
||||
-404.30 0.00 631.97 0 1 0 0 0 end
|
||||
-400.43 4.00 636.56 0 1 0 0 0 end
|
||||
-411.34 0.00 637.74 0 1 0 0 0 end
|
||||
-407.61 4.00 642.44 0 1 0 0 0
|
||||
endtri
|
||||
node -1 0 none triangle_strip grass
|
||||
-304.32 4.00 308.54 0 1 0 0 0 end
|
||||
-170.10 32.10 267.02 0 1 0 0 0 end
|
||||
-301.71 4.00 317.45 0 1 0 0 0 end
|
||||
-166.30 32.10 279.97 0 1 0 0 0 end
|
||||
-299.37 4.00 326.43 0 1 0 0 0 end
|
||||
-162.90 32.10 293.03 0 1 0 0 0 end
|
||||
-297.30 4.00 335.48 0 1 0 0 0 end
|
||||
-159.89 32.10 306.19 0 1 0 0 0 end
|
||||
-295.50 4.00 344.59 0 1 0 0 0 end
|
||||
-157.27 32.10 319.44 0 1 0 0 0 end
|
||||
-293.98 4.00 353.75 0 1 0 0 0 end
|
||||
-155.05 32.10 332.75 0 1 0 0 0 end
|
||||
-292.73 4.00 362.95 0 1 0 0 0 end
|
||||
-153.24 32.10 346.13 0 1 0 0 0 end
|
||||
-291.75 4.00 372.18 0 1 0 0 0 end
|
||||
-151.82 32.10 359.55 0 1 0 0 0 end
|
||||
-291.06 4.00 381.44 0 1 0 0 0 end
|
||||
-150.81 32.10 373.02 0 1 0 0 0 end
|
||||
-290.64 4.00 390.72 0 1 0 0 0 end
|
||||
-150.20 32.10 386.50 0 1 0 0 0 end
|
||||
-290.50 4.00 400.00 0 1 0 0 0 end
|
||||
-150.00 32.10 400.00 0 1 0 0 0 end
|
||||
-290.64 4.00 409.28 0 1 0 0 0 end
|
||||
-150.20 32.10 413.50 0 1 0 0 0 end
|
||||
-291.06 4.00 418.56 0 1 0 0 0 end
|
||||
-150.81 32.10 426.98 0 1 0 0 0 end
|
||||
-291.75 4.00 427.82 0 1 0 0 0 end
|
||||
-151.82 32.10 440.45 0 1 0 0 0 end
|
||||
-292.73 4.00 437.05 0 1 0 0 0 end
|
||||
-153.24 32.10 453.87 0 1 0 0 0 end
|
||||
-293.98 4.00 446.25 0 1 0 0 0 end
|
||||
-155.05 32.10 467.25 0 1 0 0 0 end
|
||||
-295.50 4.00 455.41 0 1 0 0 0 end
|
||||
-157.27 32.10 480.56 0 1 0 0 0 end
|
||||
-297.30 4.00 464.52 0 1 0 0 0 end
|
||||
-159.89 32.10 493.81 0 1 0 0 0 end
|
||||
-299.37 4.00 473.57 0 1 0 0 0 end
|
||||
-162.90 32.10 506.97 0 1 0 0 0 end
|
||||
-301.71 4.00 482.55 0 1 0 0 0 end
|
||||
-166.30 32.10 520.03 0 1 0 0 0 end
|
||||
-304.32 4.00 491.46 0 1 0 0 0 end
|
||||
-170.10 32.10 532.98 0 1 0 0 0 end
|
||||
-307.20 4.00 500.29 0 1 0 0 0 end
|
||||
-174.28 32.10 545.82 0 1 0 0 0 end
|
||||
-310.34 4.00 509.03 0 1 0 0 0 end
|
||||
-178.85 32.10 558.52 0 1 0 0 0 end
|
||||
-313.74 4.00 517.67 0 1 0 0 0 end
|
||||
-183.79 32.10 571.08 0 1 0 0 0 end
|
||||
-317.40 4.00 526.20 0 1 0 0 0 end
|
||||
-189.11 32.10 583.49 0 1 0 0 0 end
|
||||
-321.31 4.00 534.62 0 1 0 0 0 end
|
||||
-194.80 32.10 595.73 0 1 0 0 0 end
|
||||
-325.48 4.00 542.92 0 1 0 0 0 end
|
||||
-200.85 32.10 607.80 0 1 0 0 0 end
|
||||
-329.89 4.00 551.09 0 1 0 0 0 end
|
||||
-207.26 32.10 619.68 0 1 0 0 0 end
|
||||
-334.54 4.00 559.13 0 1 0 0 0 end
|
||||
-214.03 32.10 631.36 0 1 0 0 0 end
|
||||
-339.43 4.00 567.02 0 1 0 0 0 end
|
||||
-221.14 32.10 642.83 0 1 0 0 0 end
|
||||
-344.56 4.00 574.76 0 1 0 0 0 end
|
||||
-228.60 32.10 654.09 0 1 0 0 0 end
|
||||
-349.92 4.00 582.34 0 1 0 0 0 end
|
||||
-236.39 32.10 665.12 0 1 0 0 0 end
|
||||
-355.50 4.00 589.76 0 1 0 0 0 end
|
||||
-244.50 32.10 675.90 0 1 0 0 0 end
|
||||
-361.30 4.00 597.01 0 1 0 0 0 end
|
||||
-252.94 32.10 686.44 0 1 0 0 0 end
|
||||
-367.32 4.00 604.08 0 1 0 0 0 end
|
||||
-261.69 32.10 696.72 0 1 0 0 0 end
|
||||
-373.54 4.00 610.97 0 1 0 0 0 end
|
||||
-270.74 32.10 706.74 0 1 0 0 0 end
|
||||
-379.97 4.00 617.66 0 1 0 0 0 end
|
||||
-280.09 32.10 716.48 0 1 0 0 0 end
|
||||
-386.60 4.00 624.17 0 1 0 0 0 end
|
||||
-289.73 32.10 725.93 0 1 0 0 0 end
|
||||
-393.42 4.00 630.47 0 1 0 0 0 end
|
||||
-299.64 32.10 735.09 0 1 0 0 0 end
|
||||
-400.43 4.00 636.56 0 1 0 0 0 end
|
||||
-309.83 32.10 743.95 0 1 0 0 0 end
|
||||
-407.61 4.00 642.44 0 1 0 0 0 end
|
||||
-320.28 32.10 752.50 0 1 0 0 0
|
||||
endtri
|
||||
node -1 0 autotest_curve track normal 150.0000 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-300.0000 0.2 400.0000 0.0 //point 1
|
||||
-0.0000 0.0 50.2621 //control vector 1
|
||||
24.0969 0.0 -44.1091 //control vector 2
|
||||
-336.7252 0.2 543.8277 0.0 //point 2
|
||||
300.0
|
||||
endtrack
|
||||
trainset none tdo_n1734 0.0 0.0
|
||||
node -1 0 {{vehicle}} dynamic pkp\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic
|
||||
endtrainset
|
||||
|
||||
trainset none autotest_curve 20.0 {{velocity}}
|
||||
node -1 0 {{vehicle}}_off dynamic pkp\4e_v1 4e-004 4e 0 nobody 0 0 enddynamic
|
||||
endtrainset
|
||||
273
tests/scenarios/cases/td_off_track_curve_embankment.scn
Normal file
273
tests/scenarios/cases/td_off_track_curve_embankment.scn
Normal file
@@ -0,0 +1,273 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed (physics.derailment new, the vehicles
|
||||
// off the track moving on the ground, vehicle/derailmotion.h): a track of R 300 m without cant laid on its own in the
|
||||
// fields of td.scn (autotest_curve), on an embankment 4 m high with slopes of 1:1.5; written by a script, see the README.
|
||||
// an EU07 with an AI driver and no timetable stands on track 1 of Stacja1, where td.scn keeps its timetable train, so
|
||||
// it stays put and logs its physics; the EU07 of the case has no driver and runs at {{velocity}} km/h from 20 m past
|
||||
// point 1 of the curve towards its point 2
|
||||
node -1 0 none triangle_strip grass
|
||||
-322.47 0.00 314.15 0 1 0 0 0 end
|
||||
-316.74 4.00 312.38 0 1 0 0 0 end
|
||||
-320.02 0.00 322.51 0 1 0 0 0 end
|
||||
-314.24 4.00 320.91 0 1 0 0 0 end
|
||||
-317.83 0.00 330.95 0 1 0 0 0 end
|
||||
-312.00 4.00 329.52 0 1 0 0 0 end
|
||||
-315.88 0.00 339.44 0 1 0 0 0 end
|
||||
-310.01 4.00 338.19 0 1 0 0 0 end
|
||||
-314.19 0.00 347.99 0 1 0 0 0 end
|
||||
-308.29 4.00 346.92 0 1 0 0 0 end
|
||||
-312.76 0.00 356.59 0 1 0 0 0 end
|
||||
-306.83 4.00 355.69 0 1 0 0 0 end
|
||||
-311.59 0.00 365.22 0 1 0 0 0 end
|
||||
-305.63 4.00 364.51 0 1 0 0 0 end
|
||||
-310.68 0.00 373.89 0 1 0 0 0 end
|
||||
-304.70 4.00 373.35 0 1 0 0 0 end
|
||||
-310.02 0.00 382.58 0 1 0 0 0 end
|
||||
-304.03 4.00 382.22 0 1 0 0 0 end
|
||||
-309.63 0.00 391.29 0 1 0 0 0 end
|
||||
-303.63 4.00 391.11 0 1 0 0 0 end
|
||||
-309.50 0.00 400.00 0 1 0 0 0 end
|
||||
-303.50 4.00 400.00 0 1 0 0 0 end
|
||||
-309.63 0.00 408.71 0 1 0 0 0 end
|
||||
-303.63 4.00 408.89 0 1 0 0 0 end
|
||||
-310.02 0.00 417.42 0 1 0 0 0 end
|
||||
-304.03 4.00 417.78 0 1 0 0 0 end
|
||||
-310.68 0.00 426.11 0 1 0 0 0 end
|
||||
-304.70 4.00 426.65 0 1 0 0 0 end
|
||||
-311.59 0.00 434.78 0 1 0 0 0 end
|
||||
-305.63 4.00 435.49 0 1 0 0 0 end
|
||||
-312.76 0.00 443.41 0 1 0 0 0 end
|
||||
-306.83 4.00 444.31 0 1 0 0 0 end
|
||||
-314.19 0.00 452.01 0 1 0 0 0 end
|
||||
-308.29 4.00 453.08 0 1 0 0 0 end
|
||||
-315.88 0.00 460.56 0 1 0 0 0 end
|
||||
-310.01 4.00 461.81 0 1 0 0 0 end
|
||||
-317.83 0.00 469.05 0 1 0 0 0 end
|
||||
-312.00 4.00 470.48 0 1 0 0 0 end
|
||||
-320.02 0.00 477.49 0 1 0 0 0 end
|
||||
-314.24 4.00 479.09 0 1 0 0 0 end
|
||||
-322.47 0.00 485.85 0 1 0 0 0 end
|
||||
-316.74 4.00 487.62 0 1 0 0 0 end
|
||||
-325.17 0.00 494.13 0 1 0 0 0 end
|
||||
-319.50 4.00 496.08 0 1 0 0 0 end
|
||||
-328.12 0.00 502.34 0 1 0 0 0 end
|
||||
-322.51 4.00 504.45 0 1 0 0 0 end
|
||||
-331.31 0.00 510.44 0 1 0 0 0 end
|
||||
-325.76 4.00 512.73 0 1 0 0 0 end
|
||||
-334.75 0.00 518.45 0 1 0 0 0 end
|
||||
-329.27 4.00 520.90 0 1 0 0 0 end
|
||||
-338.42 0.00 526.36 0 1 0 0 0 end
|
||||
-333.02 4.00 528.97 0 1 0 0 0 end
|
||||
-342.33 0.00 534.15 0 1 0 0 0 end
|
||||
-337.01 4.00 536.92 0 1 0 0 0 end
|
||||
-346.47 0.00 541.82 0 1 0 0 0 end
|
||||
-341.23 4.00 544.74 0 1 0 0 0 end
|
||||
-350.84 0.00 549.36 0 1 0 0 0 end
|
||||
-345.69 4.00 552.44 0 1 0 0 0 end
|
||||
-355.43 0.00 556.76 0 1 0 0 0 end
|
||||
-350.38 4.00 560.00 0 1 0 0 0 end
|
||||
-360.24 0.00 564.03 0 1 0 0 0 end
|
||||
-355.29 4.00 567.42 0 1 0 0 0 end
|
||||
-365.27 0.00 571.15 0 1 0 0 0 end
|
||||
-360.42 4.00 574.68 0 1 0 0 0 end
|
||||
-370.51 0.00 578.11 0 1 0 0 0 end
|
||||
-365.77 4.00 581.79 0 1 0 0 0 end
|
||||
-375.95 0.00 584.91 0 1 0 0 0 end
|
||||
-371.33 4.00 588.73 0 1 0 0 0 end
|
||||
-381.60 0.00 591.55 0 1 0 0 0 end
|
||||
-377.09 4.00 595.51 0 1 0 0 0 end
|
||||
-387.44 0.00 598.02 0 1 0 0 0 end
|
||||
-383.05 4.00 602.11 0 1 0 0 0 end
|
||||
-393.48 0.00 604.30 0 1 0 0 0 end
|
||||
-389.21 4.00 608.52 0 1 0 0 0 end
|
||||
-399.70 0.00 610.41 0 1 0 0 0 end
|
||||
-395.56 4.00 614.75 0 1 0 0 0 end
|
||||
-406.10 0.00 616.32 0 1 0 0 0 end
|
||||
-402.10 4.00 620.79 0 1 0 0 0 end
|
||||
-412.68 0.00 622.04 0 1 0 0 0 end
|
||||
-408.81 4.00 626.62 0 1 0 0 0 end
|
||||
-419.42 0.00 627.56 0 1 0 0 0 end
|
||||
-415.69 4.00 632.26 0 1 0 0 0
|
||||
endtri
|
||||
node -1 0 none triangle_strip grass
|
||||
-316.74 4.00 312.38 0 1 0 0 0 end
|
||||
-310.06 4.00 310.31 0 1 0 0 0 end
|
||||
-314.24 4.00 320.91 0 1 0 0 0 end
|
||||
-307.50 4.00 319.05 0 1 0 0 0 end
|
||||
-312.00 4.00 329.52 0 1 0 0 0 end
|
||||
-305.20 4.00 327.86 0 1 0 0 0 end
|
||||
-310.01 4.00 338.19 0 1 0 0 0 end
|
||||
-303.17 4.00 336.73 0 1 0 0 0 end
|
||||
-308.29 4.00 346.92 0 1 0 0 0 end
|
||||
-301.40 4.00 345.66 0 1 0 0 0 end
|
||||
-306.83 4.00 355.69 0 1 0 0 0 end
|
||||
-299.91 4.00 354.65 0 1 0 0 0 end
|
||||
-305.63 4.00 364.51 0 1 0 0 0 end
|
||||
-298.68 4.00 363.67 0 1 0 0 0 end
|
||||
-304.70 4.00 373.35 0 1 0 0 0 end
|
||||
-297.73 4.00 372.72 0 1 0 0 0 end
|
||||
-304.03 4.00 382.22 0 1 0 0 0 end
|
||||
-297.05 4.00 381.80 0 1 0 0 0 end
|
||||
-303.63 4.00 391.11 0 1 0 0 0 end
|
||||
-296.64 4.00 390.90 0 1 0 0 0 end
|
||||
-303.50 4.00 400.00 0 1 0 0 0 end
|
||||
-296.50 4.00 400.00 0 1 0 0 0 end
|
||||
-303.63 4.00 408.89 0 1 0 0 0 end
|
||||
-296.64 4.00 409.10 0 1 0 0 0 end
|
||||
-304.03 4.00 417.78 0 1 0 0 0 end
|
||||
-297.05 4.00 418.20 0 1 0 0 0 end
|
||||
-304.70 4.00 426.65 0 1 0 0 0 end
|
||||
-297.73 4.00 427.28 0 1 0 0 0 end
|
||||
-305.63 4.00 435.49 0 1 0 0 0 end
|
||||
-298.68 4.00 436.33 0 1 0 0 0 end
|
||||
-306.83 4.00 444.31 0 1 0 0 0 end
|
||||
-299.91 4.00 445.35 0 1 0 0 0 end
|
||||
-308.29 4.00 453.08 0 1 0 0 0 end
|
||||
-301.40 4.00 454.34 0 1 0 0 0 end
|
||||
-310.01 4.00 461.81 0 1 0 0 0 end
|
||||
-303.17 4.00 463.27 0 1 0 0 0 end
|
||||
-312.00 4.00 470.48 0 1 0 0 0 end
|
||||
-305.20 4.00 472.14 0 1 0 0 0 end
|
||||
-314.24 4.00 479.09 0 1 0 0 0 end
|
||||
-307.50 4.00 480.95 0 1 0 0 0 end
|
||||
-316.74 4.00 487.62 0 1 0 0 0 end
|
||||
-310.06 4.00 489.69 0 1 0 0 0 end
|
||||
-319.50 4.00 496.08 0 1 0 0 0 end
|
||||
-312.88 4.00 498.35 0 1 0 0 0 end
|
||||
-322.51 4.00 504.45 0 1 0 0 0 end
|
||||
-315.96 4.00 506.92 0 1 0 0 0 end
|
||||
-325.76 4.00 512.73 0 1 0 0 0 end
|
||||
-319.29 4.00 515.39 0 1 0 0 0 end
|
||||
-329.27 4.00 520.90 0 1 0 0 0 end
|
||||
-322.88 4.00 523.76 0 1 0 0 0 end
|
||||
-333.02 4.00 528.97 0 1 0 0 0 end
|
||||
-326.71 4.00 532.01 0 1 0 0 0 end
|
||||
-337.01 4.00 536.92 0 1 0 0 0 end
|
||||
-330.80 4.00 540.15 0 1 0 0 0 end
|
||||
-341.23 4.00 544.74 0 1 0 0 0 end
|
||||
-335.12 4.00 548.16 0 1 0 0 0 end
|
||||
-345.69 4.00 552.44 0 1 0 0 0 end
|
||||
-339.69 4.00 556.04 0 1 0 0 0 end
|
||||
-350.38 4.00 560.00 0 1 0 0 0 end
|
||||
-344.48 4.00 563.78 0 1 0 0 0 end
|
||||
-355.29 4.00 567.42 0 1 0 0 0 end
|
||||
-349.51 4.00 571.37 0 1 0 0 0 end
|
||||
-360.42 4.00 574.68 0 1 0 0 0 end
|
||||
-354.76 4.00 578.81 0 1 0 0 0 end
|
||||
-365.77 4.00 581.79 0 1 0 0 0 end
|
||||
-360.24 4.00 586.08 0 1 0 0 0 end
|
||||
-371.33 4.00 588.73 0 1 0 0 0 end
|
||||
-365.93 4.00 593.19 0 1 0 0 0 end
|
||||
-377.09 4.00 595.51 0 1 0 0 0 end
|
||||
-371.83 4.00 600.12 0 1 0 0 0 end
|
||||
-383.05 4.00 602.11 0 1 0 0 0 end
|
||||
-377.93 4.00 606.88 0 1 0 0 0 end
|
||||
-389.21 4.00 608.52 0 1 0 0 0 end
|
||||
-384.24 4.00 613.45 0 1 0 0 0 end
|
||||
-395.56 4.00 614.75 0 1 0 0 0 end
|
||||
-390.74 4.00 619.82 0 1 0 0 0 end
|
||||
-402.10 4.00 620.79 0 1 0 0 0 end
|
||||
-397.43 4.00 626.00 0 1 0 0 0 end
|
||||
-408.81 4.00 626.62 0 1 0 0 0 end
|
||||
-404.30 4.00 631.97 0 1 0 0 0 end
|
||||
-415.69 4.00 632.26 0 1 0 0 0 end
|
||||
-411.34 4.00 637.74 0 1 0 0 0
|
||||
endtri
|
||||
node -1 0 none triangle_strip grass
|
||||
-310.06 4.00 310.31 0 1 0 0 0 end
|
||||
-304.32 0.00 308.54 0 1 0 0 0 end
|
||||
-307.50 4.00 319.05 0 1 0 0 0 end
|
||||
-301.71 0.00 317.45 0 1 0 0 0 end
|
||||
-305.20 4.00 327.86 0 1 0 0 0 end
|
||||
-299.37 0.00 326.43 0 1 0 0 0 end
|
||||
-303.17 4.00 336.73 0 1 0 0 0 end
|
||||
-297.30 0.00 335.48 0 1 0 0 0 end
|
||||
-301.40 4.00 345.66 0 1 0 0 0 end
|
||||
-295.50 0.00 344.59 0 1 0 0 0 end
|
||||
-299.91 4.00 354.65 0 1 0 0 0 end
|
||||
-293.98 0.00 353.75 0 1 0 0 0 end
|
||||
-298.68 4.00 363.67 0 1 0 0 0 end
|
||||
-292.73 0.00 362.95 0 1 0 0 0 end
|
||||
-297.73 4.00 372.72 0 1 0 0 0 end
|
||||
-291.75 0.00 372.18 0 1 0 0 0 end
|
||||
-297.05 4.00 381.80 0 1 0 0 0 end
|
||||
-291.06 0.00 381.44 0 1 0 0 0 end
|
||||
-296.64 4.00 390.90 0 1 0 0 0 end
|
||||
-290.64 0.00 390.72 0 1 0 0 0 end
|
||||
-296.50 4.00 400.00 0 1 0 0 0 end
|
||||
-290.50 0.00 400.00 0 1 0 0 0 end
|
||||
-296.64 4.00 409.10 0 1 0 0 0 end
|
||||
-290.64 0.00 409.28 0 1 0 0 0 end
|
||||
-297.05 4.00 418.20 0 1 0 0 0 end
|
||||
-291.06 0.00 418.56 0 1 0 0 0 end
|
||||
-297.73 4.00 427.28 0 1 0 0 0 end
|
||||
-291.75 0.00 427.82 0 1 0 0 0 end
|
||||
-298.68 4.00 436.33 0 1 0 0 0 end
|
||||
-292.73 0.00 437.05 0 1 0 0 0 end
|
||||
-299.91 4.00 445.35 0 1 0 0 0 end
|
||||
-293.98 0.00 446.25 0 1 0 0 0 end
|
||||
-301.40 4.00 454.34 0 1 0 0 0 end
|
||||
-295.50 0.00 455.41 0 1 0 0 0 end
|
||||
-303.17 4.00 463.27 0 1 0 0 0 end
|
||||
-297.30 0.00 464.52 0 1 0 0 0 end
|
||||
-305.20 4.00 472.14 0 1 0 0 0 end
|
||||
-299.37 0.00 473.57 0 1 0 0 0 end
|
||||
-307.50 4.00 480.95 0 1 0 0 0 end
|
||||
-301.71 0.00 482.55 0 1 0 0 0 end
|
||||
-310.06 4.00 489.69 0 1 0 0 0 end
|
||||
-304.32 0.00 491.46 0 1 0 0 0 end
|
||||
-312.88 4.00 498.35 0 1 0 0 0 end
|
||||
-307.20 0.00 500.29 0 1 0 0 0 end
|
||||
-315.96 4.00 506.92 0 1 0 0 0 end
|
||||
-310.34 0.00 509.03 0 1 0 0 0 end
|
||||
-319.29 4.00 515.39 0 1 0 0 0 end
|
||||
-313.74 0.00 517.67 0 1 0 0 0 end
|
||||
-322.88 4.00 523.76 0 1 0 0 0 end
|
||||
-317.40 0.00 526.20 0 1 0 0 0 end
|
||||
-326.71 4.00 532.01 0 1 0 0 0 end
|
||||
-321.31 0.00 534.62 0 1 0 0 0 end
|
||||
-330.80 4.00 540.15 0 1 0 0 0 end
|
||||
-325.48 0.00 542.92 0 1 0 0 0 end
|
||||
-335.12 4.00 548.16 0 1 0 0 0 end
|
||||
-329.89 0.00 551.09 0 1 0 0 0 end
|
||||
-339.69 4.00 556.04 0 1 0 0 0 end
|
||||
-334.54 0.00 559.13 0 1 0 0 0 end
|
||||
-344.48 4.00 563.78 0 1 0 0 0 end
|
||||
-339.43 0.00 567.02 0 1 0 0 0 end
|
||||
-349.51 4.00 571.37 0 1 0 0 0 end
|
||||
-344.56 0.00 574.76 0 1 0 0 0 end
|
||||
-354.76 4.00 578.81 0 1 0 0 0 end
|
||||
-349.92 0.00 582.34 0 1 0 0 0 end
|
||||
-360.24 4.00 586.08 0 1 0 0 0 end
|
||||
-355.50 0.00 589.76 0 1 0 0 0 end
|
||||
-365.93 4.00 593.19 0 1 0 0 0 end
|
||||
-361.30 0.00 597.01 0 1 0 0 0 end
|
||||
-371.83 4.00 600.12 0 1 0 0 0 end
|
||||
-367.32 0.00 604.08 0 1 0 0 0 end
|
||||
-377.93 4.00 606.88 0 1 0 0 0 end
|
||||
-373.54 0.00 610.97 0 1 0 0 0 end
|
||||
-384.24 4.00 613.45 0 1 0 0 0 end
|
||||
-379.97 0.00 617.66 0 1 0 0 0 end
|
||||
-390.74 4.00 619.82 0 1 0 0 0 end
|
||||
-386.60 0.00 624.17 0 1 0 0 0 end
|
||||
-397.43 4.00 626.00 0 1 0 0 0 end
|
||||
-393.42 0.00 630.47 0 1 0 0 0 end
|
||||
-404.30 4.00 631.97 0 1 0 0 0 end
|
||||
-400.43 0.00 636.56 0 1 0 0 0 end
|
||||
-411.34 4.00 637.74 0 1 0 0 0 end
|
||||
-407.61 0.00 642.44 0 1 0 0 0
|
||||
endtri
|
||||
node -1 0 autotest_curve track normal 150.0000 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-300.0000 4.2 400.0000 0.0 //point 1
|
||||
-0.0000 0.0 50.2621 //control vector 1
|
||||
24.0969 0.0 -44.1091 //control vector 2
|
||||
-336.7252 4.2 543.8277 0.0 //point 2
|
||||
300.0
|
||||
endtrack
|
||||
trainset none tdo_n1734 0.0 0.0
|
||||
node -1 0 {{vehicle}} dynamic pkp\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic
|
||||
endtrainset
|
||||
|
||||
trainset none autotest_curve 20.0 {{velocity}}
|
||||
node -1 0 {{vehicle}}_off dynamic pkp\4e_v1 4e-004 4e 0 nobody 0 0 enddynamic
|
||||
endtrainset
|
||||
21
tests/scenarios/cases/td_off_track_curve_flat.scn
Normal file
21
tests/scenarios/cases/td_off_track_curve_flat.scn
Normal file
@@ -0,0 +1,21 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed (physics.derailment new, the vehicles
|
||||
// off the track moving on the ground, vehicle/derailmotion.h): a track of R 300 m without cant laid on its own in the
|
||||
// fields of td.scn (autotest_curve), on level ground; written by a script, see the README.
|
||||
// an EU07 with an AI driver and no timetable stands on track 1 of Stacja1, where td.scn keeps its timetable train, so
|
||||
// it stays put and logs its physics; the EU07 of the case has no driver and runs at {{velocity}} km/h from 20 m past
|
||||
// point 1 of the curve towards its point 2
|
||||
node -1 0 autotest_curve track normal 150.0000 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-300.0000 0.2 400.0000 0.0 //point 1
|
||||
-0.0000 0.0 50.2621 //control vector 1
|
||||
24.0969 0.0 -44.1091 //control vector 2
|
||||
-336.7252 0.2 543.8277 0.0 //point 2
|
||||
300.0
|
||||
endtrack
|
||||
trainset none tdo_n1734 0.0 0.0
|
||||
node -1 0 {{vehicle}} dynamic pkp\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic
|
||||
endtrainset
|
||||
|
||||
trainset none autotest_curve 20.0 {{velocity}}
|
||||
node -1 0 {{vehicle}}_off dynamic pkp\4e_v1 4e-004 4e 0 nobody 0 0 enddynamic
|
||||
endtrainset
|
||||
17
tests/scenarios/cases/td_passenger_upgrade.txt
Normal file
17
tests/scenarios/cases/td_passenger_upgrade.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
________________________________________________________________
|
||||
[ Rodzaj i numer pociagu | TEST28 ]
|
||||
[ Kategoria | RO ]
|
||||
[________________________________________________|______________]
|
||||
[ | Gora ]
|
||||
[ Relacja pociagu | Koniec ]
|
||||
[________________________________________________|______________]
|
||||
[ Wymagany % ciezaru hamujacego | 88% ]
|
||||
[________________________________________________|______________]
|
||||
[ Seria i obciazenie lokomotywy | EU07 400 ]
|
||||
[________________________________________________|______________]
|
||||
[ | | Gora 2 | | ]
|
||||
[ | 80 | R1,L,H,RT,PP 2 10.35 | ]
|
||||
[ | |----------------------------------1----------|---]
|
||||
[ | | Koniec 1 10.45 | 10]
|
||||
[ | | R1 1 10.46 | ]
|
||||
[_______|_____|__________________________________1__________|___]
|
||||
7
tests/scenarios/cases/td_past_red_signal.scn
Normal file
7
tests/scenarios/cases/td_past_red_signal.scn
Normal file
@@ -0,0 +1,7 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// the timetable train of td.scn (td/rozklad) set at a stand past the exit signal stacja1_j, which stays at stop
|
||||
// (no route): the head {{offset}} m into tor1k, whose memory cell of the signal is 51 m into the track. the train
|
||||
// starts at 0.1 km/h, as in td_red_signal.scn: set at 0 its AI driver doesn't wake up within the case
|
||||
trainset td/rozklad tor1k {{offset}} 0.1
|
||||
{{consist}}
|
||||
endtrainset
|
||||
33
tests/scenarios/cases/td_reinspect_brakes.scn
Normal file
33
tests/scenarios/cases/td_reinspect_brakes.scn
Normal file
@@ -0,0 +1,33 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// on the line from Stacja1 to Stacja2 (flat, curves of 600 m): a locomotive with an AI driver stands cold
|
||||
// (trainset velocity 0) on koniec, its front 35 m past point 1 of the track, facing point 2, towards Stacja2;
|
||||
// a cut of wagons (vars.cut) stands, braked as well and with nobody in it, ahead of it, its front 56 m past
|
||||
// point 1 of tdo_n222, some 45 m in front of the locomotive.
|
||||
trainset none koniec 35.0 0.0
|
||||
node -1 0 {{vehicle}} dynamic {{locomotive}} 0 headdriver 0 0 enddynamic
|
||||
endtrainset
|
||||
|
||||
trainset none tdo_n222 56.0 0.0
|
||||
{{cut}}
|
||||
endtrainset
|
||||
|
||||
// event0 of the locomotive's track (the case's track_events) runs while the locomotive stands there. it wakes
|
||||
// the driver and gives it, once, the order to couple to the cut ahead and run it on as a train: Shunt -3 3,
|
||||
// Connect (with the coupler and the brake hose) then Obey_train, which waits for the way to be given. the AI
|
||||
// couples on the run, at some 4 km/h, and the wagon inspector of the train run looks at the new train then,
|
||||
// before it stands.
|
||||
node -1 0 autotest_ordered memcell 0 0 0 ordered 0 0 none endmemcell
|
||||
event autotest_wake multiple 0 autotest_ordered autotest_order autotest_order_given condition memcompare * 0 * endevent
|
||||
event autotest_order PutValues 0 none 0 0 0 Shunt -3 3 endevent
|
||||
event autotest_order_given UpdateValues 0 autotest_ordered * 1 * endevent
|
||||
|
||||
// the way: no signal of the line is in sight, so event2 of tdo_n231 (the case's track_events), 40 m in front of
|
||||
// the cut, gives the speed a signal at proceed would, 40 km/h, which the AI reads as it scans the track ahead
|
||||
event autotest_way PutValues 0 none 0 0 0 SetVelocity 40 40 endevent
|
||||
|
||||
// event2 of tdo_n240 (the case's track_events), some 700 m on, as the locomotive runs over it pushing the train:
|
||||
// the driver is taken off (Crew:<vehicle> 0 0), which leaves the brake valve in the emergency position, so the
|
||||
// train stops on the brakes it has. the pass comes 150 s later, with the train standing.
|
||||
event autotest_crew_off multiple 0 none autotest_driver_off autotest_pass endevent
|
||||
event autotest_driver_off putvalues 0 none 0 0 0 Crew:{{vehicle}} 0 0 endevent
|
||||
event autotest_pass UpdateValues 150 __test.result the_train_was_stopped_with_the_brakes_it_has 1 * endevent
|
||||
7
tests/scenarios/cases/td_shunt_red_signal.scn
Normal file
7
tests/scenarios/cases/td_shunt_red_signal.scn
Normal file
@@ -0,0 +1,7 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// like td_red_signal_moving.scn (no route, the exit signal stacja1_j about 150 m ahead of the start of
|
||||
// tdo_n1734 stays at stop), but the train has no timetable, so its AI driver shunts (Shunt), and it
|
||||
// starts {{offset}} m into tdo_n1734, already moving at {{velocity}} km/h.
|
||||
trainset none tdo_n1734 {{offset}} {{velocity}}
|
||||
{{consist}}
|
||||
endtrainset
|
||||
45
tests/scenarios/cases/td_switch_thrown.scn
Normal file
45
tests/scenarios/cases/td_switch_thrown.scn
Normal file
@@ -0,0 +1,45 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// a switch of Stacja1 thrown by an event while a train stands or runs over it (the review of MaSzyna-EU07/maszyna#289,
|
||||
// point 2b). Both switches of the station have their points (point 1) towards the line and two ways from there to
|
||||
// the station: position 0 straight to track 2 (x 0.4), position 1 curved to track 1 (x 2.3 at the end of the switch,
|
||||
// x 5.0 further on). The events of zwrp34r300.inc / zwrl34r300.inc: <switch>+ sets position 0, <switch>- position 1
|
||||
// (and the speed of the switch: none on the straight, 40 on the curve).
|
||||
// - zwr01, west end: points at z 336, the ways end at z 370 (tor2p, track 2; tdo_n1641, track 1). A train running
|
||||
// towards z 2000 (into the station) goes through it facing, from the points.
|
||||
// - zwr02, east end: points at z 1436 (tdo_n145, the line), the ways end at z 1402 (tor2k, track 2; tdo_n1744,
|
||||
// track 1). A train running towards z 2000 (out of the station) goes through it trailing, from the frog end.
|
||||
// A trainset faces point 2 of its track (towards z 2000 on all these tracks): the first vehicle has its front as many
|
||||
// metres past point 1 as the trainset says, the others stand behind it.
|
||||
{{trainsets}}
|
||||
|
||||
// the way set at the start, if any (a launcher with a positive time fires once at that hour, the scenery starts
|
||||
// at 10:34)
|
||||
{{route}}
|
||||
|
||||
// the throw (vars.throw), once: whichever of the events hung on the tracks of the case (track_events) or the
|
||||
// launcher (vars.trigger) sets it off first, the memory cell keeps the others from doing it again
|
||||
node -1 0 autotest_thrown memcell 0 0 0 thrown 0 0 none endmemcell
|
||||
event autotest_throw multiple 0 autotest_thrown {{throw}} autotest_throw_done condition memcompare * 0 * endevent
|
||||
event autotest_throw_done UpdateValues 0 autotest_thrown * 1 * endevent
|
||||
{{trigger}}
|
||||
|
||||
// a driver of a trainset of velocity 0 sleeps until it gets an order. event0 of the track its vehicle stands on
|
||||
// (track_events) gives it, once: vars.order, e.g. Shunt -1 0 (go on shunting with the whole train; a proceed aspect
|
||||
// of a main signal ahead turns that into a train run) or Obey_train 0 0. autotest_wake gives it at once,
|
||||
// autotest_wake_after_throw only once the switch has been thrown (for a train standing over the switch)
|
||||
node -1 0 autotest_ordered memcell 0 0 0 ordered 0 0 none endmemcell
|
||||
event autotest_wake_after_throw multiple 0 autotest_thrown autotest_wake condition memcompare * 1 * endevent
|
||||
event autotest_wake multiple 0 autotest_ordered autotest_order autotest_order_given condition memcompare * 0 * endevent
|
||||
event autotest_order PutValues 0 none 0 0 0 {{order}} endevent
|
||||
event autotest_order_given UpdateValues 0 autotest_ordered * 1 * endevent
|
||||
|
||||
// a signal at stop on track 1 for a train running towards z 2000: the memory cell stands beside the track at z 1100
|
||||
// and event2 of tdo_n1725 (z 1065-1165, track_events) reads it. A train on track 1 has to stop before it, with its head
|
||||
// on tdo_n1725, where event0 passes the test; running onto tdo_n1734 (z 1165-1265) beyond the signal fails it. On
|
||||
// track 2 the train stops before the exit signal stacja1_k (z 1316, at stop all the time), with its head on tdo_n109
|
||||
// (z 1236-1336)
|
||||
node -1 0 autotest_signal1 memcell 5.04488 0.2 1100.0 SetVelocity 0 0 none endmemcell
|
||||
event autotest_signal1_info getvalues 0 autotest_signal1 endevent
|
||||
event autotest_pass UpdateValues 0 __test.result stopped_before_the_signal 1 * endevent
|
||||
event autotest_fail UpdateValues 0 __test.result ran_past_the_signal_of_track_1 0 * endevent
|
||||
event autotest_pass_running UpdateValues 0 __test.result ran_clear_of_the_switch 1 * endevent
|
||||
18
tests/scenarios/cases/td_timetable_genset.scn
Normal file
18
tests/scenarios/cases/td_timetable_genset.scn
Normal file
@@ -0,0 +1,18 @@
|
||||
// td_timetable.scn (the timetable train on track 1 of Stacja1, route out at 10:34) with the train switched to its
|
||||
// genset by the scenery before it leaves (eu07/maszyna#536, a dual-mode vehicle): event0 of the start track (the
|
||||
// track_events of the case) runs while the vehicle with a driver stands there and gives it, once, PutValues
|
||||
// MainSwitch 0, TractionMode 1 and GensetSwitch 1, a second apart, as the vehicle holds one command at a time.
|
||||
// the AI knows nothing of the genset: it closes the line breaker once the genset runs and drives on its power
|
||||
trainset td/rozklad tdo_n1734 0.0 0.1
|
||||
{{consist}}
|
||||
endtrainset
|
||||
|
||||
// the way out of track 1, see td_timetable.scn
|
||||
node -1 0 autotest_route eventlauncher 0 0 0 -1 none 1034 keyctrl04 end
|
||||
|
||||
node -1 0 autotest_genset_done memcell 0 0 0 done 0 0 none endmemcell
|
||||
event autotest_genset multiple 0 autotest_genset_done autotest_genset_ws autotest_genset_mode autotest_genset_on autotest_genset_mark condition memcompare * 0 * endevent
|
||||
event autotest_genset_ws PutValues 0 none 0 0 0 MainSwitch 0 0 endevent
|
||||
event autotest_genset_mode PutValues 1 none 0 0 0 TractionMode 1 0 endevent
|
||||
event autotest_genset_on PutValues 2 none 0 0 0 GensetSwitch 1 0 endevent
|
||||
event autotest_genset_mark UpdateValues 0 autotest_genset_done * 1 * endevent
|
||||
9
tests/scenarios/cases/td_timetable_past_w4.scn
Normal file
9
tests/scenarios/cases/td_timetable_past_w4.scn
Normal file
@@ -0,0 +1,9 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// the timetable train of td.scn (td/rozklad, Stacja1 10:35 -> Przystanek -> Stacja2) placed past the W4 of
|
||||
// Stacja1 instead of before it: the head {{offset}} m into tor1k, the track after the one with the W4, which is
|
||||
// left under the consist, behind the head. the route out of track 1 is set at 10:34
|
||||
trainset td/rozklad tor1k {{offset}} 0.1
|
||||
{{consist}}
|
||||
endtrainset
|
||||
|
||||
node -1 0 autotest_route eventlauncher 0 0 0 -1 none 1034 keyctrl04 end
|
||||
31
tests/scenarios/cases/td_uncouple_past_signal.scn
Normal file
31
tests/scenarios/cases/td_uncouple_past_signal.scn
Normal file
@@ -0,0 +1,31 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// a shunter with no timetable stands at the far end of tor1k (point 2), turned (offset -1) to face back towards
|
||||
// track 1 of Stacja1, with its wagons (vars.wagons) behind it, towards the exit signal stacja1_j (at stop, no route;
|
||||
// its memory cell is 51 m into tor1k). the trainset's velocity is negative, so its driver takes the direction of the
|
||||
// locomotive's cab and pulls. tdo_n1734, the track behind tor1k, is closed (speed 0) from the start, so the shunter
|
||||
// pulls the wagons back along tor1k and stops in front of it, with the far end of the last wagon a few metres past
|
||||
// the signal: the signal stands at stop over that wagon for the direction the shunter pushes in when it uncouples.
|
||||
// the pull leaves the screw coupler stretched, as at a real stop.
|
||||
trainset none tor1k 100.0 -0.1
|
||||
{{wagons}}
|
||||
node -1 0 {{vehicle}} dynamic pkp\sm42_v1 6DA-1096 6da -1 headdriver 0 0 enddynamic
|
||||
endtrainset
|
||||
|
||||
node -1 0 autotest_closed eventlauncher 0 0 0 -1 none 1034 autotest_close end
|
||||
event autotest_close trackvel 0 tdo_n1734 0 endevent
|
||||
|
||||
// a standing shunter waits for the scenery's orders. event0 of tor1k (the case's track_events) runs while it stands
|
||||
// there. the first time it gives the order to go (Shunt -1 0). 25 s later the shunter is on its way, and the first
|
||||
// time it stands again, in front of tdo_n1734, it gets the order a scenery gives to leave the wagons: Shunt 0 0,
|
||||
// uncouple everything behind the locomotive and stay. it brakes the wagons, changes direction, pushes the buffers in
|
||||
// and lets the coupler go. the order comes at once: standing for long, the wagons' brakes release and the coupler
|
||||
// draws the buffers together, which leaves nothing to push
|
||||
node -1 0 autotest_ordered memcell 0 0 0 ordered 0 0 none endmemcell
|
||||
event autotest_wake multiple 0 none autotest_go autotest_uncouple endevent
|
||||
event autotest_go multiple 0 autotest_ordered autotest_go_order autotest_go_given autotest_go_done condition memcompare * 0 * endevent
|
||||
event autotest_go_order PutValues 0 none 0 0 0 Shunt -1 0 endevent
|
||||
event autotest_go_given UpdateValues 0 autotest_ordered * 1 * endevent
|
||||
event autotest_go_done UpdateValues 25 autotest_ordered * 2 * endevent
|
||||
event autotest_uncouple multiple 0 autotest_ordered autotest_uncouple_order autotest_uncouple_given condition memcompare * 2 * endevent
|
||||
event autotest_uncouple_order PutValues 0 none 0 0 0 Shunt 0 0 endevent
|
||||
event autotest_uncouple_given UpdateValues 0 autotest_ordered * 3 * endevent
|
||||
934
tests/scenarios/cases/td_upgrade_long.scn
Normal file
934
tests/scenarios/cases/td_upgrade_long.scn
Normal file
@@ -0,0 +1,934 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// a line of its own, away from the tracks of td.scn: 600 m level, then 5500 m up a gradient of 10 per mille,
|
||||
// under an overhead wire. the train starts on the level with its head 10 m before the W4 of Gora and runs on the
|
||||
// timetable {{timetable}} (leaves Gora at 10:35, no other stop) at the line limit of the timetable, up to the signal ul_sem
|
||||
// at stop 5300 m up the gradient. the line goes on 200 m past it
|
||||
node -1 0 ul_00 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_01 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_02 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_03 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_04 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_05 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 0.0 0.0
|
||||
0
|
||||
event2 gora#1_stopinfo
|
||||
endtrack
|
||||
node -1 0 ul_06 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 61.00 100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_07 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 61.00 100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 62.00 200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_08 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 62.00 200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 63.00 300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_09 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 63.00 300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 64.00 400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_10 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 64.00 400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 65.00 500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_11 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 65.00 500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 66.00 600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_12 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 66.00 600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 67.00 700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_13 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 67.00 700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 68.00 800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_14 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 68.00 800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 69.00 900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_15 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 69.00 900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 70.00 1000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_16 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 70.00 1000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 71.00 1100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_17 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 71.00 1100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 72.00 1200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_18 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 72.00 1200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 73.00 1300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_19 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 73.00 1300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 74.00 1400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_20 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 74.00 1400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 75.00 1500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_21 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 75.00 1500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 76.00 1600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_22 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 76.00 1600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 77.00 1700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_23 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 77.00 1700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 78.00 1800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_24 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 78.00 1800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 79.00 1900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_25 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 79.00 1900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 80.00 2000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_26 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 80.00 2000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 81.00 2100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_27 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 81.00 2100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 82.00 2200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_28 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 82.00 2200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 83.00 2300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_29 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 83.00 2300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 84.00 2400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_30 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 84.00 2400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 85.00 2500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_31 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 85.00 2500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 86.00 2600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_32 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 86.00 2600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 87.00 2700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_33 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 87.00 2700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 88.00 2800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_34 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 88.00 2800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 89.00 2900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_35 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 89.00 2900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 90.00 3000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_36 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 90.00 3000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 91.00 3100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_37 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 91.00 3100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 92.00 3200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_38 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 92.00 3200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 93.00 3300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_39 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 93.00 3300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 94.00 3400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_40 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 94.00 3400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 95.00 3500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_41 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 95.00 3500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 96.00 3600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_42 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 96.00 3600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 97.00 3700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_43 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 97.00 3700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 98.00 3800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_44 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 98.00 3800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 99.00 3900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_45 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 99.00 3900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 100.00 4000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_46 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 100.00 4000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 101.00 4100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_47 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 101.00 4100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 102.00 4200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_48 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 102.00 4200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 103.00 4300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_49 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 103.00 4300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 104.00 4400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_50 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 104.00 4400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 105.00 4500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_51 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 105.00 4500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 106.00 4600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_52 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 106.00 4600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 107.00 4700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_53 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 107.00 4700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 108.00 4800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_54 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 108.00 4800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 109.00 4900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_55 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 109.00 4900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 110.00 5000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_56 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 110.00 5000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 111.00 5100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_57 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 111.00 5100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 112.00 5200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_58 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 112.00 5200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 113.00 5300.0 0.0
|
||||
0
|
||||
event2 ul_sem_info
|
||||
endtrack
|
||||
node -1 0 ul_59 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 113.00 5300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 114.00 5400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 ul_60 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 114.00 5400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 115.00 5500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
// the overhead wire along the whole line, as td.scn has it: 5.6 m above the rail, the carrier 1.7 m higher, fed by
|
||||
// a substation of its own
|
||||
node -1 0 ul_pwr tractionpowersource -3000.0 60.00 0.0 3400 0 0.01 2000 1.0 3 60.0 end
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -600.0
|
||||
-3000.0 65.60 -500.0
|
||||
-3000.0 67.30 -600.0
|
||||
-3000.0 67.30 -500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -500.0
|
||||
-3000.0 65.60 -400.0
|
||||
-3000.0 67.30 -500.0
|
||||
-3000.0 67.30 -400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -400.0
|
||||
-3000.0 65.60 -300.0
|
||||
-3000.0 67.30 -400.0
|
||||
-3000.0 67.30 -300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -300.0
|
||||
-3000.0 65.60 -200.0
|
||||
-3000.0 67.30 -300.0
|
||||
-3000.0 67.30 -200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -200.0
|
||||
-3000.0 65.60 -100.0
|
||||
-3000.0 67.30 -200.0
|
||||
-3000.0 67.30 -100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -100.0
|
||||
-3000.0 65.60 0.0
|
||||
-3000.0 67.30 -100.0
|
||||
-3000.0 67.30 0.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 0.0
|
||||
-3000.0 66.60 100.0
|
||||
-3000.0 67.30 0.0
|
||||
-3000.0 68.30 100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 66.60 100.0
|
||||
-3000.0 67.60 200.0
|
||||
-3000.0 68.30 100.0
|
||||
-3000.0 69.30 200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 67.60 200.0
|
||||
-3000.0 68.60 300.0
|
||||
-3000.0 69.30 200.0
|
||||
-3000.0 70.30 300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 68.60 300.0
|
||||
-3000.0 69.60 400.0
|
||||
-3000.0 70.30 300.0
|
||||
-3000.0 71.30 400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 69.60 400.0
|
||||
-3000.0 70.60 500.0
|
||||
-3000.0 71.30 400.0
|
||||
-3000.0 72.30 500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 70.60 500.0
|
||||
-3000.0 71.60 600.0
|
||||
-3000.0 72.30 500.0
|
||||
-3000.0 73.30 600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 71.60 600.0
|
||||
-3000.0 72.60 700.0
|
||||
-3000.0 73.30 600.0
|
||||
-3000.0 74.30 700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 72.60 700.0
|
||||
-3000.0 73.60 800.0
|
||||
-3000.0 74.30 700.0
|
||||
-3000.0 75.30 800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 73.60 800.0
|
||||
-3000.0 74.60 900.0
|
||||
-3000.0 75.30 800.0
|
||||
-3000.0 76.30 900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 74.60 900.0
|
||||
-3000.0 75.60 1000.0
|
||||
-3000.0 76.30 900.0
|
||||
-3000.0 77.30 1000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 75.60 1000.0
|
||||
-3000.0 76.60 1100.0
|
||||
-3000.0 77.30 1000.0
|
||||
-3000.0 78.30 1100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 76.60 1100.0
|
||||
-3000.0 77.60 1200.0
|
||||
-3000.0 78.30 1100.0
|
||||
-3000.0 79.30 1200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 77.60 1200.0
|
||||
-3000.0 78.60 1300.0
|
||||
-3000.0 79.30 1200.0
|
||||
-3000.0 80.30 1300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 78.60 1300.0
|
||||
-3000.0 79.60 1400.0
|
||||
-3000.0 80.30 1300.0
|
||||
-3000.0 81.30 1400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 79.60 1400.0
|
||||
-3000.0 80.60 1500.0
|
||||
-3000.0 81.30 1400.0
|
||||
-3000.0 82.30 1500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 80.60 1500.0
|
||||
-3000.0 81.60 1600.0
|
||||
-3000.0 82.30 1500.0
|
||||
-3000.0 83.30 1600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 81.60 1600.0
|
||||
-3000.0 82.60 1700.0
|
||||
-3000.0 83.30 1600.0
|
||||
-3000.0 84.30 1700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 82.60 1700.0
|
||||
-3000.0 83.60 1800.0
|
||||
-3000.0 84.30 1700.0
|
||||
-3000.0 85.30 1800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 83.60 1800.0
|
||||
-3000.0 84.60 1900.0
|
||||
-3000.0 85.30 1800.0
|
||||
-3000.0 86.30 1900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 84.60 1900.0
|
||||
-3000.0 85.60 2000.0
|
||||
-3000.0 86.30 1900.0
|
||||
-3000.0 87.30 2000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 85.60 2000.0
|
||||
-3000.0 86.60 2100.0
|
||||
-3000.0 87.30 2000.0
|
||||
-3000.0 88.30 2100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 86.60 2100.0
|
||||
-3000.0 87.60 2200.0
|
||||
-3000.0 88.30 2100.0
|
||||
-3000.0 89.30 2200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 87.60 2200.0
|
||||
-3000.0 88.60 2300.0
|
||||
-3000.0 89.30 2200.0
|
||||
-3000.0 90.30 2300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 88.60 2300.0
|
||||
-3000.0 89.60 2400.0
|
||||
-3000.0 90.30 2300.0
|
||||
-3000.0 91.30 2400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 89.60 2400.0
|
||||
-3000.0 90.60 2500.0
|
||||
-3000.0 91.30 2400.0
|
||||
-3000.0 92.30 2500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 90.60 2500.0
|
||||
-3000.0 91.60 2600.0
|
||||
-3000.0 92.30 2500.0
|
||||
-3000.0 93.30 2600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 91.60 2600.0
|
||||
-3000.0 92.60 2700.0
|
||||
-3000.0 93.30 2600.0
|
||||
-3000.0 94.30 2700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 92.60 2700.0
|
||||
-3000.0 93.60 2800.0
|
||||
-3000.0 94.30 2700.0
|
||||
-3000.0 95.30 2800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 93.60 2800.0
|
||||
-3000.0 94.60 2900.0
|
||||
-3000.0 95.30 2800.0
|
||||
-3000.0 96.30 2900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 94.60 2900.0
|
||||
-3000.0 95.60 3000.0
|
||||
-3000.0 96.30 2900.0
|
||||
-3000.0 97.30 3000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 95.60 3000.0
|
||||
-3000.0 96.60 3100.0
|
||||
-3000.0 97.30 3000.0
|
||||
-3000.0 98.30 3100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 96.60 3100.0
|
||||
-3000.0 97.60 3200.0
|
||||
-3000.0 98.30 3100.0
|
||||
-3000.0 99.30 3200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 97.60 3200.0
|
||||
-3000.0 98.60 3300.0
|
||||
-3000.0 99.30 3200.0
|
||||
-3000.0 100.30 3300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 98.60 3300.0
|
||||
-3000.0 99.60 3400.0
|
||||
-3000.0 100.30 3300.0
|
||||
-3000.0 101.30 3400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 99.60 3400.0
|
||||
-3000.0 100.60 3500.0
|
||||
-3000.0 101.30 3400.0
|
||||
-3000.0 102.30 3500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 100.60 3500.0
|
||||
-3000.0 101.60 3600.0
|
||||
-3000.0 102.30 3500.0
|
||||
-3000.0 103.30 3600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 101.60 3600.0
|
||||
-3000.0 102.60 3700.0
|
||||
-3000.0 103.30 3600.0
|
||||
-3000.0 104.30 3700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 102.60 3700.0
|
||||
-3000.0 103.60 3800.0
|
||||
-3000.0 104.30 3700.0
|
||||
-3000.0 105.30 3800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 103.60 3800.0
|
||||
-3000.0 104.60 3900.0
|
||||
-3000.0 105.30 3800.0
|
||||
-3000.0 106.30 3900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 104.60 3900.0
|
||||
-3000.0 105.60 4000.0
|
||||
-3000.0 106.30 3900.0
|
||||
-3000.0 107.30 4000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 105.60 4000.0
|
||||
-3000.0 106.60 4100.0
|
||||
-3000.0 107.30 4000.0
|
||||
-3000.0 108.30 4100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 106.60 4100.0
|
||||
-3000.0 107.60 4200.0
|
||||
-3000.0 108.30 4100.0
|
||||
-3000.0 109.30 4200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 107.60 4200.0
|
||||
-3000.0 108.60 4300.0
|
||||
-3000.0 109.30 4200.0
|
||||
-3000.0 110.30 4300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 108.60 4300.0
|
||||
-3000.0 109.60 4400.0
|
||||
-3000.0 110.30 4300.0
|
||||
-3000.0 111.30 4400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 109.60 4400.0
|
||||
-3000.0 110.60 4500.0
|
||||
-3000.0 111.30 4400.0
|
||||
-3000.0 112.30 4500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 110.60 4500.0
|
||||
-3000.0 111.60 4600.0
|
||||
-3000.0 112.30 4500.0
|
||||
-3000.0 113.30 4600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 111.60 4600.0
|
||||
-3000.0 112.60 4700.0
|
||||
-3000.0 113.30 4600.0
|
||||
-3000.0 114.30 4700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 112.60 4700.0
|
||||
-3000.0 113.60 4800.0
|
||||
-3000.0 114.30 4700.0
|
||||
-3000.0 115.30 4800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 113.60 4800.0
|
||||
-3000.0 114.60 4900.0
|
||||
-3000.0 115.30 4800.0
|
||||
-3000.0 116.30 4900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 114.60 4900.0
|
||||
-3000.0 115.60 5000.0
|
||||
-3000.0 116.30 4900.0
|
||||
-3000.0 117.30 5000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 115.60 5000.0
|
||||
-3000.0 116.60 5100.0
|
||||
-3000.0 117.30 5000.0
|
||||
-3000.0 118.30 5100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 116.60 5100.0
|
||||
-3000.0 117.60 5200.0
|
||||
-3000.0 118.30 5100.0
|
||||
-3000.0 119.30 5200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 117.60 5200.0
|
||||
-3000.0 118.60 5300.0
|
||||
-3000.0 119.30 5200.0
|
||||
-3000.0 120.30 5300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 118.60 5300.0
|
||||
-3000.0 119.60 5400.0
|
||||
-3000.0 120.30 5300.0
|
||||
-3000.0 121.30 5400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction ul_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 119.60 5400.0
|
||||
-3000.0 120.60 5500.0
|
||||
-3000.0 121.30 5400.0
|
||||
-3000.0 122.30 5500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
// the W4 of the stations of the timetable
|
||||
include ip/pkp/w4n.inc gora#1 -2997.3 60.00 -90.0 180 0 0 -10 202 end
|
||||
// a signal at stop: what the AI reads of one, a memory cell with SetVelocity 0 0 and the event that reads it
|
||||
node -1 0 ul_sem_mem memcell -2997.3 121.00 5300.0 SetVelocity 0.0 0.0 none endmemcell
|
||||
event ul_sem_info getvalues 5.0 ul_sem_mem endevent
|
||||
|
||||
trainset {{timetable}} ul_05 0.0 0.1
|
||||
{{consist}}
|
||||
endtrainset
|
||||
492
tests/scenarios/cases/td_upgrade_signal_start.scn
Normal file
492
tests/scenarios/cases/td_upgrade_signal_start.scn
Normal file
@@ -0,0 +1,492 @@
|
||||
// added by tests/scenarios/run.py to td.scn, whose own trainsets were removed.
|
||||
// a line of its own, away from the tracks of td.scn: 600 m level, then 2500 m up a gradient of 10 per mille,
|
||||
// under an overhead wire. the train starts on the level with its head 10 m before the W4 of Gora and runs on the
|
||||
// timetable {{timetable}} (no stop; a freight train leaves Gora at once) up to the signal hu_sem1 1000 m up the gradient, at stop until 10:42,
|
||||
// where it stops with the whole train on the gradient, then on to the signal hu_sem2 at stop 2300 m up the
|
||||
// gradient. the line goes on 200 m past it
|
||||
node -1 0 hu_00 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_01 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_02 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_03 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_04 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 -100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_05 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 -100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 60.00 0.0 0.0
|
||||
0
|
||||
event2 gora#1_stopinfo
|
||||
endtrack
|
||||
node -1 0 hu_06 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 60.00 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 61.00 100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_07 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 61.00 100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 62.00 200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_08 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 62.00 200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 63.00 300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_09 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 63.00 300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 64.00 400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_10 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 64.00 400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 65.00 500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_11 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 65.00 500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 66.00 600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_12 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 66.00 600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 67.00 700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_13 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 67.00 700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 68.00 800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_14 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 68.00 800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 69.00 900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_15 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 69.00 900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 70.00 1000.0 0.0
|
||||
0
|
||||
event2 hu_sem1_info
|
||||
endtrack
|
||||
node -1 0 hu_16 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 70.00 1000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 71.00 1100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_17 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 71.00 1100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 72.00 1200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_18 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 72.00 1200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 73.00 1300.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_19 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 73.00 1300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 74.00 1400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_20 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 74.00 1400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 75.00 1500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_21 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 75.00 1500.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 76.00 1600.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_22 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 76.00 1600.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 77.00 1700.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_23 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 77.00 1700.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 78.00 1800.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_24 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 78.00 1800.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 79.00 1900.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_25 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 79.00 1900.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 80.00 2000.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_26 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 80.00 2000.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 81.00 2100.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_27 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 81.00 2100.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 82.00 2200.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_28 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 82.00 2200.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 83.00 2300.0 0.0
|
||||
0
|
||||
event2 hu_sem2_info
|
||||
endtrack
|
||||
node -1 0 hu_29 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 83.00 2300.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 84.00 2400.0 0.0
|
||||
0
|
||||
endtrack
|
||||
node -1 0 hu_30 track normal 100.0 1.435 0.15 25.0 20 0 flat vis
|
||||
rail_screw_used1 6 1435mm/tpbps-new2 0.2 0.5 1.1
|
||||
-3000.0 84.00 2400.0 0.0
|
||||
0.0 0.0 0.0
|
||||
0.0 0.0 0.0
|
||||
-3000.0 85.00 2500.0 0.0
|
||||
0
|
||||
endtrack
|
||||
// the overhead wire along the whole line, as td.scn has it: 5.6 m above the rail, the carrier 1.7 m higher, fed by
|
||||
// a substation of its own
|
||||
node -1 0 hu_pwr tractionpowersource -3000.0 60.00 0.0 3400 0 0.01 2000 1.0 3 60.0 end
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -600.0
|
||||
-3000.0 65.60 -500.0
|
||||
-3000.0 67.30 -600.0
|
||||
-3000.0 67.30 -500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -500.0
|
||||
-3000.0 65.60 -400.0
|
||||
-3000.0 67.30 -500.0
|
||||
-3000.0 67.30 -400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -400.0
|
||||
-3000.0 65.60 -300.0
|
||||
-3000.0 67.30 -400.0
|
||||
-3000.0 67.30 -300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -300.0
|
||||
-3000.0 65.60 -200.0
|
||||
-3000.0 67.30 -300.0
|
||||
-3000.0 67.30 -200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -200.0
|
||||
-3000.0 65.60 -100.0
|
||||
-3000.0 67.30 -200.0
|
||||
-3000.0 67.30 -100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 -100.0
|
||||
-3000.0 65.60 0.0
|
||||
-3000.0 67.30 -100.0
|
||||
-3000.0 67.30 0.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 65.60 0.0
|
||||
-3000.0 66.60 100.0
|
||||
-3000.0 67.30 0.0
|
||||
-3000.0 68.30 100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 66.60 100.0
|
||||
-3000.0 67.60 200.0
|
||||
-3000.0 68.30 100.0
|
||||
-3000.0 69.30 200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 67.60 200.0
|
||||
-3000.0 68.60 300.0
|
||||
-3000.0 69.30 200.0
|
||||
-3000.0 70.30 300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 68.60 300.0
|
||||
-3000.0 69.60 400.0
|
||||
-3000.0 70.30 300.0
|
||||
-3000.0 71.30 400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 69.60 400.0
|
||||
-3000.0 70.60 500.0
|
||||
-3000.0 71.30 400.0
|
||||
-3000.0 72.30 500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 70.60 500.0
|
||||
-3000.0 71.60 600.0
|
||||
-3000.0 72.30 500.0
|
||||
-3000.0 73.30 600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 71.60 600.0
|
||||
-3000.0 72.60 700.0
|
||||
-3000.0 73.30 600.0
|
||||
-3000.0 74.30 700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 72.60 700.0
|
||||
-3000.0 73.60 800.0
|
||||
-3000.0 74.30 700.0
|
||||
-3000.0 75.30 800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 73.60 800.0
|
||||
-3000.0 74.60 900.0
|
||||
-3000.0 75.30 800.0
|
||||
-3000.0 76.30 900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 74.60 900.0
|
||||
-3000.0 75.60 1000.0
|
||||
-3000.0 76.30 900.0
|
||||
-3000.0 77.30 1000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 75.60 1000.0
|
||||
-3000.0 76.60 1100.0
|
||||
-3000.0 77.30 1000.0
|
||||
-3000.0 78.30 1100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 76.60 1100.0
|
||||
-3000.0 77.60 1200.0
|
||||
-3000.0 78.30 1100.0
|
||||
-3000.0 79.30 1200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 77.60 1200.0
|
||||
-3000.0 78.60 1300.0
|
||||
-3000.0 79.30 1200.0
|
||||
-3000.0 80.30 1300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 78.60 1300.0
|
||||
-3000.0 79.60 1400.0
|
||||
-3000.0 80.30 1300.0
|
||||
-3000.0 81.30 1400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 79.60 1400.0
|
||||
-3000.0 80.60 1500.0
|
||||
-3000.0 81.30 1400.0
|
||||
-3000.0 82.30 1500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 80.60 1500.0
|
||||
-3000.0 81.60 1600.0
|
||||
-3000.0 82.30 1500.0
|
||||
-3000.0 83.30 1600.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 81.60 1600.0
|
||||
-3000.0 82.60 1700.0
|
||||
-3000.0 83.30 1600.0
|
||||
-3000.0 84.30 1700.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 82.60 1700.0
|
||||
-3000.0 83.60 1800.0
|
||||
-3000.0 84.30 1700.0
|
||||
-3000.0 85.30 1800.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 83.60 1800.0
|
||||
-3000.0 84.60 1900.0
|
||||
-3000.0 85.30 1800.0
|
||||
-3000.0 86.30 1900.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 84.60 1900.0
|
||||
-3000.0 85.60 2000.0
|
||||
-3000.0 86.30 1900.0
|
||||
-3000.0 87.30 2000.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 85.60 2000.0
|
||||
-3000.0 86.60 2100.0
|
||||
-3000.0 87.30 2000.0
|
||||
-3000.0 88.30 2100.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 86.60 2100.0
|
||||
-3000.0 87.60 2200.0
|
||||
-3000.0 88.30 2100.0
|
||||
-3000.0 89.30 2200.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 87.60 2200.0
|
||||
-3000.0 88.60 2300.0
|
||||
-3000.0 89.30 2200.0
|
||||
-3000.0 90.30 2300.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 88.60 2300.0
|
||||
-3000.0 89.60 2400.0
|
||||
-3000.0 90.30 2300.0
|
||||
-3000.0 91.30 2400.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
node -1 0 none traction hu_pwr 3500 4500 0.01 cu 3.0 1
|
||||
-3000.0 89.60 2400.0
|
||||
-3000.0 90.60 2500.0
|
||||
-3000.0 91.30 2400.0
|
||||
-3000.0 92.30 2500.0
|
||||
0.4 4.0 3 0.04 vis
|
||||
endtraction
|
||||
// the W4 of the stations of the timetable
|
||||
include ip/pkp/w4n.inc gora#1 -2997.3 60.00 -90.0 180 0 0 -10 202 end
|
||||
// a signal at stop: what the AI reads of one, a memory cell with SetVelocity 0 0 and the event that reads it
|
||||
node -1 0 hu_sem1_mem memcell -2997.3 78.00 1000.0 SetVelocity 0.0 0.0 none endmemcell
|
||||
event hu_sem1_info getvalues 5.0 hu_sem1_mem endevent
|
||||
// cleared at 10:42: the memory cell lets the train go at the line speed
|
||||
event hu_sem1_go updatevalues 0.0 hu_sem1_mem SetVelocity 100 100 endevent
|
||||
node -1 0 hu_sem1_launcher eventlauncher 0 0 0 -1 none 1042 hu_sem1_go end
|
||||
// a signal at stop: what the AI reads of one, a memory cell with SetVelocity 0 0 and the event that reads it
|
||||
node -1 0 hu_sem2_mem memcell -2997.3 91.00 2300.0 SetVelocity 0.0 0.0 none endmemcell
|
||||
event hu_sem2_info getvalues 5.0 hu_sem2_mem endevent
|
||||
|
||||
trainset {{timetable}} hu_05 0.0 0.1
|
||||
{{consist}}
|
||||
endtrainset
|
||||
16
tests/scenarios/cases/test_mode_standing_1m_past_signal.json
Normal file
16
tests/scenarios/cases/test_mode_standing_1m_past_signal.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"description": "Test mode, no signal passed at danger for a train set past a signal: EU07 on td.scn standing with its head 1 m past the exit signal stacja1_j at stop (no route). Its driver finds the signal behind the head at its first look ahead, about 13 s in; a standing train passes nothing, so it isn't a signal passed at danger, and the case runs into its timeout.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_past_red_signal.scn",
|
||||
"vars": {
|
||||
"offset": "52.0",
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"duration": 60,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "max_speed", "limit": 1 },
|
||||
{ "type": "distance", "max": 1 }
|
||||
]
|
||||
}
|
||||
16
tests/scenarios/cases/test_mode_standing_4m_past_signal.json
Normal file
16
tests/scenarios/cases/test_mode_standing_4m_past_signal.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"description": "Test mode, no signal passed at danger for a train set past a signal: EU07 on td.scn standing with its head 4 m past the exit signal stacja1_j at stop (no route). Its driver finds the signal behind the head at its first look ahead, about 13 s in; a standing train passes nothing, so it isn't a signal passed at danger, and the case runs into its timeout.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_past_red_signal.scn",
|
||||
"vars": {
|
||||
"offset": "55.0",
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp\\4e_v1 4e-004 4e 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"duration": 60,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "max_speed", "limit": 1 },
|
||||
{ "type": "distance", "max": 1 }
|
||||
]
|
||||
}
|
||||
31
tests/scenarios/cases/traxx_td_crew_add.json
Normal file
31
tests/scenarios/cases/traxx_td_crew_add.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"description": "As eu07_td_crew_add, with a Traxx (E186, p160dc) standing ready to depart (trainset velocity 0.1) with nobody in it: its brake handle, one with a time chamber (MHZ_6P), in the holding position and the brake pipe and the control reservoir at running pressure. The AI driver put in cab A 20 s after the start gets the locomotive ready, puts the handle to running and leaves through the exit signal.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_crew.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset none tdo_n1734 0.0 0.1",
|
||||
"node -1 0 {{vehicle}} dynamic pkp/e186_v2 146_226-6 p160dc 0 nobody 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"crew": [
|
||||
"event autotest_crew_put putvalues 0 none 0 0 0 Crew:{{vehicle}} 1 0 endevent",
|
||||
"event autotest_crew_on multiple 20 none autotest_crew_put autotest_crew_waits endevent",
|
||||
"node -1 0 autotest_crew_on_launcher eventlauncher 0 0 0 -1 none 1034 autotest_crew_on end"
|
||||
]
|
||||
},
|
||||
"track_events": {
|
||||
"tdo_n1734": "event0 autotest_wake"
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_traxx_td_crew_add\\] an AI driver takes cab A" },
|
||||
{ "type": "driver_changes", "vehicle": "{{vehicle}}", "to": "ai", "after": 15, "before": 30 },
|
||||
{ "type": "starts", "min_speed": 20, "within": 240 },
|
||||
{ "type": "moves", "vehicle": "{{vehicle}}", "direction": "front", "min_speed": 20 },
|
||||
{ "type": "log_lacks", "pattern": "derailed" },
|
||||
{ "type": "log_lacks", "pattern": "collided" }
|
||||
]
|
||||
}
|
||||
17
tests/scenarios/cases/traxx_td_timetable.json
Normal file
17
tests/scenarios/cases/traxx_td_timetable.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"description": "Traxx (E186, p160dc) on td.scn, AI driver on the td/rozklad timetable: a driver's brake handle with a time chamber (MHZ_6P), for which the AI getting the locomotive ready has a rule of its own for releasing the train brake (5775493b2, #444). Starts from Stacja1, keeps to the speed limit, brakes to a stop at Przystanek.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_timetable.scn",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp/e186_v2 146_226-6 p160dc 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"duration": 240,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "starts", "min_speed": 20, "within": 150 },
|
||||
{ "type": "max_speed", "limit": 90, "tolerance": 3 },
|
||||
{ "type": "brakes", "min_pressure": 0.5 },
|
||||
{ "type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420 }
|
||||
]
|
||||
}
|
||||
20
tests/scenarios/cases/traxx_td_timetable_cold.json
Normal file
20
tests/scenarios/cases/traxx_td_timetable_cold.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"description": "As traxx_td_timetable, from a cold start: the trainset stands with velocity 0, so the locomotive starts braked, its brake handle (MHZ_6P, with a time chamber) in the holding position and the brake pipe below running pressure. The driver gets the order to run as a train, starts the locomotive, puts the handle to running, charges the brake pipe and leaves on time.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_cold_timetable.scn",
|
||||
"vars": {
|
||||
"consist": "node -1 0 {{vehicle}} dynamic pkp/e186_v2 146_226-6 p160dc 0 headdriver 0 0 enddynamic"
|
||||
},
|
||||
"track_events": {
|
||||
"tdo_n1734": "event0 autotest_wake"
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "starts", "min_speed": 20, "within": 150 },
|
||||
{ "type": "max_speed", "limit": 90, "tolerance": 3 },
|
||||
{ "type": "brakes", "min_pressure": 0.5 },
|
||||
{ "type": "stops", "moving_speed": 20, "stop_speed": 1.0, "hold": 0, "min_distance": 1380, "max_distance": 1420 }
|
||||
]
|
||||
}
|
||||
27
tests/scenarios/cases/vectron_td_crew_remove.json
Normal file
27
tests/scenarios/cases/vectron_td_crew_remove.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"description": "Crew event, the driver disappears (eu07/maszyna#510): as eu07_td_crew_remove, with a Vectron (induction motors, an integrated power and brake handle) which loses its AI driver on the run at 10:36, stops and stays where it stopped.",
|
||||
"base_scenery": "td.scn",
|
||||
"time": "10:34",
|
||||
"fragment": "td_crew.scn",
|
||||
"vars": {
|
||||
"trainsets": [
|
||||
"trainset td/rozklad tdo_n1734 0.0 0.1",
|
||||
"node -1 0 {{vehicle}} dynamic pkp\\vectron_v1 1293-107 wariant_7w 0 headdriver 0 0 enddynamic",
|
||||
"endtrainset"
|
||||
],
|
||||
"crew": [
|
||||
"event autotest_crew_off putvalues 0 none 0 0 0 Crew:{{vehicle}} 0 0 endevent",
|
||||
"node -1 0 autotest_crew_off_launcher eventlauncher 0 0 0 -1 none 1036 autotest_crew_off end"
|
||||
]
|
||||
},
|
||||
"duration": 300,
|
||||
"timeout": 600,
|
||||
"checks": [
|
||||
{ "type": "starts", "min_speed": 20, "within": 150 },
|
||||
{ "type": "log_contains", "pattern": "Crew: \\[autotest_vectron_td_crew_remove\\] the AI driver leaves" },
|
||||
{ "type": "driver_changes", "vehicle": "{{vehicle}}", "to": "none", "after": 115, "before": 130 },
|
||||
{ "type": "stops_driverless", "vehicle": "{{vehicle}}", "min_speed": 20, "within": 60, "hold": 100 },
|
||||
{ "type": "log_lacks", "pattern": "derailed" },
|
||||
{ "type": "log_lacks", "pattern": "collided" }
|
||||
]
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user