Skip to content

Commit

Permalink
Added test for train unboarding through doors.
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoueraud87 committed Feb 15, 2024
1 parent 1dce04c commit b38b964
Show file tree
Hide file tree
Showing 11 changed files with 23,563 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/sumo/rail/testsuite.sumo
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,6 @@ crossing

# test for various types of train collision
collision

# Tests train unboarding with pedestrians.
unboarding
Empty file.
23,089 changes: 23,089 additions & 0 deletions tests/sumo/rail/unboarding/fcd.sumo

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions tests/sumo/rail/unboarding/input_additional.add.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-02-15 14:59:33 by Eclipse SUMO netedit Version v1_19_0+0814-b3a3d13ddb1
-->

<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd">
<!-- StoppingPlaces -->
<trainStop id="ts_0" lane="E10_0" startPos="5.23" endPos="40.72" personCapacity="20">
<access lane="E4_0" pos="doors"/>
</trainStop>
<trainStop id="ts_1" lane="E26_0" startPos="0.00" personCapacity="20">
<access lane="E1_0" pos="doors"/>
</trainStop>
</additional>
22 changes: 22 additions & 0 deletions tests/sumo/rail/unboarding/input_routes.rou.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-02-15 14:59:33 by Eclipse SUMO netedit Version v1_19_0+0814-b3a3d13ddb1
-->

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<!-- VTypes -->
<vType id="SBahn" length="40.00" vClass="rail_urban" color="red" carFollowModel="Rail">
<param key="carriageLength" value="10.00"/>
<param key="locomotiveLength" value="10.00"/>
<param key="carriageLength" value="10.00"/>
<param key="locomotiveLength" value="10.00"/>
</vType>
<!-- Vehicles, persons and containers (sorted by depart) -->
<flow id="S1" type="SBahn" begin="0.00" line="train" from="E9" to="E8" end="1000.00" period="150.00">
<stop trainStop="ts_0" until="50.00"/>
<stop trainStop="ts_1" until="150.00" endPos="70.0"/>
</flow>
<personFlow id="pf_0" begin="0.00" end="1000.00" personsPerHour="500">
<personTrip from="E3" to="E0" modes="public"/>
</personFlow>
</routes>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<viewsettings>
<scheme name="real world"/>
<delay value="50.00"/>
</viewsettings>
356 changes: 356 additions & 0 deletions tests/sumo/rail/unboarding/net.net.xml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tests/sumo/rail/unboarding/options.sumo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-e 600 --no-step-log --no-duration-log --net-file=net.net.xml --fcd-output fcd.xml --routes=input_routes.rou.xml --additional-files input_additional.add.xml
Empty file.
46 changes: 46 additions & 0 deletions tests/sumo/rail/unboarding/railsignalblocks.sumo
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-02-15 17:08:21 by Eclipse SUMO sumo Version v1_19_0+0814-b3a3d13ddb1
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
This file may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the Eclipse
Public License 2.0 are satisfied: GNU General Public License, version 2
or later which is available at
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
<input>
<net-file value="net.net.xml"/>
<route-files value="input_routes.rou.xml"/>
<additional-files value="input_additional.add.xml"/>
</input>
<output>
<write-license value="true"/>
<fcd-output value="fcd.xml"/>
<railsignal-block-output value="railsignal_blocks.xml"/>
</output>
<time>
<end value="600"/>
</time>
<processing>
<default.speeddev value="0"/>
</processing>
<report>
<xml-validation value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
</configuration>
-->

<railsignal-block-output>
</railsignal-block-output>
28 changes: 28 additions & 0 deletions tests/sumo/rail/unboarding/test.sumocfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-02-15 15:26:26 by Eclipse SUMO sumo Version v1_19_0+0814-b3a3d13ddb1
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
This file may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the Eclipse
Public License 2.0 are satisfied: GNU General Public License, version 2
or later which is available at
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
-->

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">

<input>
<net-file value="input_net.net.xml"/>
<route-files value="input_demand.rou.xml"/>
<additional-files value="input_additionals.add.xml"/>
</input>

<gui_only>
<gui-settings-file value="input_viewsettings.viewsettings.xml"/>
</gui_only>

</configuration>

0 comments on commit b38b964

Please sign in to comment.