Re: [sumo-user] Collisions Allowance

2022-02-10 Thread Jakob Erdmann
see
https://sumo.dlr.de/docs/Simulation/Safety.html#deliberately_causing_collisions

Am Do., 10. Feb. 2022 um 13:15 Uhr schrieb Hervé Diedie <
hervedie...@gmail.com>:

> I am currently designing a collision avoidance protocol. To evaluate its
> performance i need to let vehicles explicitly colide. Unfortunateky, i
> have  noticed that while executing my sumo.cfg file vehicles already
> automatically avoid  collisions. How can I work this issue out ?
>
> Best regards.
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] How to retrieve these numbers using traci?

2022-02-10 Thread Jakob Erdmann
insertion-backlogged: simulation.getPendingVehicles
running: vehicle.getIDCount()

for other counts, you can only retrieve the number of changes in the last
step and must tally the sum yourself:
simulation.getLoadedNumber
simulation.getDepartedNumber
simulation.getArrivedNumber

you cannot retrieve discarded vehicles.

Am Do., 10. Feb. 2022 um 13:08 Uhr schrieb Starlight Charlotte <
jeremiahferre...@gmail.com>:

>
>
> How do I retrieve these numbers using traci?
>
>
>
> I’ve tried using traci.simulation.getLoadedNumber() it appeared as 4 then
> 0 after that
>
>
>
>
>
> Sent from Mail  for
> Windows
>
>
>
>
> 
>  Virus-free.
> www.avast.com
> 
> <#m_3621798713245601962_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] How to get high densities?

2022-02-10 Thread Jakob Erdmann
Thank you for the example. I did uncover a bug in the insertion code that
has now been fixed (https://github.com/eclipse/sumo/issues/10137).
You can download an updated version of sumo tomorrow at
https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version

Am Mi., 9. Feb. 2022 um 16:18 Uhr schrieb Ste Millington <
stemilling...@gmail.com>:

> Please find attached my config. I've tidied things up a bit and do appear
> to be now getting slightly higher densities but there still seems to be a
> bottleneck at densities lower than I would expect.
>
> I have also attached a few graph showing how the average gap, effective
> flow and average speed alter as i increase the vehsPerHour parameter. The
> all seem to flatline at around 6000.
>
> Many thanks for taking a look at this.
>
>
> On Wed, 9 Feb 2022 at 09:54, Jakob Erdmann  wrote:
>
>> The spacing of 90m is unexpected for your setup, With the above
>> configuration, you should see an average spacing of roadSpeed + vehLength +
>> minGap (i.e. ~20m for 13.89/ms = 50km/h road and 7.5m length+minGap).
>> Depending on road speed you should be seeing 1800 - 2000 v/h/lane.
>> If you use departSpeed="avg" instead of "max", capacity goes up to 2400
>> v/h/lane
>> see also https://sumo.dlr.de/docs/Simulation/RoadCapacity.html
>>
>> Please post your (zipped) scenario files to figure out why you are not
>> seeing this.
>>
>> However, insertion flow alone will never lead to a breakdown of the flow.
>> For that you need some sort of speed disturbance downstream.
>> If you set sigma="1" you will see occasional breakdowns but they will be
>> short-lived (and due to a known issue with the Krauss model, this only
>> works at 1s step length).
>> An alternative for inducing break-down would be a variable-speed-sign
>> https://sumo.dlr.de/docs/Simulation/Variable_Speed_Signs.html
>> https://sumo.dlr.de/docs/Tutorials/FundamentalDiagram.html
>>
>> regards,
>> Jakob
>>
>> Am Di., 8. Feb. 2022 um 17:23 Uhr schrieb Ste Millington <
>> stemilling...@gmail.com>:
>>
>>> I'm struggling to get high flow rates in a simple model, just a straight
>>> 5km stretch of 4 lane highway.
>>>
>>> I'm using multiple flow elements with probability set close to 1.
>>> However i can't seem to get the flow rate to ever go above 4000 vehicles
>>> per hour. This only gives me 1000 vehicles per hour per lane and an average
>>> vehicle spacing of 90 metres. I was hoping to be able to achieve a
>>> breakdown of the flow.
>>>
>>> I've tried tried setting step length to 0.1 and using multiple copies of
>>>
>>> >> departPos="last" departLane="best" route="route_0" end="3600.00"
>>> probability="0.9"/>
>>>
>>> But after a certain point nothing seems to make much difference. I'm
>>> sure I'm doing something wrong or not perhaps just misunderstanding the
>>> traffic dynamics somehow.
>>>
>>> Should I be able to ramp up the flow rate to a point where the traffic
>>> flow breaks down?
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] SL2015 lane change model long vehicle overtaking bug still remains

2022-02-10 Thread Jakob Erdmann
Thank you for the detailed test case description which permitted
reproducing the issue.
The problem is now fixed (downloads will updated tomorrow).
FYI: My own test case worked fine with SL2015, hence the fix was only for
LC2013 initially.

regards,
Jakob

Am Mi., 9. Feb. 2022 um 11:44 Uhr schrieb Hriday Sanghvi via sumo-user <
sumo-user@eclipse.org>:

> Hello Jakob,
>
> I have two lanes on a single 1000m length of road and have configured it
> to use the SL2015 lane change model by setting the * value="3.2" /> *option in "processing" in the configuration file. The
> value 3.2 m is the default lane width in SUMO as far as I know.
>
> ***edges.xml***
>
> 
>>   
>> 
>
>
> I want to run the simulation until 100 vehicles have departed and arrived
> in their destination.
>
> ***routes.rou.xml***
>
> 
>> 
>> 
>> > vehsPerHour="1" type="veh" route="r0" departLane="random"
>> departSpeed="random" arrivalLane="random" />
>> 
>
>
> My TraCI code looks like:
>
> ***run.py***
>
> step = 0
>> GHOST_POS = 750.0
>> NUMBER_OF_VEH = 100
>> traci.vehicle.add(vehID='ghost', routeID='r0', typeID='veh', depart=0,
>> departLane=0, departPos=GHOST_POS, departSpeed='random',
>> arrivalLane='current', arrivalPos=GHOST_POS)
>> traci.vehicle.setColor(vehID='ghost',color=(255,0,0))
>> traci.vehicle.setLength(vehID='ghost',length=*500*)
>> traci.vehicle.setStop(vehID='ghost', edgeID='1f2', pos=GHOST_POS,
>> duration=10, until=END)# flags=0, startPos=0, until=120)
>> arrived = 0
>> while arrived < NUMBER_OF_VEH:
>> arrived += traci.simulation.getArrivedNumber()
>> traci.simulationStep()
>> step+=1
>> traci.close()
>
>
>
>
> When my ghost vehicle length is set to 500m on one of the lanes, the other
> vehicles struggle to go around it or overtake it and they are stuck on the
> other lane at speed 0. There's just a huge queue of vehicles stopped right
> next to the 500m ghost vehicle. The fix mentioned before (even after
> updating my SUMO to make sure it is the same as the main branch) - seems to
> not fix it in my case since I am using the SL2015 lane-changing model?
>
> The fix on
> https://github.com/eclipse/sumo/commit/e4aa10516f63ddaa1d878cae6ec95ca5660a1150
>  seems
> to be only for the LC2013 model. Please advise.
>
> Thank you.
>
> Sincerely,
> Hriday
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] simpla

2022-02-10 Thread Jakob Erdmann
Did you check whether vehicle spacing is lower than maxPlatoonGap?
If vehicles do not reduce distances on their own, you could define the
`catchup` type and give it a higher speedFactor and lower desired gap.
Please see the updated documentation at https://sumo.dlr.de/docs/Simpla.html
(some attributes were missing in the table).

Am Di., 8. Feb. 2022 um 20:36 Uhr schrieb Yajun She :

> Dear Jakob,
>
> I tried using 'Simple' and Traci to form a platoon. What I expect is that
> some vehicles should turn blue when the platoon is formed. But it doesn't
> work at all,  hope you can help me out here. The following are my route
> file, configuration file, and python codes.
>
> Best regards and thanks,
> Yajun She
>
> [image: image.png]
>
> [image: image.png]
>
> [image: image.png]
>
> On Mon, 24 Jan 2022 at 09:36, Jakob Erdmann  wrote:
>
>> In your vTypeMap, change the id 'orig_automated' to 'automated'.
>>
>> Am Sa., 22. Jan. 2022 um 08:25 Uhr schrieb Yajun She > >:
>>
>>> Hello,
>>>
>>> I tried to implement 'simpla' to create platoon using the following
>>> simpla configuration file and route file:
>>> 
>>> 
>>> >> follower="follower_automated" />
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>> 
>>> >> sigma="0.5" length="5" maxSpeed="60" color="white"/>
>>> 
>>> 
>>> 
>>>
>>> 
>>> 
>>>
>>> >> vehsPerHour="1600"/>
>>> >> vehsPerHour="1600"/>
>>> 
>>>
>>> However, I am facing this issue while loading "simpla" configuration
>>> file:
>>> C:\Python37\python.exe C:/pythonProject/main.py
>>> 1.0: WARNING: No vType specified for PlatoonMode 'LEADER' for vehicle
>>> 'flow_0.0'. Behavior within platoon is NOT altered. This warning is issued
>>> only once. (PVehicle)
>>> 1.0: WARNING: No vType specified for PlatoonMode 'FOLLOWER' for vehicle
>>> 'flow_0.0'. Behavior within platoon is NOT altered. This warning is issued
>>> only once. (PVehicle)
>>> 1.0: WARNING: No vType specified for PlatoonMode 'CATCHUP' for vehicle
>>> 'flow_0.0'. Behavior within platoon is NOT altered. This warning is issued
>>> only once. (PVehicle)
>>> 1.0: WARNING: No vType specified for PlatoonMode 'CATCHUP_FOLLOWER' for
>>> vehicle 'flow_0.0'. Behavior within platoon is NOT altered. This warning is
>>> issued only once. (PVehicle)
>>>
>>> I don't know if I have to change any other configuration, hope anyone of
>>> you can help me out!
>>>
>>> Best regards and thanks,
>>> Yajun
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] mingap and lcassertive parameters

2022-02-10 Thread Jakob Erdmann
- changing minGap is fine
- changing lcAssertive should not be necessary since the desired gaps can
be tuned via attributes of the carFollowModel
- lcAssertive is useful for lane changing with reduced safety (and possibly
to compensate for overly conservative driving behavior at lane drops)
- setting tau is probably useful since it is the main parameter that
determines vehicle spacing at high speed

Am Do., 10. Feb. 2022 um 08:54 Uhr schrieb mehmet nedim yavuz <
mehmetnedim...@gmail.com>:

> I would like to model human-driven vehicles and autonomous vehicles which
> have different autonomy levels (i.e Level-2 and Level 4 for my case). I
> decrease minGap value through Level 0 to Level-4 based on literature
> studies. For the lane-changing behaviour, lcassertive value affects vehicle
> distance gaps behind and in front of it.  These gaps are already determined
> by car following model parameters, so the gaps do not need further
> influence from a lane changing parameter which would either encourage or
> discourage AV lane changing. I am not sure that changing both of
> them(minGap and lcAssertive value) or  changing only car-following
> parameter  is true approach? Regards.
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Precisely control of acceleration

2022-02-09 Thread Jakob Erdmann
In order to control the acceleration, you must call traci.vehicle.setSpeed
in every simulation step, to set the speed that would result from the
desired acceleration.

Am Do., 10. Feb. 2022 um 04:52 Uhr schrieb 李多为 :

> Dear developers,
> Hello! I am now using Traci to control the behavior of vehicles in
> intersections. I have a questions to discuss with you.
> Do you have any method to precisely control the acceleration of the
> vehicle? traci.vehicle.setAcceleration() only sets the optimal maximum
> value, but can't control it precisely.
>
> Looking forward to your reply.
>
> Best wishes,
> Duowei
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Pedestrian crossing

2022-02-09 Thread Jakob Erdmann
The gray intersection shape in sumo-gui denotes a shared-space-junction.
This is created when the vehicle lanes still allow pedestrian movements and
crossings are present anywhere in the network. To fix, disallow pedestrians
on the road. For details, see
https://sumo.dlr.de/docs/Simulation/Pedestrians.html#generating_a_network_with_crossings_and_walkingareas

Am Mi., 9. Feb. 2022 um 22:22 Uhr schrieb Qichao Wang :

> Dear SUMO users,
>
> I'm trying to create pedestrian crossings at signalized intersections. I
> followed https://sumo.dlr.de/docs/Netedit/editModesNetwork.html#crossings to
> create the crossings and this
>  https://sumo.dlr.de/docs/Specification/Persons.html#examples
>  to create
> the pedestrian flows. I linked pedestrian-only edges to link to the
> intersection node. Somehow, the pedestrians did not use the pedestrian
> crossings to cross the road and didn't care about the pedestrian signals.
>
> How do I make it right?
>
> Screenshots for reference.
>
> [image: image.png]
>
> [image: image.png]
>
>
> Thanks,
> Qichao
> --
> *Qichao Wang, Ph.D.*
> Computational Scientist
> AI, Learning and Intelligent Systems Group
> Computational Sciences Center
> National Renewable Energy Laboratory
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Netconvert flips the lat,long from shapefile

2022-02-09 Thread Jakob Erdmann
try with option --shapefile.traditional-axis-mapping

Am Mi., 9. Feb. 2022 um 16:58 Uhr schrieb Sasan Amini :

> Dear all,
>
> I am converting shapefiles to sumo networks, but after conversion, I
> noticed that the longitude and latitude are swapped and the network is
> rotated 180 degrees. When I plot the same shapefile using geopandas
> everything looks fine. I tried both --proj.utm and --simple-projection but
> I get the same results. Any ideas why is this happening?
>
> Thanks,
> Sasan
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] SpeedFactor and SpeedDev

2022-02-09 Thread Jakob Erdmann
the normc definition sets a standard deviation of 0.1 and then the
'speedDev' attribute overwrites this with 0.  speedDev should not be used
when using 'normc' or 'norm'.
speedDev is meant to be used in the combination 'speedFactor="1"
speedDev="0.1"' (which is an older form of defining the speed distribution)

Am Mi., 9. Feb. 2022 um 07:50 Uhr schrieb mehmet nedim yavuz <
mehmetnedim...@gmail.com>:

> Dear Jakob, sorry one more question on this topic. I set the
> speedFactor=normc(1,0.1,0.2,2) and speedDev="0" thus speedFactor=1 for all
> vehicles in the tripinfo output file. If I set the speedDev="0",it does not
> matter normc(mean,deviation,lower cutoff,upper cutoff) form. All speed
> factors of the vehicle are taken 1. I would like to ask the difference
> between the  "deviation" term in normc() and SpeedDev parameter. Regards.
>
> Jakob Erdmann , 8 Şub 2022 Sal, 14:43 tarihinde
> şunu yazdı:
>
>> >  I would like to model a Level-4 (highly automated level) autonomous
>> vehicle, and it is assumed to obey the road code exactly. It can not exceed
>> the speed limit (i.e 50 km/hr for my case). In this case, speedFactor can
>> be defined in  speedFactor="1.0" and speedDev="0". Am I right?
>>
>> Yes .
>>
>> > Other question,  *speedFactor="1.0" and speedDev="0" the same as norm
>> (1.0,0)? *
>>
>> Yes.
>>
>> > Last question: how do the "lower cutoff" and "upper cutoff" parameters
>> work? Regards.
>>
>> The distribution is sampled repeatedly until a value from [lowerCutoff,
>> upperCutoff] is found.
>>
>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Changing difference between departure times

2022-02-09 Thread Jakob Erdmann
Edit and run the file 'build.bat'
For details, see
https://sumo.dlr.de/docs/Tools/Trip.html#traffic_volume_arrival_rate

Am Di., 8. Feb. 2022 um 21:32 Uhr schrieb Jordan Mc Connon <
jordan.mcconn...@mail.dcu.ie>:

> Hi,
> I have a file osm.passenger.trips.xml that was generated by
> osmWebWizard.py I want to change this file, increasing the time between
> departures, is there a tool for doing this?
>
> Regards,
> Jordan McConnon
>
> *Séanadh Ríomhphoist/Email DisclaimerTá an ríomhphost seo agus aon chomhad
> a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin
> é. Is féidir tuilleadh a léamh anseo.
> 
> This e-mail and any
> files transmitted with it are confidential and are intended solely for use
> by the addressee. Read more here.
>  *
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] How to get high densities?

2022-02-09 Thread Jakob Erdmann
The spacing of 90m is unexpected for your setup, With the above
configuration, you should see an average spacing of roadSpeed + vehLength +
minGap (i.e. ~20m for 13.89/ms = 50km/h road and 7.5m length+minGap).
Depending on road speed you should be seeing 1800 - 2000 v/h/lane.
If you use departSpeed="avg" instead of "max", capacity goes up to 2400
v/h/lane
see also https://sumo.dlr.de/docs/Simulation/RoadCapacity.html

Please post your (zipped) scenario files to figure out why you are not
seeing this.

However, insertion flow alone will never lead to a breakdown of the flow.
For that you need some sort of speed disturbance downstream.
If you set sigma="1" you will see occasional breakdowns but they will be
short-lived (and due to a known issue with the Krauss model, this only
works at 1s step length).
An alternative for inducing break-down would be a variable-speed-sign
https://sumo.dlr.de/docs/Simulation/Variable_Speed_Signs.html
https://sumo.dlr.de/docs/Tutorials/FundamentalDiagram.html

regards,
Jakob

Am Di., 8. Feb. 2022 um 17:23 Uhr schrieb Ste Millington <
stemilling...@gmail.com>:

> I'm struggling to get high flow rates in a simple model, just a straight
> 5km stretch of 4 lane highway.
>
> I'm using multiple flow elements with probability set close to 1. However
> i can't seem to get the flow rate to ever go above 4000 vehicles per hour.
> This only gives me 1000 vehicles per hour per lane and an average vehicle
> spacing of 90 metres. I was hoping to be able to achieve a breakdown of the
> flow.
>
> I've tried tried setting step length to 0.1 and using multiple copies of
>
>  departPos="last" departLane="best" route="route_0" end="3600.00"
> probability="0.9"/>
>
> But after a certain point nothing seems to make much difference. I'm sure
> I'm doing something wrong or not perhaps just misunderstanding the traffic
> dynamics somehow.
>
> Should I be able to ramp up the flow rate to a point where the traffic
> flow breaks down?
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] SUMO Queries

2022-02-08 Thread Jakob Erdmann
Q1
https://sumo.dlr.de/docs/Simulation/Output/TripInfo.html
https://sumo.dlr.de/docs/Simulation/Output/StatisticOutput.html

Q2
https://sumo.dlr.de/docs/FAQ.html#how_do_i_maintain_a_constant_number_of_vehicles_in_the_net
(the answer involving --max-num-vehicles is probably best suited for your
scenario)

Q3
Precise control over lanechange timing requires use of TraCI
i.e.:
leaderAndgap = traci.vehicle.getLeader(ego)
if leaderAndGap and leaderAndGap[1] < 5:
   traci.vehicle.changeLane(ego, 1, 10)

See https://sumo.dlr.de/docs/TraCI.html

Am Di., 8. Feb. 2022 um 16:17 Uhr schrieb Sumbal Malik <
maliksumba...@gmail.com>:

> Dear Sumo Community
>
> I am new to the SUMO simulator and have a few basic questions to ask. I
> would be thankful if you could answer the below questions:
>
> Q1. How to calculate the travel time of a particular vehicle from source
> to destination. Say
> I have a network of 8 edges with three vehicles and the route is defined
> as . I want to
> calculate how long will the ego vehicle take to reach from e1 to e8. Also,
> how can we calculate the average travel time of all vehicles?
>
> Q2. I have a network of 2 edges and 3 vehicles on a straight lane. How can
> I iterate the same vehicles on the lane again and again until the
> simulation ends?
>
> Q3. How can we change the lane of the ego vehicle based on the condition
> such as if the distance between the leading and following vehicle is less
> than 5 then change the lane? How the condition will be written.
>
> Thank you
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] SpeedFactor and SpeedDev

2022-02-08 Thread Jakob Erdmann
>  I would like to model a Level-4 (highly automated level) autonomous
vehicle, and it is assumed to obey the road code exactly. It can not exceed
the speed limit (i.e 50 km/hr for my case). In this case, speedFactor can
be defined in  speedFactor="1.0" and speedDev="0". Am I right?

Yes .

> Other question,  *speedFactor="1.0" and speedDev="0" the same as norm
(1.0,0)? *

Yes.

> Last question: how do the "lower cutoff" and "upper cutoff" parameters
work? Regards.

The distribution is sampled repeatedly until a value from [lowerCutoff,
upperCutoff] is found.

___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Record sumo simulation as a video

2022-02-08 Thread Jakob Erdmann
TraCI can be used to take screenshots:
https://sumo.dlr.de/pydoc/traci._gui.html#GuiDomain-screenshot
There are plenty of programs out there that can turn this into a video.

Am Di., 8. Feb. 2022 um 10:58 Uhr schrieb Arbi Alaouy :

> Hi everyone,
>
> I would like to do  a video record for sumo simulation for
> a 24h of simulation.
> So I wonder if I can have a script that can capture for
> each 15 minutes 20 seconds in order to boost the simulation.
>
>
> Thank you very much.
> Best regards.
>
> --
> El-arbi El-alaouy
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] NETEDIT: eroor on loading polygons

2022-02-07 Thread Jakob Erdmann
Thanks! (https://github.com/eclipse/sumo/issues/10112)

Am Mo., 7. Feb. 2022 um 22:16 Uhr schrieb Sasan Amini :

> Hi all,
> in version 1.12.0 after loading polygons in NETEDIT I get an error message
> in the log window saying "Error: location cannot be processed either with
> additional handler nor with demand handler".
> The file is correctly loaded though. I tried in version 1.11.0 with the
> same files and I get no errors.
>
> Best,
> Sasan
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Lane changing in SUMO

2022-02-07 Thread Jakob Erdmann
TraCI commands generally take effect, regardless of lane change mode.
The only thing that can prevent a TraCI request from being followed are the
safety checks.
If you want to disable automatic changing,  you can use either 0, 256 or
512 (depending on the desired safety checks).

The default mode is suitable for all the lane changing functionality of the
SL2015 lane change model (and overriding with TraCI works either way).

Am Mo., 7. Feb. 2022 um 18:28 Uhr schrieb Hriday Sanghvi via sumo-user <
sumo-user@eclipse.org>:

> Hello,
>
> I have a question about the lane changing models vs. lane changing mode in
> SUMO.
>
> Knowing that the default lane change mode in SUMO is 1621 (12 bits as 0b01
> *10*01010101) and that in this mode: laneChangeModel may execute all
> changes unless in conflict with TraCI, where bit 8 and bit 9 are set to 0
> and 1 respectively (as highlighted previously).
>
> I am trying to set lane change mode to a mode where only TraCI's
> changeLane command would affect any/all lane changes, for example:
>
> traci.vehicle.changeLane(vehID='veh1', laneIndex=0, duration=10)
>
>
> So if I set bit 8 as well, making it 01*11*01010101 = 1621 + 2^8 = 1621 +
> 256 = *1877*
>
> Or would the right thing be to unset the 9th bit, making it 01*00*01010101
> = 1621 - 2^9 = 1621 - 512 = *1109*
>
> Also, is it correct to assume that unsetting bit 10 and 11 ("do no sublane
> changes") is only to disable sublane changes made by SUMO's lane change
> model but allows any from TraCI?
>
> Which mode would be suitable for all the lane changing functionality of
> SL2015 lane change model, but being able to override them with TraCI
> commands?
>
> Thank you.
>
> Sincerely,
> Hriday
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] XML files and syntax errors with SAGA

2022-02-07 Thread Jakob Erdmann
The warnings you see  have an effect on pedestrian travel times and might
lead to persons missing public transport rides.
Upgrading to 1.12.0 may help since it contains fixes person-is-jammed
situations.
Also, it might be that the sidewalks in highly frequented parts of your
simulation network are too narrow.

Am Mo., 7. Feb. 2022 um 17:36 Uhr schrieb Arbi Alaouy :

> Hi,
>
> I'm running SUMO projects  on two machines
> Centos 8, SUMO 1.10.0 &
> Windows 10, SUMO 1.11.0
>
> Best regards.
>
>
>
>
> Le lun. 7 févr. 2022 à 16:37, Harald Schaefer  a
> écrit :
>
>> Hi,
>>
>> just one idea:
>>
>> What about the SUMO versions? Which SUMO version are you using? Which
>> operating system?
>>
>> Best regards, Harald
>> Am 07.02.22 um 16:03 schrieb Arbi Alaouy:
>>
>> To give feedback, as you suggested Jacob, I debugged one parameter after
>> one (zone, age, etc). These generic params seem to be innocent. For
>> debugging I used a few person numbers.
>>
>> When I used a great number of population, using the same map, I get the
>> error :
>>
>> Error: The edge '1793694#1' within the route  is not known.
>>
>>  The route can not be build.
>>
>>
>> Here are some 2 kinds of warnings I get *massively *because of the big
>> population number sharing the space:
>>
>> Warning: Collision of person '-99757_-99755_686' and person
>> '-99757_-99755_378', lane='281163254#1_0', time=27149.00.
>>
>> Warning: Person '-99755_-99757_1005' is jammed on edge ':21074960_w0',
>> time=27146.00.
>>
>> I guess these warnings don't affect simulation?
>>
>> Best regards.
>>
>> Le lun. 7 févr. 2022 à 12:10, Jakob Erdmann  a
>> écrit :
>>
>>> please refer to the updated documentation at
>>> https://sumo.dlr.de/docs/Simulation/GenericParameters.html
>>>
>>> Am Mo., 7. Feb. 2022 um 11:34 Uhr schrieb Arbi Alaouy <
>>> estdoc...@gmail.com>:
>>>
>>>> Thank you Jacob for the response.
>>>> I'll try this track.
>>>> I have seen that generic parameters affect simulation,
>>>> can I get some recommendations on key names and maybe
>>>> value content?*
>>>>
>>>> Thank you.
>>>> Best regards
>>>>
>>>> Le mer. 2 févr. 2022 à 13:05, Jakob Erdmann  a
>>>> écrit :
>>>>
>>>>> Indeed, no obvious problem is apparent with the file though sometimes
>>>>> these error messages point to the wrong line. I recommend that you 
>>>>> identify
>>>>> the problematic content by successively removing lines and attributes
>>>>> within lines until the parsing error goes away. If the triggering content
>>>>> looks innocent, please report back.
>>>>>
>>>>> Am Mi., 2. Feb. 2022 um 10:22 Uhr schrieb Arbi Alaouy <
>>>>> estdoc...@gmail.com>:
>>>>>
>>>>>> The file " activity_generation.merged.rou.xml" is attached now.
>>>>>>
>>>>>> In the meantime, I started sumo-gui with --xml-validation equal never
>>>>>> as below:
>>>>>> sumoCmd = ["--xml-validation", "never",
>>>>>>"-c", Files.DEFAULT_SUMO_CONFIG.split(os.sep)[1],
>>>>>>"--ignore-route-errors", "--tripinfo-output",
>>>>>> Files.DEFAULT_TRIP_INFO, "--start"]
>>>>>>
>>>>>> Hope this is a nice track ?
>>>>>>
>>>>>> Le mer. 2 févr. 2022 à 08:56, Jakob Erdmann 
>>>>>> a écrit :
>>>>>>
>>>>>>> please attach the file.
>>>>>>>
>>>>>>> Am Di., 1. Feb. 2022 um 10:15 Uhr schrieb Arbi Alaouy <
>>>>>>> estdoc...@gmail.com>:
>>>>>>>
>>>>>>>> Hi everyone,
>>>>>>>>
>>>>>>>> I'm using sumo simulation and particularly SAGA to generate
>>>>>>>> population activities that are
>>>>>>>> represented by the *activity_generation.merged.rou.xml *XML file.
>>>>>>>> To this file I added params via py scripts
>>>>>>>> such as this one which indicates the zone of the person to which
>>>>>>>> belongs :
>>>>>

Re: [sumo-user] [EXTERNAL] Re: reaction time and desired time gap

2022-02-07 Thread Jakob Erdmann
Please check the updated description at
https://sumo.dlr.de/docs/Car-Following-Models.html#model_parameters and let
me know if it is sufficient to answer your question.

Am Mo., 7. Feb. 2022 um 16:53 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> Hello Jakob,
>
> Thanks for your reply. I have looked at the documentation and it was a bit
> misleading on whether tau is used as a parameter to specify reaction time
> or time headway.  Say I have a composition with vehicle 1 brake reaction
> Time 0.7sec , time headway 1.5 sec, vehicle 2 brake reaction time 0.4sec ,
> time headway 2 sec. How can I provide in sumo?
>
> Regards,
> V.H.Pradeep
>
> ------
> *From:* sumo-user  on behalf of Jakob
> Erdmann 
> *Sent:* Monday, February 7, 2022 3:42:59 AM
> *To:* Sumo project User discussions 
> *Subject:* [EXTERNAL] Re: [sumo-user] reaction time and desired time gap
>
> *  **EXTERNAL EMAIL***
>   This email originated outside of The University of Texas at San Antonio.
>   Please exercise caution when clicking on links or opening attachments.
>
>
> tau="2" is a valid parameter. For details on tau and reaction time, see
> https://sumo.dlr.de/docs/Car-Following-Models.html#model_parameters
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FCar-Following-Models.html%23model_parameters&data=04%7C01%7Cpradeep.viyaluruharinath%40utsa.edu%7Cca498b6824324261cddd08d9ea1e43ff%7C3a228dfbc64744cb88357b20617fc906%7C0%7C1%7C637798237989428129%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Qx%2FOrPiDCLbUxMNikuTXVRwKCDoQa2vkheNBHB8TN%2F0%3D&reserved=0>
>
> Am Mo., 7. Feb. 2022 um 08:38 Uhr schrieb Pradeep Viyaluru Harinath <
> pradeep.viyaluruharin...@utsa.edu>:
>
> Hello ,
>
>
>
> I would like to know how to specify reaction time of vehicles and also the
> desired time headway. I believe the parameter “tau” is specified to give
> desired headways in SUMO but I wonder it has a range of 0 to 1, if I want
> to say I want to give 2 sec headway how do I that
>
>
>
> Regards,
>
> V.H.Pradeep
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cpradeep.viyaluruharinath%40utsa.edu%7Cca498b6824324261cddd08d9ea1e43ff%7C3a228dfbc64744cb88357b20617fc906%7C0%7C1%7C637798237989428129%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=gnBwDcZuayvBtFVkuBcxg%2BKJ0XAhCKeTkeK7leIBBbo%3D&reserved=0>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] XML files and syntax errors with SAGA

2022-02-07 Thread Jakob Erdmann
please refer to the updated documentation at
https://sumo.dlr.de/docs/Simulation/GenericParameters.html

Am Mo., 7. Feb. 2022 um 11:34 Uhr schrieb Arbi Alaouy :

> Thank you Jacob for the response.
> I'll try this track.
> I have seen that generic parameters affect simulation,
> can I get some recommendations on key names and maybe
> value content?*
>
> Thank you.
> Best regards
>
> Le mer. 2 févr. 2022 à 13:05, Jakob Erdmann  a
> écrit :
>
>> Indeed, no obvious problem is apparent with the file though sometimes
>> these error messages point to the wrong line. I recommend that you identify
>> the problematic content by successively removing lines and attributes
>> within lines until the parsing error goes away. If the triggering content
>> looks innocent, please report back.
>>
>> Am Mi., 2. Feb. 2022 um 10:22 Uhr schrieb Arbi Alaouy <
>> estdoc...@gmail.com>:
>>
>>> The file " activity_generation.merged.rou.xml" is attached now.
>>>
>>> In the meantime, I started sumo-gui with --xml-validation equal never as
>>> below:
>>> sumoCmd = ["--xml-validation", "never",
>>>"-c", Files.DEFAULT_SUMO_CONFIG.split(os.sep)[1],
>>>"--ignore-route-errors", "--tripinfo-output",
>>> Files.DEFAULT_TRIP_INFO, "--start"]
>>>
>>> Hope this is a nice track ?
>>>
>>> Le mer. 2 févr. 2022 à 08:56, Jakob Erdmann  a
>>> écrit :
>>>
>>>> please attach the file.
>>>>
>>>> Am Di., 1. Feb. 2022 um 10:15 Uhr schrieb Arbi Alaouy <
>>>> estdoc...@gmail.com>:
>>>>
>>>>> Hi everyone,
>>>>>
>>>>> I'm using sumo simulation and particularly SAGA to generate population
>>>>> activities that are
>>>>> represented by the *activity_generation.merged.rou.xml *XML file.  To
>>>>> this file I added params via py scripts
>>>>> such as this one which indicates the zone of the person to which
>>>>> belongs :
>>>>> 
>>>>>
>>>>> Simulation runs about 3000 seconds and I get errors such as :
>>>>>
>>>>> Error: equal sign expected   ||OR|| Error: whitespace expected
>>>>>
>>>>>  In file 'activity/activity_generation.merged.rou.xml'
>>>>>
>>>>>  At line/column 24762/29.
>>>>>
>>>>>
>>>>> By verifying the file the syntax is Ok.
>>>>>
>>>>> As a solution, I unified all XML manipulation using lxml.etree instead
>>>>> of mixing both lxml and standard ElementTree. But I still get the same
>>>>> errors.
>>>>>
>>>>>
>>>>> Thank you very much for your solutions suggestions.
>>>>>
>>>>> Best regards.
>>>>> --
>>>>> El-arbi El-alaouy
>>>>>
>>>>>
>>>>> ___
>>>>> sumo-user mailing list
>>>>> sumo-user@eclipse.org
>>>>> To unsubscribe from this list, visit
>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>>
>>>> ___
>>>> sumo-user mailing list
>>>> sumo-user@eclipse.org
>>>> To unsubscribe from this list, visit
>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>>
>>>
>>> --
>>> El-arbi El-alaouy
>>>
>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
>
> --
> El-arbi El-alaouy
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] reaction time and desired time gap

2022-02-07 Thread Jakob Erdmann
tau="2" is a valid parameter. For details on tau and reaction time, see
https://sumo.dlr.de/docs/Car-Following-Models.html#model_parameters

Am Mo., 7. Feb. 2022 um 08:38 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> Hello ,
>
>
>
> I would like to know how to specify reaction time of vehicles and also the
> desired time headway. I believe the parameter “tau” is specified to give
> desired headways in SUMO but I wonder it has a range of 0 to 1, if I want
> to say I want to give 2 sec headway how do I that
>
>
>
> Regards,
>
> V.H.Pradeep
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] [EXTERNAL] Re: capacity analysis

2022-02-06 Thread Jakob Erdmann
Possibly yes, but I'm not sure. You could try to consult the original model
author (Kallirroi Porfyri) or dig into the publications on which the model
was based.

Am So., 6. Feb. 2022 um 05:05 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> This would indicate that the default values for ACC and CACC given here, 
> Definition
> of Vehicles, Vehicle Types, and Routes - SUMO Documentation (dlr.de)
> <https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#car-following_models>
> are extremely situation specific and I would have to reconsider these
> values. Would that make sense?
>
>
>
> Regards,
>
> V.H.Pradeep
>
>
>
> *From:* sumo-user  *On Behalf Of *Jakob
> Erdmann
> *Sent:* Monday, January 31, 2022 4:39 AM
> *To:* Sumo project User discussions 
> *Subject:* [EXTERNAL] Re: [sumo-user] capacity analysis
>
>
>
> *  **EXTERNAL EMAIL***
>   This email originated outside of The University of Texas at San Antonio.
>   Please exercise caution when clicking on links or opening attachments.
>
>
>
>  Please be aware that 'ACC' and 'CACC' are just one possible
> implementation of (cooperative) automated cruise control.
>
> They are not the "definite" models for these things.
>
> If the models behave differently from your expectations, this may reflect
> the very specific situations they were calibrated for by the original model
> authors.
>
>
>
> In my own tests, I observe that the capacity of 100% CACC with tau=0.6 is
> up to 16% higher compared to the default. However, this is heavily
> influenced by the choice of insertion speed value (with values 'desired'
> and 'avg' performing well and value 'max' performing far worse than the
> default model.
>
>
>
> I suggest that you do your own parameter calibration until the observed
> results reflect your expectation.
>
> To model different reaction times, use different actionStepLength values
> for the different types.
>
>
>
> regards,
>
> Jakob
>
>
>
> Am So., 30. Jan. 2022 um 06:03 Uhr schrieb Pradeep Viyaluru Harinath <
> pradeep.viyaluruharin...@utsa.edu>:
>
> Hello ,
>
> I am analyzing a freeway section and trying to implement the ACC and CACC
> model in my simulation. I observed that as the number of vehicles with ACC
> and CACC model increased the capacity of freeways started to decline and it
> was lower than the manual driven vehicles. I have given Tau as 0.6 for CACC
> vehicles and 0.9 for ACC vehicles , correspondingly I reduced the
> simulation step length as well to 0.1. I wanted to know two things here how
> do I implement the reaction time for ACC or CACC vehicle say 0.1 sec and
> should I use the simulation step length as 1 and use the action step length
> for a particular vehicle type to improve the speed of simulation. Further
> why is my capacity decreasing even with ACC and CACC modes?
>
>
>
> Regards,
>
> V.H.Pradeep
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cpradeep.viyaluruharinath%40utsa.edu%7Ca645b54a045e4fc24b3a08d9e4a5eac4%7C3a228dfbc64744cb88357b20617fc906%7C0%7C1%7C637792223524891316%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=LcVidw%2B%2FoVEsIF%2Btad5%2BXFrxr9vCM9s1%2BYAnK8mMZHI%3D&reserved=0>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] collisions

2022-02-06 Thread Jakob Erdmann
To put it bluntly, ACC and CACC have not been designed rigorously for
collision avoidance by the original authors.
Without looking at the specific simulation I cannot tell you whether these
particular collisions are inherent in the model design or caused by
something else.

Am So., 6. Feb. 2022 um 04:56 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> Hello,
>
>
>
> I am running a collision output and identified a rear end collision has
> occurred and the probable cause seems like leader vehicle stopped suddenly
> on the route and the follower vehicle has collided with vehicle without
> maintain the safe standstill gap. Can I know the reason behind this?
>
>
>
> Regards,
>
> V.H.Pradeep
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] ACC along with Krauss models

2022-02-06 Thread Jakob Erdmann
The models have been tested in this combination (CACC/ACC + Krauss) and are
supposed to work.

Am So., 6. Feb. 2022 um 04:49 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> Hello User group,
>
>
>
> I would like to know if the ACC and CACC models in Sumo can be used along
> with Krauss models in simulation say can I have certain percentages of
> vehicles that are ACC and certain Krauss. Does the model (CACC/ACC )
> perform under such instances or is it intended only to test when all the
> vehicles are either ACC or CACC
>
>
>
> Regards,
>
> Pradeep
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] lane close reroute

2022-02-06 Thread Jakob Erdmann
You've closed the destination edge of that vehicle and no amount of
rerouting can fix this.
However, the error should be a a catch-able TraCIException so you can still
remove the vehicle or change it's route to a new destination.

Am Sa., 5. Feb. 2022 um 23:15 Uhr schrieb Mahima :

> Hi Jakob,
>
> Thanks for the reply.
>
> On calling this so as to close the lane,
> libsumo::Edge::setDisallowedVehicleClasses("79324",{"all"});
>
> I get a segmentation fault with this error.what():  Vehicle '11'
> has no valid route. No connection between edge '179325' and edge '79324'.
>
> I was waiting that the vehicle should reroute when rerouting probability
> is set to 1.
> Why it is still searching for this edge?
>
> Thanks,
> Mahima
>
> On Thu, Jan 27, 2022 at 8:50 PM Jakob Erdmann 
> wrote:
>
>> The network isn't modified and no new network is saved. The GUI operation
>> is equivalent to calling traci.edge.setAllowed(edgeID, ["authority"])
>>
>> Am Do., 27. Jan. 2022 um 18:46 Uhr schrieb Mahima :
>>
>>> Hi,
>>>
>>> I have a query -  when we are running a simulation on sumo-gui and we
>>> want to close the edge by right-clicking on the edge. Where does the new
>>> network is saved?
>>> Which parameters are passed from the user interface to sumo?
>>>
>>> Thanks,
>>> Mahima
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] waiting time and average speed

2022-02-05 Thread Jakob Erdmann
The main difference between ACC and CACC is, that CACC behaves different if
the leader vehicle is also CACC.
>From a cursory look at their parameters, I'd say they behave different  in
other situations as well. However, I'm not the model author and cannot tell
you more than you could discover yourself by reading the code and doing
experiments.

Am Sa., 5. Feb. 2022 um 16:19 Uhr schrieb Royal Bhandari <
royalbhanda...@gmail.com>:

> Thanks, Jakob for the reply. I understand that Krauss model makes full use
> of it's accel/decel values.
>
> Regarding your comment,
> - ACC/CACC sometimes accelerate with less than their accel value (thereby
> achieving smoother trajectories)
> However, does one model accelerate more or less than the other between the
> two? or both of them are the same in regards to acceleration and
> deceleration (ACC and CACC)
>
> On Tue, Feb 1, 2022 at 1:53 AM Jakob Erdmann 
> wrote:
>
>> The default 'accel' parameter is the same for all models (and this is
>> reflected in the documentation).
>> However, the driving dynamics still differ between the models:
>> - Krauss makes full use of it's default accel and decel values in almost
>> all traffic situations
>> - ACC/CACC sometimes accelerate with less than their accel value (thereby
>> achieving smoother trajectories)
>>
>> Am Di., 1. Feb. 2022 um 04:08 Uhr schrieb Royal Bhandari <
>> royalbhanda...@gmail.com>:
>>
>>> Thanks, Jakob for the explanation.
>>>
>>> To check my understanding, the default acceleration of the Krauss model
>>> is higher than that of ACC and CACC? Is there documentation listing this?
>>>
>>> Regards,
>>> Royal
>>>
>>>
>>>
>>> On Mon, Jan 31, 2022 at 4:46 AM Jakob Erdmann 
>>> wrote:
>>>
>>>> The outputs are probably "valid" for the particular models but whether
>>>> the ACC/ CACC models conform to the behavior of any particular real life
>>>> fleet cannot be answered without prior calibration. Please also refer to my
>>>> previous answer (https://www.eclipse.org/lists/sumo-user/msg11040.html
>>>> ).
>>>> Obviously, the same holds for the default Krauss model which may differ
>>>> from the driving behavior of your human fleet depending on the model
>>>> parameters (and their distribution within the fleet).
>>>> The metric of 'waiting time' is sensitive to the speed threshold to
>>>> determine 'halting'. Thus, the strong accelerations performed by the Krauss
>>>> model may have an outsized impact on this metric compared to vehicles that
>>>> are "slower" to start.
>>>>
>>>> regards,
>>>> Jakob
>>>>
>>>> Am So., 30. Jan. 2022 um 08:25 Uhr schrieb Royal Bhandari <
>>>> royalbhanda...@gmail.com>:
>>>>
>>>>> Hello,
>>>>>
>>>>> I am using average speed and waiting time per vehicle as my urban
>>>>> traffic performance index. I am comparing CACC car-following model and ACC
>>>>> car following models with default krauss model. I was expecting that the
>>>>> CACC model will have lower waiting time and higher speed in comparison to
>>>>> ACC and Krauss model in a congested network. This is true for speed but 
>>>>> not
>>>>> for the waiting time. Am I missing something here or are the outputs which
>>>>> I obtained valid?
>>>>>
>>>>> Regards,
>>>>> Royal
>>>>> ___
>>>>> sumo-user mailing list
>>>>> sumo-user@eclipse.org
>>>>> To unsubscribe from this list, visit
>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>>
>>>> ___
>>>> sumo-user mailing list
>>>> sumo-user@eclipse.org
>>>> To unsubscribe from this list, visit
>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Traffic lights consideations: static/actuated related to OSM-based net

2022-02-05 Thread Jakob Erdmann
> The first remark confirmed that all of the tls are based on assumptions
Please see
https://sumo.dlr.de/docs/Simulation/Traffic_Lights.html#automatically_generated_tls-programs

> The program id is still not understood. For example: I expected from the
test example, that the template in input_additional.add.xml is used at any
junction to create the new instance when I delete&create (I tested it by
modifying the "template" file. Probably the documentation suffers somewhat
because of the so called curse of knowledge (this is just a generic remark,
no critique!). The only way to circumvent this is newbie feedback ;-).

Indeed, thank you for the feedback. The key misunderstanding seems to be
that you expect the programs to work as templates whereas they are actually
fully functional programs that apply to a single traffic light only. If you
create a new traffic light, it is built from options and heuristics alone
without considering any previously loaded programs.
I'm still at a loss on how to turn this insight into a documentation
improvement tough. Suggestions are welcome.

regards,
Jakob


Am Fr., 4. Feb. 2022 um 18:57 Uhr schrieb Rob Maris :

> Thanks for the remarks, Jakob.
>
> The first remark confirmed that all of the tls are based on assumptions
> and that they can be recreated using (modified) assumptions through a
> delete and create sequence. The corresponding buttons have become
> meaningful yet.
>
> The program id is still not understood. For example: I expected from the
> test example, that the template in input_additional.add.xml is used at any
> junction to create the new instance when I delete&create (I tested it by
> modifying the "template" file. Probably the documentation suffers somewhat
> because of the so called curse of knowledge (this is just a generic remark,
> no critique!). The only way to circumvent this is newbie feedback ;-).
>
> A proper understanding is important especially as the attributs latestEnd
> and earliestEnd do not appear in netedit, and as such, a seperate
> additional file must be created.
> I decided to postpone this topic. The discovery (in the docs) of a python
> script to compute tls offset times proved to improve the traffic flow quite
> substantially. Related to the next steps in my project this is adequate.
>
> Rob
>
>
> Am 03.02.2022, 23:42 Uhr, schrieb Jakob Erdmann :
>
> - If you do not want to modify phase durations manually to achieve fixed
> 120s cycles, you can set option 'tls.cycle.time' to 120 in the netedit
> options screen, then rebild the traffic lights in tls mode via delete,create
> - each traffic light (tlLogic id) may have multiple programs and can
> switch between them at run time (i.e. day and night programs). The default
> programID is "0" but such a program is specific to one traffic light and
> you cannot reuse it (unless by copy-paste if the connection layout matches)
> - to build an actuated traffic light with fixed cycle length you have to
> set attributes latestEnd and earliestEnd of the final green phase in the
> cycle to cycleTime - finalTransitionDuration (i.e. 117s if there is a final
> yellow phase before the cycle starts anew).
> see
> https://sumo.dlr.de/extractTest.php?path=sumo/basic/tls/actuated/coordination/saturatedNS/fixedCycle_coordinated
> and
> https://sumo.dlr.de/extractTest.php?path=sumo/basic/tls/actuated/coordination/saturatedNS/fixedCycle_coordinated_offset
>
>
> Am Do., 3. Feb. 2022 um 12:44 Uhr schrieb Rob Maris :
>
>> I'm coping with a city ring around the city center where all TLS have a
>> fixed cycle time, as investigation (on location) showed me. As a first
>> step, I changed the default status of all OSM-import related traffic lights
>> to static (using a text editor, applied to osm.net.xml). At least that
>> makes things simpler, and as such I also increased the phase times such,
>> that the total cycle time does add to 120 instead of 90 seconds.
>> Yesterday - upon the investigation - I found that there is some variety
>> in phase times. As such, actuated must be reactivated. However, cycle time
>> remains constant at 120 ms. And the actuation should conform to that, e.g.
>> using a fixed parameter setting.
>>
>> The documentation (.../Simulation/Traffic_Lights.html#coordination) hints
>> upon this as follows:
>> 
>>  # should be important!
>>  # here to insert: 120
>><
>>
>> My specific questions:
>>
>> lLogic id="0" while my net file shows up unique id's for every traffic
>> light controlled junction. And programID="0" for all TLS'es. I'm quite a
>> bit confused what these parameters exaclty mean, in the sense of 

Re: [sumo-user] junction inspect with "show connections over junctions": not understood case of priority flow (with TLS)

2022-02-05 Thread Jakob Erdmann
> Just now I'm aware that clicking on a connect line goes associated with
showing a lot of parameters in the left pane. Is this the way to customize
special connect priorities?
Yes. This is the recommended way for tuning individual connections.
If you have to modify many connections at once, you can also do batch
processing with predefined patch files. See
https://sumo.dlr.de/docs/Tutorials/ScenarioGuide.html#modifying_the_network

Am Fr., 4. Feb. 2022 um 14:15 Uhr schrieb Rob Maris :

> Jakob, I found a solution for the problem through your doc link to right
> of way. After changing rightOfWay from Default to edgePriority, the
> priorities show up as desired. I also have a definitive answer, that this
> is the root of all so called request entries with any xml junction
> description.
> However, the default should do it as well, as the attribute "speed" is the
> same (except for the oneway edge from west which is lower). Most junctions
> have Default rightOfWay, and are as intended.
>
> Just while writing this, I 'discovered' that I can inspect the connections
> characteristics not via edit connections but simply via "inspect" mode.
> Until now I only used the inspect mode not only for *junction* inspection,
> but also for deletion of connections (e.g. many 180° turns that are
> generated from OSM import). Just now I'm aware that clicking on a connect
> line goes associated with showing a lot of parameters in the left pane. Is
> this the way to customize special connect priorities?
>
> All of this seems quite important in order to obtain a meaningful default
> tls configuation, and indeed, your doc reference tells:
> > Right-of-way computation also influences connection-guessing and the
> generated traffic light program
>
> Thanks,
> Rob
>
>
> Am 03.02.2022, 23:02 Uhr, schrieb Jakob Erdmann :
>
> The right-of-way rules are initialized from the edge 'priority' values.
> Lowering the east-west priorities or increasing the north-south priorities
> should achieve the desired effect.
> See also https://sumo.dlr.de/docs/Networks/PlainXML.html#right-of-way
>
> Am Do., 3. Feb. 2022 um 13:10 Uhr schrieb Rob Maris :
>
>> In all junction cases in my net with TLS (and also without), the cyan
>> resp. white connection lines are drawn according to the "logical" prioity.
>> In the case of the attachment, this is not the case (one screenshot in T-
>> and one in I-mode).
>> I'd suggest that the edge priorities define the correct default priority
>> connection scheme.
>> settings clockwise, from the north edge: 10, 9, 12, 3.
>>
>> How to establish a correct representation as
>> desired?___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] How to add overtaking in SUMO

2022-02-05 Thread Jakob Erdmann
You can put the id of the opposite-direction lane into the 'opposite'
field. This only works for "innermost" pair of lanes (those with the
highest lane index of both directional edges).
It's recommended to let netconvert option --opposites.guess do this job,
though.

Am Fr., 4. Feb. 2022 um 12:47 Uhr schrieb Ifezue Obiako <
vincentobi...@gmail.com>:

> Thanks Jakob, but where can I adjust the lane attribute 'opposite' in
> netedit?
>
> I see where you can view the lane attribute 'opposite' as a parameter
> (i.e., show parameters when I left click the lane), but I can't edit or
> adjust it.
>
> On Thu, Feb 3, 2022, 4:04 PM Jakob Erdmann  wrote:
>
>> Never modify a .net.xml file directly.
>> To support opposite direction driving in a network, run:
>> netconvert -s old.net.xml --opposites.guess -o new.net.xml
>> You can also set lane attribute 'opposite' in netedit.
>>
>> Am Do., 3. Feb. 2022 um 14:26 Uhr schrieb Ifezue Obiako <
>> vincentobi...@gmail.com>:
>>
>>> Would the line of code for opposite lane driving look something like
>>> what is depicted below if it were implemented in a .net file?
>>>
>>> [image: image.png]
>>>
>>> On Thu, Feb 3, 2022 at 6:03 AM Ifezue Obiako 
>>> wrote:
>>>
>>>> Hello Everyone
>>>>
>>>> I currently have a .net file that I am thinking about adding overtaking
>>>> behavior. The idea is when one bus comes from behind another bus on a
>>>> different bus route but at the same stop I would like the bus behind to
>>>> overtake the other if the other bus is taking too long. Is there a way for
>>>> the bus behind to overtake the leading bus (i.e., teleporting ahead of the
>>>> leading bus)?
>>>>
>>>> I have looked at the documentation on opposite-direction driving, but
>>>> it seems like you can only explicitly call "neigh" in an .edge.xml file
>>>> rather than a .net file. The reason why I asked if it is possible to do
>>>> this in a .net file is because I already have a functioning .net file
>>>> established and I would like to edit it from there.
>>>>
>>>> For reference, my .net and additional files are attached to this email.
>>>> The place I was trying to add overtaking is at lane -467228692#3_1, where
>>>> the lane 467228692#3_1 is used to overtake at the bus stop.
>>>>
>>>> Thank you in advance for your help
>>>> Ifezue
>>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Building Walking Areas from Polygons

2022-02-05 Thread Jakob Erdmann
Thanks for the example input.
The problem was due to the geometry type of your data and has now been
fixed (https://github.com/eclipse/sumo/issues/10100)

regards,
Jakob

Am Mo., 31. Jan. 2022 um 16:21 Uhr schrieb Jakob Erdmann <
namdre.s...@gmail.com>:

> Polyconvert can work without without a  net-xml file and generates
> geo-coded shapes which can be put into any geo-referenced network.
> One approach might be to use those imported polygons to generate
> additional netconvert input that sets the walkingarea shapes:
> https://sumo.dlr.de/docs/Networks/PlainXML.html#walking_areas
> This wouldl require coding on your part (pull request welcome).
> Please send me a sample input if you cannot get polyconvert to run.
>
> regards,
> Jakob
>
> Am Mo., 31. Jan. 2022 um 15:26 Uhr schrieb Sasan Amini  >:
>
>> It is exactly that case, closed polygons are defined as waling areas. I
>> tried polyconvert but it did just generate an empty xml file. I am not sure
>> if a sumo network is required as an input to make it work...
>>
>>
>> On Thu, Jan 27, 2022 at 7:27 AM Jakob Erdmann 
>> wrote:
>>
>>> It might be because the walking area shapes you have are all closed
>>> curves. This would indeed go against the assumption of the importer which
>>> expects polygonal lines with distinct end points. Please check whether
>>> polyconvert (--shapefile-prefixes) can handle the data.
>>>
>>> Am Mi., 26. Jan. 2022 um 16:31 Uhr schrieb Sasan Amini <
>>> amini...@gmail.com>:
>>>
>>>> I assigned the CRS to the shapfile in Python, reinstalled pyproj and
>>>> proj and retried the process. I have a feeling that the proj error is not
>>>> the real problem. I have another shapefile for the road center lines and
>>>> when I apply the procedure on that shapefile, I still get the same error
>>>> message but the network is generated at the end. Surprisingly, the proj
>>>> error messages are not printed in the log so I just copy the messages 
>>>> below:
>>>>
>>>> WalkingAreas:
>>>> ERROR 1: PROJ: proj_create_from_database: cannot build geodeticCRS
>>>> 4326: SQLite error on SELECT extent.description, extent.south_lat,
>>>> extent.north_lat, extent.west_lon, extent.east_lon, scope.scope, (CASE WHEN
>>>> scope.scope LIKE '%large scale%' THEN 0 ELSE 1 END) AS score FROM usage
>>>> JOIN extent ON usage.extent_auth_name = extent.auth_name AND
>>>> usage.extent_code = extent.code JOIN scope ON usage.scope_auth_name =
>>>> scope.auth_name AND usage.scope_code = scope.code WHERE object_table_name =
>>>> ? AND object_auth_name = ? AND object_code = ? ORDER BY score,
>>>> usage.auth_name, usage.code: no such table: usage
>>>> ERROR 1: PROJ: proj_create_from_database: cannot build geodeticCRS
>>>> 4326: SQLite error on SELECT extent.description, extent.south_lat,
>>>> extent.north_lat, extent.west_lon, extent.east_lon, scope.scope, (CASE WHEN
>>>> scope.scope LIKE '%large scale%' THEN 0 ELSE 1 END) AS score FROM usage
>>>> JOIN extent ON usage.extent_auth_name = extent.auth_name AND
>>>> usage.extent_code = extent.code JOIN scope ON usage.scope_auth_name =
>>>> scope.auth_name AND usage.scope_code = scope.code WHERE object_table_name =
>>>> ? AND object_auth_name = ? AND object_code = ? ORDER BY score,
>>>> usage.auth_name, usage.code: no such table: usage
>>>> Warning: Edge '0' connects identical nodes, skipping.
>>>> Warning: Edge '1' connects identical nodes, skipping.
>>>> Warning: Edge '2' connects identical nodes, skipping.
>>>> Warning: Edge '3' connects identical nodes, skipping.
>>>> Warning: Edge '4' connects identical nodes, skipping.
>>>> Warning: 71 total messages of type: Edge '%' connects identical nodes,
>>>> skipping.
>>>> Error: No edges loaded.
>>>> Quitting (on error).
>>>>
>>>> CenterLines:
>>>> ERROR 1: PROJ: proj_create_from_database: cannot build geodeticCRS
>>>> 4326: SQLite error on SELECT extent.description, extent.south_lat,
>>>> extent.north_lat, extent.west_lon, extent.east_lon, scope.scope, (CASE WHEN
>>>> scope.scope LIKE '%large scale%' THEN 0 ELSE 1 END) AS score FROM usage
>>>> JOIN extent ON usage.extent_auth_name = extent.auth_name AND
>>>> usage.extent_code = extent.code JOIN scope ON usage.scope_auth_name =
>>>> scope.a

Re: [sumo-user] netedit crashes

2022-02-05 Thread Jakob Erdmann
No, we don't have this. Sorry for the inconvenience. If you can describe
steps for reproducing the crash, we'll make sure to have it fixed asap.

Am Sa., 5. Feb. 2022 um 13:42 Uhr schrieb Rob Maris :

> Sometimes, during editing, the application exits suddenly. Just this time,
> over half of an hour work has been lost and I have to execute the edits
> again. Is there any autosave feature built in where e.g. only the interval
> times of autosave must be specified?
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] minGap Value

2022-02-03 Thread Jakob Erdmann
By default, collision warnings are issued even for minGap violations. To
avoid this, set vType attribute  collisionMinGapFactor="0".

Am Do., 3. Feb. 2022 um 23:08 Uhr schrieb Hem :

> Hi,
>
> I have defined a minGap above the value of the default minGap for the
> model. However, I still get collisions in my simulation. Could you explain
> the cause of that?
>
> Thanks.
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Tools: randomTrips.py seems to be generating route files with no vehicles

2022-02-03 Thread Jakob Erdmann
Any trip that isn't fully connected will be discarded. Your network has
plenty of disconnected part and using edges from different parts in the via
list will cause the trip to be discarded.
With such a high intermediate-value it's almost guaranteed that no valid
trips will remain.
You can probably avoid this by reprocessing your network with.
netconvert -s old.net.xml ---keep-edges.components 1 -o new.net.xml

Am Do., 3. Feb. 2022 um 22:15 Uhr schrieb Jordan Mc Connon <
jordan.mcconn...@mail.dcu.ie>:

> Hi,
> I'm trying to use the randomTrips.py tool to have a constant number of
> vehicles in my simulation, as suggested in the FAQ, here is my code.
>
> #!/bin/bash
> python3 /usr/share/sumo/tools/randomTrips.py -n osm.net.xml --begin 0
> --end 100 --period 1 --intermediate 10 -r constantVehicles.rou.xml -o
> const.trips.xml
>
> Then I run my simulation with the following options:
>
> sumo-gui -c osm.sumocfg --route-files constantVehicles.rou.xml
>  --additional-files detectors.add.xml
>
> However the simulation never generates any vehicles, and there is no
> warning or error printed, so I don't know what the issue could be.
>
> Any insight/ help anyone could provide on this would be much appreciated.
> I've provided links some of my files which may be relevant.
>
> Regards,
> Jordan McConnon
>
>  const.trips.xml
> 
>  constantVehicles.rou.alt.xml
> 
>  constantVehicles.rou.xml
> 
>
>
> *Séanadh Ríomhphoist/Email DisclaimerTá an ríomhphost seo agus aon chomhad
> a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin
> é. Is féidir tuilleadh a léamh anseo.
> 
> This e-mail and any
> files transmitted with it are confidential and are intended solely for use
> by the addressee. Read more here.
>  *
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Traffic lights consideations: static/actuated related to OSM-based net

2022-02-03 Thread Jakob Erdmann
- If you do not want to modify phase durations manually to achieve fixed
120s cycles, you can set option 'tls.cycle.time' to 120 in the netedit
options screen, then rebild the traffic lights in tls mode via delete,create
- each traffic light (tlLogic id) may have multiple programs and can switch
between them at run time (i.e. day and night programs). The default
programID is "0" but such a program is specific to one traffic light and
you cannot reuse it (unless by copy-paste if the connection layout matches)
- to build an actuated traffic light with fixed cycle length you have to
set attributes latestEnd and earliestEnd of the final green phase in the
cycle to cycleTime - finalTransitionDuration (i.e. 117s if there is a final
yellow phase before the cycle starts anew).
see
https://sumo.dlr.de/extractTest.php?path=sumo/basic/tls/actuated/coordination/saturatedNS/fixedCycle_coordinated
and
https://sumo.dlr.de/extractTest.php?path=sumo/basic/tls/actuated/coordination/saturatedNS/fixedCycle_coordinated_offset


Am Do., 3. Feb. 2022 um 12:44 Uhr schrieb Rob Maris :

> I'm coping with a city ring around the city center where all TLS have a
> fixed cycle time, as investigation (on location) showed me. As a first
> step, I changed the default status of all OSM-import related traffic lights
> to static (using a text editor, applied to osm.net.xml). At least that
> makes things simpler, and as such I also increased the phase times such,
> that the total cycle time does add to 120 instead of 90 seconds.
> Yesterday - upon the investigation - I found that there is some variety in
> phase times. As such, actuated must be reactivated. However, cycle time
> remains constant at 120 ms. And the actuation should conform to that, e.g.
> using a fixed parameter setting.
>
> The documentation (.../Simulation/Traffic_Lights.html#coordination) hints
> upon this as follows:
> 
>  # should be important!
>  # here to insert: 120
><
>
> My specific questions:
>
> lLogic id="0" while my net file shows up unique id's for every traffic
> light controlled junction. And programID="0" for all TLS'es. I'm quite a
> bit confused what these parameters exaclty mean, in the sense of e.g. using
> a certain program flow that is defined once and used in several traffic
> light locations.
>
> Is it true that using coordination and cycleTime specification - any green
> prolonging from any edge would automatically result in a shorting of a
> perpendicular edge? In the real world case I see inductive loops only in
> the streets coming from outside the city ring, not on the ring itself. This
> would quite simply allow exactly that what I ask in this text paragraph.
>
> Any suggestions highly appreciated.
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] How I stop the vehicles from teleporting?

2022-02-03 Thread Jakob Erdmann
The ordering of xml-elements in a .sumocfg is immaterial.
The loading order is always net-file, additional-files, route-files
However, if a list of files is given for additional- or route-files the
ordering in the list is relevant.
Note, that https://sumo.dlr.de/docs/sumo.html#loading_order_of_input_files
is now updated to hopefully make this more clear.

Am Do., 3. Feb. 2022 um 15:16 Uhr schrieb Rob Maris :

> For me, this topic is of interest as well,
>
> however, when you look at the screenshot, not only time-to-teleport is
> inserted into the new config file (when I do it by invoking sumo), but also
> the order of file loads is swapped. But according to
> https://sumo.dlr.de/docs/sumo.html#loading_order_of_input_files, this is
> not recommended.
>
>
> Am 03.02.2022, 15:01 Uhr, schrieb Nao Tomori :
>
> Thank you for the clarification.
>
> On Thu, Feb 3, 2022, 9:52 PM Mirko Barthauer 
> wrote:
>
>> Saving the configuration as explained (see also SUMO docs on this at
>> https://sumo.dlr.de/docs/Basics/Using_the_Command_Line_Applications.html#generating_configuration_files_templates_and_schemata)
>> will lead to these tags inside the sumocfg XML file:
>>
>> **
>> **
>> **
>>
>> In essence, the option becomes a tag and the value is given in the only
>> attribute. But again: In case you are not sure how it should look like, I
>> invite you to let SUMO write the sumocfg for you. If you already have a
>> sumocfg you want to change, type the following (setting your real file
>> paths, obviously):
>>
>> *sumo -c old.sumocfg --time-to-teleport -1 --save-configuration
>> new.sumocfg*
>>
>> I hope this is clear enough now.
>> Am 03.02.2022 um 14:43 schrieb Nao Tomori:
>>
>> How do I implement this in code in the sumo config? The syntax is what I
>> mean, could provide an example to disable teleportation
>>
>> On Thu, Feb 3, 2022, 4:14 PM Mirko Barthauer 
>> wrote:
>>
>>> Start SUMO with the option *--time-to-teleport -1* (see SUMO docs at
>>> https://sumo.dlr.de/docs/sumo.html) to disable teleporting. You can
>>> save the configuration by adding the option --save-configuration "
>>> *Your/filepath*" if you use sumocfg files.
>>>
>>> Teleported vehicles reappear on the next edge on their route downstream
>>> from where they remained stuck.
>>>
>>> Best regards
>>> Mirko
>>> Am 03.02.2022 um 07:03 schrieb Starlight Charlotte:
>>>
>>> I was wonder how to stop the vehicles from teleporting, where do I make
>>> such changes (which file), and do teleported vehicle simply disappear in
>>> the simulation?
>>>
>>>
>>>
>>> Thank You in Advance.
>>>
>>>
>>>
>>>
>>>
>>> Sent from Mail  for
>>> Windows
>>>
>>>
>>>
>>>
>>> 
>>>  Virus-free.
>>> www.avast.com
>>> 
>>> <#m_-1136887180446056597_m_-3239413949978043418_m_-1168930317677432645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>> ___
>>> sumo-user mailing listsumo-u...@eclipse.org
>>> To unsubscribe from this list, visit 
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>
>> ___
>> sumo-user mailing listsumo-u...@eclipse.org
>> To unsubscribe from this list, visit 
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
>
>
> --
> Dem Ingeniör ist nichts zu schwör (außer bei Force Majör)
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] How to add overtaking in SUMO

2022-02-03 Thread Jakob Erdmann
Never modify a .net.xml file directly.
To support opposite direction driving in a network, run:
netconvert -s old.net.xml --opposites.guess -o new.net.xml
You can also set lane attribute 'opposite' in netedit.

Am Do., 3. Feb. 2022 um 14:26 Uhr schrieb Ifezue Obiako <
vincentobi...@gmail.com>:

> Would the line of code for opposite lane driving look something like what
> is depicted below if it were implemented in a .net file?
>
> [image: image.png]
>
> On Thu, Feb 3, 2022 at 6:03 AM Ifezue Obiako 
> wrote:
>
>> Hello Everyone
>>
>> I currently have a .net file that I am thinking about adding overtaking
>> behavior. The idea is when one bus comes from behind another bus on a
>> different bus route but at the same stop I would like the bus behind to
>> overtake the other if the other bus is taking too long. Is there a way for
>> the bus behind to overtake the leading bus (i.e., teleporting ahead of the
>> leading bus)?
>>
>> I have looked at the documentation on opposite-direction driving, but it
>> seems like you can only explicitly call "neigh" in an .edge.xml file rather
>> than a .net file. The reason why I asked if it is possible to do this in a
>> .net file is because I already have a functioning .net file established and
>> I would like to edit it from there.
>>
>> For reference, my .net and additional files are attached to this email.
>> The place I was trying to add overtaking is at lane -467228692#3_1, where
>> the lane 467228692#3_1 is used to overtake at the bus stop.
>>
>> Thank you in advance for your help
>> Ifezue
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] junction inspect with "show connections over junctions": not understood case of priority flow (with TLS)

2022-02-03 Thread Jakob Erdmann
The right-of-way rules are initialized from the edge 'priority' values.
Lowering the east-west priorities or increasing the north-south priorities
should achieve the desired effect.
See also https://sumo.dlr.de/docs/Networks/PlainXML.html#right-of-way

Am Do., 3. Feb. 2022 um 13:10 Uhr schrieb Rob Maris :

> In all junction cases in my net with TLS (and also without), the cyan
> resp. white connection lines are drawn according to the "logical" prioity.
> In the case of the attachment, this is not the case (one screenshot in T-
> and one in I-mode).
> I'd suggest that the edge priorities define the correct default priority
> connection scheme.
> settings clockwise, from the north edge: 10, 9, 12, 3.
>
> How to establish a correct representation as
> desired?___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Total Travel Time Difference

2022-02-03 Thread Jakob Erdmann
What you computed is totalTravelTimeAndDelay (totalTravelTime +
totalDepartDelay)
The description of the documented formula was a bit confusing and has now
been updated.

Am Do., 3. Feb. 2022 um 10:19 Uhr schrieb mehmet nedim yavuz <
mehmetnedim...@gmail.com>:

> I obtained results of simulations from statistic output option. Also I set
> options the trip-info-output.write-unfinished and duration-log.statistics.
> According to documentation (
> https://sumo.dlr.de/docs/Simulation/Output/StatisticOutput.html) from
> usage example part formula ,I calculated the "TotalTravelTime". My
> calculation and result in xml file are different. XML file result is like
> below:
>
>
>
>
>
>
>
>
>
> *http://www.w3.org/2001/XMLSchema-instance
> "
> xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/statistic_file.xsd
> "> inserted="1847" running="185" waiting="153"/> jam="0" yield="0" wrongLane="0"/> emergencyStops="0"/>
>  waitingTime="66.86" timeLoss="179.10" departDelay="62.99"
> departDelayWaiting="139.60" totalTravelTime="592134.00"
> totalDepartDelay="137707.00"/> routeLength="0.00" duration="0.00" timeLoss="0.00"/> number="0"/>*
>
> I calculated the totalTravelTime according to formula: totalTravelTime =
> vehicles.inserted * (vehicleTripStatistics.duration +
> vehicleTripStatistics.departDelay) + vehicles.waiting *
> vehicleTripStatistics.departDelayWaiting
> I calculated like  1847*(320.59+62.99)+153*139.60=729831.1
> but in xml file, it is "592134.00". Why occurs this difference? Thank for
> your help.
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Simulation duration effect

2022-02-03 Thread Jakob Erdmann
Vehicles that did not arrive only give you a lower bound on whole-route
travel time. Mixing them with arrived vehicles will skew your results.
If you are interested in trip-travel-times, the first approach is more
suitable.


Am Mi., 2. Feb. 2022 um 19:12 Uhr schrieb mehmet nedim yavuz <
mehmetnedim...@gmail.com>:

> By using the second approach (running scenarios at fixed time) and
> implementing (--tripinfo-output.write-unfinished), I obtained arrived and
> not arrived(but on the network). For calculating average travel time, I
> should consider the number of these vehicles (not including the number of
> vehicles that did not depart).Is my understanding correct?  Regards.
>
> Jakob Erdmann , 2 Şub 2022 Çar, 15:13 tarihinde
> şunu yazdı:
>
>> If your flow ends at time 3600, the final vehicles do not have time to
>> arrive.
>> The following approaches are both viable:
>> - run your scenarios until all vehicles have arrived (result analysis
>> must account for different scenario durations)
>> - run your scenario to a fixed time (result analysis must account for
>> different vehicle numbers)
>>
>> The second approach may be aided by setting option
>> --tripinfo-output.write-unfinished or even
>> --tripinfo-output.write-undeparted
>> This way all vehicles will be part of the output (with some attributes
>> set to the error value "-1") but you must still handle the vehicles that
>> did not arrive or depart in your analysis.
>>
>> Am Mi., 2. Feb. 2022 um 11:48 Uhr schrieb mehmet nedim yavuz <
>> mehmetnedim...@gmail.com>:
>>
>>> Hi Sumo Users,I am confused about simulation output. I am using
>>> vehsPerHour attribute in flow definition,for my example vehsPerHour=2000
>>> begin=0 end=3600.Simulation duration is also 3600 second.I am getting the
>>> output by tripinfo output file.But some vehicle has not arrived their
>>> destination in simulation duration.Thus tripinfo output file is not as
>>> expected. Should I wait until all vehicles arrived? For different traffic
>>> demand scenario, it causes different simulation duration. What should be
>>> the correct approach? Thanks for help. Regards.
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] [EXTERNAL] Re: Netconvert GeoConvHelper

2022-02-03 Thread Jakob Erdmann
I think the projection might be a side issue. I'd recommend that you check
whether the original geometry (OSM?) is good enough:
- create a list of  elements with 'lon', 'lat' attributes
corresponding to your vehicle trajectory
- load those pois as an additional file together with your .net.xml (the
one you wish to convert to OpenDRIVE) into sumo-gui.
(see
https://sumo.dlr.de/docs/Simulation/Shapes.html#poi_point_of_interest_definitions
)

Only if those pois lie on the road lanes, will you be able to find an x,y
mapping that also fits.

Am Mi., 2. Feb. 2022 um 15:27 Uhr schrieb Ovsenjak, Gregor AVL/SI via
sumo-user :

> Hello again,
>
>
> On the screenshots that I provided, we have an offset between the road and
> the vehicle trajectory. (just the far right trajectory is relevant). The
> vehicle collects GNSS data (latitude,longitude) with a frequency of 1Hz. Do
> You have any suggestions on how to align the car positions with the road,
> so that the car is driving on the road, using SUMO.
>
>
> Our current Pipeline for road generation is --> Extract the min,max values
> of latitude and longitude from the collected data  --> download a OSM map
> with a rectangle around min,max values  --> Transform to SUMO map (.net.xml)
>
>
> Our Pipeline for vehicle trajectory creation is --> Extract the min,max
> values of latitude and longitude from the collected data --> Create a local
> ENU coordinate system with a reference point (origin) at the extracted min,
> max values --> Calculate x,y positions of the vehicle based on the ENU
> coordinate system.
>
>
> Next we use the offset netconvert -(offset.x,offset.y) options to set the
> origin of the SUMO map to the ENU coordinate system reference point. At the
> end we create the OpenDrive map from the SUMO map.
>
>
> If we could align the road with the vehicle trajectory in a
> better, simpler way this would bring our research much further.
>
>
> Thank You again,
>
> Gregor Ovsenjak
>
>
>
> --
> *Od:* sumo-user  v imenu Jakob Erdmann <
> namdre.s...@gmail.com>
> *Poslano:* sreda, 02. februar 2022 13:41:21
> *Za:* Sumo project User discussions
> *Zadeva:* Re: [sumo-user] [EXTERNAL] Re: Netconvert GeoConvHelper
>
> Actually, there are two reference positions we could be talking about: a)
> the point where the distortion of the projection is minimal (for UTM this
> would be the center of the current UTM zone, I think). b) the point that is
> called (0, 0) ‍ ZjQcmQRYFpfptBannerStart
> This message is from an external sender
> This email originated from outside of the organization. Do not click links
> or open attachments unless you recognize the sender and know the content is
> safe. If you are not sure, you can use the ReportPhish Button to submit the
> message for analysis.
> ZjQcmQRYFpfptBannerEnd
> Actually, there are two reference positions we could be talking about:
>
> a) the point where the distortion of the projection is minimal (for UTM
> this would be the center of the current UTM zone, I think).
> b) the point that is called (0, 0)
>
> Point b) can be shifted arbitrarily by setting the appropriate x,y offset
> (netconvert options --offset.x --offset.y)
> If this is what you need to change, it should suffice to compute the x,y
> coordinate of your desired lon,lat reference point and set the offset the
> negative of this value
>
> If you need to change a) the you must use a projection other than UTM and
> you can set this with netconvert option --proj and the appropriate
> proj-string (https://proj.org/usage/quickstart.html
> <https://urldefense.com/v3/__https://proj.org/usage/quickstart.html__;!!Oq50-tQ!7tDwx2FK7UTHe1QXM4-5stSEwJTeluxjO_fJ9LXvRGPGiAEW3OtwhFOQweH-t2LUrFc$>)
> but I cannot tell you which string that would be.
>
> regards,
> Jakob
>
>
> Am Mi., 2. Feb. 2022 um 13:28 Uhr schrieb Ovsenjak, Gregor AVL/SI via
> sumo-user :
>
>> Hello Jakob,
>>
>> Sorry maybe I did not explain my question very well. Here is a shorter
>> summary.
>>
>>  A GEO to ENU system needs a reference position (Lon, Lat,Alt). This
>> reference position gives a road representation in ENU system with x and y
>> positions (flat earth). Due to the ENU transformation a map is good only
>> for areas <2km without position drift. SUMO generates road network in
>> UTM shifted to ENU system with the reference point always on the lower left
>> corner (min lon, min lat )
>>
>>
>> Question: is there a chance to set this reference position (lon, lat) by
>> our own defined values ?
>>
>>
>> With kind regards,
>>
>> Gregor Ovsenjak
>>
>> -

Re: [sumo-user] Scenario with demand loaded from vehroute-output behaves different from the original run

2022-02-02 Thread Jakob Erdmann
The features you mentioned are not available in the latest release (1.12.0).
However, you can upgrade to the latest development version and set sumo
option --replay-rerouting for an accurate replay.

For this to work, the following options must be set for the initial oneShot
simulation:

--vehroute-output.sorted
--vehroute-output.speedfactor
--precision 15

The development version can be downloaded at
https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version

regards,
Jakob

Am Mo., 31. Jan. 2022 um 19:07 Uhr schrieb Khaled Belhassine <
khaled.belhass...@fsa.ulaval.ca>:

>
> Hello,
>
> I am trying to re-create a scenario which uses oneshot assignment. I
> export the final routes by using --vehroute-output option and provide that
> as an input to my simulation again
> I get a totally different traffic situation a lot of teleports.
>
>
> As Recommanded here https://github.com/eclipse/sumo/issues/3024, I would
> like to know how to :
>
>
>- add option to rerouting device to load vehroute output that includes
>all routes and the time of rerouting
>- add event based commands to replay the rerouting at the respective
>times
>
> I used this configuration :
>
> 
> 
> 
> 
>
>  value="capteurs_feux_circulations_optimise_b_v2.add.xml,vtype.add.xml,phasage_feux.xml,e1_freq_3600_comp_st_Maurice_captoff_update_capt_on.add.xml,parking.xml,calibration-f-mdf-pos-calb.xml,tls_Programs.xml,tls_state.xml,tls_Switches.xml,tls_SwitchStates.xml"/>
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
>
> 
> 
> 
> 
>
>
> Best regards
>
> *Khaled Belhassine, M.Sc. *
> Professionnel de recherche en géomatique
> *Université Laval*
>
> Local 2518, Pavillon Palasis-Prince
> 2325, rue de la Terrasse
> Québec, QC, G1V 0A6
> Canada
>
> Tél.:  418.656.2131 poste 406590
> Courriel : khaled.belhass...@cirrelt.ca
> Site internet : http://www.cirrelt.ca/
>
>
>
>
>
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] [EXTERNAL] Re: Netconvert GeoConvHelper

2022-02-02 Thread Jakob Erdmann
Actually, there are two reference positions we could be talking about:

a) the point where the distortion of the projection is minimal (for UTM
this would be the center of the current UTM zone, I think).
b) the point that is called (0, 0)

Point b) can be shifted arbitrarily by setting the appropriate x,y offset
(netconvert options --offset.x --offset.y)
If this is what you need to change, it should suffice to compute the x,y
coordinate of your desired lon,lat reference point and set the offset the
negative of this value

If you need to change a) the you must use a projection other than UTM and
you can set this with netconvert option --proj and the appropriate
proj-string (https://proj.org/usage/quickstart.html) but I cannot tell you
which string that would be.

regards,
Jakob


Am Mi., 2. Feb. 2022 um 13:28 Uhr schrieb Ovsenjak, Gregor AVL/SI via
sumo-user :

> Hello Jakob,
>
> Sorry maybe I did not explain my question very well. Here is a shorter
> summary.
>
>  A GEO to ENU system needs a reference position (Lon, Lat,Alt). This
> reference position gives a road representation in ENU system with x and y
> positions (flat earth). Due to the ENU transformation a map is good only
> for areas <2km without position drift. SUMO generates road network in UTM
> shifted to ENU system with the reference point always on the lower left
> corner (min lon, min lat )
>
>
> Question: is there a chance to set this reference position (lon, lat) by
> our own defined values ?
>
>
> With kind regards,
>
> Gregor Ovsenjak
>
> --
> *Od:* sumo-user  v imenu Jakob Erdmann <
> namdre.s...@gmail.com>
> *Poslano:* sreda, 02. februar 2022 12:46:30
> *Za:* Sumo project User discussions
> *Zadeva:* [EXTERNAL] Re: [sumo-user] Netconvert GeoConvHelper
>
> Are there any other differences to the projections besides the shift?  Are
> the axis directions different (i.e. increasing from north to south)? Am
> Mi., 2. Feb. 2022 um 09:03 Uhr schrieb Ovsenjak, Gregor AVL/SI via
> sumo-user  This message is from an external sender
> This email originated from outside of the organization. Do not click links
> or open attachments unless you recognize the sender and know the content is
> safe. If you are not sure, you can use the ReportPhish Button to submit the
> message for analysis.
> ZjQcmQRYFpfptBannerEnd
> Are there any other differences to the projections besides the shift?  Are
> the axis directions different (i.e. increasing from north to south)?
>
> Am Mi., 2. Feb. 2022 um 09:03 Uhr schrieb Ovsenjak, Gregor AVL/SI via
> sumo-user :
>
>> Hello Jakob,
>>
>>
>> I am working on a project where a vehicle is collecting data. We are
>> trying to recreate the map in an OpenDrive format. For that we need the
>> SUMO netconvert  software (which is awesome, by the way !!). The vehicle
>> collects data, and creates a local coordinate system based on the ENU
>> transformation, which means that they create a local tangent plane
>> coordinate system. But they take the first measured GNSS point as the ENU
>> reference point, which is (in this case) always in the top-right corner of
>> the map.
>>
>> This presents a problem for us because each SUMO network imported from a
>> geo-referenced data sources comes with it's own ENU projection: By default,
>> these are UTM coordinates which are shifted so that the *lower left
>> network corner* is the coordinate origin. Now we have one ENU coordinate
>> system in the top right corner and one in the bottom left corner, which
>> introduces an offset when overlaping x,y data from vehicle with the SUMO
>> converted OpenDrive file.
>>
>> I am wondering if there is a way to align these two ENU systems, or if we
>> can move the ENU tranformation to the top right corner. We have tried
>> shifting the coordinate origin but this does not solve the problem.
>>
>> Sorry for the long explanation,
>>
>>
>> With kind regards,
>>
>> Gregor Ovsenjak
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>> <https://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/sumo-user__;!!Oq50-tQ!9_TjBvVOEqbUc7DLoHTmusegZSla4DNIsyuiQCjniyHqlKQajuRkz4J6zCffGLUAYuI$>
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Simulation duration effect

2022-02-02 Thread Jakob Erdmann
If your flow ends at time 3600, the final vehicles do not have time to
arrive.
The following approaches are both viable:
- run your scenarios until all vehicles have arrived (result analysis must
account for different scenario durations)
- run your scenario to a fixed time (result analysis must account for
different vehicle numbers)

The second approach may be aided by setting option
--tripinfo-output.write-unfinished or even
--tripinfo-output.write-undeparted
This way all vehicles will be part of the output (with some attributes set
to the error value "-1") but you must still handle the vehicles that did
not arrive or depart in your analysis.

Am Mi., 2. Feb. 2022 um 11:48 Uhr schrieb mehmet nedim yavuz <
mehmetnedim...@gmail.com>:

> Hi Sumo Users,I am confused about simulation output. I am using
> vehsPerHour attribute in flow definition,for my example vehsPerHour=2000
> begin=0 end=3600.Simulation duration is also 3600 second.I am getting the
> output by tripinfo output file.But some vehicle has not arrived their
> destination in simulation duration.Thus tripinfo output file is not as
> expected. Should I wait until all vehicles arrived? For different traffic
> demand scenario, it causes different simulation duration. What should be
> the correct approach? Thanks for help. Regards.
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Mobility with different mode of transport

2022-02-02 Thread Jakob Erdmann
- Create an OD matrix file for each mode of transport,
- run od2trips with options --prefix and --vtype (i.e. --prefix bus --vtype
bus) for each mode.
- create an additional file that defines the referenced vType (i.e. 'bus')
- run duarouter for each trips file with the vtypes file loaded.

If you want to place all vTypes in a single file, also set duarouter option
--vtype-output dummy (to avoid having the same definitions repeatedly in
the output)


Am Mi., 2. Feb. 2022 um 10:32 Uhr schrieb Syed Şah Sultan <
syedshahsul...@gmail.com>:

> Hello everyone
>
> Below are the steps that I am following to  create a scenario
>
> 1) Creating an additional file of TAZ through NETEDIT
> 2) Converting the taz file using "edgesInDistricts.py"
> 3) Creating the OD matrix file
> 4) Using "od2trips" and then "duarouter " to generate trips.xml and
> rou.xml files respectively
>
> The problem is I do not understand in which step should I introduce the
> ratio about different modes of transport, Because by the above method, I am
> only having private cars in my model.  I know about "open Wizard". But is
> there any way other than that?
>
>
> Regards
> S3M
>
>
> 
> *Syed Şah Sultan Mohiuddin*
>
>
>
>
>
> [image: Mailtrack]
> 
>  Sender
> notified by
> Mailtrack
> 
>  02/02/22,
> 12:25:46 PM
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] XML files and syntax errors with SAGA

2022-02-02 Thread Jakob Erdmann
Indeed, no obvious problem is apparent with the file though sometimes these
error messages point to the wrong line. I recommend that you identify the
problematic content by successively removing lines and attributes within
lines until the parsing error goes away. If the triggering content looks
innocent, please report back.

Am Mi., 2. Feb. 2022 um 10:22 Uhr schrieb Arbi Alaouy :

> The file " activity_generation.merged.rou.xml" is attached now.
>
> In the meantime, I started sumo-gui with --xml-validation equal never as
> below:
> sumoCmd = ["--xml-validation", "never",
>"-c", Files.DEFAULT_SUMO_CONFIG.split(os.sep)[1],
>"--ignore-route-errors", "--tripinfo-output",
> Files.DEFAULT_TRIP_INFO, "--start"]
>
> Hope this is a nice track ?
>
> Le mer. 2 févr. 2022 à 08:56, Jakob Erdmann  a
> écrit :
>
>> please attach the file.
>>
>> Am Di., 1. Feb. 2022 um 10:15 Uhr schrieb Arbi Alaouy <
>> estdoc...@gmail.com>:
>>
>>> Hi everyone,
>>>
>>> I'm using sumo simulation and particularly SAGA to generate population
>>> activities that are
>>> represented by the *activity_generation.merged.rou.xml *XML file.  To
>>> this file I added params via py scripts
>>> such as this one which indicates the zone of the person to which belongs
>>> :
>>> 
>>>
>>> Simulation runs about 3000 seconds and I get errors such as :
>>>
>>> Error: equal sign expected   ||OR|| Error: whitespace expected
>>>
>>>  In file 'activity/activity_generation.merged.rou.xml'
>>>
>>>  At line/column 24762/29.
>>>
>>>
>>> By verifying the file the syntax is Ok.
>>>
>>> As a solution, I unified all XML manipulation using lxml.etree instead
>>> of mixing both lxml and standard ElementTree. But I still get the same
>>> errors.
>>>
>>>
>>> Thank you very much for your solutions suggestions.
>>>
>>> Best regards.
>>> --
>>> El-arbi El-alaouy
>>>
>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
>
> --
> El-arbi El-alaouy
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] The edge within the route is not known.

2022-02-02 Thread Jakob Erdmann
My query regarding tool xyz is not about thing that happen during the
simulation.
In your case, the tool is ptlines2flows.py which is called in the
processing chain of SAGA
My guess is that the following sequence of events happened:
- you ran SAGA on an OSM file which generated (among other things) the
files osm_pt.rou.xml and osm.net.xml
- you modified the network
- you tried to run osm_pt.rou.xml on the modified network.

Rerunning the ptlines2flows step of SAGA should be sufficient to fix the
problem.
Your modified network must also be called osm.net.xml for SAGA to use it.




Am Mi., 2. Feb. 2022 um 10:08 Uhr schrieb Arbi Alaouy :

> I'm coming back to this posted discussion since the error continues
> to happen.
> Related to the modification point by any XYZ tool, I verified the point,
> In my case, I'm using one sumo map (*.net.xml) and the file keeps the same
> content till the end of the simulation (there is no used intermediate
> xyz tool)
>
> Here is The feedback of duarouter --repair:
> $ duarouter -c duarouter.cfg --repair -o osm_pt_checked.rou.xml  --verbose
> Loading configuration ... done.
> Loading net ... done.
> Loading additional file 'defaults\vehicle_types.xml'  ... done.
> Loading additional file 'components\stops\osm_stops.add.xml'  ... done.
> Loading additional file 'components\polygons\osm_polygons.add.xml'  ...
> done.
> Loading additional file 'components\parking\parking_areas.xml'  ... done.
> Loading additional file 'components\parking\parking_areas_rerouters.xml'
>  ... done.
> Loading additional file 'components\stands\taxi_stands.xml'  ... done.
> Loading additional file 'components\stands\taxi_stands_rerouters.xml'  ...
> done.
> Skipped until: 26.00
> Routes found between time steps 26.00 and 26.00.00.00% done)
> Success.
>
> I'm attaching here the route file (osm_pt_rou.xml) and vehicle routes
> (vehroutes.xml)
> with which I got the error Error: The edge '06660#0' within the route  is
> not known.
> By verifying these two files  I noted 06660#0 is not an edge but a part
> of the edge 152606660#0.
>
> Thank you very much for your suggestions.
> Best regards
>
>
> Le lun. 10 janv. 2022 à 15:53, Jakob Erdmann  a
> écrit :
>
>> The most likely source of this errors is this sequence:
>> - use tool XYZ to define routes for network A
>> - use those routes with network B (i.e. after modifying A with netedit
>> and saving it under the same name)
>>
>> Possible fixes:
>> - re-run tool XYZ with the modified network
>> - filter out invalid routes by running them through 'duarouter' with
>> option --repair
>>
>> regards,
>> Jakob
>>
>> Am Mo., 10. Jan. 2022 um 13:22 Uhr schrieb Arbi Alaouy <
>> estdoc...@gmail.com>:
>>
>>> Hi everyone
>>>
>>> I'm getting this error while running sumo.
>>> Error: The edge '-58824358114291078#3' within the route  is not known.
>>>  The route can not be build.
>>>
>>> Can I get a help on how to identify and fix this error.
>>> and if there some tools or scripts that can scan sumo
>>> files to detect possible in sumo map ?
>>>
>>> Thank you very much.
>>> Best regards
>>>
>>> --
>>> El-arbi El-alaouy
>>>
>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
>
> --
> El-arbi El-alaouy
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Netconvert GeoConvHelper

2022-02-02 Thread Jakob Erdmann
Are there any other differences to the projections besides the shift?  Are
the axis directions different (i.e. increasing from north to south)?

Am Mi., 2. Feb. 2022 um 09:03 Uhr schrieb Ovsenjak, Gregor AVL/SI via
sumo-user :

> Hello Jakob,
>
>
> I am working on a project where a vehicle is collecting data. We are
> trying to recreate the map in an OpenDrive format. For that we need the
> SUMO netconvert  software (which is awesome, by the way !!). The vehicle
> collects data, and creates a local coordinate system based on the ENU
> transformation, which means that they create a local tangent plane
> coordinate system. But they take the first measured GNSS point as the ENU
> reference point, which is (in this case) always in the top-right corner of
> the map.
>
> This presents a problem for us because each SUMO network imported from a
> geo-referenced data sources comes with it's own ENU projection: By default,
> these are UTM coordinates which are shifted so that the *lower left
> network corner* is the coordinate origin. Now we have one ENU coordinate
> system in the top right corner and one in the bottom left corner, which
> introduces an offset when overlaping x,y data from vehicle with the SUMO
> converted OpenDrive file.
>
> I am wondering if there is a way to align these two ENU systems, or if we
> can move the ENU tranformation to the top right corner. We have tried
> shifting the coordinate origin but this does not solve the problem.
>
> Sorry for the long explanation,
>
>
> With kind regards,
>
> Gregor Ovsenjak
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] libsumo simulation start

2022-02-01 Thread Jakob Erdmann
No. This is one of the key limitations of libsumo at the moment (which we
are planning to fix this year).
Currently, the recommended approach is to use traci for testing
functionality and then switching the same code over to libsumo for speedy
operations.

Am Di., 1. Feb. 2022 um 13:19 Uhr schrieb Mahima :

> Hi,
>
> I have my application developed in C++ using libsumo.
> Is there any way to view the simulation on GUI?
>
> Thanks,
> Mahima
>
> On Tue, Jan 11, 2022 at 1:43 AM Jakob Erdmann 
> wrote:
>
>> 1. Simulation::start is the only way to actually start a libsumo
>> simulation. Did you try to compile the example given at
>> https://sumo.dlr.de/docs/Libsumo.html#example_code_testcpp ?
>>
>> 2. Libsumo is not compatible with gui simulation at the moment:
>> https://sumo.dlr.de/docs/Libsumo.html#limitations.
>> However, you can use Libtraci which supports sumo-gui for developing your
>> script and then switch to libsumo for increased speed. The API is the same
>> and you only need to change one line of code:
>> using namespace libtraci; / using namespace libsumo;
>>
>> regards,
>> Jakob
>>
>>
>>
>>
>> Am Mo., 10. Jan. 2022 um 20:53 Uhr schrieb Mahima :
>>
>>> error: ‘start’ is not a member of ‘libsumo::Simulation'
>>> On compiling, i get this error.
>>>
>>> I want to run the sumo-gui using libsumo.
>>> Please suggest the solution.
>>> ’
>>>
>>> On Mon, Jan 10, 2022 at 5:54 PM Jakob Erdmann 
>>> wrote:
>>>
>>>> What is the error message?
>>>>
>>>> Am Mo., 10. Jan. 2022 um 14:11 Uhr schrieb Mahima :
>>>>
>>>>> Hi,
>>>>> I want to use the following command to start a simulation.
>>>>>
>>>>> "libsumo::Simulation::start"
>>>>>
>>>>> But this gives an error. Any idea what is the alternative way to start
>>>>> the simulation?
>>>>>
>>>>> Thanks,
>>>>> Mahima
>>>>> ___
>>>>> sumo-user mailing list
>>>>> sumo-user@eclipse.org
>>>>> To unsubscribe from this list, visit
>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>>
>>>> ___
>>>> sumo-user mailing list
>>>> sumo-user@eclipse.org
>>>> To unsubscribe from this list, visit
>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] XML files and syntax errors with SAGA

2022-02-01 Thread Jakob Erdmann
please attach the file.

Am Di., 1. Feb. 2022 um 10:15 Uhr schrieb Arbi Alaouy :

> Hi everyone,
>
> I'm using sumo simulation and particularly SAGA to generate population
> activities that are
> represented by the *activity_generation.merged.rou.xml *XML file.  To
> this file I added params via py scripts
> such as this one which indicates the zone of the person to which belongs :
> 
>
> Simulation runs about 3000 seconds and I get errors such as :
>
> Error: equal sign expected   ||OR|| Error: whitespace expected
>
>  In file 'activity/activity_generation.merged.rou.xml'
>
>  At line/column 24762/29.
>
>
> By verifying the file the syntax is Ok.
>
> As a solution, I unified all XML manipulation using lxml.etree instead of
> mixing both lxml and standard ElementTree. But I still get the same errors.
>
>
> Thank you very much for your solutions suggestions.
>
> Best regards.
> --
> El-arbi El-alaouy
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] connecting bike lane + generic lane to a single lane yields a warning, despite zipper junction

2022-02-01 Thread Jakob Erdmann
In a way, that warning message is no longer needed.
It dates to a time where multiple connections to the same lane were unsafe
in SUMO and could cause collisions.
This has long been fixed and now multiple connections to the same lane are
either resolved with zipper logic or (for any other type of junction) with
right-of-way rules that give priority to one of the connections.
In the case you describe, the cars moving from north to west would have
yielded to the bicycles that are coming from the north.
With your change, they are doing zipper merge. Which one of those two
behaviors is more realistic probably varies between localities.



Am Di., 1. Feb. 2022 um 16:45 Uhr schrieb Rob Maris :

> Originally (from OSM wizard) the small zipper junction that resulted from
> a manual splitting of the upper edge was not present. The bike lane from
> the north got into the residential lane, together with the standard lane
> (see screenshot).
> I'm wondering that the warning after insertion of a zipper junction is
> only "relocated just left of the zipper junction.
>
> Since I'm doing clean-up of the network prior to doing other steps, this
> problem popped up yet...___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] lane of a specific multientryexit detector

2022-02-01 Thread Jakob Erdmann
Code contribution are welcome: https://github.com/eclipse/sumo/issues/10083

Am Di., 1. Feb. 2022 um 10:14 Uhr schrieb Hervé Diedie <
hervedie...@gmail.com>:

> You should provider in the next versions a dedicated function to do so.
> It could be very helpful
> Anyway than.
>
> Le mar. 1 févr. 2022 à 08:58, Jakob Erdmann  a
> écrit :
>
>> This is currently not supported. You could parse it directly from the
>> additional file (i.e. with the help of sumolib.xml.parse)
>> https://sumo.dlr.de/docs/Tools/Sumolib.html
>>
>> Am Di., 1. Feb. 2022 um 09:40 Uhr schrieb Hervé Diedie <
>> hervedie...@gmail.com>:
>>
>>> Hi,
>>> How can I get from TraCI the name of the lane embedding a multientryexit
>>> detector ?
>>>
>>> Best regards.
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Issue with vehicles entering simultaneously on intersection

2022-02-01 Thread Jakob Erdmann
In version 1.12.0 short edges are drawn on top of the junction shape to
avoid the problem you describe.

Am Di., 1. Feb. 2022 um 09:56 Uhr schrieb Alejandro Rodríguez Sánchez <
alrod...@ucm.es>:

> Thanks Jakob, for me there aren't no deadlocks anymore in any type of
> intersection, including roundabouts.
> The main "difficulty" was to change lane connections in intersections from
> netedit, as lanes with no connections are shadowed by the intersection
> polygon as in the picture below and locate them can be tricky. This is just
> an stylistic remark though.
>
> Regards,
> Alejandro
> [image: Edit_connections_roundabout.PNG]
>
> El jue, 27 ene 2022 a las 15:00, Jakob Erdmann ()
> escribió:
>
>> Hello,
>> the situation in the roundabout is similar to the weaving situation at a
>> very short motorway on-off-ramp. The solution outlined at
>> https://sumo.dlr.de/docs/Simulation/Motorways.html#combined_on-off-ramps
>> can be applied to the roundabout as well.
>> Please note, that there may still be deadlocks due to a bug in  the
>> latest few sumo version.
>> (https://github.com/eclipse/sumo/issues/10037)
>> If you still see these deadlocks after adding extra connections, please
>> update to the latest development version (
>> https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version)
>>
>> regards,
>> Jakob
>>
>> Am Do., 27. Jan. 2022 um 14:35 Uhr schrieb Alejandro Rodríguez Sánchez <
>> alrod...@ucm.es>:
>>
>>> Hello everyone,
>>>
>>> I have been noticing that when two vehicles enter in an intersection at
>>> the same time, they remain stacked no matter who has right of way.
>>> For example, in the image below, vehicle 1 has right of way. However, it
>>> won't move and neither the vehicle 2 will move.
>>> This happens also in TLS-controlled intersections. I have tried
>>> modifying several parameters as the impatience and impatience time but the
>>> vehicles remain stacked once they enter the intersection.
>>> Is this an avoidable situation?
>>> [image: Stopped_vehicles_roundabout.PNG]
>>>
>>> Kind regards,
>>> Alejandro
>>> --
>>> Alejandro Rodríguez Sánchez
>>> PhD student
>>> CIEMAT // Universidad Complutense de Madrid
>>> 28040 Madrid
>>> email: alrod...@ucm.es
>>> Website: https://alexrsanchez.github.io/en/
>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
>
> --
> Alejandro Rodríguez Sánchez
> PhD student
> CIEMAT // Universidad Complutense de Madrid
> 28040 Madrid
> email: alrod...@ucm.es
> Website: https://alexrsanchez.github.io/en/
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] lane of a specific multientryexit detector

2022-02-01 Thread Jakob Erdmann
This is currently not supported. You could parse it directly from the
additional file (i.e. with the help of sumolib.xml.parse)
https://sumo.dlr.de/docs/Tools/Sumolib.html

Am Di., 1. Feb. 2022 um 09:40 Uhr schrieb Hervé Diedie <
hervedie...@gmail.com>:

> Hi,
> How can I get from TraCI the name of the lane embedding a multientryexit
> detector ?
>
> Best regards.
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] simulation speed

2022-02-01 Thread Jakob Erdmann
https://sumo.dlr.de/docs/FAQ.html#my_traci-program_is_to_slow_what_can_i_do

Am Di., 1. Feb. 2022 um 09:19 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> Hello,
>
> I am using a step length of 0.1 sec while using CACC models and run the
> simulation in traci. The simulation takes a huge amount of time to
> complete. Especially if I have to complete 10 runs it takes upto 3 hrs for
> loading 6000 vehicles. Is there a way I can quicken the process since
> running over command prompt improves a bit but not extensively.
>
> Regards,
> V.H.Pradeep
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Using TAZ as junction departed flow

2022-02-01 Thread Jakob Erdmann
Flow/trips between junctions are based on specialized TAZ (for every
junction, a TAZ with the same id is created). This is done automatically
via the option --junction-taz.
Sumo supports traffic definition between any combination of attributes
'from', 'fromJunction', 'fromTaz' and 'to', 'toJunction', 'toTaz' (to keep
it simple, not all of these combinations are exposed via netedit). See also
https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#traffic_assignment_zones_taz
Also, you can load any number of additional files into your simulation as a
comma-separated list.



Am Di., 1. Feb. 2022 um 00:49 Uhr schrieb Rob Maris :

> Junction flow is new to 1.12, and upon trying this, it was reported that a
> TAZ would be needed.
> Well first time examining TAZ. This seems very suitable for my needs, but
> still I'm stuck.
>
> The screenshot shows that the TAZ has edges associated with it, as
> expected.
> Ideal to let a flow run from one of two southern junctions to a north TAZ,
> where the flow is dynamically controlled from the one or the other junction
> - dependent on traffic density in the middle of the city.
>
> But by experimenting with this, I only can define a flow from a junction
> or an edge, not a TAZ id.
> Upon simulation, I only see this flow running on the longer of the two
> routes: towards the end junction I defined (I see a straight ratsnets line
> instead of edge flow line following the exact shortest route).
> What am I doing wrong?
>
> BTW: it was necessary to start the gui with --junction-taz, according to
> https://sumo.dlr.de/docs/Demand/Shortest_or_Optimal_Path_Routing.html.
> (indeed before doing that I got an error).
> The alternative would be a TAZ-file - which I would prefer. But the two
> TAZ definitions are stored within the additional files...
>
> Any help appreciated.
> Rob___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] waiting time and average speed

2022-01-31 Thread Jakob Erdmann
The default 'accel' parameter is the same for all models (and this is
reflected in the documentation).
However, the driving dynamics still differ between the models:
- Krauss makes full use of it's default accel and decel values in almost
all traffic situations
- ACC/CACC sometimes accelerate with less than their accel value (thereby
achieving smoother trajectories)

Am Di., 1. Feb. 2022 um 04:08 Uhr schrieb Royal Bhandari <
royalbhanda...@gmail.com>:

> Thanks, Jakob for the explanation.
>
> To check my understanding, the default acceleration of the Krauss model is
> higher than that of ACC and CACC? Is there documentation listing this?
>
> Regards,
> Royal
>
>
>
> On Mon, Jan 31, 2022 at 4:46 AM Jakob Erdmann 
> wrote:
>
>> The outputs are probably "valid" for the particular models but whether
>> the ACC/ CACC models conform to the behavior of any particular real life
>> fleet cannot be answered without prior calibration. Please also refer to my
>> previous answer (https://www.eclipse.org/lists/sumo-user/msg11040.html).
>> Obviously, the same holds for the default Krauss model which may differ
>> from the driving behavior of your human fleet depending on the model
>> parameters (and their distribution within the fleet).
>> The metric of 'waiting time' is sensitive to the speed threshold to
>> determine 'halting'. Thus, the strong accelerations performed by the Krauss
>> model may have an outsized impact on this metric compared to vehicles that
>> are "slower" to start.
>>
>> regards,
>> Jakob
>>
>> Am So., 30. Jan. 2022 um 08:25 Uhr schrieb Royal Bhandari <
>> royalbhanda...@gmail.com>:
>>
>>> Hello,
>>>
>>> I am using average speed and waiting time per vehicle as my urban
>>> traffic performance index. I am comparing CACC car-following model and ACC
>>> car following models with default krauss model. I was expecting that the
>>> CACC model will have lower waiting time and higher speed in comparison to
>>> ACC and Krauss model in a congested network. This is true for speed but not
>>> for the waiting time. Am I missing something here or are the outputs which
>>> I obtained valid?
>>>
>>> Regards,
>>> Royal
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Building Walking Areas from Polygons

2022-01-31 Thread Jakob Erdmann
Polyconvert can work without without a  net-xml file and generates
geo-coded shapes which can be put into any geo-referenced network.
One approach might be to use those imported polygons to generate additional
netconvert input that sets the walkingarea shapes:
https://sumo.dlr.de/docs/Networks/PlainXML.html#walking_areas
This wouldl require coding on your part (pull request welcome).
Please send me a sample input if you cannot get polyconvert to run.

regards,
Jakob

Am Mo., 31. Jan. 2022 um 15:26 Uhr schrieb Sasan Amini :

> It is exactly that case, closed polygons are defined as waling areas. I
> tried polyconvert but it did just generate an empty xml file. I am not sure
> if a sumo network is required as an input to make it work...
>
>
> On Thu, Jan 27, 2022 at 7:27 AM Jakob Erdmann 
> wrote:
>
>> It might be because the walking area shapes you have are all closed
>> curves. This would indeed go against the assumption of the importer which
>> expects polygonal lines with distinct end points. Please check whether
>> polyconvert (--shapefile-prefixes) can handle the data.
>>
>> Am Mi., 26. Jan. 2022 um 16:31 Uhr schrieb Sasan Amini <
>> amini...@gmail.com>:
>>
>>> I assigned the CRS to the shapfile in Python, reinstalled pyproj and
>>> proj and retried the process. I have a feeling that the proj error is not
>>> the real problem. I have another shapefile for the road center lines and
>>> when I apply the procedure on that shapefile, I still get the same error
>>> message but the network is generated at the end. Surprisingly, the proj
>>> error messages are not printed in the log so I just copy the messages below:
>>>
>>> WalkingAreas:
>>> ERROR 1: PROJ: proj_create_from_database: cannot build geodeticCRS 4326:
>>> SQLite error on SELECT extent.description, extent.south_lat,
>>> extent.north_lat, extent.west_lon, extent.east_lon, scope.scope, (CASE WHEN
>>> scope.scope LIKE '%large scale%' THEN 0 ELSE 1 END) AS score FROM usage
>>> JOIN extent ON usage.extent_auth_name = extent.auth_name AND
>>> usage.extent_code = extent.code JOIN scope ON usage.scope_auth_name =
>>> scope.auth_name AND usage.scope_code = scope.code WHERE object_table_name =
>>> ? AND object_auth_name = ? AND object_code = ? ORDER BY score,
>>> usage.auth_name, usage.code: no such table: usage
>>> ERROR 1: PROJ: proj_create_from_database: cannot build geodeticCRS 4326:
>>> SQLite error on SELECT extent.description, extent.south_lat,
>>> extent.north_lat, extent.west_lon, extent.east_lon, scope.scope, (CASE WHEN
>>> scope.scope LIKE '%large scale%' THEN 0 ELSE 1 END) AS score FROM usage
>>> JOIN extent ON usage.extent_auth_name = extent.auth_name AND
>>> usage.extent_code = extent.code JOIN scope ON usage.scope_auth_name =
>>> scope.auth_name AND usage.scope_code = scope.code WHERE object_table_name =
>>> ? AND object_auth_name = ? AND object_code = ? ORDER BY score,
>>> usage.auth_name, usage.code: no such table: usage
>>> Warning: Edge '0' connects identical nodes, skipping.
>>> Warning: Edge '1' connects identical nodes, skipping.
>>> Warning: Edge '2' connects identical nodes, skipping.
>>> Warning: Edge '3' connects identical nodes, skipping.
>>> Warning: Edge '4' connects identical nodes, skipping.
>>> Warning: 71 total messages of type: Edge '%' connects identical nodes,
>>> skipping.
>>> Error: No edges loaded.
>>> Quitting (on error).
>>>
>>> CenterLines:
>>> ERROR 1: PROJ: proj_create_from_database: cannot build geodeticCRS 4326:
>>> SQLite error on SELECT extent.description, extent.south_lat,
>>> extent.north_lat, extent.west_lon, extent.east_lon, scope.scope, (CASE WHEN
>>> scope.scope LIKE '%large scale%' THEN 0 ELSE 1 END) AS score FROM usage
>>> JOIN extent ON usage.extent_auth_name = extent.auth_name AND
>>> usage.extent_code = extent.code JOIN scope ON usage.scope_auth_name =
>>> scope.auth_name AND usage.scope_code = scope.code WHERE object_table_name =
>>> ? AND object_auth_name = ? AND object_code = ? ORDER BY score,
>>> usage.auth_name, usage.code: no such table: usage
>>> ERROR 1: PROJ: proj_create_from_database: cannot build geodeticCRS 4326:
>>> SQLite error on SELECT extent.description, extent.south_lat,
>>> extent.north_lat, extent.west_lon, extent.east_lon, scope.scope, (CASE WHEN
>>> scope.scope LIKE '%large scale%' THEN 0 ELSE 1 END) AS score FROM usage
>>> JOIN extent ON usage.e

Re: [sumo-user] Calibrating OD with edge count data

2022-01-31 Thread Jakob Erdmann
Thanks four comment!

Having more open source code to chose from would be good.
I do think that your problem of OD estimation is a bit different from that
one that the outlined routeSampler approach solves.
The above approach takes the OD-matrix as ground truth  (either es
edge-to-edge or zone-to-zone counts) and only varies the routes to match
the local edge traffic counts.
More details on the optimization approach can be found at
https://sumo.dlr.de/docs/Tools/Turns.html#optimization

regards,
Jakob


Am Mo., 31. Jan. 2022 um 15:14 Uhr schrieb Mahajan, Vishal <
vishal.maha...@tum.de>:

> Dear Jakob and Joel,
>
>
> I am working on a similar problem so wanted to jump into this discussion.
> But I am using a different optimizer than the routesampler.py.
> This problem pertains to the class of problems popularly known as
> (Indirect) OD demand estimation. So basically I am using another optimizer
> (extended-SPSA) that is exogenous to the SUMO, and interacts with given OD
> inputs + other SUMO parameters to match the count outputs. The final result
> is a calibrated or updated OD matrix and other parameters.
>


> I assume routesampler also does something similar, but it would be great
> if there were couple of lines in the docs on its optimization approach. I
> tried to understand the code though.
>
>
> I hope to make the codes open in the near future.
>
> Thank you
>
> Best Regards
>
> Vishal
>
>
>
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] waiting time and average speed

2022-01-31 Thread Jakob Erdmann
The outputs are probably "valid" for the particular models but whether the
ACC/ CACC models conform to the behavior of any particular real life fleet
cannot be answered without prior calibration. Please also refer to my
previous answer (https://www.eclipse.org/lists/sumo-user/msg11040.html).
Obviously, the same holds for the default Krauss model which may differ
from the driving behavior of your human fleet depending on the model
parameters (and their distribution within the fleet).
The metric of 'waiting time' is sensitive to the speed threshold to
determine 'halting'. Thus, the strong accelerations performed by the Krauss
model may have an outsized impact on this metric compared to vehicles that
are "slower" to start.

regards,
Jakob

Am So., 30. Jan. 2022 um 08:25 Uhr schrieb Royal Bhandari <
royalbhanda...@gmail.com>:

> Hello,
>
> I am using average speed and waiting time per vehicle as my urban traffic
> performance index. I am comparing CACC car-following model and ACC car
> following models with default krauss model. I was expecting that the CACC
> model will have lower waiting time and higher speed in comparison to ACC
> and Krauss model in a congested network. This is true for speed but not for
> the waiting time. Am I missing something here or are the outputs which I
> obtained valid?
>
> Regards,
> Royal
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] capacity analysis

2022-01-31 Thread Jakob Erdmann
 Please be aware that 'ACC' and 'CACC' are just one possible implementation
of (cooperative) automated cruise control.
They are not the "definite" models for these things.
If the models behave differently from your expectations, this may reflect
the very specific situations they were calibrated for by the original model
authors.

In my own tests, I observe that the capacity of 100% CACC with tau=0.6 is
up to 16% higher compared to the default. However, this is heavily
influenced by the choice of insertion speed value (with values 'desired'
and 'avg' performing well and value 'max' performing far worse than the
default model.

I suggest that you do your own parameter calibration until the observed
results reflect your expectation.
To model different reaction times, use different actionStepLength values
for the different types.

regards,
Jakob

Am So., 30. Jan. 2022 um 06:03 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> Hello ,
>
> I am analyzing a freeway section and trying to implement the ACC and CACC
> model in my simulation. I observed that as the number of vehicles with ACC
> and CACC model increased the capacity of freeways started to decline and it
> was lower than the manual driven vehicles. I have given Tau as 0.6 for CACC
> vehicles and 0.9 for ACC vehicles , correspondingly I reduced the
> simulation step length as well to 0.1. I wanted to know two things here how
> do I implement the reaction time for ACC or CACC vehicle say 0.1 sec and
> should I use the simulation step length as 1 and use the action step length
> for a particular vehicle type to improve the speed of simulation. Further
> why is my capacity decreasing even with ACC and CACC modes?
>
>
>
> Regards,
>
> V.H.Pradeep
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] [EXTERNAL] Re: CACC model

2022-01-29 Thread Jakob Erdmann
correct

Am Sa., 29. Jan. 2022 um 11:26 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> Hi Jakob,
>
>
>
> To check my understanding if I want to assign CACC  with default values
> then a simple attribute “carFollowModel="CACC"” would be enough, am I right?
>
>
>
> Regards,
>
> V.H.Pradeep
>
>
>
> *From:* sumo-user  *On Behalf Of *Jakob
> Erdmann
> *Sent:* Saturday, January 29, 2022 4:10 AM
> *To:* Sumo project User discussions 
> *Subject:* [EXTERNAL] Re: [sumo-user] CACC model
>
>
>
> *  **EXTERNAL EMAIL***
>   This email originated outside of The University of Texas at San Antonio.
>   Please exercise caution when clicking on links or opening attachments.
>
>
>
> Hello,
>
> the attributes for CACC and ACC are currently not accessible via TraCI
> getParameter. If you do not set them in your xml input, they take on the
> default values listed at
> https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#car-following_model_parameters
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FDefinition_of_Vehicles%252C_Vehicle_Types%252C_and_Routes.html%23car-following_model_parameters&data=04%7C01%7Cpradeep.viyaluruharinath%40utsa.edu%7C67dbdfe3867749e8821008d9e30f7f05%7C3a228dfbc64744cb88357b20617fc906%7C0%7C1%7C637790477976114416%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=D8ZoEGj3u2kOVAecfRr1mKI7%2BJ0sUcmx%2BvwZFYjEaV8%3D&reserved=0>
>
>
>
> Am Sa., 29. Jan. 2022 um 08:52 Uhr schrieb Pradeep Viyaluru Harinath <
> pradeep.viyaluruharin...@utsa.edu>:
>
> Hi ,
>
>
>
> I am using CACC model for vehicles even then the speed improvements were
> not found. I want to check if the attributes of CACC are implemented or not
> for a vehicle in traci, for ex “speedControlGain”. What would be the traci
> command for this? Should this work “ traci.vehicle.getParameter(veh_id,
> "carFollowModel.speedControlGain"))”
>
>
>
> Have all the attributes of CACC are implemented into SUMO so that if I
> just specify CACC to a vehicle type in route file is that sufficient or
> should I use traci to set the parameter values. Similarly can I know for
> ACC as well?
>
>
>
> Regards,
>
> V.H.Pradeep
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cpradeep.viyaluruharinath%40utsa.edu%7C67dbdfe3867749e8821008d9e30f7f05%7C3a228dfbc64744cb88357b20617fc906%7C0%7C1%7C637790477976114416%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4ZRIAL%2Fl4GvFSAjTRJUVon56zQIRqHMmPZy%2FGO8ylBw%3D&reserved=0>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] CACC model

2022-01-29 Thread Jakob Erdmann
Hello,
the attributes for CACC and ACC are currently not accessible via TraCI
getParameter. If you do not set them in your xml input, they take on the
default values listed at
https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#car-following_model_parameters

Am Sa., 29. Jan. 2022 um 08:52 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> Hi ,
>
>
>
> I am using CACC model for vehicles even then the speed improvements were
> not found. I want to check if the attributes of CACC are implemented or not
> for a vehicle in traci, for ex “speedControlGain”. What would be the traci
> command for this? Should this work “ traci.vehicle.getParameter(veh_id,
> "carFollowModel.speedControlGain"))”
>
>
>
> Have all the attributes of CACC are implemented into SUMO so that if I
> just specify CACC to a vehicle type in route file is that sufficient or
> should I use traci to set the parameter values. Similarly can I know for
> ACC as well?
>
>
>
> Regards,
>
> V.H.Pradeep
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] how to change individual lane width when it is specified as "lane specific"

2022-01-29 Thread Jakob Erdmann
Note that, for "normal" junctions, there will be a priority relationship
between the conflicting connections (visualized as grey and white
connection colors). Consequently, drivers will still prefer the lane that
enters with priority to the lane that must yield. If you wish to have both
lanes used equally, set the junction type to 'zipper' (
https://sumo.dlr.de/docs/Networks/PlainXML.html#node_types)

Am Sa., 29. Jan. 2022 um 09:55 Uhr schrieb Rob Maris :

> Excellent!
>
> the alt-4 is a bit counterintuitive. Why?. Because this action flag is
> default on, and I'd interprete that as lane select (the more specific case
> related to the generic edge, which is in fact the container for lanes as
> well as the basic drawing construct). shift-click works perfect for doing
> some casual lane operations.
> I opted for narrowing instead of making a single wide lane after your
> advice.
>
> Regarding the other problem of a never occupied lane before a junction:
> This has been solved by introduction of two lanes on the junction output.
> But because after a few hundred meter a *real* narrowing to one lane was
> to be executed, the problem was merely shifted towards that place (at a
> small junction to a side street). But because of the simplicity of that
> junction, I had (yesterday) the insight that a "transfer from-to line"
> trough the junction was missing. As I experimented some time before coping
> with this problem, I already noted that you cannot select a yellow
> (conflict) target. Well, yesterday I saw that under the C mode the option
> is *documented* that CTRL-click allows targeting towards a "conflicting"
> lane. Voilà!
>
> Since I know that the drivers in the simulations behaves as real humans do
> :-), during simulation, no accidents occur on the narrowing spot.
>
>
> Am 29.01.2022, 00:36 Uhr, schrieb Jakob Erdmann :
>
> Either
> - toggle the 'clicking should select edges' button (Alt+4)
> - or shift-click to inspect the lane
>
> It is possible to have vehicles driving side by side on a wide line when
> activating the sublane model (
> https://sumo.dlr.de/docs/Simulation/SublaneModel.html) but often it is
> simpler and more performant to use two narrow lanes instead.
>
> Am Fr., 28. Jan. 2022 um 19:19 Uhr schrieb Rob Maris :
>
>> In a design which originated from the Webwizard (OSM), I'm encountering
>> quite a lot of edges with "lane specific" widths, because the OSM supplied
>> many edges containing red bicycle lanes. There seems to be no table in the
>> inspect edge mode for this case to adjust the lane widths. The regular
>> lanes should be narrower in order to reflect extra wide single lanes where
>> it is formally allowed to drive alongside if space is present.
>> Or can the extra wide lane be modeled such that passenger cars drive
>> alongside? (e.g. when coming from a street section having two (true),
>> normal width lines)
>>
>> Thanks for any help appreciated!
>>
>> Rob
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
>
>
> --
> Dem Ingeniör ist nichts zu schwör (außer bei Force Majör)
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] FCD Output

2022-01-29 Thread Jakob Erdmann
x,y are global coordinates and may take on any value. (i.e. if the
coordinate origin 0,0 is in the center of your network).
If you are looking for a lane-relative coordinate system, you can use the
'pos' attribute which denotes the driven distance from the start of the
current lane.
When using the sublane model, the --netstate-output also includes 'posLat'
(lateral offset from the center of the lane).

Am Sa., 29. Jan. 2022 um 00:49 Uhr schrieb Hem :

> Hi,
>
> When using FCD output, the 'x' and 'y' indicate the vehicle position in
> the x- and y- direction. Vehicles are going in one direction, what do the
> negative x and negative y values indicate? If all vehicles are going in one
> direction, doesn't that mean it should have a positive value for 'x' and
> 'y'?
>
> Thanks.
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] how to change individual lane width when it is specified as "lane specific"

2022-01-28 Thread Jakob Erdmann
Either
- toggle the 'clicking should select edges' button (Alt+4)
- or shift-click to inspect the lane

It is possible to have vehicles driving side by side on a wide line when
activating the sublane model (
https://sumo.dlr.de/docs/Simulation/SublaneModel.html) but often it is
simpler and more performant to use two narrow lanes instead.

Am Fr., 28. Jan. 2022 um 19:19 Uhr schrieb Rob Maris :

> In a design which originated from the Webwizard (OSM), I'm encountering
> quite a lot of edges with "lane specific" widths, because the OSM supplied
> many edges containing red bicycle lanes. There seems to be no table in the
> inspect edge mode for this case to adjust the lane widths. The regular
> lanes should be narrower in order to reflect extra wide single lanes where
> it is formally allowed to drive alongside if space is present.
> Or can the extra wide lane be modeled such that passenger cars drive
> alongside? (e.g. when coming from a street section having two (true),
> normal width lines)
>
> Thanks for any help appreciated!
>
> Rob
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] usage of the ~.setStop() method

2022-01-28 Thread Jakob Erdmann
Possibly, you are issuing a new setStop command to the same vehicle
repeatedly which prolongs the stop each time.

Am Fr., 28. Jan. 2022 um 13:57 Uhr schrieb ali mirzaei :

> Regarding to what you said, I defined my flow as following:
>  "red" length = "5.5" maxSpeed = "30" />
>  departLane = "0" arrivalLane = "0" number = "5"  from = "e1" to = "e3" />"
> Then I called the flow with this part of the code:
> for veh_id in traci.vehicle.getIDList():
> length = traci.vehicle.getLength(veh_id)
> lane_id = traci.vehicle.getLaneIndex(veh_id)
> if length == 5.5 :
>traci.vehicle.setStop(veh_id, "e2",  laneIndex=0, flags =
> 0, duration = 10)
> I expect vehicles to stop for 10 seconds and then continue their route
> but, they stop there till the end of the simulation making a queue. How can
> I fix this issue?
> Ali
>
> On Fri, Jan 28, 2022 at 3:51 PM Jakob Erdmann 
> wrote:
>
>> Yes. The flow vehicles are numbered consecutively. If your flow is called
>> 'xyz' you can call vehicle.setStop("xyz.23", ...) to stop the corresponding
>> vehicle.
>>
>>
>> Am Fr., 28. Jan. 2022 um 10:02 Uhr schrieb ali mirzaei <
>> alimrz...@gmail.com>:
>>
>>> Hi everyone,
>>> Does the method " traci.vehicle.setstop()" can be applied for a flow of
>>> certain vehicles?
>>> Best regards,
>>> Ali
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] usage of the ~.setStop() method

2022-01-28 Thread Jakob Erdmann
Yes. The flow vehicles are numbered consecutively. If your flow is called
'xyz' you can call vehicle.setStop("xyz.23", ...) to stop the corresponding
vehicle.


Am Fr., 28. Jan. 2022 um 10:02 Uhr schrieb ali mirzaei :

> Hi everyone,
> Does the method " traci.vehicle.setstop()" can be applied for a flow of
> certain vehicles?
> Best regards,
> Ali
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Warning occurs when using the tls_csv2SUMO.py tool

2022-01-28 Thread Jakob Erdmann
Hello,
the tool is meant to write it's results to standard output rather than into
an output file. A typical way to call it would be
tls_csv2SUMO.py defintion.csv net.net.xml > tls.add.xml

the warning itself was due to the linked issue (
https://github.com/eclipse/sumo/issues/10063) and is now fixed. You could
simply replace your version of tls_csv2SUMO.py with this:
https://raw.githubusercontent.com/eclipse/sumo/main/tools/tls/tls_csv2SUMO.py

regards,
Jakob



Am Do., 27. Jan. 2022 um 13:01 Uhr schrieb Louis Tümmler <
l.tuemm...@mobilitaetswerk.de>:

> Hello SUMO-Team,
>
>
>
> I am currently trying to import a static traffic light programm using the
> csv2SUMO tool.
>
> A csv-file according to the example from the SUMO-website has been
> created. I checked the file for missing values or connections but haven´t
> found any.
>
> Yet I get the following warning when I try to implement the program:
>
>
>
> 
>
>  programID="1" offset="0">
>
> missing value O at 0 (1); setting to g
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
>
>
> When i check the program afterwards nothing has changed.
>
> Does anyone know what the problem might be?
>
>
>
>
>
> Thanks in advance
>
>
>
> Louis
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Appropriate demand-generation tool

2022-01-28 Thread Jakob Erdmann
Hello,
I would suggest that you use SAGA to build the initial model and then
calibrate it with the help of the counting data.
Activitygen is not suited for multi-modal scenarios and there are no plans
to continue development on it.
SAGA is actively tested and likely to be maintained for some time.

regards,
Jakob

regards,
Jakob




Am Do., 27. Jan. 2022 um 12:39 Uhr schrieb :

> Hello everyone,
>
> We are going to build a traffic simulation model for a small city (~25k
> inhabitants) with SUMO.
>
> We have a large amount of data, including:
> -the exact number of people+age living in each street,
> -amount of workplaces
> -position of schools, daycare, shops and other POI
> -traffic counts for ~40 positions in the city (edge based, both sides).
>
>
> The model should consider cars, bicycles and pedestrians and we want to
> simulate a representative workday from 0:00 to 24:00.
> Our question is which tool is more suited for a demand-generation model:
> activitygen, SAGA or maybe another tool?
> And which of these tools are still supported/going to be supported in
> the future?
>
> Thank you very much in advance,
> Martin
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Weird behaviour with lane blocking ghost vehicle

2022-01-28 Thread Jakob Erdmann
Thank you for the report,
As you have guessed the problem is related to the length of the vehicle in
relation to the length of the lane.
In short, there was a bug with regard to overtaking long stopped vehicles
that has now been fixed.
(https://github.com/eclipse/sumo/issues/10060)
You can obtain an updated version of sumo starting tomorrow at
https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version

regards,
Jakob

Am Do., 27. Jan. 2022 um 11:19 Uhr schrieb Hriday Sanghvi via sumo-user <
sumo-user@eclipse.org>:

> Hello,
>
> I am using a ghost vehicle to block a part of a lane by setting a custom
> length. However, at a certain set custom length, there is some weird
> behaviour by vehicles in the only other lane where they keep starting and
> stopping in a jerk-like motion. Not sure what exactly is causing this. I
> have *attached a video* to explain the problem. Pasting the relevant
> files here:
>
> *nodes.xml*
>
> 
>>   
>>   
>> 
>
>
> *edges.xml*
>
> 
>>   
>> 
>>
>
> *routes.rou.xml*
>
> 
>> 
>> 
>> > type="veh" route="r0" departLane="random" departSpeed="random"
>> arrivalLane="random" />
>> 
>>
>
> *run.py (Python TraCI code):*
>
> step = 0
>> GHOST_POS = 750.0
>> END = 300.0
>>
>> traci.vehicle.add(vehID='ghost', routeID='r0', typeID='veh', depart=0,
>> departLane=0, departPos=GHOST_POS, departSpeed='random',
>> arrivalLane='current', arrivalPos=GHOST_POS)
>> traci.vehicle.setColor(vehID='ghost',color=(255,0,0))
>> traci.vehicle.setLength(vehID='ghost',length=500) # 300m length has no
>> issues
>>
>> traci.vehicle.setStop(vehID='ghost', edgeID='1f2', pos=GHOST_POS,
>> duration=10, until=END)
>>
>> while step < END:
>> traci.simulationStep()
>>
>> step+=1
>> traci.close()
>>
>
> The same simulation for a ghost vehicle of length 300 (m) poses no issues
> and the vehicles move forward as expected. Is this something to do with the
> total length of the edge/lane compared to that of the ghost vehicle?
>
> Any clue/idea as to what may be causing this will really be appreciated!
>
> Thank you.
>
> Sincerely,
> Hriday
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] lane close reroute

2022-01-27 Thread Jakob Erdmann
The network isn't modified and no new network is saved. The GUI operation
is equivalent to calling traci.edge.setAllowed(edgeID, ["authority"])

Am Do., 27. Jan. 2022 um 18:46 Uhr schrieb Mahima :

> Hi,
>
> I have a query -  when we are running a simulation on sumo-gui and we want
> to close the edge by right-clicking on the edge. Where does the new network
> is saved?
> Which parameters are passed from the user interface to sumo?
>
> Thanks,
> Mahima
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Issue with vehicles entering simultaneously on intersection

2022-01-27 Thread Jakob Erdmann
Hello,
the situation in the roundabout is similar to the weaving situation at a
very short motorway on-off-ramp. The solution outlined at
https://sumo.dlr.de/docs/Simulation/Motorways.html#combined_on-off-ramps
can be applied to the roundabout as well.
Please note, that there may still be deadlocks due to a bug in  the latest
few sumo version.
(https://github.com/eclipse/sumo/issues/10037)
If you still see these deadlocks after adding extra connections, please
update to the latest development version (
https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version)

regards,
Jakob

Am Do., 27. Jan. 2022 um 14:35 Uhr schrieb Alejandro Rodríguez Sánchez <
alrod...@ucm.es>:

> Hello everyone,
>
> I have been noticing that when two vehicles enter in an intersection at
> the same time, they remain stacked no matter who has right of way.
> For example, in the image below, vehicle 1 has right of way. However, it
> won't move and neither the vehicle 2 will move.
> This happens also in TLS-controlled intersections. I have tried modifying
> several parameters as the impatience and impatience time but the vehicles
> remain stacked once they enter the intersection.
> Is this an avoidable situation?
> [image: Stopped_vehicles_roundabout.PNG]
>
> Kind regards,
> Alejandro
> --
> Alejandro Rodríguez Sánchez
> PhD student
> CIEMAT // Universidad Complutense de Madrid
> 28040 Madrid
> email: alrod...@ucm.es
> Website: https://alexrsanchez.github.io/en/
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Calibrating OD with edge count data

2022-01-27 Thread Jakob Erdmann
Hello,
you are posing an interesting question that hasn't really come up before.
It appears that typical scenario creators didn't have access to both
OD-Matrix and counting data. Hence, there is a gap in documentation and
tooling for this use case.
Your thoughts on the matter are correct.

With regard to 1. (using equilibrium routes rather than free-flow routes)
you could employ the following alternatives:
- create candidate routes by loading the trips in sumo and writing
--vehroute-output (see
https://sumo.dlr.de/docs/Demand/Dynamic_User_Assignment.html#oneshot-assignment
)
- create move variance in the routes by running duarouter with option
--weights.random-factor

With regard to 2, you should be able to use the routeSampler.py option
--od-files to ensure that all vehicles are put into the simulation (rather
than only those that pass city-center counting locations). This should in
principle allow a perfect fit with the OD-Matrix.

There are some limitations to this approach:
- there is currently no tooling to generated the od-files (i.e.
https://github.com/eclipse/sumo/issues/10058)
- by using a fixed assignment of trips to edges (from od2trips), you are
losing degrees of freedom that might be needed to match the counting data.
A possible fix is outlined at https://github.com/eclipse/sumo/issues/6890
- there is no guarantee that the sampled routes have a similar frequency
compared to the "equilibrium" input. You can set option --weighted to
improve this likelihood but if the counts go in a particular way you could
get artifacts

Overall I'd be quite interested in hearing about your progress if you chose
to follow the OD2trips + routeSampler approach.
If you happen to work on tooling, pull requests are also welcome.

regards,
Jakob





Am Do., 27. Jan. 2022 um 09:45 Uhr schrieb Schaniel Joel <
joe...@student.ethz.ch>:

> Dear all,
>
>
> I am working with a real-life network in SUMO and could need your advice
> for calibrating the simulation.
> I have an OD-matrix and a network given. Further, I have traffic count
> data from edge counts in the city center (but not from the rest of the
> region).
>
> So far, I have created TAZ's according to my OD matrix and generated trips
> with od2trips. This comes with the benefit that origins and destinations
> are spread over the whole TAZ.
>
> Now, I would like to use routeSampler.py to calibrate the traffic
> according to the edge count data. My idea so far was to:
>
>1. Use duarouter to convert trips to routes (since origins and
>destinations spread over all edges this would basically create a route for
>each trip)
>2. Use this set of routes and my edge counts as input for
>routeSampler.py
>
>
> However, I see two major problems with this approach.
>
>- Duarouter creates all routes based on free-flow speed and does not
>include alternative routes which would only be used during congestion.
>- All traffic count data is from the city center, therefore,
>routeSampler would not use any route that does not pass an edge with
>traffic counts (e.g. traffic that bypasses the city center).
>
>
> The first problem could probably be solved by using duaIterate.py,
> creating a set of routes in the dynamic user equilibrium.
> But the second point seems to be tricky. In the documentary
> ,
> it is also briefly mentioned that OD files can be used, but only
> edge-based. Could I work with this option to make sure the routes still fit
> the OD more or less?
>
>
> Are my thoughts correct? Would it be better to use another tool to try for
> example to scale the OD as a whole to fit the traffic counts?
>
>
> Thanks a lot for your help in advance!
>
>
> Best regards,
>
> Joel
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Reroute

2022-01-27 Thread Jakob Erdmann
If you are loading trips, there is an initial "rerouting" event when the
route between 'from' and 'to' is computed and set.

Am Do., 27. Jan. 2022 um 09:04 Uhr schrieb Mahima :

> Hi,
>
> I have a query. I am running static flow in sumo and rerouting is off
> (device.rerouting.period value is not set). Still on running 1 vehicle on
> sumo, I can see rerouteno=1 in the trip statistic.
>
> Why rerouting will happen when there is no congestion?
>
> http://www.w3.org/2001/XMLSchema-instance";
> xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd";>
>  departSpeed="0.00" departDelay="0.00" arrival="392.50"
> arrivalLane="105262_0" arrivalPos="25.34" arrivalSpeed="11.39"
> duration="392.50" routeLength="5108.81" waitingTime="64.00"
> waitingCount="3" stopTime="0.00" timeLoss="134.08" rerouteNo="1"
> devices="tripinfo_0.0 routing_0.0 fcd_0.0" vType="DEFAULT_VEHTYPE"
> speedFactor="1.06" vaporized=""/>
> 
>
> Thanks,
> Mahima
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Questions regarding lane-specific induction loops and potential visualization error

2022-01-27 Thread Jakob Erdmann
Hello,
all your questions are indeed answered by "this is the way it works in the
meso model".
The mesoscopic simulation generally, doesn't distinguish individual lanes
and rather places all vehicles on an edge in the same queue (or a series of
queues for long edges).
Only for the last segment before an intersections with turning lanes, does
the model switch to using one-queue per lane.
see https://sumo.dlr.de/docs/Simulation/Meso.html#longitudinal_model

regards,
Jakob

Am Do., 27. Jan. 2022 um 08:50 Uhr schrieb Walch Manuel <
manuel.wa...@fh-steyr.at>:

> Dear all,
>
>
>
> In the course of my work with SUMO, I have encountered a few questions or
> issues with my network that I would like to ask for your clarification or
> support.
>
>
>
> 1)
>
> Question regarding the positioning of Induction Loops.
>
> As you can see in the attachment (File: InductionLoop_1.PNG) I tried to
> position some Induction Loops on an edge in my network using NetEdit. Two
> Induction Loops were positioned on each lane of this edge.
>
> But when I load the network and the Additional File with the loops in the
> SUMO-Gui, all Induction Loops are placed on lane 0. (compare file
> InductionLoop_2.PNG), and the ouput for each of the loops after the end of
> the simulation is the same/very similar.
>
> Is it to be expected here that the placed induction loops, in contrast to
> what is drawn in NetEdit, are actually positioned only on one lane as seen
> in the SUMO GUI, and accordingly only record data from this lane? Or are
> the loops only visually displayed on lane 0, and are all data of the edge
> counted, i.e. across all lanes?
>
>
>
> 2)
>
> And the second question:
>
> As you can see in the screenshot VehicleLaneChange_1.PNG I have the
> problem that the vehicles of a jammed edge all change to lane 0 of the next
> edge when crossing the junction. The exact opposite problem can be seen in
> the screenshot VehicleLaneChange_2.PNG on the following edge and junction,
> since these vehicles on lane 0 are again divided among all three lanes of
> the following edge. The lane-to-lane connections have already been checked
> and are modeled correctly.
>
> Could this be a visualization error in the GUI?
>
> If I position Induction Loops on the two relevant edges from the
> screenshot VehicleLaneChange_2.PNG, I can see that the generated data is
> basically similar. This would then, if I again assume that the induction
> loops count the entire edge across all lanes, only occur if all vehicles
> are by mistake displayed on lane 0 in the previous edge.
>
> However, as described in the first question, I cannot position induction
> loops on lane 1, so I could not check whether a loop on the edge on which
> all vehicles are visualized on lane 0 would actually deliver no data.
>
>
>
> Some additional info:
>
> I use a meso model in my example, maybe that contributes to the described
> problems.
>
>
>
> Thank you very much for your support and best regards,
>
> Manuel Walch
>
>
>
> Manuel Walch, BA, MSc
>
> Research Associate
>
>
>
> *Logistikum –*
>
>
> *Department of Logistics at the University of Applied Sciences Up**per
> Austria*
>
> FH OÖ Forschungs & Entwicklungs GmbH
>
> Wehrgrabengasse 1-3
>
> 4400 Steyr/Austria
>
> tel: +43 5 0804 33258
>
> fax: +43 5 0804 33299
>
> e-mail: manuel.wa...@fh-steyr.at
>
> web1: www.logistikum.at
>
> web2: www.fh-ooe.at
>
>
>
> Firmenbuchgericht/Court of registry: Landesgericht Wels
>
> Firmenbuchnummer/Company registration: FN 236733 m
>
>
>
> [image: RZ-Logo-Logistikum-hoch-cmyk-2000x2000px_transparent - Copy]
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] dedicated left turns

2022-01-26 Thread Jakob Erdmann
Increase the lane number (i.e. with netedit inspect mode) and customized
the connections (netedit connection mode).

Am Do., 27. Jan. 2022 um 01:54 Uhr schrieb Royal Bhandari <
royalbhanda...@gmail.com>:

> Hello,
>
> How can I Implement a left-turn lane in my model?
>
> Regards,
> Royal
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Building Walking Areas from Polygons

2022-01-26 Thread Jakob Erdmann
ngle of 179.34 degrees at edge '36', segment 6.
> Warning: Found angle of 100.71 degrees at edge '37', segment 11.
> Warning: Found angle of 179.34 degrees at edge '41', segment 9.
> Warning: Connection '35_0->29_0' is only 0.00m short.
> Warning: Connection '35_0->20_0' is only 0.00m short.
> Warning: Connection '35_0->28_0' is only 0.00m short.
> Warning: Speed of straight connection '36_0->29_0' reduced by 5.58 due to
> turning radius of 12.54 (length=33.70, angle=179.44).
> Warning: Connection '24_0->27_0' is only 0.00m short.
> Warning: Connection '26_0->35_0' is only 0.00m short.
> Warning: Connection '28_0->31_0' has a grade of 6583.49%.
> Warning: Edge '29' has a grade of 13818.38%.
> Warning: Connection '30_0->6_0' has a grade of 532.42%.
> Warning: Edge '31' has a grade of 2280.46%.
> Warning: Edge '33' has a grade of 2624.31%.
> Warning: Edge '34' has a grade of 27317.40%.
> Warning: Connection '36_0->29_0' has a grade of 772.98%.
> Warning: Connection '37_0->39_0' has a grade of 1523.64%.
> Warning: Connection '38_0->9_0' has a grade of 1603.56%.
> Warning: Edge '39' has a grade of 3939.82%.
> Warning: 8 total messages of type: Connection '%' has a grade of %%.
> Warning: 7 total messages of type: Connection '%_%->%_%' is only %m short.
> Warning: 6 total messages of type: Edge '%' has a grade of %%.
> Warning: 13 total messages of type: Found sharp turn with radius % at the
> end of edge '%'.
> Warning: 9 total messages of type: Found sharp turn with radius % at the
> start of edge '%'.
> Success.
>
>
> On Tue, Jan 25, 2022 at 6:13 PM Jakob Erdmann 
> wrote:
>
>> This sounds like a projection issue (i.e. lon,lat interpreted as x,y in
>> m).
>> Possibly your data hasn't set its projection information.
>> You could try setting netconvert option --shapefile.guess-projection
>> Or, your proj installation is faulty (as suggest by the PROJ errors).
>>
>>
>> Am Di., 25. Jan. 2022 um 17:36 Uhr schrieb Sasan Amini <
>> amini...@gmail.com>:
>>
>>> I think this is going to be a "beyond SUMO" problem and rather a GIS
>>> issue, but just to learn from any similar experiences I ask it here.
>>> After setting that and converting polygons to Linestrings (as
>>> expected by NETCONVERT) I get an error about identical node IDs:
>>> ERROR 1: PROJ: proj_identify: Cannot find proj.db
>>> ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db
>>> pj_obj_create: Cannot find proj.db
>>> Warning: Edge '0' connects identical nodes, skipping.
>>> Warning: Edge '1' connects identical nodes, skipping.
>>> Warning: Edge '2' connects identical nodes, skipping.
>>> Warning: Edge '3' connects identical nodes, skipping.
>>> Warning: Edge '4' connects identical nodes, skipping.
>>> Warning: 71 total messages of type: Edge '%' connects identical nodes,
>>> skipping.
>>> Error: No edges loaded.
>>> Quitting (on error).
>>>
>>> On Tue, Jan 25, 2022 at 4:35 PM Jakob Erdmann 
>>> wrote:
>>>
>>>> As the error suggests: set option --shapefile.use-defaults-on-failure
>>>>
>>>> Am Di., 25. Jan. 2022 um 16:33 Uhr schrieb Sasan Amini <
>>>> amini...@gmail.com>:
>>>>
>>>>> Thanks for the answer Jakob. I already tried --ignore-errors but I
>>>>> still get errors regarding number of lanes and speed:
>>>>> ERROR 1: PROJ: proj_identify: Cannot find proj.db
>>>>> ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db
>>>>> Error: Required field 'nolanes' or 'speed' is missing (add fields or
>>>>> set option --shapefile.use-defaults-on-failure).
>>>>> Error: Available fields: material parents level note Shape_Leng
>>>>> Shape_Area parents_2 crossing
>>>>> Error: No nodes loaded.
>>>>> Quitting (on error).
>>>>>
>>>>> On Tue, Jan 25, 2022 at 4:02 PM Jakob Erdmann 
>>>>> wrote:
>>>>>
>>>>>> Netconvert supports shapefile input (
>>>>>> https://sumo.dlr.de/docs/Networks/Import/ArcView.html)
>>>>>> If you set option --ignore-errors, it will tolerate missing fromNode
>>>>>> and toNode ids.
>>>>&

Re: [sumo-user] Tapered lanes

2022-01-26 Thread Jakob Erdmann
Sumo does not allow for tapared lanes. One of the core
assumptions/constraints of the network model is that each lane has a fixed
width along it's length.
If you need smooth transitions between sections of different widths or lane
count, you must create elongated junctions (by increasing junction
attribute 'radius' or setting a custom junction shape). The smooth
transitions are then modeled via the shapes of junction-internal lanes
(which may overlap each other) and which can be customized.

Am Do., 27. Jan. 2022 um 03:00 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> Hello All,
>
>
>
> I would like to know is there a way to provide tapered lanes especially at
> the junctions were ramps are provided . Instead of having an additional
> that enters into ramps I would like to have a tapered lane that increases
> in width and reaches the width the of two lanes at the nose of ramp.
>
> Please let me know if it is possible to have such feature in sumo
>
>
>
> Regards,
>
> V.H.Pradeep
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] The latest release: Vehicle occupancy information collection

2022-01-25 Thread Jakob Erdmann
This information is only available through the gui at the moment. However,
the need for TraCI additions has been recognized already:
https://github.com/eclipse/sumo/issues/9883

Am Di., 25. Jan. 2022 um 17:43 Uhr schrieb 何润恺 :

> Hello Dear Sumo Team and Users,
>
> I am excited for the latest release 1.12.0, the new features of parking
> searching will provide a great help for our work.
>
> I would like to ask how to get the the information of “ Vehicles now
> collect occupancy information for all parkingareas along the way during
> parking search. Issue #9645”.
>
> Is this information available through traci  during the sumo running?
>
> BR,
> Runkai
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Building Walking Areas from Polygons

2022-01-25 Thread Jakob Erdmann
This sounds like a projection issue (i.e. lon,lat interpreted as x,y in m).
Possibly your data hasn't set its projection information.
You could try setting netconvert option --shapefile.guess-projection
Or, your proj installation is faulty (as suggest by the PROJ errors).


Am Di., 25. Jan. 2022 um 17:36 Uhr schrieb Sasan Amini :

> I think this is going to be a "beyond SUMO" problem and rather a GIS
> issue, but just to learn from any similar experiences I ask it here.
> After setting that and converting polygons to Linestrings (as expected by
> NETCONVERT) I get an error about identical node IDs:
> ERROR 1: PROJ: proj_identify: Cannot find proj.db
> ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db
> pj_obj_create: Cannot find proj.db
> Warning: Edge '0' connects identical nodes, skipping.
> Warning: Edge '1' connects identical nodes, skipping.
> Warning: Edge '2' connects identical nodes, skipping.
> Warning: Edge '3' connects identical nodes, skipping.
> Warning: Edge '4' connects identical nodes, skipping.
> Warning: 71 total messages of type: Edge '%' connects identical nodes,
> skipping.
> Error: No edges loaded.
> Quitting (on error).
>
> On Tue, Jan 25, 2022 at 4:35 PM Jakob Erdmann 
> wrote:
>
>> As the error suggests: set option --shapefile.use-defaults-on-failure
>>
>> Am Di., 25. Jan. 2022 um 16:33 Uhr schrieb Sasan Amini <
>> amini...@gmail.com>:
>>
>>> Thanks for the answer Jakob. I already tried --ignore-errors but I still
>>> get errors regarding number of lanes and speed:
>>> ERROR 1: PROJ: proj_identify: Cannot find proj.db
>>> ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db
>>> Error: Required field 'nolanes' or 'speed' is missing (add fields or set
>>> option --shapefile.use-defaults-on-failure).
>>> Error: Available fields: material parents level note Shape_Leng
>>> Shape_Area parents_2 crossing
>>> Error: No nodes loaded.
>>> Quitting (on error).
>>>
>>> On Tue, Jan 25, 2022 at 4:02 PM Jakob Erdmann 
>>> wrote:
>>>
>>>> Netconvert supports shapefile input (
>>>> https://sumo.dlr.de/docs/Networks/Import/ArcView.html)
>>>> If you set option --ignore-errors, it will tolerate missing fromNode
>>>> and toNode ids.
>>>> Nodes will be added automatically and and nodes within a configurable
>>>> distance (shapefile.node-join-dist) will be merged.
>>>> However, this will only build sidewalks of fixed width.
>>>> There is currently no code that ties together shapefiles with custom
>>>> walkingarea shapes (
>>>> https://sumo.dlr.de/docs/Networks/PlainXML.html#walking_areas)
>>>>
>>>> regards,
>>>> Jakob
>>>>
>>>> Am Di., 25. Jan. 2022 um 13:10 Uhr schrieb Sasan Amini <
>>>> amini...@gmail.com>:
>>>>
>>>>> Dear all,
>>>>> I have a question regarding pedestrian modeling. I have my sidewalk
>>>>> infrastructure in a very accurate shapefile and would like to build a
>>>>> pedestrian/walking network out of it. IS it generally possible to do such
>>>>> conversion using NETCONVERT? Obviously, I don't have nodes or numLanes 
>>>>> etc.
>>>>> in this shapefile.
>>>>> I would appreciate any suggestions.
>>>>>
>>>>> Best,
>>>>> Sasan
>>>>>
>>>>> ___
>>>>> sumo-user mailing list
>>>>> sumo-user@eclipse.org
>>>>> To unsubscribe from this list, visit
>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>>
>>>> ___
>>>> sumo-user mailing list
>>>> sumo-user@eclipse.org
>>>> To unsubscribe from this list, visit
>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Building Walking Areas from Polygons

2022-01-25 Thread Jakob Erdmann
As the error suggests: set option --shapefile.use-defaults-on-failure

Am Di., 25. Jan. 2022 um 16:33 Uhr schrieb Sasan Amini :

> Thanks for the answer Jakob. I already tried --ignore-errors but I still
> get errors regarding number of lanes and speed:
> ERROR 1: PROJ: proj_identify: Cannot find proj.db
> ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db
> Error: Required field 'nolanes' or 'speed' is missing (add fields or set
> option --shapefile.use-defaults-on-failure).
> Error: Available fields: material parents level note Shape_Leng Shape_Area
> parents_2 crossing
> Error: No nodes loaded.
> Quitting (on error).
>
> On Tue, Jan 25, 2022 at 4:02 PM Jakob Erdmann 
> wrote:
>
>> Netconvert supports shapefile input (
>> https://sumo.dlr.de/docs/Networks/Import/ArcView.html)
>> If you set option --ignore-errors, it will tolerate missing fromNode and
>> toNode ids.
>> Nodes will be added automatically and and nodes within a configurable
>> distance (shapefile.node-join-dist) will be merged.
>> However, this will only build sidewalks of fixed width.
>> There is currently no code that ties together shapefiles with custom
>> walkingarea shapes (
>> https://sumo.dlr.de/docs/Networks/PlainXML.html#walking_areas)
>>
>> regards,
>> Jakob
>>
>> Am Di., 25. Jan. 2022 um 13:10 Uhr schrieb Sasan Amini <
>> amini...@gmail.com>:
>>
>>> Dear all,
>>> I have a question regarding pedestrian modeling. I have my sidewalk
>>> infrastructure in a very accurate shapefile and would like to build a
>>> pedestrian/walking network out of it. IS it generally possible to do such
>>> conversion using NETCONVERT? Obviously, I don't have nodes or numLanes etc.
>>> in this shapefile.
>>> I would appreciate any suggestions.
>>>
>>> Best,
>>> Sasan
>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Building Walking Areas from Polygons

2022-01-25 Thread Jakob Erdmann
Netconvert supports shapefile input (
https://sumo.dlr.de/docs/Networks/Import/ArcView.html)
If you set option --ignore-errors, it will tolerate missing fromNode and
toNode ids.
Nodes will be added automatically and and nodes within a configurable
distance (shapefile.node-join-dist) will be merged.
However, this will only build sidewalks of fixed width.
There is currently no code that ties together shapefiles with custom
walkingarea shapes (
https://sumo.dlr.de/docs/Networks/PlainXML.html#walking_areas)

regards,
Jakob

Am Di., 25. Jan. 2022 um 13:10 Uhr schrieb Sasan Amini :

> Dear all,
> I have a question regarding pedestrian modeling. I have my sidewalk
> infrastructure in a very accurate shapefile and would like to build a
> pedestrian/walking network out of it. IS it generally possible to do such
> conversion using NETCONVERT? Obviously, I don't have nodes or numLanes etc.
> in this shapefile.
> I would appreciate any suggestions.
>
> Best,
> Sasan
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] SUMO 1.12.0 released

2022-01-25 Thread Jakob Erdmann
Dear friends and users,
we are happy to announce the release of SUMO version 1.12.0.
The download links are at https://sumo.dlr.de/docs/Downloads.html

This release brings you exciting changes for the simulation of traffic
lights as well as many new features to simulate cruising for parking.
It also fixes a regression in intermodal network building and therefore
come a bit ahead of schedule.
Even though the list below is long, it only contains a subset of all
changes.
For the full list, as always see http://sumo.dlr.de/wiki/ChangeLog

=== Enhancements ===

- Simulation
  - Traffic lights of type 'actuated' and 'delay_based' now support
attributes 'earliestEnd', 'latestEnd' and param 'cycleTime' to configure
coordination.
  - Traffic lights of type 'actuated' now support custom logical conditions
for switching.
  - Many new parameters for traffic light type 'NEMA' to support different
operating modes
  - Parking search now permits opportunistic parking along the way and
configurable "intuition" about target occupancy.
  - Persons are now included in saved simulation state when setting option
--save-state.transportables.
  - Vehicle attribute departSpeed now supports the values 'last' and 'avg'
(both support higher insertion flows than alternative values).

- sumo-gui
  - Many enhancements to the traffic light "Track Phases" window. Among
other things, it can now show the state of detectors and switching
conditions.
  - Parameter tracker window supports multiple plots and shows the values
at the cursor
  - Additional parking search visualization for vehicles and roads
  - Vehicle size can now be scaled by attribute.
  - All text setting now have the checkbox "only for selected" to display
text selectively.

- netedit
  - Trips and flows between junctions (fromJunction, toJunction) are now
supported.
  - The name prefixes for all created additional elements can now be
configured and their defaults have been shortened.
  - All elements of a side frame can now be collapsed/expanded.
  - Loading and setting of vTypeDistributions is now supported.
  - Lane change prohibitions (changeLeft, changeRight) are now visualized.
  - Selections can now be modified based on object hierarchy (i.e. to
selection junctions for all selected edges).
  - Improved visibility for short edges.

- netconvert
  - OSM: import of public transport now supports share_taxi (PUJ) and
minibus.
  - OSM: attribute turn:lanes is now used to determine lane-to-lane
connections when option --osm.turn-lanes is set.
  - Several improvements to OpenDRIVE import and export

- tools
  - generateParkingAreaRerouters.py: multiple new options to customize
parking search
  - addStops2Routes.py: Can now generate stationary traffic to fill each
parkingArea to a configurable occupancy.
  - Added tool generateParkingAreas.py to generate parkingAreas for some or
all edges of a network.
  - randomTrips.py now supports option --random-depart to randomize
departure times.
  - randomTrips.py: now support option --fringe-junctions to determine the
fringe from junction attribute 'fringe'.
  - tripinfoByType.py: now supports option --interval to aggregated data by
depart time or by arrival time
  - emissionsDrivingCycle now permits loading of electric vehicle params
via the new options --vtype and --additional-files.

=== Bugfixes ===

- simulation
  - Fixed bug where persons could enter the wrong vehicle and thereby cause
a taxis simulation to crash. (regression in 1.11.0)
  - Fixed various issues with emergency vehicle behavior
  - Fixed various bugs in parking search
  - Fixed varous bugs in taxi simulation
  - Fixed bugs for carFollowModels EIDM and Wiedemann
  - Fixed junction collisions
  - Fixes to opposite direction driving
  - Several bugfixes for traffic light type 'NEMA'

- netedit
  - Fixed bug preventing inspection of tazRelations.
  - Fixed invalid weights of sinks and sources when loading taz from file.
  - Fixed crash on undo after resetting connections.
  - Fixed missing 'end' attribute when converting trip to flow.
  - Routes now longer have a color unless set by the user.
  - Stops can no longer be created on edges that do not belong to the route.
  - When splitting an edge, all routes passing that edge are now adapted.

- sumo-gui
  - Fixed crash when using guiShape "truck/trailer" or "truck/semitrailer"
for short vehicles. (regression in 1.11.0)
  - Fixed occasional freezing during person simulation.

- netconvert
  - Fixed invalid network when importing public transport and sidewalks.
(regression in 1.10.0)
  - Fixed multiple bugs in OpenDRIVE import (Re-import your networks for
improved geometrical accuracy)
  - Fixed unsafe location of internal junctions that were causing
collisions in the simulation.
  - Fixed unsafe intersection rules that could cause emergency braking at
pedestrian crossing.
  - Fixed invalid connectivity at motorway ramp when importing OSM lane
change prohibitions.
  - Options --tls.group-signals and --tls.ungroup-signals n

Re: [sumo-user] collision avoidance mode in ACC

2022-01-24 Thread Jakob Erdmann
Yes.
However, it's still unsafe under some parameter settings (i.e. step-length
1s).

Am Mo., 24. Jan. 2022 um 23:20 Uhr schrieb Royal Bhandari <
royalbhanda...@gmail.com>:

> Hello,
>
> Is the Collision avoidance mode developed by TransAID implemented in the
> default ACC model?
>
> Regards,
> Royal
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Increasing the density

2022-01-24 Thread Jakob Erdmann
I'm not sure what kind of links are useful to you if you find those two
suggestions unclear.
- The tutorial at https://sumo.dlr.de/docs/Tutorials/FundamentalDiagram.html
which you already read, introduced the concept of reducing the speed
locally to increase traffic density. A traffic light has the same effect
since it periodically reduces the speed to 0 by switching to red. I
sincerely hope you are able to find out about traffic lights in SUMO by
reading the documentation or searching google for "sumo traffic light"
- the concept of traffic from multiple edges which merges at an
intersection is so very basic that there is no documentation for it. Doing
any of the introductory tutorials should give you the necessary knowledge (
https://sumo.dlr.de/docs/Tutorials/index.html#beginner_tutorials).

regards,
Jakob


Am Mo., 24. Jan. 2022 um 15:21 Uhr schrieb Royal Bhandari <
royalbhanda...@gmail.com>:

> Hello Jakob,
>
> By any chance do you happen to have the links for:
>
> - modify local density with traffic lights
> - merge traffic from multiple edges
>
> Regards,
> Royal
>
> On Mon, Jan 24, 2022 at 1:43 AM Jakob Erdmann 
> wrote:
>
>> Possibilities:
>> - increase insertion density (
>> https://sumo.dlr.de/docs/Simulation/RoadCapacity.html)
>> - modify local density with traffic lights
>> - merge traffic from multiple edges
>>
>> Am So., 23. Jan. 2022 um 00:57 Uhr schrieb Royal Bhandari <
>> royalbhanda...@gmail.com>:
>>
>>> Hello,
>>>
>>> How can I increase the density to obtain a density vs flow plot? There
>>> is only few information on
>>> https://sumo.dlr.de/docs/Tutorials/FundamentalDiagram.html
>>>
>>> Regards,
>>> Royal
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] TraCI: Close a lane to all Vehicles for a given time

2022-01-24 Thread Jakob Erdmann
1.
disallow everything: setDisallowed(laneID, ["all"])
alternatively, allow only a singe class that probably isn't used in your
vehicle input: setAllowed(laneID, ["authority"]). Bonus: the lane will be
orange in the GUI.

2.
Not with traci, but you can do time-based permission changes with XML
input: https://sumo.dlr.de/docs/Simulation/Rerouter.html#closing_a_lane


Am Mo., 24. Jan. 2022 um 19:11 Uhr schrieb Jordan Mc Connon <
jordan.mcconn...@mail.dcu.ie>:

> Hi,
> I'm using TraCI's python API to control my SUMO simulation
> and need to close off (for all vehicle types) a given Lane, *L*, for some
> period of time, *D*.
>
> traci.lane.setDisallowed()
>
> Seems to be the only solution to close the lane off, however it requires
> me to specify a list of all vehicle classes I want to disallow (and unlike
> the setAllowed command doesn't assume that empty arguments means all
> vehicles).
>
> (1) I don't know what this list needs to be so it disallows all  vehicles,
> if someone could provide that, it would be much appreciated.
>
> (2) In terms of re-allowing the Lane after time D, I am currently using a
> datastructure in the python script and doing the time keeping manually, is
> there a better way to do this via TraCI?
>
> Regards,
> Jordan McConnon
>
>
> *Séanadh Ríomhphoist/Email DisclaimerTá an ríomhphost seo agus aon chomhad
> a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin
> é. Is féidir tuilleadh a léamh anseo.
> 
> This e-mail and any
> files transmitted with it are confidential and are intended solely for use
> by the addressee. Read more here.
>  *
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Regarding Queue Length

2022-01-24 Thread Jakob Erdmann
SUMO "knows" all the queued vehicles so no clever math is needed. It's
simply a threshold for "halting" speed (configurable for laneAreaDetector)
and the sum of the lengths and gaps.

Am Mo., 24. Jan. 2022 um 10:20 Uhr schrieb Radha Reddy <
radha.reddy@gmail.com>:

> Many thanks Jakob,
>
> Are there any mathematical formulations behind this queue length in meters?
>
> Regards
> Radha
>
> On Mon, Jan 24, 2022 at 8:18 AM Jakob Erdmann 
> wrote:
>
>> queue-output only gives output in meters but the laneArea detector also
>> provides jam lengths in vehicle number. See
>> https://sumo.dlr.de/docs/Simulation/Output/Lanearea_Detectors_%28E2%29.html#generated_output
>>
>> Am So., 23. Jan. 2022 um 17:06 Uhr schrieb Radha Reddy <
>> radha.reddy@gmail.com>:
>>
>>> Hello Again,
>>>
>>> I have been wondering if there is any formulation utilized in estimating
>>> the queue length by the SUMO framework.
>>>
>>> Does it only produce the queue length in meters?
>>>
>>> Regards
>>> Radha
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] simpla

2022-01-24 Thread Jakob Erdmann
In your vTypeMap, change the id 'orig_automated' to 'automated'.

Am Sa., 22. Jan. 2022 um 08:25 Uhr schrieb Yajun She :

> Hello,
>
> I tried to implement 'simpla' to create platoon using the following simpla
> configuration file and route file:
> 
> 
>  follower="follower_automated" />
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
>  sigma="0.5" length="5" maxSpeed="60" color="white"/>
> 
> 
> 
>
> 
> 
>
>  vehsPerHour="1600"/>
>  vehsPerHour="1600"/>
> 
>
> However, I am facing this issue while loading "simpla" configuration file:
> C:\Python37\python.exe C:/pythonProject/main.py
> 1.0: WARNING: No vType specified for PlatoonMode 'LEADER' for vehicle
> 'flow_0.0'. Behavior within platoon is NOT altered. This warning is issued
> only once. (PVehicle)
> 1.0: WARNING: No vType specified for PlatoonMode 'FOLLOWER' for vehicle
> 'flow_0.0'. Behavior within platoon is NOT altered. This warning is issued
> only once. (PVehicle)
> 1.0: WARNING: No vType specified for PlatoonMode 'CATCHUP' for vehicle
> 'flow_0.0'. Behavior within platoon is NOT altered. This warning is issued
> only once. (PVehicle)
> 1.0: WARNING: No vType specified for PlatoonMode 'CATCHUP_FOLLOWER' for
> vehicle 'flow_0.0'. Behavior within platoon is NOT altered. This warning is
> issued only once. (PVehicle)
>
> I don't know if I have to change any other configuration, hope anyone of
> you can help me out!
>
> Best regards and thanks,
> Yajun
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] [EXTERNAL] Re: Collisions

2022-01-24 Thread Jakob Erdmann
The intended design of the simulation is to never create a collision on
insertion unless this is forced via TraCI. Thus, your observation indicates
a bug that should be fixed.
If you could send me a minimal version of xml input files (i.e. as a zip
archive) that reproduce the faulty behavior, this would aid in fixing the
problem.
Collisions during the 'move' stage might also be due to "dangerous" model
parameters or limitations of the CACC model. I'd have too look at the
simulation myself to determine whether it's a bug or a feature (hence input
files would be helpful).

Am Mo., 24. Jan. 2022 um 09:14 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> Appears to be my understanding is wrong, the documentation (VehicleInsertion
> - SUMO Documentation (dlr.de)
> <https://sumo.dlr.de/docs/Simulation/VehicleInsertion.html#effect_of_simulation_step-length>)
> states the sloppy insert is preferred all the time. Not sure on the error
> received.
>
>
>
> Regards,
>
> V.H.Pradeep
>
>
>
> *From:* sumo-user  *On Behalf Of *Pradeep
> Viyaluru Harinath
> *Sent:* Monday, January 24, 2022 2:00 AM
> *To:* Sumo project User discussions 
> *Subject:* Re: [sumo-user] [EXTERNAL] Re: Collisions
>
>
>
> I suppose the flow is so huge that the segment reaches the capacity even
> if we could insert the vehicle this is potentially causing the collision to
> take place. Let me know if my understanding is incorrect here.
>
>
>
> I have another instance where the collision occurs because of the
> ‘stage=move’ as attached, what could be the potential reason for that
>
>
>
> Regards,
>
> V.H.Pradeep
>
>
>
> *From:* sumo-user  *On Behalf Of *Pradeep
> Viyaluru Harinath
> *Sent:* Monday, January 24, 2022 1:53 AM
> *To:* Sumo project User discussions 
> *Subject:* Re: [sumo-user] [EXTERNAL] Re: Collisions
>
>
>
> This is the route file for a base scenario similar to what is being
> observed I have been modifying the available default attributes , to model
> the flow. When the flow supplied is small it performs well with the
> exceptions that I receive warnings however when the flow is increased say
> doubled collisions begin to take place due to unavailability of headways I
> suppose.
>
>
>
> Regards,
>
> Pradeep V.H
>
>
>
> *From:* sumo-user  *On Behalf Of *Jakob
> Erdmann
> *Sent:* Monday, January 24, 2022 1:45 AM
> *To:* Sumo project User discussions 
> *Subject:* Re: [sumo-user] [EXTERNAL] Re: Collisions
>
>
>
> Please provide a minimal version of your scenario that reproduces these
> collisions (I'm particularly interested in  'stage=insertion').
>
>
>
> Am Mo., 24. Jan. 2022 um 08:41 Uhr schrieb Pradeep Viyaluru Harinath <
> pradeep.viyaluruharin...@utsa.edu>:
>
> I have configuration file based on XMLs , all I do with Traci is to create
> a loop so that it starts the sumo on command prompt and keeps running
> without closing.
>
>
>
> Regards,
>
> V.H.Pradeep
>
>
>
> *From:* sumo-user  *On Behalf Of *Jakob
> Erdmann
> *Sent:* Monday, January 24, 2022 1:38 AM
> *To:* Sumo project User discussions 
> *Subject:* [EXTERNAL] Re: [sumo-user] Collisions
>
>
>
> *  **EXTERNAL EMAIL***
>   This email originated outside of The University of Texas at San Antonio.
>   Please exercise caution when clicking on links or opening attachments.
>
>
>
> Are you using traci to insert / move the vehicles or can you create these
> collisions with XML inputs alone?
>
>
>
> Am Mo., 24. Jan. 2022 um 08:22 Uhr schrieb Pradeep Viyaluru Harinath <
> pradeep.viyaluruharin...@utsa.edu>:
>
> Hello all,
>
> I am using a CACC model and I reduced the step size to 0.1 as advised
> earlier. Initially the number of teleports were low but when I started
> increasing the flow the vehicles started colliding eventually (as in
> attached) ending up teleported is there some way I can avoid this?
>
>
>
> Regards,
>
> Pradeep V.H
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cpradeep.viyaluruharinath%40utsa.edu%7C490386032fbd4e918a9b08d9df0f8d2a%7C3a228dfbc64744cb88357b20617fc906%7C0%7C1%7C637786080164672181%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ozJ7FOy%2BKbODTYxj9IFvMWIgzt0DRE%2B7dQV5udf8zbA%3D&reser

Re: [sumo-user] Question about Energy Model used in SUMO

2022-01-24 Thread Jakob Erdmann
In the current model, the power requirement is scaled directly with the
propulsion efficiency at all speeds. Thus, the energy consumption will be
doubled if the efficiency is cut in half.
By default, vehicle behavior will not be affected otherwise. The sole
exception is the elechybrid device. It actually limits vehicle acceleration
by the available power and thereby creates a mechanism by which propulsion
efficiency impacts vehicle behavior.

Am Mo., 24. Jan. 2022 um 02:15 Uhr schrieb Ifezue Obiako <
vincentobi...@gmail.com>:

> Hello Everyone
>
> I was adjusting the propulsion efficiency in my SUMO model and I was
> wondering how big of a difference does the propulsion efficiency affect a
> vehicle's performance in SUMO (assuming all other parameters are held
> constant)? For example, I had a scenario that I was running that had a
> propulsion efficiency of 0.95 and a different scenario with a propulsion
> efficiency of 0.44.
>
> Thank you
> Ifezue
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Regarding Queue Length

2022-01-24 Thread Jakob Erdmann
queue-output only gives output in meters but the laneArea detector also
provides jam lengths in vehicle number. See
https://sumo.dlr.de/docs/Simulation/Output/Lanearea_Detectors_%28E2%29.html#generated_output

Am So., 23. Jan. 2022 um 17:06 Uhr schrieb Radha Reddy <
radha.reddy@gmail.com>:

> Hello Again,
>
> I have been wondering if there is any formulation utilized in estimating
> the queue length by the SUMO framework.
>
> Does it only produce the queue length in meters?
>
> Regards
> Radha
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] No module named 'matplotlib'

2022-01-24 Thread Jakob Erdmann
There currently isn't support for this but there are plans to add this for
future versions (https://github.com/eclipse/sumo/issues/10026).
For now, you have to do your own post-processing of edgeData.

Am So., 23. Jan. 2022 um 16:28 Uhr schrieb Royal Bhandari <
royalbhanda...@gmail.com>:

> Thanks got it. However, I have a question.
>
> This plotXMLAttributes.py is used to show the density vs volume plot for
> individual edges. Is there a way to represent the av density vs av volume
> of the specified edges only or av density vs av volume of the whole network?
>
> Regards,
> Royal
>
> On Sun, Jan 23, 2022 at 2:00 AM Harald Schaefer 
> wrote:
>
>> Hello,
>>
>> You must add the place, where you have installed matplotlib to the
>> PYTHONPATH variable.
>>
>> Search the internet for "python windows PYTHONPATH" for more info
>>
>> Regards, Harald
>> Am 23.01.22 um 07:15 schrieb Royal Bhandari:
>>
>> Hello,
>>
>> I am trying to use plotXMLAttributes.py but it gives me an error (see
>> attached picture). I already have matplotlib installed. Why is that error
>> showing?
>>
>> Regards,
>> Royal
>>
>>
>> [image: image.png]
>>
>> ___
>> sumo-user mailing listsumo-u...@eclipse.org
>> To unsubscribe from this list, visit 
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Modeling human drivers' large reaction time

2022-01-23 Thread Jakob Erdmann
Using action step length is the recommended way if the reaction times are
variable over your vehicle population or if you need high-frequency
position information.
Otherwise you could also increase the simulation step-length.

If you mostly want to capture the differences in following distances (which
drivers usually increase in response to self-awareness of reaction times),
you could simply modify the driver 'tau' values instead (but drivers would
then react with whatever step-length is set).

Am So., 23. Jan. 2022 um 14:19 Uhr schrieb Mohit Garg via sumo-user <
sumo-user@eclipse.org>:

> Hi guys,
>
> I am modeling human drivers' large reaction time using a large value of
> action step length. Is this a correct approach? I am wondering whether some
> other approaches are available to model large reaction time in simulations?
>
> Any suggestion would be appreciated.
>
> Thanks.
>
> Kind regards,
> Mohit
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] [EXTERNAL] Re: Collisions

2022-01-23 Thread Jakob Erdmann
Please provide a minimal version of your scenario that reproduces these
collisions (I'm particularly interested in  'stage=insertion').

Am Mo., 24. Jan. 2022 um 08:41 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> I have configuration file based on XMLs , all I do with Traci is to create
> a loop so that it starts the sumo on command prompt and keeps running
> without closing.
>
>
>
> Regards,
>
> V.H.Pradeep
>
>
>
> *From:* sumo-user  *On Behalf Of *Jakob
> Erdmann
> *Sent:* Monday, January 24, 2022 1:38 AM
> *To:* Sumo project User discussions 
> *Subject:* [EXTERNAL] Re: [sumo-user] Collisions
>
>
>
> *  **EXTERNAL EMAIL***
>   This email originated outside of The University of Texas at San Antonio.
>   Please exercise caution when clicking on links or opening attachments.
>
>
>
> Are you using traci to insert / move the vehicles or can you create these
> collisions with XML inputs alone?
>
>
>
> Am Mo., 24. Jan. 2022 um 08:22 Uhr schrieb Pradeep Viyaluru Harinath <
> pradeep.viyaluruharin...@utsa.edu>:
>
> Hello all,
>
> I am using a CACC model and I reduced the step size to 0.1 as advised
> earlier. Initially the number of teleports were low but when I started
> increasing the flow the vehicles started colliding eventually (as in
> attached) ending up teleported is there some way I can avoid this?
>
>
>
> Regards,
>
> Pradeep V.H
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cpradeep.viyaluruharinath%40utsa.edu%7Ca31bae0adff0486bc2c908d9df0c73f5%7C3a228dfbc64744cb88357b20617fc906%7C0%7C1%7C637786066863760585%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=U0YurTlAKBke%2B9R5bWrXyjg1F9FoxKMoEsVvI3E1qFo%3D&reserved=0>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Increasing the density

2022-01-23 Thread Jakob Erdmann
Possibilities:
- increase insertion density (
https://sumo.dlr.de/docs/Simulation/RoadCapacity.html)
- modify local density with traffic lights
- merge traffic from multiple edges

Am So., 23. Jan. 2022 um 00:57 Uhr schrieb Royal Bhandari <
royalbhanda...@gmail.com>:

> Hello,
>
> How can I increase the density to obtain a density vs flow plot? There is
> only few information on
> https://sumo.dlr.de/docs/Tutorials/FundamentalDiagram.html
>
> Regards,
> Royal
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] increase flow automatically

2022-01-23 Thread Jakob Erdmann
This isn't currently supported but is planned for later inclusion:
https://github.com/eclipse/sumo/issues/1478

Am So., 23. Jan. 2022 um 00:55 Uhr schrieb Royal Bhandari <
royalbhanda...@gmail.com>:

> Hello,
>
> What if I have to scale particular demands?
> Can I use --scale  to scale only particular demands?
>
> Regards,
> Royal
>
>
> On Fri, Jan 21, 2022 at 1:39 PM Qichao Wang  wrote:
>
>> You can use —scale  to scale the demand.
>>
>> Qichao
>>
>> On Fri, Jan 21, 2022 at 11:21 AM Royal Bhandari 
>> wrote:
>>
>>> Hello all,
>>>
>>> Is there a way to increase all the flows of my route file by some
>>> percentage? Say I have a route file with,
>>> flow1 = 1000 vph and flow2= 1500 vph
>>>
>>> And I want to double the flow
>>> updated_flow1 = 2000 vph and updated_flow2 = 3000 vph
>>>
>>>
>>> Regards,
>>> Royal
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Collisions

2022-01-23 Thread Jakob Erdmann
Are you using traci to insert / move the vehicles or can you create these
collisions with XML inputs alone?

Am Mo., 24. Jan. 2022 um 08:22 Uhr schrieb Pradeep Viyaluru Harinath <
pradeep.viyaluruharin...@utsa.edu>:

> Hello all,
>
> I am using a CACC model and I reduced the step size to 0.1 as advised
> earlier. Initially the number of teleports were low but when I started
> increasing the flow the vehicles started colliding eventually (as in
> attached) ending up teleported is there some way I can avoid this?
>
>
>
> Regards,
>
> Pradeep V.H
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Traci findIntermodalRoute Question

2022-01-23 Thread Jakob Erdmann
Hello,
the travel time of public transport connections is taken directly from your
schedule input and includes the time to wait for the bus. Please recheck
the loaded schedule for the travel time from the origin stop to the
destination stop.  See
https://sumo.dlr.de/docs/Simulation/Public_Transport.html#public_transport_schedules
For public transport stages, the edge list only holds the arrival edge
rather than the whole route of the public transport vehicle. This is for
technical reasons (the graph of connected public transport stations is used
instead of the graph of network edges during this part of the route search).

regards,
Jakob

Am Fr., 21. Jan. 2022 um 23:22 Uhr schrieb Zhenglin Wei via sumo-user <
sumo-user@eclipse.org>:

> Dear all,
>
> Hi, I am trying to use traci.simulation.findIntermodalRoute to compare
> found routes between modes = "public" and modes = "car". My question is
> that when I set modes="public", only the first edge is included in any
> public transportation stage  (please refer to the underlined Stage object
> below). Also, the travel time of this particular stage seems to be
> extremely short on a similar length compared to a car.  If we compare the
> travel time of driving or taking public transport from the same begin edge
> and end edge, the travel time on cars is significantly large than it on
> public transport (no bus-only lane or anything else that privileges buses)
> . Please see the two routes below.
>
> So I am wondering if my understanding of how Traci.findIntermodalRoute
> works are correct or if there is any way to obtain the right travel time on
> any stage that uses public transport?
>
> Thanks so much for your help!
>
>
>  - test_route =
> traci.simulation.findIntermodalRoute(beg_edge,end_edge,walkFactor = 0.75,
> modes = "public")
>
>
> (Stage(type=2, destStop=myStop, edges=('271594087#1',),
> travelTime=28.8009618, cost=28.8009603,
> length=30.0009998, depart=97.0, departPos=0.0, arrivalPos=30.0), 
> *Stage(type=3,
> line=bus, destStop=myStop_2, edges=('-367152826#15',),
> travelTime=44.199959, cost=44.1999604,
> length=7428.412650498181, intended=bus.3, depart=160.0, departPos=0.0,
> arrivalPos=7428.411650498181)*, Stage(type=2, edges=('-367152826#15',),
> travelTime=61.132803, cost=61.132803,
> length=221.039905, depart=170.00092, departPos=30.0,
> arrivalPos=93.68))
>
>  - test_route_2 =
> traci.simulation.findIntermodalRoute(beg_edge,end_edge,walkFactor = 0.75,
> modes = "car")
>
> (Stage(type=3, vType=DEFAULT_VEHTYPE, line=car, edges=('271594087#1',
> '271594087#2', '468446551', '468446550', '468446554', '468446552',
> '468446557', '469169585', '468446558#0', '469169584#0', '469169586',
> '469169587', '468446564', '468446563', '468446569', '468446568',
> '468446571', '468446570', '468446573', '468446572', '468446575#0',
> '468446574', '271594082#0', '271594082#1', '397335170', '397335165',
> '397335171', '397335168', '397335163', '397335166', '397335173',
> '397335181#0', '397335164', '397335169', '397335175#1', '397335172',
> '397337442#0', '397337442#1', '397337442#2', '397337399', '468425744',
> '397337437', '468425740', '397337410', '397337421', '397337431',
> '271551907#0', '271551907#1', '469148829', '50530132', '50530138',
> '397337440', '397337426', '397337375', '397337394', '397337405#0',
> '397337416', '397337441#1', '397337348', '271604499#0', '271604499#2',
> '271604499#4', '469161075', '469161077', '397277227', '397277234#0',
> '397277229', '397277228', '397277233', '397277574', '397277577',
> '271604501#0', '271604501#1', '397277587', '397277585', '397277581#0',
> '397277589#0', '397277600#0', '397277570#0', '397277571#0', '397277580#0',
> '397277591#0', '397277579#0', '397277590#0', '397277578#0', '397277583#0',
> '397277964#0', '397277955#0', '397277602#0', '397277602#2', '397277602#4',
> '-29211235', '-29211234', '-479467013#24', '-479467013#20',
> '-479467013#15', '-479467013#12', '-479467013#7', '-479467013#4',
> '-360946476#6', '-422606470#6', '-397280575#1', '-397280576#1',
> '-397280577#1', '-478603662#1', '-808279244#5', '-808279244#4',
> '-367152826#18', '-367152826#15'),* travelTime=543.8486600934315*,
> cost=543.8486600934317, length=7708.1898, intended=car,
> depart=97.00096, departPos=0.0, arrivalPos=93.68),)
>
> Regards,
> Zhenglin
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Specific arrival rate via randomTrips.py for a specific class of vehicle

2022-01-23 Thread Jakob Erdmann
It depends on the amount of variance you need. Running sumo with 30
different seeds will already add some variance. Regenerating the traffic
input with 30 different seeds will give a major increase in the variance.

Am Fr., 21. Jan. 2022 um 18:49 Uhr schrieb Hervé Diedie <
hervedie...@gmail.com>:

> Sorry, I have one more question to ask.
> I have a simulation campaign with 30 replications to run
> Should I generate 30 different
> versions of each flow file possibly using the --seed option ?  Or any
> other solution  with and without TraCI ?
>
>
> Le ven. 21 janv. 2022 à 07:39, Jakob Erdmann  a
> écrit :
>
>> It's not recommended that you do. Sumo supports loading a comma-separated
>> list of route files with option --route-files (note the plural in the
>> option name).
>>
>> Am Fr., 21. Jan. 2022 um 08:28 Uhr schrieb Hervé Diedie <
>> hervedie...@gmail.com>:
>>
>>> So, how can I combine such generated different flow files into a single
>>> .rou.xml  one ?
>>>
>>> Le ven. 21 janv. 2022 à 07:17, Jakob Erdmann  a
>>> écrit :
>>>
>>>> Yes. By running randomTrips separately for each type with different
>>>> --period values. You must set option --prefix to ensure that each run
>>>> produces distinct vehicle ids.
>>>>
>>>> Am Fr., 21. Jan. 2022 um 08:14 Uhr schrieb Hervé Diedie <
>>>> hervedie...@gmail.com>:
>>>>
>>>>> Actually I wonder if  it is possible to specify an arrival rate for
>>>>> each type of vehicle
>>>>> when generating via randomTrips.py  flows with different types of
>>>>> vehicles (e.g emergency, bus,...).
>>>>>
>>>>>
>>>>>
>>>>> Le ven. 21 janv. 2022 à 06:19, Jakob Erdmann 
>>>>> a écrit :
>>>>>
>>>>>> Please give more details on what you do not understand.
>>>>>> The first line of documentation at the link says "The arrival rate is
>>>>>> controlled by option --period".
>>>>>> To me this seems to answer the question "Is it possible to define
>>>>>> such an arrival rate with randomTrips.py" unambiguously.
>>>>>>
>>>>>> Am Fr., 21. Jan. 2022 um 03:15 Uhr schrieb Hervé Diedie <
>>>>>> hervedie...@gmail.com>:
>>>>>>
>>>>>>> More explanations please.
>>>>>>>
>>>>>>> Le jeu. 20 janv. 2022 à 20:18, Jakob Erdmann 
>>>>>>> a écrit :
>>>>>>>
>>>>>>>> https://sumo.dlr.de/docs/Tools/Trip.html#traffic_volume_arrival_rate
>>>>>>>>
>>>>>>>> Am Do., 20. Jan. 2022 um 17:56 Uhr schrieb Hervé Diedie <
>>>>>>>> hervedie...@gmail.com>:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Is it possible to define such an arrival rate with randomTrips.py
>>>>>>>>> ?
>>>>>>>>>
>>>>>>>>> Best regards.
>>>>>>>>> ___
>>>>>>>>> sumo-user mailing list
>>>>>>>>> sumo-user@eclipse.org
>>>>>>>>> To unsubscribe from this list, visit
>>>>>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>>>>>>
>>>>>>>> ___
>>>>>>>> sumo-user mailing list
>>>>>>>> sumo-user@eclipse.org
>>>>>>>> To unsubscribe from this list, visit
>>>>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>>>>>
>>>>>>> ___
>>>>>>> sumo-user mailing list
>>>>>>> sumo-user@eclipse.org
>>>>>>> To unsubscribe from this list, visit
>>>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>>>>
>>>>>> ___
>>>>>> sumo-user mailing list
>>>>>> sumo-user@eclipse.org
>>>>>> To unsubscribe from this list, visit
>>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>>>
>>>>> ___
>>>>> sumo-user mailing list
>>>>> sumo-user@eclipse.org
>>>>> To unsubscribe from this list, visit
>>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>>
>>>> ___
>>>> sumo-user mailing list
>>>> sumo-user@eclipse.org
>>>> To unsubscribe from this list, visit
>>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>>
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Number of collisions

2022-01-23 Thread Jakob Erdmann
My first recommendation would be to try with the latest version (either the
dev-version from today or version 1.12.0 which will be released tomorrow).
This includes reprocessing the net with the updated netconvert (netconvert
-s old.net.xml -o new.net.xml)
If you still have collisions afterwards, please send in the scenario.

Am Fr., 21. Jan. 2022 um 18:19 Uhr schrieb ali mirzaei :

> Hi everyone,
> In a lane change scenario using the changeSublane method, I assigned the
> default values to the safe parameters and I set the junction type as
> priority but I can not reduce the accident number to zero. Is there any way
> to fix this issue?
> Best regards,
> Ali
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


<    4   5   6   7   8   9   10   11   12   13   >