Skip to content

HowTo: Run Test Scenario

Stefan Karg edited this page Dec 4, 2015 · 11 revisions

Quick Start Checklist

If you never ran the test scenario please skip this paragraph!

  • OpenDesk
  • DriverID: 1234
  • Train running number: 4321
  • Select level: ATB
  • Validate train data
  • Validate train running number
  • Click "Start"
  • Acknowledge Text Message "Entering SN"
  • Accelerate

Tutorial

Step 1: Running the simulation

Possibility 1: Running the EVC in SCADE, DMI and control panel external:

  1. Start the debug panel using the batch file located in the modeling-repository under 'test\EnvSim\tools\simctrl.bat'.
  2. Start the DMI executable located in 'model\Scade\System\OBU_PreIntegrations\Testbench_Integration\TCP_DMI_Standalone'
  3. Open the SCADE project in the path model\Scade\System\OBU_PreIntegrations\Testbench_Integration\ from the modeling repository.
  4. Select the profile "Simulation_EnvSim" in the KCG profile selector.
  5. Select the node ROOT_Simulation in the package "Testbench_EnvSim" and click on run. If the code has to be generated and built, SCADE will do this.
  6. Check the latency value: It must be 10ms in order to get good performance and a realistic acceleration. Important: If you change this value, make sure, that you acknowledge with the "Enter" key
  7. Click on "Go" in the simulator toolbar.

Possibility 2: Running the project completely in SCADE:

  1. Open the SCADE project in the path model\Scade\System\OBU_PreIntegrations\Testbench_Integration\ from the modeling repository.
  2. Build the project using the "Build all"-button. For demonstration purposes it is recommended to use the profile "SimuWithoutDebug", since the risk of stack overflows is the lowest. Otherwise you have to use the profile "SimuIntegration" which includes a selection of debug options.
  3. Click on "Run" to start the simulator.
  4. Check the latency value: It must be 10ms in order to get good performance and a realistic acceleration. Important: If you change this value, make sure, that you acknowledge with the "Enter" key
  5. Click on "Go" in the simulator toolbar.

Step 2: Performing Start-of-Mission procedure

  1. Click "OpenDesk" button. The DMI will be turned on and expects the input of the driver ID.

  2. Enter a driver ID (e.g. 1234) by clicking on the number-buttons (you can not use the computers keyboard!)

  3. Acknowledge the driver ID by clicking on the grey area where the driver ID is shown.

  1. Enter a train running number (e.g. 1234) and acknowledge by clicking on the grey area.
  1. The DMI is now showing the main menu and expects the selection of the level. Click on "Level" and select the level "ATB" (the Dutch national system) and acknowledge by clicking on the grey area.
  1. After the selection, the main menu is shown again. The system now expects the validation of train data. Click on the button "Train data".
  1. Acknowledge that the train data entry is complete by clicking on the grey field "Yes" in the bottom left of the DMI.
  1. Validate the train data by clicking on the grey field "Yes" in the upper right of the DMI.
  1. The DMI is showing the main menu again. Click on "Train running number".
  2. Check, if the number is the same as the one entered in step 4. Then click on the grey field containing the number to acknowledge the train running number for the second time.
  1. Press "Start".

The procedure "Start of mission " is now complete.

Driving on the test track

  • Meanwhile, the complete Amsterdam-Utrecht track is available as a test-track. You will drive from Amsterdam to Utrecht.
  • A description of the balises and radio messages on the track is available here: https://github.com/openETCS/modeling/blob/master/model/Scade/System/TracksideDynamicModel/TestTracks/UtrechtAmsterdam_oETCS/TrackDescription.xlsx
  • You can accelerate and brake the train using the sliders "Traction" and "Brake" in the TIU window.
  • If you want to use the automatic train operation system (German term: AFB), you can use the left slider "Target Speed" to set a speed. The train will automatically accelerate and decelerate to the selected speed. The amount of acceleration and deceleration can be controlled using the "Traction" slider, while the AFB is active.

  • Currently the Speed and Distance Monitoring module is deactivated. You will see the brake symbol in the DMI but it will not trigger any brake commands.
  • Shortly before passing 1200 m on the track, the radio session will be established after passing BG 353. You will see the indication in the DMI.