Skip to content

Commit

Permalink
added test refs #21, #15815
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Dec 2, 2024
1 parent 39b3135 commit 0130127
Show file tree
Hide file tree
Showing 9 changed files with 101 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Warning: Stop at parkingArea overrides attribute 'parking' for stop at 'pa0' in vehicle 'v'.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd">
<parkingArea id="pa0" lane="beg_0" startPos="100" endPos="120" roadsideCapacity="2"/>

<vType id="DEFAULT_VEHTYPE" sigma="0"/>
<route id="1" edges="beg"/>

</additional>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">

<flow id="v" begin="0" number="2" period="2" departPos="base" departSpeed="max" route="1">
<stop parkingArea="pa0" duration="80" parking="false"/>
</flow>


</routes>
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Fri May 18 14:21:28 2018 by Eclipse SUMO netconvert Version 9912760
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd">
<input>
<sumo-net-file value="net.net.xml"/>
</input>
<output>
<output-file value="net.net.xml"/>
</output>
<processing>
<no-internal-links value="true"/>
<no-turnarounds value="true"/>
<offset.disable-normalization value="true"/>
<lefthand value="false"/>
<junctions.corner-detail value="0"/>
<rectangular-lane-cut value="false"/>
<walkingareas value="false"/>
</processing>
</configuration>
-->

<net version="0.27" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd">

<location netOffset="-500.00,0.00" convBoundary="0.00,0.00,500.00,0.00" origBoundary="500.00,0.00,1500.00,0.00" projParameter="!"/>

<edge id="beg" from="beg" to="center" priority="-1">
<lane id="beg_0" index="0" speed="27.80" length="500.00" shape="0.00,-4.80 500.00,-4.80"/>
<lane id="beg_1" index="1" speed="27.80" length="500.00" shape="0.00,-1.60 500.00,-1.60"/>
</edge>

<junction id="beg" type="dead_end" x="0.00" y="0.00" incLanes="" intLanes="" shape="0.00,0.00 0.00,-6.40"/>
<junction id="center" type="dead_end" x="500.00" y="0.00" incLanes="beg_0 beg_1" intLanes="" shape="500.00,-6.40 500.00,0.00"/>

</net>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
--no-step-log --no-duration-log
--net-file=net.net.xml
-a=input_additional.add.xml
-r=input_routes.rou.xml
-t
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Loading net-file from 'net.net.xml' ... done (0ms).
Loading additional-files from 'input_additional.add.xml' ... done (0ms).
Loading done.
Simulation version v1_21_0+1093-f807130dc4a started with time: 0.00.
Simulation ended at time: 111.00.
Reason: All vehicles have left the simulation.
Statistics (avg of 2):
RouteLength: 494.90
Speed: 4.63
Duration: 107.00
WaitingTime: 0.00
TimeLoss: 8.90
DepartDelay: 0.00
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Loading net-file from 'net.net.xml' ... done (1ms).
Loading additional-files from 'input_additional.add.xml' ... done (1ms).
Loading done.
Simulation version v1_10_0+0129-6ada7b0 started with time: 0.00.
Simulation ended at time: 302.00
Reason: All vehicles have left the simulation.
Statistics (avg):
RouteLength: 494.90
Speed: 3.77
Duration: 131.98
WaitingTime: 4.50
TimeLoss: 35.41
DepartDelay: 22.02

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Loading net-file from 'net.net.xml' ... done (0ms).
Loading additional-files from 'input_additional.add.xml' ... done (0ms).
Loading done.
Simulation version v1_21_0+1093-f807130dc4a started with time: 0.00.
Simulation ended at time: 101.00.
Reason: All vehicles have left the simulation.
Statistics (avg of 2):
RouteLength: 500.00
Speed: 5.10
Duration: 98.00
WaitingTime: 0.00
TimeLoss: 80.00
DepartDelay: 0.00
1 change: 1 addition & 0 deletions tests/sumo/extended/stops/parking/testsuite.sumo
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ busstop_parkingLength_mixed2

# custom departPos at parkingArea
parkingArea_departPos
parkingArea_parkingFalse

0 comments on commit 0130127

Please sign in to comment.