Skip to content

Commit

Permalink
added test refs #14869, #21
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed May 16, 2024
1 parent 5051c2c commit 4e38d96
Show file tree
Hide file tree
Showing 8 changed files with 153 additions and 5 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<vType id="DEFAULT_VEHTYPE" sigma="0" personCapacity="2" boardingDuration="40"/>
<vType id="DEFAULT_PEDTYPE" vClass="pedestrian" boardingFactor="2"/>
<flow id="bus" line="l100" begin="0" period="120" departPos="0" >
<route edges="beg beg2left left left2end end">
<stop lane="beg_0" startPos="10" endPos="50" duration="30"/>
</route>
</flow>
<person id="p1" depart="20" departPos="40">
<ride from="beg" to="end" lines="l100"/>
</person>
<person id="p2" depart="20" departPos="40">
<ride from="beg" to="end" lines="l100"/>
</person>
<person id="p3" depart="20" departPos="40">
<ride from="beg" to="end" lines="l100"/>
</person>
</routes>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--no-step-log --no-duration-log --net-file=three_split.net.xml -r=input_routes.rou.xml --tripinfo-output=tripinfos.xml -e 1000
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-05-16 11:16:47 by Eclipse SUMO sumo Version v1_20_0+0073-5051c2cc2a9
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="three_split.net.xml"/>
<route-files value="input_routes.rou.xml"/>
</input>
<output>
<write-license value="true"/>
<tripinfo-output value="tripinfos.xml"/>
</output>
<time>
<end value="1000"/>
</time>
<processing>
<default.speeddev value="0"/>
<pedestrian.model value="nonInteracting"/>
</processing>
<report>
<xml-validation value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
</configuration>
-->

<tripinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd">
<personinfo id="p1" depart="20.00" type="DEFAULT_PEDTYPE" speedFactor="1.00" duration="187.00" waitingTime="161.00" timeLoss="8.63" traveltime="187.00">
<ride waitingTime="161.00" vehicle="bus.0" depart="181.00" arrival="368.00" arrivalPos="500.00" duration="187.00" routeLength="2962.36" timeLoss="8.63"/>
</personinfo>
<personinfo id="p2" depart="20.00" type="DEFAULT_PEDTYPE" speedFactor="1.00" duration="187.00" waitingTime="161.00" timeLoss="8.63" traveltime="187.00">
<ride waitingTime="161.00" vehicle="bus.0" depart="181.00" arrival="368.00" arrivalPos="500.00" duration="187.00" routeLength="2962.36" timeLoss="8.63"/>
</personinfo>
<tripinfo id="bus.0" depart="0.00" departLane="beg_0" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="368.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="368.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="173.00" timeLoss="13.83" rerouteNo="0" devices="tripinfo_bus.0 person_bus.0" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<personinfo id="p3" depart="20.00" type="DEFAULT_PEDTYPE" speedFactor="1.00" duration="187.00" waitingTime="188.00" timeLoss="8.36" traveltime="187.00">
<ride waitingTime="188.00" vehicle="bus.1" depart="208.00" arrival="395.00" arrivalPos="500.00" duration="187.00" routeLength="2969.86" timeLoss="8.36"/>
</personinfo>
<tripinfo id="bus.1" depart="120.00" departLane="beg_0" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="395.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="275.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="80.00" timeLoss="13.83" rerouteNo="0" devices="tripinfo_bus.1 person_bus.1" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<tripinfo id="bus.2" depart="240.00" departLane="beg_0" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="465.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="225.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="30.00" timeLoss="13.83" rerouteNo="0" devices="tripinfo_bus.2" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<tripinfo id="bus.3" depart="360.00" departLane="beg_0" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="585.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="225.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="30.00" timeLoss="13.83" rerouteNo="0" devices="tripinfo_bus.3" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<tripinfo id="bus.4" depart="480.00" departLane="beg_0" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="705.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="225.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="30.00" timeLoss="13.83" rerouteNo="0" devices="tripinfo_bus.4" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<tripinfo id="bus.5" depart="600.00" departLane="beg_0" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="825.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="225.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="30.00" timeLoss="13.83" rerouteNo="0" devices="tripinfo_bus.5" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<tripinfo id="bus.6" depart="720.00" departLane="beg_0" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="945.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="225.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="30.00" timeLoss="13.83" rerouteNo="0" devices="tripinfo_bus.6" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
</tripinfos>
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-05-06 00:00:39 by Eclipse SUMO sumo Version v1_19_0+2076-0cd5b1960a6
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="three_split.net.xml"/>
<route-files value="input_routes.rou.xml"/>
</input>
<output>
<write-license value="true"/>
<tripinfo-output value="tripinfos.xml"/>
</output>
<time>
<end value="1000"/>
</time>
<processing>
<default.speeddev value="0"/>
<pedestrian.model value="nonInteracting"/>
</processing>
<report>
<xml-validation value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
<mesoscopic>
<mesosim value="true"/>
</mesoscopic>
</configuration>
-->

<tripinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd">
<personinfo id="p1" depart="20.00" type="DEFAULT_PEDTYPE" speedFactor="1.00" duration="180.60" waitingTime="10.40" timeLoss="0.00" traveltime="180.60">
<ride waitingTime="10.40" vehicle="bus.0" depart="30.40" arrival="211.00" arrivalPos="500.00" duration="180.60" routeLength="2912.36" timeLoss="0.00"/>
</personinfo>
<personinfo id="p2" depart="20.00" type="DEFAULT_PEDTYPE" speedFactor="1.00" duration="180.60" waitingTime="10.40" timeLoss="0.00" traveltime="180.60">
<ride waitingTime="10.40" vehicle="bus.0" depart="30.40" arrival="211.00" arrivalPos="500.00" duration="180.60" routeLength="2912.36" timeLoss="0.00"/>
</personinfo>
<tripinfo id="bus.0" depart="0.00" departLane="" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="211.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="211.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="30.00" timeLoss="30.00" rerouteNo="0" devices="tripinfo_bus.0 person_bus.0" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<personinfo id="p3" depart="20.00" type="DEFAULT_PEDTYPE" speedFactor="1.00" duration="180.60" waitingTime="130.40" timeLoss="0.00" traveltime="180.60">
<ride waitingTime="130.40" vehicle="bus.1" depart="150.40" arrival="331.00" arrivalPos="500.00" duration="180.60" routeLength="2912.36" timeLoss="0.00"/>
</personinfo>
<tripinfo id="bus.1" depart="120.00" departLane="" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="331.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="211.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="30.00" timeLoss="30.00" rerouteNo="0" devices="tripinfo_bus.1 person_bus.1" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<tripinfo id="bus.2" depart="240.00" departLane="" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="451.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="211.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="30.00" timeLoss="30.00" rerouteNo="0" devices="tripinfo_bus.2" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<tripinfo id="bus.3" depart="360.00" departLane="" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="571.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="211.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="30.00" timeLoss="30.00" rerouteNo="0" devices="tripinfo_bus.3" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<tripinfo id="bus.4" depart="480.00" departLane="" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="691.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="211.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="30.00" timeLoss="30.00" rerouteNo="0" devices="tripinfo_bus.4" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<tripinfo id="bus.5" depart="600.00" departLane="" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="811.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="211.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="30.00" timeLoss="30.00" rerouteNo="0" devices="tripinfo_bus.5" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<tripinfo id="bus.6" depart="720.00" departLane="" departPos="0.00" departSpeed="0.00" departDelay="0.00" arrival="931.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="211.00" routeLength="3012.36" waitingTime="0.00" waitingCount="0" stopTime="30.00" timeLoss="30.00" rerouteNo="0" devices="tripinfo_bus.6" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
</tripinfos>
3 changes: 3 additions & 0 deletions tests/sumo/basic/person/riding/testsuite.sumo
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ two_stops_at_one_edge
# busses have a large boarding duration such that the stop duration will be extended by the boarding of the passengers
boarding_duration_extension

# busses have a large boarding duration such that the stop duration will be extended by the boarding of the passengers
boarding_duration_extension_factor

# many persons with sub-second boardingDuration should extend the stop
boarding_duration_extension_small

Expand Down

0 comments on commit 4e38d96

Please sign in to comment.