In order to use the updated edgeDataFromFlow.py you need to update the rest of tools/sumolib as well. You can check the difference between input counts and routeSampler output counts directly by setting option --mismatch-output The resulting file can be loaded and visualized in sumo-gui. To check the simulation counts (which may be different if the network could not accommodate all vehicles) you can use sumo option --vehroute-output. Also, the simulation can generate edgeData output which you can compare to another edgeData file using tools/output/edgeDataDiff.py (for this, the intervals have to match and you have to rename attribute qPKW to 'entered' because only matching attributes will be compared)
regards, Jakob Am Di., 30. Juni 2020 um 09:34 Uhr schrieb anilbaral <[email protected] >: > Hi Jakob, > > I have downloaded the latest version of edgeDataFromFlow.py and tried to > generate the edge data. But the latest version is showing some error. The > error message is as follows: > > > C:\Users\Anil\Desktop\SUMO June 30>python > sumo-git/tools/detector/edgeDataFromFlow.py -d parisdetectors.xml -f > parisflow.txt -o edgedata.xml > Traceback (most recent call last): > File "sumo-git/tools/detector/edgeDataFromFlow.py", line 124, in <module> > main(get_options()) > File "sumo-git/tools/detector/edgeDataFromFlow.py", line 86, in main > beginM = int(sumolib.miscutils.parseTime(options.begin, 60) / 60) > TypeError: parseTime() takes 1 positional argument but 2 were given > > > Can you please suggest to me what mistake I am making with the new version > of edgeDataFromFlow.py? > > The old version of edgeDataFromFlow.py did not consider the temporal flow, > but was working and gave the total flow in the edges. I have attached the > files. FILES.zip > <http://sumo-user-mailing-list.90755.n8.nabble.com/file/t411/FILES.zip> > > Using the older version of edgeDataFromFlow, I was able to generate the > vehicle (although old version did not take into account the temporal flow > data). How can I check what is the flow after the simulation to compare the > flow with the original flow or edge data? I couldn't use flowFromRoutes.py > as I don't have a separate route file. > > > > -- > Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
