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://sumo.dlr.de/docs/Demand/Importing_O/D_Matrices.html > <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FDemand%2FImporting_O%2FD_Matrices.html&data=04%7C01%7Cxliu8%40villanova.edu%7C68b7311ba92d45c17fd608d87003abaf%7C765a8de5cf9444f09cafae5bf8cfa366%7C0%7C1%7C637382508351908547%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=MGA9BrlFOnWhSxqkxwSNzKXLqoC96DmGXt9ypQ5YUTU%3D&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://www.eclipse.org/mailman/listinfo/sumo-user >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
