Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Need help with graphs

In case that the edge in question is not a transit edge but the destination edge, use 'arrived' instead of 'left'.

Am Mo., 21. Feb. 2022 um 14:42 Uhr schrieb Sumbal Malik <maliksumbal01@xxxxxxxxx>:
Thank you very much for your reply.

I generated the edge data with <edgeData id="dump_60" freq="60" file="edge_data.xml" excludeEmpty="true"/>.
But the output of the edge data shows left vehicles "0" for each time step.

<interval begin="0.00" end="60.00" id="dump_15">
        <edge id="E1" sampledSeconds="1422.00" traveltime="80.92" overlapTraveltime="81.36"
density="23.70" laneDensity="11.85" occupancy="6.38" waitingTime="0.00" timeLoss="140.73"
speed="12.36" speedRelative="0.89" departed="48" arrived="0" entered="0" left="0" laneChangedFrom="6" laneChangedTo="6"/>
    </interval>

Please find the attached configuration files.



Thank you


On Mon, 21 Feb 2022 at 16:38, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
1. you cannot do this with fcd-output directly since you need an intermediate processing step to compute average speeds (fcd has no aggregation). You could plot edgeData 'speed' vs 'left' for this
2. as above. You need to program your own aggregation for this.
3. edgeData 'left' vs 'density'

Am Sa., 19. Feb. 2022 um 09:45 Uhr schrieb Sumbal Malik <maliksumbal01@xxxxxxxxx>:
Dear All 

I'm struggling to plot some graphs from the attached files. 

I would be thankful if you could share the script/commands to generate the graphs:

1. How can I plot a graph of average speed versus vehicles per hour using FCD output.

2. How to plot a graph of the average leader gap versus vehicles per hour using FCD output.

3. How to calculate the number of vehicles per time that pass through a given point and plot them versus density?

Thank you in advance.








_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top