You load this file into the simulation: sumo -a measures.add.xml  (along
with all the other sumo options)

Am Fr., 16. Okt. 2020 um 05:19 Uhr schrieb Xun Liu <[email protected]>:

> Hello Michael,
>
> Thanks for your response! You are right, I want to assign a random traffic
> flow into the network. The Inlet- and Outlet-edges of the network have
> defined manually. The traffic flow into the network from the inlet edge,
> after several time and move, it flow out from an outlet edge. The path of
> the traffic was based on the network edge connection and when vehicle met
> an intersection with more branches, it turn randomly.
>
> I have found a solution using: randomTrips.py --weights-prefix, which
> could achieve this goal. But I met another problem by output the edge data,
> I want to use this "meandata" to get some edge information:
>
> https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html#meandata_definition
> But I am confused about how to define it. Should I write it into an
> additional file and load it with CMD command, such as:
> randomTrips.py --weights-prefix -a <additionala file> ?
>
> Best,
> Xun
>
> -----邮件原件-----
> 发件人: [email protected] 代表 Michael Behrisch
> 发送时间: 2020年10月15日 16:29
> 收件人: [email protected]
> 主题: Re: [sumo-user] [EXTERNAL] Re: Define Input/Output Edges and Assign
> Random Traffic to Network
>
> Hi Xun,
> I do not fully understand wha you are trying to achieve. The sources and
> destinations are given and you want to assign them randomly to each other?
> Or do you want random volumes between fixed pairs? The routes should be
> shortest paths or the vehicles should turn randomly (according to given
> probabilities) in the network but eventually reach a given destination?
>
> Best regards,
> Michael
>
> Am 14.10.20 um 23:51 schrieb Xun Liu:
> > Hello Melanie,
> >
> >
> >
> > Thanks for your response!
> >
> >
> >
> > I have read this page about how to import O/D Matrices. The function
> > that I am trying to accomplish is that a random traffic flow is
> > assigned from the source edges and the traffic flow probabilities or
> > directions inside the network(between source edges and interior edges,
> > interior edges on different tier or from interior edges to the sink
> > edges) would be determined based on the road network randomly and
> > automatically. And at the end it would flow out from the respective sink
> edge.
> >
> >
> >
> > I used the randomTrip.py and implemented an additional file with it.
> > In the additional file I set up the TAZ with my source and sink edge
> > information. However, the random route it generate still start from
> > random edge, but not the assigned source edge. Do you have some advice
> > to accomplish this function and could you please help me to solve this
> > problem?
> >
> >
> >
> > In the attachment is the additional file with TAZ information. Thanks!
> >
> >
> >
> > Best,
> >
> > Xun
> >
> >
> >
> > *发件人:*[email protected] *代表 *[email protected]
> > *发送时间:*2020年10月14日1:40
> > *收件人:*[email protected]
> > *主题:*[EXTERNAL] Re: [sumo-user] Define Input/Output Edges and Assign
> > Random Traffic to Network
> >
> >
> >
> > Hello Xun,
> >
> >
> >
> > Maybe
> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo
> > .dlr.de%2Fdocs%2FDemand%2FImporting_O%2FD_Matrices.html&amp;data=04%7C
> > 01%7Cxliu8%40villanova.edu%7C207ce08dd0514f256f8408d871491cee%7C765a8d
> > e5cf9444f09cafae5bf8cfa366%7C0%7C1%7C637383906371087489%7CUnknown%7CTW
> > FpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6
> > Mn0%3D%7C2000&amp;sdata=aQY4N5J3RqfG91vtWEZHhfCY%2BPEgLIZ56xcpxHWeZY0%
> > 3D&amp;reserved=0
> > <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsum
> > o.dlr.de%2Fdocs%2FDemand%2FImporting_O%2FD_Matrices.html&amp;data=04%7
> > C01%7Cxliu8%40villanova.edu%7C207ce08dd0514f256f8408d871491cee%7C765a8
> > de5cf9444f09cafae5bf8cfa366%7C0%7C1%7C637383906371087489%7CUnknown%7CT
> > WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI
> > 6Mn0%3D%7C2000&amp;sdata=aQY4N5J3RqfG91vtWEZHhfCY%2BPEgLIZ56xcpxHWeZY0
> > %3D&amp;reserved=0>
> > can help you.
> >
> >
> >
> > Kind Regards,
> >
> > Melanie
> >
> >
> >
> > *Von:*[email protected]
> > <mailto:[email protected]> <[email protected]
> > <mailto:[email protected]>> *Im Auftrag von *Xun Liu
> > *Gesendet:* Mittwoch, 14. Oktober 2020 01:28
> > *An:* [email protected] <mailto:[email protected]>
> > *Betreff:* [sumo-user] Define Input/Output Edges and Assign Random
> > Traffic to Network
> >
> >
> >
> > Hello everyone,
> >
> >
> >
> > I met a problem about how to define the In-/Output Edges of a network.
> > Now I have the ID of the In- and Output edges, could I use Traffic
> > Assignment Zone(TAZ) file to define the In- and Output. And how could
> > I assign a random traffic flow from the Input Edges into the network?
> >
> >
> >
> > Best,
> >
> > Xun
> >
> >
> > _______________________________________________
> > sumo-user mailing list
> > [email protected]
> > To unsubscribe from this list, visit
> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> > eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&amp;data=04%7C01%7Cxliu8%
> 40villanova.edu
> %7C207ce08dd0514f256f8408d871491cee%7C765a8de5cf9444f09cafae5bf8cfa366%7C0%7C1%7C637383906371087489%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=vSnZjyRrgl5xfqfP37zRJzV3UZ9YTlYhdFHbDRK4B0Q%3D&amp;reserved=0
> >
>
>
> _______________________________________________
> 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

Reply via email to