I am also attaching the flow file and turn ratio file written for the jtr
router command option.
..........................................................................................
Flow file
...............................................................................
<?xml version="1.0"?>
<routes>
<vType id="2w" color="0,1,1" vClass="motorcycle"
guiShape="motorcycle" length="1.8" width="0.6" latAlignment="center"
minGapLat="0.7" minGap="1" sigma="0" tau= "0.5" accel="2.6" decel="4.5"
maxSpeed="16.16" speedDev="0.1" speedFactor="1" departSpeed="max"
departPos="base" departLane= "random" />
<vType id="auto" color="1,1,0" vClass="passenger"
guiShape="evehicle" length="2.6" width="1.4" latAlignment="center"
minGapLat="0.7" minGap="1" sigma="0" tau= "0.5" accel="2.6" decel="4.5"
maxSpeed="13.89" speedDev="0.1" speedFactor="1" departSpeed="max"
departPos="base" departLane= "random"/>
<vType id="car" color="1,1,1" vClass="passenger"
guiShape="passenger/sedan" length="4" width="1.6" latAlignment="center"
minGapLat="0.7" minGap="1" sigma="0" tau= "0.5" accel="2.6" decel="4.5"
maxSpeed="17.24" speedDev="0.059" speedFactor="1" departSpeed="max"
departPos="base" departLane= "random"/>
<vType id="lcv" color="0,0,1" vClass="passenger"
guiShape="passenger/van" length="5" width="1.9" latAlignment="center"
minGapLat="0.7" minGap="1" sigma="0" tau= "0.5" accel="2.6" decel="4.5"
maxSpeed="17.24" speedDev="0.1" speedFactor="1" departSpeed="max"
departPos="base" departLane= "random"/>
<vType id="bus" color="1,0,0" vClass="bus" guiShape="bus"
length="10.3" width="2.5" latAlignment="center" minGapLat="0.7" minGap="1"
sigma="0" tau= "0.5" accel="2.6" decel="4.5" maxSpeed="17.24"
speedDev="0.1" speedFactor="1" departSpeed="max" departPos="base"
departLane= "random"/>
<interval end="3600.0" begin="0">
<flow id="J1L1_2w" type="2w" vehsPerHour="1338" from="J1L1"/>
<flow id="J1L1_auto" type="auto" vehsPerHour="236" from="J1L1"/>
<flow id="J1L1_car" type="car" vehsPerHour="667" from="J1L1"/>
<flow id="J1L1_lcv" type="lcv" vehsPerHour="31" from="J1L1"/>
<flow id="J1L1_bus" type="bus" vehsPerHour="138" from="J1L1"/>
<flow id="I1L1_2w" type="2w" vehsPerHour="1949" from="I1L1"/>
<flow id="I1L1_auto" type="auto" vehsPerHour="467" from="I1L1"/>
<flow id="I1L1_car" type="car" vehsPerHour="993" from="I1L1"/>
<flow id="I1L1_lcv" type="lcv" vehsPerHour="31" from="I1L1"/>
<flow id="I1L1_bus" type="bus" vehsPerHour="104" from="I1L1"/>
.............................................................................................................................
Turn ratio file.
.........................................................................................................................
<edgeRelations>
<interval end="3600" begin="0">
#LMS_SOUTH_BOUND
<edgeRelation from="J1L1" to ="-J1L1" vType ="2w" probability="0.7"/>
<edgeRelation from="J1L1" to ="-J1L1" vType ="auto" probability="0.65"/>
<edgeRelation from="J1L1" to ="-J1L1" vType ="car" probability="0.75"/>
<edgeRelation from="J1L1" to ="-J1L1" vType ="lcv" probability="0.64"/>
<edgeRelation from="J1L1" to ="-J1L1" vType ="bus" probability="0.32"/>
<edgeRelation from="J1L1" to ="-J1L3" vType ="2w" probability="0.3"/>
<edgeRelation from="J1L1" to ="-J1L3" vType ="auto" probability="0.35"/>
<edgeRelation from="J1L1" to ="-J1L3" vType ="car" probability="0.25"/>
<edgeRelation from="J1L1" to ="-J1L3" vType ="lcv" probability="0.36"/>
<edgeRelation from="J1L1" to ="-J1L3" vType ="bus" probability="0.68"/>
<edgeRelation from="-J1L3" to ="I3L1" vType ="" probability="1"/>
<edgeRelation from="I3L1" to ="-I3L1" vType ="2w" probability="0.23"/>
<edgeRelation from="I3L1" to ="J2L1" vType ="2w" probability="0.77"/>
<edgeRelation from="I3L1" to ="-I3L1" vType ="car" probability="0.37"/>
<edgeRelation from="I3L1" to ="J2L1" vType ="car" probability="0.63"/>
<edgeRelation from="I3L1" to ="-I3L1" vType ="bus" probability="0.31"/>
<edgeRelation from="I3L1" to ="J2L1" vType ="bus" probability="0.69"/>
<edgeRelation from="I3L2" to ="J2L1" vType ="" probability="1"/>
<edgeRelations from="I1L1" to ="I2L1" vType ="2w" probability="0.52"/>
<edgeRelations from="I1L1" to ="J1L2" vType ="2w" probability="0.48"/>
<edgeRelations from="I1L1" to ="I2L1" vType ="auto" probability="0.67"/>
<edgeRelations from="I1L1" to ="J1L2" vType ="auto" probability="0.33"/>
<edgeRelations from="I1L1" to ="I2L1" vType ="car" probability="0.5"/>
On Tue, Aug 9, 2022 at 6:22 PM Chithra Saikrishna <[email protected]>
wrote:
> Sure. These are the first 100 lines from the route file generated by the
> jtr router.
>
> Thankfully,
> Chithra
>
>
> <!-- generated on 2022-07-20 14:59:53 by Eclipse SUMO jtrrouter Version
> 1.13.0
> <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="
> http://sumo.dlr.de/xsd/jtrrouterConfiguration.xsd">
>
> <input>
> <net-file value="osm.net.xml"/>
> <route-files value="flow.xml"/>
> <turn-ratio-files value="turnratio.xml"/>
> </input>
>
> <output>
> <output-file value="Routes.rou.xml"/>
> </output>
>
> <processing>
> <no-internal-links value="true"/>
> </processing>
>
> <time>
> <begin value="0"/>
> <end value="3600"/>
> </time>
>
> </configuration>
> -->
>
> <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
> <vType id="2w" length="1.80" minGap="1.00" maxSpeed="16.16"
> speedFactor="normc(1.00,0.10,0.20,2.00)" vClass="motorcycle"
> guiShape="motorcycle" width="0.60" color="cyan" latAlignment="center"
> minGapLat="0.70" accel="2.6" decel="4.5" sigma="0" tau="0.5"/>
> <vehicle id="I10L1_2w.0" type="2w" depart="0.00">
> <route edges="I10L1 I9L1 J4L2 J3L3 -J3L1 I5L1 I4L1 -I4L1"/>
> </vehicle>
> <vType id="car" length="4.00" minGap="1.00" maxSpeed="17.24"
> speedFactor="normc(1.00,0.06,0.20,2.00)" vClass="passenger"
> guiShape="passenger/sedan" width="1.60" color="white" latAlignment="center"
> minGapLat="0.70" accel="2.6" decel="4.5" sigma="0" tau="0.5"/>
> <vehicle id="I10L1_car.0" type="car" depart="0.00">
> <route edges="I10L1 I9L1 I8L1 -I8L3"/>
> </vehicle>
> <vType id="lcv" length="5.00" minGap="1.00" maxSpeed="17.24"
> speedFactor="normc(1.00,0.10,0.20,2.00)" vClass="passenger"
> guiShape="passenger/van" width="1.90" color="blue" latAlignment="center"
> minGapLat="0.70" accel="2.6" decel="4.5" sigma="0" tau="0.5"/>
> <vehicle id="I10L1_lcv.0" type="lcv" depart="0.00">
> <route edges="I10L1 I9L1 J4L2 J3L3 -J3L1 I5L1 I4L1 -I4L1"/>
> </vehicle>
> <vehicle id="I11L1_lcv.0" type="lcv" depart="0.00">
> <route edges="I11L1 J5L1 -J5L3"/>
> </vehicle>
> <vehicle id="I1L1_2w.0" type="2w" depart="0.00">
> <route edges="I1L1 J1L2 -J1L2"/>
> </vehicle>
> <vType id="auto" length="2.60" minGap="1.00" maxSpeed="13.89"
> speedFactor="normc(1.00,0.10,0.20,2.00)" vClass="passenger"
> guiShape="evehicle" width="1.40" color="yellow" latAlignment="center"
> minGapLat="0.70" accel="2.6" decel="4.5" sigma="0" tau="0.5"/>
> <vehicle id="I1L1_auto.0" type="auto" depart="0.00">
> <route edges="I1L1 I2L1 I3L1 J2L1 -J2L3 -I4L1"/>
> </vehicle>
> <vType id="bus" length="10.30" minGap="1.00" maxSpeed="17.24"
> speedFactor="normc(1.00,0.10,0.20,2.00)" vClass="bus" guiShape="bus"
> width="2.50" color="red" latAlignment="center" minGapLat="0.70" accel="2.6"
> decel="4.5" sigma="0" tau="0.5"/>
> <vehicle id="I1L1_bus.0" type="bus" depart="0.00">
> <route edges="I1L1 J1L2 -J1L2"/>
> </vehicle>
> <vehicle id="I1L1_car.0" type="car" depart="0.00">
> <route edges="I1L1 I2L1 I3L1 -I3L1"/>
> </vehicle>
> <vehicle id="I1L1_lcv.0" type="lcv" depart="0.00">
> <route edges="I1L1 I2L1 I3L1 -I3L1"/>
> </vehicle>
> <vehicle id="I3L1_2w.0" type="2w" depart="0.00">
> <route edges="I3L1 J2L1 J3L1 J4L1 -J4L2 -I11L1"/>
> </vehicle>
> <vehicle id="I3L1_bus.0" type="bus" depart="0.00">
> <route edges="I3L1 -I3L1"/>
> </vehicle>
> <vehicle id="I3L1_car.0" type="car" depart="0.00">
> <route edges="I3L1 J2L1 -J2L3 -I4L1"/>
> </vehicle>
> <vehicle id="I3L2_auto.0" type="auto" depart="0.00">
> <route edges="I3L2 J2L1 J3L1 J4L1 -J4L3"/>
> </vehicle>
> <vehicle id="I7L1_2w.0" type="2w" depart="0.00">
> <route edges="I7L1 J3L4 J4L1 -J4L2 J5L1 -J5L1"/>
> </vehicle>
> <vehicle id="I7L1_auto.0" type="auto" depart="0.00">
> <route edges="I7L1 J3L4 J4L1 -J4L4 -I8L3"/>
> </vehicle>
> <vehicle id="I7L1_bus.0" type="bus" depart="0.00">
> <route edges="I7L1 I6L1 I5L1 I4L1 -I4L1"/>
> </vehicle>
> <vehicle id="I7L1_car.0" type="car" depart="0.00">
> <route edges="I7L1 I6L1 I5L1 I4L1 -I4L1"/>
> </vehicle>
> <vehicle id="I7L1_lcv.0" type="lcv" depart="0.00">
> <route edges="I7L1 I6L1 I5L1 J2L2 J1L3 -J1L2"/>
> </vehicle>
> <vehicle id="I8L3_2w.0" type="2w" depart="0.00">
> <route edges="I8L3 J4L4 -J4L3"/>
> </vehicle>
> <vehicle id="I8L3_car.0" type="car" depart="0.00">
> <route edges="I8L3 J4L4 J3L3 -J3L1 I5L1 I4L1 -I4L1"/>
> </vehicle>
> <vehicle id="J1L1_2w.0" type="2w" depart="0.00">
> <route edges="J1L1 -J1L1"/>
> </vehicle>
> <vehicle id="J1L1_auto.0" type="auto" depart="0.00">
> <route edges="J1L1 -J1L3 I3L1 -I3L1"/>
> </vehicle>
> <vehicle id="J1L1_bus.0" type="bus" depart="0.00">
> <route edges="J1L1 -J1L1"/>
> </vehicle>
>
> On Tue, Aug 9, 2022 at 6:10 PM Jakob Erdmann <[email protected]>
> wrote:
>
>> If you haven't yet solved your problem yet, please paste the first 100
>> lines of the route file generated by jtrrouter (including the xml header
>> information).
>>
>> Am Di., 2. Aug. 2022 um 09:01 Uhr schrieb Harald Schaefer <
>> [email protected]>:
>>
>>> Hi,
>>>
>>> in my example i use lane = "random" and departSpeed = "desired". It
>>> works fine with sumo 14.1.
>>>
>>> Regards, Harald
>>> Am 01.08.22 um 12:33 schrieb Chithra Saikrishna:
>>>
>>>
>>> Hi,
>>>
>>> I am running a simulation in sumo using jtrrouter with flow file and
>>> turnratio file as the input file. The departlane option is set "random" but
>>> the vehicle are getting inserted only from the leftmost lanes in all the
>>> edges throughout the network. All the edges have 3 lanes but vehicle is
>>> getting inserted from the lane with index 0 leaving the other two lanes
>>> free. Though soon after the vehicle enters the simulation, due to the lane
>>> changing model the vehicles are getting changed to second an third lane,
>>> but the number of vehicle getting inserted is reduced to one-third of
>>> the actual flow value(VehperHour) input. I have tried several options for
>>> departLane values like "free", "best", "'. But still the problem is there.
>>> Is there any other options that I must try so that the vehicle get inserted
>>> from all the 3 lanes in the edge simultaneously?
>>>
>>> Attached hereby is the video of the simulation.
>>>
>>> Thanks in advance!
>>>
>>>
>>> _______________________________________________
>>> sumo-user mailing [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
>>>
>> _______________________________________________
>> 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