When loading trips with attribute 'fromJunction' or 'toJunction', each junction is treated like a taz (vehicles may depart on any outgoing edge of that junction and arrive on any incoming edge). However, to define these tazs in the simulation, the sumo option --junction-taz must be set (or you could manually define taz with ids matching the junction ids).
Am Di., 6. Okt. 2020 um 09:36 Uhr schrieb Chris Weinhaupl < [email protected]>: > > *CMD:* > c:\Sumo\tools\randomTrips.py -n cregion.net.xml -a cregion_taz.add.xml -b > 0 -e 3600 --junction-taz --validate -o cregion_trips.xml > > *sumo_gui error:* > Loading configuration ... done. > Loading net-file from 'C:\sumo_projects\CRegion\cregion.net.xml' ... done > (42ms). > Loading additional-files from > 'C:\sumo_projects\CRegion\cregion_taz.add.xml' ... done (14ms). > Loading done. > Error: Source junction 'gneJ18' not known for trip '0'! > Set option '--junction-taz' or load a TAZ-file > Quitting (on error). > > Where is this TAZ error coming from? > > > > References: > > *trips.xml:* > <trip id="0" depart="0.00" fromJunction="gneJ18" toJunction="gneJ110" > /> > > *net.xml:* > <edge id=":gneJ18_0" function="internal"> > <lane id=":gneJ18_0_0" index="0" allow= > "private passenger taxi bus evehicle custom1" speed="5.55" length="9.84" > shape= > "329.94,149.34 329.40,146.37 328.22,145.07 326.39,145.42 323.92,147.45"/> > </edge> > <edge id=":gneJ18_1" function="internal"> > <lane id=":gneJ18_1_0" index="0" speed="8.70" length="16.24" shape > ="329.94,149.34 329.07,145.09 327.00,142.06 323.74,140.24 319.29,139.63"/> > </edge> > <edge id=":gneJ18_2" function="internal"> > <lane id=":gneJ18_2_0" index="0" speed="9.87" length="21.19" shape > ="319.29,136.43 325.07,137.23 329.31,139.61 332.00,143.59 333.14,149.16"/> > </edge> > <edge id=":gneJ18_3" function="internal"> > <lane id=":gneJ18_3_0" index="0" allow= > "private passenger taxi bus evehicle custom1" speed="7.42" length="19.17" > shape= > "319.29,136.43 325.36,137.12 328.15,139.18 327.67,142.63 323.92,147.45"/> > </edge> > <edge id=":gneJ18_4" function="internal"> > <lane id=":gneJ18_4_0" index="0" allow= > "private passenger taxi bus evehicle custom1" speed="5.48" length="9.71" > shape= > "321.63,145.21 323.53,142.77 323.78,141.02 322.36,139.98 319.29,139.63"/> > </edge> > <edge id=":gneJ18_5" function="internal"> > <lane id=":gneJ18_5_0" index="0" allow= > "private passenger taxi bus evehicle custom1" speed="7.44" length="18.97" > shape= > "321.63,145.21 326.35,141.37 329.84,140.75 332.10,143.35 333.14,149.16"/> > </edge> > > > > > > _______________________________________________ > 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
