You did not define sink edges. See the updated documentation at http://sumo.dlr.de/wiki/Demand/Routing_by_Turn_Probabilities#Sinks_Definitions
regards, Jakob 2016-04-15 10:33 GMT+02:00 Manolo <[email protected]>: > Hello, > I am a user of sumo simulator and doing the simulation to let the vehicles > frive in a loop. > And here is my question > when a use command > jtrrouter --flow-files=<flow> --turn-ratio-files=<TURN_DEFINITIONS> > --net-file=<SUMO_NET> \ > --output-file=MySUMORoutes.rou.xml --begin <UINT> --end <UINT> > I got the error as follows: > Error: The route starting at edge 'a' could not be closed. > I don't know why and give you my thanks if your help me. > About flow definitions I use flows.xml : > <flows> > <flow id="flow0" from="a" number="100" begin="0" end="20" > departLane="random" departPos="random" departSpeed="random" > arrivalSpeed="current"/> > </flows> > and nod.xml > <nodes> > <node id="node1" x="100.0" y="300.0" type="priority"/> > <node id="node2" x="750.0" y="300.0" type="traffic_light"/> > <node id="node3" x="1400.0" y="300.0" type="priority"/> > <node id="node4" x="1400.0" y="100.0" type="priority"/> > <node id="node5" x="100.0" y="100.0" type="priority"/> > <node id="node6" x="100.0" y="200.0" type="priority"/> > <node id="node7" x="50.0" y="200.0" type="priority"/> > <node id="node8" x="50.0" y="100.0" type="priority"/> > </nodes> > and edg.xml > > > <edges> > <edge id="a" from="node1" to="node2" priority="75" > numLanes="4" speed="40" /> > <edge id="b" from="node2" to="node3" priority="75" > numLanes="4" speed="40" /> > <edge id="c" from="node3" to="node4" priority="75" > numLanes="4" speed="40" /> > <edge id="d" from="node4" to="node5" priority="75" > numLanes="4" speed="40" /> > <edge id="e" from="node5" to="node6" priority="75" > numLanes="4" speed="40" /> > <edge id="f" from="node6" to="node1" priority="75" > numLanes="4" speed="40" /> > > <edge id="g" from="node6" to="node7" priority="75" > numLanes="4" speed="40" /> > <edge id="h" from="node7" to="node8" priority="75" > numLanes="4" speed="40" /> > </edges> > and turns.xml > <turn-defs> > <interval begin="0" end="300"> > <fromEdge id="e"> > <toEdge id="g" probability="0.5"/> > <toEdge id="f" probability="0.5"/> > </fromEdge> > <sink>"h"</sink> > </interval> > </turn-defs> > > > > > -- > > Best wishes, > Email: [email protected] > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
