Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Using TAZ as junction departed flow

Absolutely magnificent!

I just defined a TAZ instead of a junction as depart and also end zone, and it works as desired. Cool!
As expected, a xml route definition with TAZ (using the current additional file) is not saved in the additional file that is loaded into netedit and saved befor exiting. Hence I defined an additionals file named osm.demands_textedit.rou.xml in order to remind the only text edit nature - just as was suggested by Jakob.

Moreover I went on to let the additionals be loaded before the routes in the sumoconfig file, as is strictly advised to do so.



Am 01.02.2022, 09:02 Uhr, schrieb Jakob Erdmann <namdre.sumo@xxxxxxxxx>:

Flow/trips between junctions are based on specialized TAZ (for every junction, a TAZ with the same id is created). This is done automatically via the option --junction-taz.
Sumo supports traffic definition between any combination of attributes 'from', 'fromJunction', 'fromTaz' and 'to', 'toJunction', 'toTaz' (to keep it simple, not all of these combinations are exposed via netedit). See also https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#traffic_assignment_zones_taz
Also, you can load any number of additional files into your simulation as a comma-separated list.



Am Di., 1. Feb. 2022 um 00:49 Uhr schrieb Rob Maris <rob@xxxxxxxxxxx>:
Junction flow is new to 1.12, and upon trying this, it was reported that a TAZ would be needed.
Well first time examining TAZ. This seems very suitable for my needs, but still I'm stuck.

The screenshot shows that the TAZ has edges associated with it, as expected.
Ideal to let a flow run from one of two southern junctions to a north TAZ, where the flow is dynamically controlled from the one or the other junction - dependent on traffic density in the middle of the city.

But by experimenting with this, I only can define a flow from a junction or an edge, not a TAZ id.
Upon simulation, I only see this flow running on the longer of the two routes: towards the end junction I defined (I see a straight ratsnets line instead of edge flow line following the exact shortest route).
What am I doing wrong?

BTW: it was necessary to start the gui with --junction-taz, according to https://sumo.dlr.de/docs/Demand/Shortest_or_Optimal_Path_Routing.html.
(indeed before doing that I got an error).
The alternative would be a TAZ-file - which I would prefer. But the two TAZ definitions are stored within the additional files...

Any help appreciated.
Rob_______________________________________________
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