Skip to content

Commit

Permalink
fixing meso tests, refs eclipse-sumo#21
Browse files Browse the repository at this point in the history
  • Loading branch information
lbieker committed Oct 19, 2020
1 parent 318f1c7 commit 829ac81
Show file tree
Hide file tree
Showing 19 changed files with 449 additions and 44 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Mon Oct 19 14:36:41 2020 by Eclipse SUMO sumo Version v1_7_0+0644-c2b60a409c
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
SPDX-License-Identifier: EPL-2.0
<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"/>
</input>
<output>
<write-license value="true"/>
<tripinfo-output value="tripinfos.xml"/>
</output>
<time>
<end value="30"/>
</time>
<processing>
<default.speeddev value="0"/>
<pedestrian.model value="nonInteracting"/>
</processing>
<report>
<xml-validation value="never"/>
<xml-validation.routes value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
<mesoscopic>
<mesosim value="true"/>
<meso-junction-control value="true"/>
</mesoscopic>
</configuration>
-->

<tripinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd">
<tripinfo id="across" depart="0.00" departLane="" departPos="0.00" departSpeed="13.89" departDelay="0.00" arrival="9.00" arrivalLane="" arrivalPos="18.55" arrivalSpeed="13.90" duration="9.00" routeLength="113.80" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="0.00" rerouteNo="0" devices="tripinfo_across" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
</tripinfos>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Loading net-file from 'net.net.xml' ... done (3ms).
Loading done.
Simulation version v1_7_0+0644-c2b60a409c started with time: 0.00
Simulation ended at time: 80.00
Reason: All vehicles have left the simulation.
Performance:
Duration: 0.00s
Real time factor: 40000
UPS: 332000.000000
Vehicles:
Inserted: 20
Running: 0
Waiting: 0
Statistics (avg):
RouteLength: 256.80
Speed: 7.74
Duration: 33.20
WaitingTime: 0.00
TimeLoss: 0.45
DepartDelay: 13.15

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Loading net-file from 'net.net.xml' ... done (3ms).
Loading done.
Simulation version v1_7_0+0644-c2b60a409c started with time: 0.00
Simulation ended at time: 42.00
Reason: All vehicles have left the simulation.
Performance:
Duration: 0.00s
Real time factor: 21000
UPS: 95500.000000
Vehicles:
Inserted: 20
Running: 0
Waiting: 0
Statistics (avg):
RouteLength: 116.80
Speed: 12.31
Duration: 9.55
WaitingTime: 0.00
TimeLoss: 0.56
DepartDelay: 6.10

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

<!-- generated on Mon Oct 19 14:36:41 2020 by Eclipse SUMO sumo Version v1_7_0+0644-c2b60a409c
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
SPDX-License-Identifier: EPL-2.0
<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"/>
</input>
<output>
<write-license value="true"/>
<tripinfo-output value="tripinfos.xml"/>
</output>
<time>
<end value="30"/>
</time>
<processing>
<default.speeddev value="0"/>
<pedestrian.model value="nonInteracting"/>
</processing>
<report>
<xml-validation value="never"/>
<xml-validation.routes value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
<mesoscopic>
<mesosim value="true"/>
<meso-junction-control value="true"/>
</mesoscopic>
</configuration>
-->

<tripinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd">
<tripinfo id="across" depart="0.00" departLane="" departPos="0.00" departSpeed="13.89" departDelay="0.00" arrival="9.00" arrivalLane="" arrivalPos="18.55" arrivalSpeed="13.90" duration="9.00" routeLength="113.80" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="0.00" rerouteNo="0" devices="tripinfo_across" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
</tripinfos>
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Mon Oct 19 14:36:41 2020 by Eclipse SUMO sumo Version v1_7_0+0644-c2b60a409c
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
SPDX-License-Identifier: EPL-2.0
<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"/>
</input>
<output>
<write-license value="true"/>
<tripinfo-output value="tripinfos.xml"/>
</output>
<time>
<end value="30"/>
</time>
<processing>
<default.speeddev value="0"/>
<pedestrian.model value="nonInteracting"/>
</processing>
<report>
<xml-validation value="never"/>
<xml-validation.routes value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
<mesoscopic>
<mesosim value="true"/>
<meso-junction-control value="true"/>
</mesoscopic>
</configuration>
-->

<tripinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd">
<tripinfo id="across" depart="0.00" departLane="" departPos="0.00" departSpeed="13.89" departDelay="0.00" arrival="9.00" arrivalLane="" arrivalPos="18.55" arrivalSpeed="13.90" duration="9.00" routeLength="113.80" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="0.00" rerouteNo="0" devices="tripinfo_across" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
</tripinfos>
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on Mon Oct 19 14:36:42 2020 by Eclipse SUMO sumo Version v1_7_0+0644-c2b60a409c
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
SPDX-License-Identifier: EPL-2.0
<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"/>
</input>
<output>
<write-license value="true"/>
<fcd-output value="fcd.xml"/>
</output>
<time>
<begin value="80"/>
<end value="90"/>
<step-length value="0.5"/>
</time>
<processing>
<default.speeddev value="0"/>
<pedestrian.model value="nonInteracting"/>
</processing>
<report>
<verbose value="true"/>
<xml-validation value="never"/>
<xml-validation.routes value="never"/>
<duration-log.statistics value="true"/>
<no-step-log value="true"/>
</report>
<mesoscopic>
<mesosim value="true"/>
<meso-junction-control value="true"/>
</mesoscopic>
<gui_only>
<tracker-interval value="0.5"/>
</gui_only>
</configuration>
-->

<fcd-export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/fcd_file.xsd">
<timestep time="80.00"/>
<timestep time="80.50"/>
<timestep time="81.00">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="81.50">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="82.00">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="82.50">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="83.00">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="83.50">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="84.00">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="84.50">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="85.00">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="85.50">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="86.00">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="86.50">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="87.00">
<vehicle id="1" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="87.50">
<vehicle id="1" x="-20.30" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.01" pos="0.00" edge="beg2" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="88.00">
<vehicle id="1" x="-20.30" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.01" pos="0.00" edge="beg2" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="88.50">
<vehicle id="1" x="-5.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.01" pos="0.00" edge="beg3" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="89.00">
<vehicle id="1" x="-5.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.01" pos="0.00" edge="beg3" slope="0.00"/>
<vehicle id="2" x="-120.00" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="beg" slope="0.00"/>
</timestep>
<timestep time="89.50">
<vehicle id="1" x="27.20" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.00" pos="0.00" edge="end" slope="0.00"/>
<vehicle id="2" x="-20.30" y="-1.60" angle="90.00" type="DEFAULT_VEHTYPE" speed="14.01" pos="0.00" edge="beg2" slope="0.00"/>
</timestep>
</fcd-export>
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
Loading net-file from 'net.net.xml' ... done (8ms).
Loading net-file from 'net.net.xml' ... done (6ms).
Loading done.
Simulation version v1_6_0+0674-e659555e74 started with time: 0.00
Simulation ended at time: 242.00
Simulation version v1_7_0+0644-c2b60a409c started with time: 0.00
Simulation ended at time: 245.00
Reason: All vehicles have left the simulation.
Performance:
Duration: 4ms
Real time factor: 60500
UPS: 275000.000000
Duration: 0.00s
Real time factor: 81666.7
UPS: 376333.333333
Vehicles:
Inserted: 25
Running: 0
Waiting: 0
Statistics (avg):
RouteLength: 172.45
Speed: 4.28
Duration: 44.00
Speed: 4.17
Duration: 45.16
WaitingTime: 4.36
TimeLoss: 12.20
TimeLoss: 13.39
DepartDelay: 0.00

DijkstraRouter answered 25 queries and explored 4.00 edges on average.
DijkstraRouter spent 0ms answering queries (0.00ms on average).
DijkstraRouter spent 0.00s answering queries (0.00ms on average).
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Loading net-file from 'net2.net.xml' ... done (12ms).
Loading net-file from 'net2.net.xml' ... done (4ms).
Loading done.
Simulation version v1_6_0+0655-4cf5eade13 started with time: 0.00
Simulation version v1_7_0+0644-c2b60a409c started with time: 0.00
Simulation ended at time: 112.00
Reason: All vehicles have left the simulation.
Performance:
Duration: 3ms
Real time factor: 37333.3
UPS: 113666.666667
Duration: 0.00s
Real time factor: 56000
UPS: 170500.000000
Vehicles:
Inserted: 24
Running: 0
Waiting: 0
Statistics (avg):
RouteLength: 183.90
Speed: 12.96
Speed: 12.97
Duration: 14.21
WaitingTime: 0.17
TimeLoss: 0.20
WaitingTime: 0.20
TimeLoss: 0.22
DepartDelay: 0.23

Loading

0 comments on commit 829ac81

Please sign in to comment.