Dear Friends,
I have filtered the needed edge density data and attached that file
for your reference. Pls have a look. By using this file, I have tried the
following command,
F:\2014_UCSC_Latest_Research\Simulation>python
F:\2014_UCSC_Latest_Research\sumo-0.21.0\tools\visualization\plot_summary.py
-i FilteredSummary.xml -m waitingTime
But I got an empty Image. But my expectation is some thing like I have
attached in the drawn image by hand. Pls assist, how I can get that.
Thanks,
Rakkesh
On Fri, Aug 8, 2014 at 2:21 PM, Titus Rakkesh <[email protected]>
wrote:
> Thanks very much....:). I will try....:)
>
>
> On Fri, Aug 8, 2014 at 1:48 PM, Jakob Erdmann <[email protected]>
> wrote:
>
>> Hello,
>> 1) no. You need to filter the output yourself or use a simulated detector
>> (
>> http://sumo-sim.org/wiki/Simulation/Output/Induction_Loops_Detectors_%28E1%29,
>> http://sumo-sim.org/wiki/Simulation/Output/Lanearea_Detectors_%28E2%29)
>>
>> 2) number of vehicles per kilometer averaged over the length of the edge
>> and the duration of the measurement interval
>>
>> 3) check http://sumo-sim.org/wiki/Tools/Visualization#plot_net_dump.py
>> (doesn't plot timelines though), Or just parse the outputs and load them in
>> your favorite plotting tool (we use both gnuplot and matplotlib).
>>
>> regards,
>> Jakob
>>
>>
>> 2014-08-08 9:52 GMT+02:00 Titus Rakkesh <[email protected]>:
>>
>>> Dear Friends,
>>> I have used the following in an additional file and dumped the
>>> output
>>> in a summary file.
>>>
>>>
>>> <edgeData id="1" freq="300" excludeEmpty="true"
>>> file="output/edgeSummary.xml"/>
>>>
>>>
>>> After the simulation ran, I can be able to see an output file which
>>> contains all edges summary I think. The following is a portion from the
>>> summary file.
>>>
>>> edge id="-100223451" sampledSeconds="7.14" traveltime="1.23"
>>> density="4.46"
>>> occupancy="1.11" waitingTime="0.00" speed="4.35" departed="0" arrived="0"
>>> entered="3" left="3" laneChangedFrom="0" laneChangedTo="0"/>
>>>
>>>
>>> I need to do 2 things here.
>>>
>>> 1. Rather than summarizing and printing for all edges, is it possible
>>> limit
>>> the output by specific edges?
>>> 2. Here what is the density means? In the user guide or documentation, it
>>> is not clear.
>>> 3.Is there anyway that I can show visually in a graph?
>>>
>>> Thanks,
>>> Rakkesh
>>>
>>> ------------------------------------------------------------------------------
>>> Want fast and easy access to all the code in your enterprise? Index and
>>> search up to 200,000 lines of code with a free copy of Black Duck
>>> Code Sight - the same software that powers the world's largest code
>>> search on Ohloh, the Black Duck Open Hub! Try it now.
>>> http://p.sf.net/sfu/bds
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>>
>>
>>
>
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 8/9/2014 4:49:54 AM by SUMO gui Version 0.21.0
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/sumo-gui.exeConfiguration.xsd">
<input>
<net-file value="GreaterColombo.net.xml"/>
<route-files value="GreaterColombo.rou.xml"/>
<additional-files value="GreaterColombo.poly.xml,edgeOutput.xml"/>
</input>
<output>
<save-state.prefix value="state"/>
</output>
<time>
<begin value="0"/>
<end value="1000"/>
<step-length value="0.1"/>
</time>
<processing>
<time-to-teleport value="-1"/>
</processing>
<emissions>
<phemlight-path value="./PHEMlight/"/>
</emissions>
</configuration>
-->
<meandata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/meandata_file.xsd">
<interval begin="0.00" end="300.00" id="1">
<edge id="98963841#2" sampledSeconds="39.64" traveltime="9.39" density="10.75" occupancy="1.79" waitingTime="29.30" speed="1.31" departed="0" arrived="0" entered="3" left="3" laneChangedFrom="0" laneChangedTo="0"/>
</interval>
<interval begin="300.00" end="600.00" id="1">
<edge id="98963841#2" sampledSeconds="348.74" traveltime="19.45" density="94.59" occupancy="15.76" waitingTime="262.50" speed="0.63" departed="0" arrived="0" entered="15" left="11" laneChangedFrom="0" laneChangedTo="0"/>
</interval>
<interval begin="600.00" end="900.00" id="1">
<edge id="98963841#2" sampledSeconds="1126.30" traveltime="50.04" density="305.48" occupancy="50.91" waitingTime="996.90" speed="0.25" departed="0" arrived="0" entered="16" left="16" laneChangedFrom="0" laneChangedTo="0"/>
</interval>
</meandata>
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 8/9/2014 4:49:54 AM by SUMO gui Version 0.21.0
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/sumo-gui.exeConfiguration.xsd">
<input>
<net-file value="GreaterColombo.net.xml"/>
<route-files value="GreaterColombo.rou.xml"/>
<additional-files value="GreaterColombo.poly.xml,edgeOutput.xml"/>
</input>
<output>
<save-state.prefix value="state"/>
</output>
<time>
<begin value="0"/>
<end value="1000"/>
<step-length value="0.1"/>
</time>
<processing>
<time-to-teleport value="-1"/>
</processing>
<emissions>
<phemlight-path value="./PHEMlight/"/>
</emissions>
</configuration>
-->
<meandata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/meandata_file.xsd">
<interval begin="0.00" end="300.00" id="1">
<edge id="98963841#2" sampledSeconds="39.64" traveltime="9.39" density="10.75" occupancy="1.79" waitingTime="29.30" speed="1.31" departed="0" arrived="0" entered="3" left="3" laneChangedFrom="0" laneChangedTo="0"/>
</interval>
<interval begin="300.00" end="600.00" id="1">
<edge id="98963841#2" sampledSeconds="348.74" traveltime="19.45" density="94.59" occupancy="15.76" waitingTime="262.50" speed="0.63" departed="0" arrived="0" entered="15" left="11" laneChangedFrom="0" laneChangedTo="0"/>
</interval>
<interval begin="600.00" end="900.00" id="1">
<edge id="98963841#2" sampledSeconds="1126.30" traveltime="50.04" density="305.48" occupancy="50.91" waitingTime="996.90" speed="0.25" departed="0" arrived="0" entered="16" left="16" laneChangedFrom="0" laneChangedTo="0"/>
</interval>
</meandata>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user