Hello,
just defined the different flows and turn ratios in separate files and run
JTRRouter for each flow separately. Then load the different generated route
files in sumo with --route-files file1.xml,file2.xml,file3.xml

regards,
Jakob


Hello,

I would like to know if it's possible to set different turning
probabilities to two or more different flow definitions, i. e., I have
cars, trucks and buses flows and each of them would have different turning
probabilities, for example:

<flowdefs>
    <vType id="Car" accel="2.9" decel="7.5" sigma="0.5" length="4.3"
minGap="2.5" maxSpeed="50" guiShape="passenger" />
    <vType id="Tru" accel="1.3" decel="4" sigma="0.5" length="10"
minGap="2.5" maxSpeed="36" guiShape="truck" color="1,0,0" />
    <vType id="Bus" accel="1.5" decel="4.0" sigma="0.5" length="14"
minGap="2.5" maxSpeed="25" guiShape="bus" color="0,0,1" />

    <interval begin="0" end="900">
        <flow id="CarNI1" type="Car" from="NI" number="202"
departLane="best" />
        <flow id="TruNI1" type="Tru" from="NI" number="7" departLane="best"
/>
        <flow id="BusNI1" type="Bus" from="NI" number="8" departLane="best"
/>

        <flow id="CarSI1" type="Car" from="SI" number="278"
departLane="best" />
        <flow id="TruSI1" type="Tru" from="SI" number="6" departLane="best"
/>
        <flow id="BusSI1" type="Bus" from="SI" number="6" departLane="best"
/>

        <flow id="CarLI1" type="Car" from="LI" number="231"
departLane="best" />
        <flow id="TruLI1" type="Tru" from="LI" number="4" departLane="best"
/>
        <flow id="BusLI1" type="Bus" from="LI" number="2" departLane="best"
/>
    </interval>
</flowdefs>

How the turns.xml file should look like?

Cars from NI {
 to SO: 95%
 to OO: 5% }

Buses from NI {
 to SO: 88%
 to OO: 12% }

Trucks from NI {
 to SO: 100%
 to OO: 0% }

and so on...
------------------------------------------------------------------------------
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

Reply via email to