Dear Jakob,
Thank you for your help. After adding all the parameters in my command
line, it finally works.
I'd like to offer you my oceans of thanks for your generaous help, bro!
At 2016-04-18 16:21:35, "Jakob Erdmann" <[email protected]> wrote:
The option --max-edges-factor (default value 2.0) controls how long the routes
may get in relation to network size. You can try a larger value.
Also, errors can be ignored using the option --ignore-errors (A small fraction
of unbuilt routes should not be a problem for the type of demand you are
generating. Alternatively, add the option --accept-all-destinations to allow
those problematic routes to terminate wherever they get stuck).
Also, I don't think vehicles driving in loops should be a problem for your
scenario. To achieve high densities, see
http://sumo.dlr.de/wiki/FAQ#How_do_I_get_high_flows.2Fvehicle_densities.3F
regards,
Jakob
2016-04-18 9:41 GMT+02:00 Manolo <[email protected]>:
I just do so, the number of errors gets less, but still exist. I turely want to
make certain number of vehicles driving on a certain road, some a can calculate
the vehicle density (veh/km), which is commonly used in the papers. Could you
have some codes about vehicles driving in loops, or what's your comments to
achieve a certain vehicle density?
在 2016-04-18 15:15:03,"Jakob Erdmann" <[email protected]> 写道:
If you want to achieve routes that go in circles before finding the exit, add
option --allow-loops
2016-04-16 8:08 GMT+02:00 Manolo <[email protected]>:
I change my turns.xml as follows
<turns>
<interval begin="0" end="300">
<fromEdge id="e">
<toEdge id="g" probability="0.5"/>
<toEdge id="f" probability="0.5"/>
</fromEdge>
</interval>
<sink edges="h"/>
</turns>
but the error still exists.
在 2016-04-15 17:03:29,"Jakob Erdmann" <[email protected]> 写道:
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
--
Best wishes,
Long Sun
Ph.D. Candidate Institute of Information and Communication Engineering,
Zhejiang University
Mobile: +86-137-3221-6566
Email: [email protected]
--
Best wishes,
Long Sun
Ph.D. Candidate Institute of Information and Communication Engineering,
Zhejiang University
Mobile: +86-137-3221-6566
Email: [email protected]
--
Best wishes,
Long Sun
Ph.D. Candidate Institute of Information and Communication Engineering,
Zhejiang University
Mobile: +86-137-3221-6566
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