Re: [sumo-user] Speed-Exponent and Speed

2018-11-18 Thread Jakob Erdmann via sumo-user
The edge probability (for depart and arrivel) is multiplied by
edgeSpeed^speedExponent.
The default exponent is 0 so speed does not influence probability. with an
exponent of 1, edges with twice the speed are twice as likely to be sampled.

regards,
Jakob

Am Sa., 17. Nov. 2018 um 15:03 Uhr schrieb Lorenzo Cano Cesconetto via
sumo-user :

> Hey guys,
>
> Does anybody know how the arguments --speed-exponent and --speed  actually
> influences the route generation in RandomTrips script?
>
> I know it generates more vehicles in the edges with a higher speed limit,
> but I'm more interested in the calculation details.
>
>
> Best regards,
>
> Lorenzo
>
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>

___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Searching for existing method of get routes for vehicles first time.

2018-11-13 Thread Jakob Erdmann via sumo-user
When loading  elements, the list of edges is loaded from the XML
input.
When loading  elements, the route is computed via
MSBaseVehicle::reroute which calls the compute() method a router instance
(e.g. DijkstraRouter).


Am Di., 13. Nov. 2018 um 18:07 Uhr schrieb Pratik Dutta via sumo-user <
sumo-user@lists.sourceforge.net>:

>  Can any one help me by guiding how the vehicles in sumo get the route
> first time when the vehicles get loaded? I mean which method is called to
> retieve the route first time ?
>
>
>
> *Regards,*
> Pratik Dutta
> Mob: 8017342498
>
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>

___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] the difference between the ADDITIONAL TOOLS of (dua-iterate.py & one-shot.py)

2018-11-05 Thread Jakob Erdmann via sumo-user
see http://sumo.dlr.de/wiki/Demand/Dynamic_User_Assignment

Am Do., 1. Nov. 2018 um 00:18 Uhr schrieb Jane Cheung <
cheung180...@gmail.com>:

> Could someone give more detail expression about the difference between the
> function
> *dua-iterate.py*
> and
> *one-shot.py*
>
> How to use these two function clearly ?
>
> Appreciated in advance!
>
> Best regards!
>
> Jane
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>

___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] use State Plain Coordinates to move vehicle (MoveToXY)

2018-10-10 Thread Jakob Erdmann via sumo-user
The problem comes from an earlier step because the lon,lat values are
outside the network boundary to begin with (The network covers an area
around lon=-122,lat=37 whereas your lon,lat inputs are widely off the
mark).
It turns out that "CA State Plane NAD83 coordinate" is something differente
altogether from NAD83 (as I was assuming).
You therefore need to convert your values to lon,lat in WSG84 using a
separate projection before converting lon,lat into sumo network coordinates.
This can be done using the python proj library using the appropriate proj4
code (though I'm not sure which one exactly as there appear to be multiple
zones for CA)
see

http://spatialreference.org/ref/epsg/nad83-california-zone-3-ftus/
http://spatialreference.org/ref/epsg/nad83-california-zone-3-ftus/proj4/
proj = pyproj.Proj("+proj=lcc +lat_1=38.43
+lat_2=37.07 +lat_0=36.5 +lon_0=-120.5 +x_0=200.0001016
+y_0=50.0001016001 +ellps=GRS80 +datum=NAD83
+to_meter=0.3048006096012192 +no_defs")
lon,lat = proj(x,y, inverse=True)

regards,
Jakob




Am Mi., 10. Okt. 2018 um 08:08 Uhr schrieb Gama Lins de Araujo, Thais <
thais.g...@tum.de>:

>  convBoundary="205.71,83.75,327.03,729.01"
> origBoundary="-122.300034,37.837827,-122.295689,37.846489"
> projParameter="+proj=utm +zone=10 +ellps=WGS84 +datum=WGS84 +units=m
> +no_defs"/>
>
> lon, lat values for first x2,y2 example with *x2, y2 =
> net.convertLonLat2XY(lon, lat, rawUTM=True**): (This works best) *
> lon=-127.488699 lat=0.000207
> x2=4.956658 y2=22.982225
>
> lon, lat values for first x2,y2 example with *x2, y2 =
> net.convertLonLat2XY(lon, lat):*
> lon=-127.488699 lat=0.000207
> x2=-561578.553342 y2=-4188031.457775
>
> --
> *Von:* Jakob Erdmann 
> *Gesendet:* Mittwoch, 10. Oktober 2018 07:57:34
> *An:* Gama Lins de Araujo, Thais
> *Betreff:* Re: [sumo-user] use State Plain Coordinates to move vehicle
> (MoveToXY)
>
> Please post the contents of the  element from your .net.xml file
> (to be found at the top of the file). Along with the lon,lat values
> corresponding the the first x2,y2 example.
>
> Am Mi., 10. Okt. 2018 um 06:20 Uhr schrieb Gama Lins de Araujo, Thais <
> thais.g...@tum.de>:
>
>> Hello Mr. Jakob, I am very sorry once again, but it still does not work.
>>
>> When I use this:
>>
>> x2, y2 = net.convertLonLat2XY(lon, lat, rawUTM=True)
>>
>> I get these outputs to use in moveToXY:
>>
>> x2=4.956658 y2=22.982225
>> x2=5.009388 y2=34.633814
>> x2=5.097475 y2=45.349363
>> x2=4.368089 y2=57.215837
>> x2=4.624426 y2=69.318226
>> x2=5.126126 y2=81.546192
>> x2=4.925263 y2=95.019266
>> x2=4.932274 y2=108.620357
>>
>> and the vehicle drives on the left side of the road.
>>
>> If I use what you said :
>>
>> x2, y2 = net.convertLonLat2XY(lon, lat)
>>
>> I get this kind of output:
>>
>> x2=-561578.553342 y2=-4188031.457775
>> x2=-561578.500612 y2=-4188019.806186
>> x2=-561578.412525 y2=-4188009.090637
>> x2=-561579.141911 y2=-4187997.224163
>> x2=-561578.885574 y2=-4187985.121774
>> x2=-561578.383874 y2=-4187972.893808
>> x2=-561578.584737 y2=-4187959.420734
>> x2=-561578.577726 y2=-4187945.819643
>> x2=-561578.277498 y2=-4187931.796405
>> x2=-561577.983976 y2=-4187918.083758
>>
>> and the vehicle is nowhere to be seen.
>>
>> Is there anything I can do to fix this issue?
>>
>> Thak you very much for your help.
>>
>> --
>> *Von:* Jakob Erdmann 
>> *Gesendet:* Dienstag, 9. Oktober 2018 08:56:19
>> *An:* Gama Lins de Araujo, Thais
>> *Cc:* Sumo project User discussions; sumo-user
>> *Betreff:* Re: [sumo-user] use State Plain Coordinates to move vehicle
>> (MoveToXY)
>>
>>
>> when converting lon, lat to network coordinates, leave out the rawUTM=True.
>> moveToXY requires the shifted positions rather than raw UTM.
>>
>>   x2, y2 = net.convertLonLat2XY(lon, lat)
>>
>>
>>
>> Am Di., 9. Okt. 2018 um 08:03 Uhr schrieb Gama Lins de Araujo, Thais <
>> thais.g...@tum.de>:
>>
>>> Hello Mr Jakob,
>>>
>>>
>>> I am sorry to bother again, but I replaced the line of code I had with
>>> the one you provided, and the simulation looks just the same. The vehicle
>>> drives by the side of the road the whole time, and it also seems not to
>>> have the right angle. This is how my code looks like now:
>>>
>>>
>>> x,y = df_dropped_1st_veh_instance['Local_X'].iloc[k], 
>>> df_dropped_1st_veh_instance['Local_Y'].iloc[k]
>>> lon, lat = net.convertXY2LonLat(x * 0.3048, y * 0.3048, True)
>>> x2, y2 = net.convertLonLat2XY(lon, lat, rawUTM=True)
>>>
>>> traci.vehicle.moveToXY(traci_veh, '', 0, x2, y2, angle, 2)
>>>
>>> for the angle I used INVALID_DOUBLE_VALUE and transformed it to radians.
>>>
>>> Here is a sample of the data I have:
>>>
>>>Local_X   Local_Y Global_X Global_Y
>>> 0   16.46735.381  6451137.641  1873344.962
>>> 1   16.44739.381  6451140.329  1873342.000
>>> 2   16.42643.381  6451143.018  1873339.038
>>> 3   16.40547.380  6451145.706  1873336.077
>>> 4   16.385 

Re: [sumo-user] use State Plain Coordinates to move vehicle (MoveToXY)

2018-10-09 Thread Jakob Erdmann via sumo-user
when converting lon, lat to network coordinates, leave out the rawUTM=True.
moveToXY requires the shifted positions rather than raw UTM.

  x2, y2 = net.convertLonLat2XY(lon, lat)



Am Di., 9. Okt. 2018 um 08:03 Uhr schrieb Gama Lins de Araujo, Thais <
thais.g...@tum.de>:

> Hello Mr Jakob,
>
>
> I am sorry to bother again, but I replaced the line of code I had with the
> one you provided, and the simulation looks just the same. The vehicle
> drives by the side of the road the whole time, and it also seems not to
> have the right angle. This is how my code looks like now:
>
>
> x,y = df_dropped_1st_veh_instance['Local_X'].iloc[k], 
> df_dropped_1st_veh_instance['Local_Y'].iloc[k]
> lon, lat = net.convertXY2LonLat(x * 0.3048, y * 0.3048, True)
> x2, y2 = net.convertLonLat2XY(lon, lat, rawUTM=True)
>
> traci.vehicle.moveToXY(traci_veh, '', 0, x2, y2, angle, 2)
>
> for the angle I used INVALID_DOUBLE_VALUE and transformed it to radians.
>
> Here is a sample of the data I have:
>
>Local_X   Local_Y Global_X Global_Y
> 0   16.46735.381  6451137.641  1873344.962
> 1   16.44739.381  6451140.329  1873342.000
> 2   16.42643.381  6451143.018  1873339.038
> 3   16.40547.380  6451145.706  1873336.077
> 4   16.38551.381  6451148.395  187.115
> 5   16.36455.381  6451151.084  1873330.153
> 6   16.34459.381  6451153.772  1873327.192
> 7   16.32363.379  6451156.461  1873324.230
>
> Thank you in advance,
>
> Thais Gama
>
>
>
>
>
>
>
> --
> *Von:* Jakob Erdmann 
> *Gesendet:* Montag, 8. Oktober 2018 12:51
> *An:* Gama Lins de Araujo, Thais; Sumo project User discussions
> *Cc:* sumo-user
> *Betreff:* Re: [sumo-user] use State Plain Coordinates to move vehicle
> (MoveToXY)
>
> Hello,
> the position conversion functions provided by traci and libsumo only
> support the projection embedded in the .net.xml file. In case of an OSM
> import this means it will always transform between meters and WGS84 lon,lat.
>
> Since NAD83 and WGS84 are within 1m of each other, you could use
> net.convertXY2LonLat(x_feet * 0,3048, y_feet * 0,3048, True)
> (The third argument is for using raw UTM values instead adding the network
> offset)
>
> regards,
> Jakob
>
> Am Mo., 8. Okt. 2018 um 12:24 Uhr schrieb Gama Lins de Araujo, Thais via
> sumo-user :
>
>> Hello Mr. Behrisch / Erdmann<
>> https://sourceforge.net/u/namdre/>,
>>
>>
>> I would like to know if there is a way in SUMO that I can directly use CA
>> State Plane NAD83 coordinate in feet to move vehicles in a network with the
>> moveToXY command, or do I need to do any transformations before hand?
>>
>>
>> When I use this piece of code (I got from
>> http://sumo.dlr.de/wiki/Tools/Sumolib#coordinate_transformations) I seem
>> to get reasonable results for latitude and longitude, but the x and y
>> resulting from conversion are not matching the network. When I run this
>> code:
>>
>>
>> x,y = df_dropped_1st_veh_instance['Local_X'].iloc[k],
>> df_dropped_1st_veh_instance['Local_Y'].iloc[k]
>> #x, y = traci.vehicle.getPosition(traci_veh)
>> lon, lat = traci.simulation.convertGeo(x, y)
>> x2, y2 = traci.simulation.convertGeo(lon, lat, fromGeo=True)
>> #x, y = net.convertLonLatXY(lon, lat)
>> print 'x=%4.6f y=%4.6f' % (x2, y2)
>>
>> the vehicle drives off the road network the whole time. In this case I am
>> using the local coordinates (Local_X and Local_Y) which are described as:
>> "Lateral (X) coordinate of the front center of the vehicle with respect to
>> the left-most edge of the section in the direction of travel". When I use
>> the Global coordinates (Global_X and Global_Y) my vehicle will just stand
>> outside the network for the whole time, and those are the actual geo
>> coordinates, described as such: "CA State Plane NAD83 coordinate".
>>
>> i know my network is in datum=WGS84, by the information given in the
>> network xml file, and that it is shifted by the netOffset parameter.
>>
>> I wonder if that might be the problem?
>>
>> > convBoundary="205.71,83.75,327.03,729.01"
>> origBoundary="-122.300034,37.837827,-122.295689,37.846489"
>> projParameter="+proj=utm +zone=10 +ellps=WGS84 +datum=WGS84 +units=m
>> +no_defs"/>
>>
>>
>> PS.: i need high accuracy and precision, the vehicles should move exactly
>> according to my coordinates, provided in the data I have. The data is very
>> big (more than 1Gb), so I am sending only a subset of it, which refers to
>> one car only. And also my code and files to run the simulation, in case
>> those are needed.
>>
>>
>> Thank you in advance for your help,
>>
>>
>> Thais
>> ___
>> sumo-user mailing list
>> sumo-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>> ___
>> sumo-user mailing list
>> sumo-u...@eclipse.org
>> To change your delivery options, retrieve your password, or 

Re: [sumo-user] use State Plain Coordinates to move vehicle (MoveToXY)

2018-10-08 Thread Jakob Erdmann via sumo-user
Hello,
the position conversion functions provided by traci and libsumo only
support the projection embedded in the .net.xml file. In case of an OSM
import this means it will always transform between meters and WGS84 lon,lat.

Since NAD83 and WGS84 are within 1m of each other, you could use
net.convertXY2LonLat(x_feet * 0,3048, y_feet * 0,3048, True)
(The third argument is for using raw UTM values instead adding the network
offset)

regards,
Jakob

Am Mo., 8. Okt. 2018 um 12:24 Uhr schrieb Gama Lins de Araujo, Thais via
sumo-user :

> Hello Mr. Behrisch / Erdmann<
> https://sourceforge.net/u/namdre/>,
>
>
> I would like to know if there is a way in SUMO that I can directly use CA
> State Plane NAD83 coordinate in feet to move vehicles in a network with the
> moveToXY command, or do I need to do any transformations before hand?
>
>
> When I use this piece of code (I got from
> http://sumo.dlr.de/wiki/Tools/Sumolib#coordinate_transformations) I seem
> to get reasonable results for latitude and longitude, but the x and y
> resulting from conversion are not matching the network. When I run this
> code:
>
>
> x,y = df_dropped_1st_veh_instance['Local_X'].iloc[k],
> df_dropped_1st_veh_instance['Local_Y'].iloc[k]
> #x, y = traci.vehicle.getPosition(traci_veh)
> lon, lat = traci.simulation.convertGeo(x, y)
> x2, y2 = traci.simulation.convertGeo(lon, lat, fromGeo=True)
> #x, y = net.convertLonLatXY(lon, lat)
> print 'x=%4.6f y=%4.6f' % (x2, y2)
>
> the vehicle drives off the road network the whole time. In this case I am
> using the local coordinates (Local_X and Local_Y) which are described as:
> "Lateral (X) coordinate of the front center of the vehicle with respect to
> the left-most edge of the section in the direction of travel". When I use
> the Global coordinates (Global_X and Global_Y) my vehicle will just stand
> outside the network for the whole time, and those are the actual geo
> coordinates, described as such: "CA State Plane NAD83 coordinate".
>
> i know my network is in datum=WGS84, by the information given in the
> network xml file, and that it is shifted by the netOffset parameter.
>
> I wonder if that might be the problem?
>
>  convBoundary="205.71,83.75,327.03,729.01"
> origBoundary="-122.300034,37.837827,-122.295689,37.846489"
> projParameter="+proj=utm +zone=10 +ellps=WGS84 +datum=WGS84 +units=m
> +no_defs"/>
>
>
> PS.: i need high accuracy and precision, the vehicles should move exactly
> according to my coordinates, provided in the data I have. The data is very
> big (more than 1Gb), so I am sending only a subset of it, which refers to
> one car only. And also my code and files to run the simulation, in case
> those are needed.
>
>
> Thank you in advance for your help,
>
>
> Thais
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>

___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Extraction of speed profile of one particular vehicle

2018-08-20 Thread Jakob Erdmann via sumo-user
in version 0.32.0 you can use grep (needs to be installed seperately for
window: http://gnuwin32.sourceforge.net/packages/grep.htm
   grep 'id="yourVehID"'

in the latest development version you can set option
  --fcd-output.explicit yourVehID
and the use
 --fcd-output instead of --netstate-dump
to get output only for the specified vehicle.

regards,
Jakob


2018-08-19 23:20 GMT+02:00 Gokul via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello there,
>
> I’ve created an output of my simulation through netstate dump in the xml
> format. Now I want to extract the speed profile of one particular vehicle.
> How can I filter the data I need from such a huge file? Please help me with
> this.
>
> Thanks & Regards
> Gokul Kamadana
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Loaded vs Departed Vehicles

2018-07-20 Thread Jakob Erdmann via sumo-user
the function simulation.getLoadedNumber and getLoadedIDList only refer to
vehicles that were loaded in the last time step (usually vehicles are
loaded in chunks of about 200s (configurable using option --route-steps).
This means some of the loaded vehicles are schedulare to depart in the
future but they are already known to the simulation. They exist in the
simulation until their arrival.
You can query some variables only for vehicles that have departed (e.g.
getSpeed() but some things like getTypeID() are possible for loaded
vehicles that have not yet departed)
getDepartedIDs only returns vehicles that have just departed in the last
steop and not those that have departed further in the past.

2018-07-20 23:54 GMT+02:00 Jakob Erdmann :

> Hello,
> you are not supposed to instantiate Domains because they require
> additional initialization.
> Instead, use
> traci.vehicle.getSubscriptionResults()
> Don't worry if your IDE fails to recognize traci.vehicle.
> regards,
> Jakob
>
> 2018-07-20 14:09 GMT+02:00 cchadj01--- via sumo-user <
> sumo-user@lists.sourceforge.net>:
>
>>
>> Hello,
>>  I would like to ask what exactly are loaded vehicles?
>>  From my understanding loaded vehicles are vehicles that exist in the
>> simulation until it ends.
>>  Can I subscribe to a loaded vehicle that has yet to be departed?
>>  In getDepartedIds do I get the ids of vehicles that have just entered
>> the simulation (just started their jurney) or I also get vehicles that
>> already existed from previous steps?
>>
>>  Also in python I use getSubscriptionResults() but it doesn't return me a
>> dict like it says in the python
>>  docs.
>>  (example on how I use it)
>>  import traci
>>
>>  traci.start(sumoCmd, numRetries=2, port=2500 ,label="default")
>>  vehicleCommands = traci._vehicle.VehicleDomain()
>>  vehicleCommands._connection  = traci.getConnection(label="default")
>>
>>  ...
>>  vehDict = vehicleCommands.getSubscriptionResults(vehId)
>>  ^ this is not a dictionary as it says in the docs.
>>
>> Thank you!
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> sumo-user mailing list
>> sumo-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>> ___
>> sumo-user mailing list
>> sumo-u...@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Loaded vs Departed Vehicles

2018-07-20 Thread Jakob Erdmann via sumo-user
Hello,
you are not supposed to instantiate Domains because they require additional
initialization.
Instead, use
traci.vehicle.getSubscriptionResults()
Don't worry if your IDE fails to recognize traci.vehicle.
regards,
Jakob

2018-07-20 14:09 GMT+02:00 cchadj01--- via sumo-user <
sumo-user@lists.sourceforge.net>:

>
> Hello,
>  I would like to ask what exactly are loaded vehicles?
>  From my understanding loaded vehicles are vehicles that exist in the
> simulation until it ends.
>  Can I subscribe to a loaded vehicle that has yet to be departed?
>  In getDepartedIds do I get the ids of vehicles that have just entered the
> simulation (just started their jurney) or I also get vehicles that already
> existed from previous steps?
>
>  Also in python I use getSubscriptionResults() but it doesn't return me a
> dict like it says in the python
>  docs.
>  (example on how I use it)
>  import traci
>
>  traci.start(sumoCmd, numRetries=2, port=2500 ,label="default")
>  vehicleCommands = traci._vehicle.VehicleDomain()
>  vehicleCommands._connection  = traci.getConnection(label="default")
>
>  ...
>  vehDict = vehicleCommands.getSubscriptionResults(vehId)
>  ^ this is not a dictionary as it says in the docs.
>
> Thank you!
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Fully Controlled Vehicle

2018-07-11 Thread Jakob Erdmann via sumo-user
Hello,
- you can set the angle argument for moveToXY to the TraciConstant
INVALID_DOUBLE_VALUE and then sumo will calculate an appropriate angle
- if you call moveToXY for the remote-controlled vehicles in every
simulation step, then sumo will not  teleport/remove them but still
recognize them as obstacles.

regards,
Jakob

2018-07-11 13:05 GMT+02:00 Timothée Corsini via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi !
>
> I am currently using SUMO with another software by using the TraCIAPI in
> C++. I managed to represent SUMO vehicles in the other software but now I
> would like to represent the vehicles from the software in SUMO.
>
> However, I do not want these vehicles to move or change their orientation
> unless I ask them to. So I changed their speed, their speedMode and
> laneChangeMode to 0, and I am moving them by using the moveToXY function.
> Still, SUMO does not change their angle in order to adpat them to the
> edges, I would like to avoid that, is it possible ?
>
> In fact I would like to control some vehicles without SUMO trying to
> teleport/move/remove them. (but still being recognized as obstacles by the
> others vehicles) Is that possible ?
>
> Else, can I simply put obstacles of the shape I want on the road (for
> exemple representing a car accident) or do I have to close the lanes
> manually in order to stop the traffic ?
>
> Sorry for the butchered langage.
>
> Regards,
> Timothee Corsini
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Reduce length for allow attribute lane

2018-06-29 Thread Jakob Erdmann via sumo-user
Hello,
the proper solution is to split the edge because access permissions in SUMO
cannot change within a lane.
If you perform the split in netedit (right-click, 'split edge here') then
it should not affect the number of lanes.
If you only split the edges that are incoming to an intersection rather
than both ('split edges in both directions') then there will be no
turn-arounds.
Also, if you have some reason to split both edges then you can still delete
the turn-around connections in netedit.
The equivalent effect can also be achieved with xml input of split
definitions (all lanes after the split must be declared so that the lane
number does not change).

regards,
Jakob

2018-06-29 13:16 GMT+02:00 Renan Pincemin via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi everyone!
>
> Is there a way to reduce the length for the "allow attribute" of a lane?
>
> For instance, I have an edge with 3 lanes: the outermost one (the right
> most one if right-hand drive) is a bus lane. So it is defined like this for
> each edge: .
>
> Problem is, regular vehicles (which cannot take the priority lane) cannot
> turn right because only the right lane lets you turn right.
> In real life, bus lanes usually stop 50 to 100 metres before the
> intersection in order to let vehicles that want to turn right to fold back
> into the right lane.
>
> So, if an edge is 200 metres long, is it possible to say that the "lane
> with index 0 only allows bus" for the first 150 metres only or something
> like 50 metres before the end "allows everyone"?
>
> 
> I've tried the "endOffset" option but it just reduces the length of the
> lane, regular vehicles won't be able to turn right anyway.
> I've also tried the "split" option but it reduces the number of lanes so
> not really what I'm looking for.
>
> The only solution that I've found so far is to cut the edge into 2 edges
> consisting of one long edge with the outermost lane out of 3 which is a bus
> lane and one smaller edge with all the lanes allowing all types of vehicles.
> But vehicles can turn around between the intersection of the 2 edges
> (which is supposed to be one big edge so not really realistic) and it takes
> time to implement too.
>
> Regards,
> Renan.
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] With latest SUMO ver. preexisting net-files can't be loaded

2018-06-29 Thread Jakob Erdmann via sumo-user
Hello,
the error message is intended because an edge that references non-existent
nodes could lead to faulty simulation behavior.
In earlier version of SUMO, the node information was not used as the
network is completely defined by edges lanes and connections and thus the
check was omitted.
However, in the current version, pedestrian models as well as
junction-behavior models make use of the topology information encoded in
the node/edge graph.
The error message would also help uncovering invalid netconvert behavior
because networks of that kind should never be generated.
If the problematic network was generated by a recent version of netconvert,
please let me know.
If the network was generated by a custom process of yours, please read
http://sumo.dlr.de/wiki/FAQ#I_made_changes_to_the_.net.xml-file_but_it_did_not_work_as_expected._Why.3F

regards,
Jakob

2018-06-29 10:10 GMT+02:00 Ottenburger, Sadeeb Simon (IKET) via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
>
>
> I encountered the following issue:
>
>
>
> Already existing net-files that worked with previous versions of SUMO
> cannot
> be loaded with SUMO 0.32.0. The error message is:
>
>
>
> "Error: Unknown from-node '0' for edge '1'.
>
> Loading of net-file failed.
>
> Quitting (on error)."
>
>
>
> This issue can be reproduced with the hello.net.xml:
>
> Changing the from node id in edge "1to2" to (before "1") "0" causes the
> error message.
>
> i.e.
>
> .
>
> 
>
>  shape="0.00,-1.65 500.00,-1.65"/>
>
> 
>
> .
>
>
>
> Why?
>
>
>
> Thanks!
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Sumo wiki server down

2018-06-04 Thread Jakob Erdmann via sumo-user
Hello,
We are experiencing a network problem which we expect to be fixed shortly.
Until then, refer to the documentation at http://sumo.sourceforge.net/
regards,
Jakob


2018-06-04 18:34 GMT+02:00 Cantas, Mustafa Ridvan via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi,
>
>
> I am trying to access http://sumo.dlr.de/wiki but I can not. I get the
> following error.
>
>
> "
>
> This site can’t be reached
> sumo.dlr.de’s server IP address could not be found.
>
> "
>
>
> Is this a temporary issue? Or is there anything that I can do to fix it?
>
>
> Best Regards,
>
> M. Ridvan CANTAS
>
> Ph.D. Student
>
> Automated Driving Lab
>
> Center for Automotive Research (CAR)
>
> The Ohio State University
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Can't open wiki websites anymore

2018-05-29 Thread Jakob Erdmann via sumo-user
We are experiencing a network problem. Until this is fixed, refer to the
documentation at http://sumo.sourceforge.net/
regards,
Jakob

2018-05-29 10:09 GMT+02:00 Diestmann, Gunnar via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi,
>
> I started to work with SUMO two weeks ago and I used the wiki a lot to get
> started.
> Since yesterday however I have a big problem in opening most of the wiki
> websides. Most of the time I try to open a wiki side I get this error:
>
> Network Error (dns_unresolved_hostname)
>
> Your requested host "www.sumo.dlr.de" could not be resolved by DNS.
>
>
> For example when I try to open this link: http://www.sumo.dlr.de/
> userdoc/TraCI/VehicleType_Value_Retrieval.html. Even though I was able to
> open this link two weeks ago.
> I tried a lot of different ways to open the link (different PCs different
> networks) but I still can't open it. At one page it helped to put http://
> in front of the www. But that didn't work for all links.
> Since the IT of my company couldn't help me either I was wondering if any
> other user has the same problem or if there was a change in the security
> settings of the SUMO wiki that prevents me form opening the links.
>
> BR Gunnar
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] CreateIncidentInHighway

2018-05-29 Thread Jakob Erdmann via sumo-user
see http://sumo.dlr.de/wiki/FAQ#How_to_simulate_an_accident

regards,
Jakob


2018-05-29 10:05 GMT+02:00 HANIFI Mohamed via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi sumo user,
> i want create an incident (gridlock) in my simulation in specific edge for
> specific duration, how can i do it.
> thank you.
> regards.
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Sumo and CarMaker

2018-05-24 Thread Jakob Erdmann via sumo-user
Hello,
this is possible insofar as sumo allows remote-control of vehicles and
retrieval of all vehicles states.
Couplings to other driving simulators (e.g. VTD) have been accomplished in
the past.
There is no publicly available middle-ware to couple CarMaker to sumo so
you will have to write this yourself.
regards,
Jakob

2018-05-23 9:02 GMT+02:00 agbaje oluwaleke via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi All,
> Is it possible to simulate the CarMaker ego vehicle in the Sumo
> environment?
> Thanks,
> Leke
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Adding sidewalks using NETGENERATE and NETEDIT

2018-05-22 Thread Jakob Erdmann via sumo-user
1) you need to add the option --sidewalks.guess to enable guessing (the
min-speed option only configures the heuristic).
2) The length of the sidwalk is automatically adjusted after recomputing
geometries (F5) or saving the network. If the length is wrong after that,
please explain the problem in detail (with an anotated screenshot).

regards,
Jakob

2018-05-21 16:58 GMT+02:00 Charmae Mendoza via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello sumo users,
> Good day!
> I'm a new sumo user. I would like to create a 3x3 grid network (with
> sidewalks) using NETGENERATE and NETEDIT. I was able to generate the grid,
> but I'm having some problems when trying to add sidewalks.
> I already tried the following methods.
> 1. Heuristic generationI first set the default speed of edges to 13.1
> using the "--default.speed 13.1" syntax in the command line. Then I tried
> adding sidewalk lanes using "--sidewalks.guess.min-speed 5.1". The
> description says, "Add sidewalks for edges with a speed above the given
> limit", so I was assuming that with the two commands, sidewalks will be
> added on all edges. However, when I checked the generated grid, there are
> still no sidewalks.
> 2. Adding special lane in NETEDITI also tried adding a special lane in
> NETEDIT. I could see that a sidewalk has been added, but the length of the
> sidewalk needs to be modified because it extends to the roads on both ends
> of the sidewalk. However, I couldn't find the way to modify its length.
> Could you please help me with this?
> Thanks a lot! :)
> Regards,Charmae
>
>
>
>
> |  | Virus-free. www.avast.com  |
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] NetConvert Pedestrian Traffic Light Sequencing

2018-05-16 Thread Jakob Erdmann via sumo-user
Hello,
your description would imply that the vehicular phases are quite short. I
put the description of the current algorithm as well as ideas for
improvement here: https://github.com/eclipse/sumo/issues/4078
regards,
Jakob

2018-05-15 18:50 GMT+02:00 Alex Sawczuk via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi there,
>
> I see under netconvert we have many options to set various timings. However
> we do not have control over how long a pedestrian crossing should be green,
> and perhaps more importantly red after that green period.
>
> At present we have issues that auto generated traffic light sequences only
> have 5 seconds of green followed by 5 seconds of all red before the traffic
> is allowed to continue and this is not enough time for pedestrians to cross
> the road.
>
> When I set --tls.allred.time this just results in a longer red sequence
> before the pedestrians start crossing.
>
> Perhaps it's just a bug and allred should be applied after the pedestrian
> green sequencing, I'm not sure what the intended behaviour is?
>
> Regards
>
> Alex Sawczuk
> Simulation Engineer
> rFpro
>
> e: alex.sawc...@rfpro.com 
> w: http://www.rfpro.com 
>
> This e-mail and any files transmitted with it are private and confidential.
> If you have received this email in error please notify the sender
> immediately and delete this e-mail from your system. The recipient should
> check this email and any attachments for the presence of viruses. rFpro
> accepts no liability for any damage caused by any virus transmitted by this
> email. rFpro is the trading name of Kangaloosh Limited, registered in
> England No. 06427019.
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] link characterstics

2018-05-14 Thread Jakob Erdmann via sumo-user
see http://sumo.dlr.de/wiki/Tutorials/FundamentalDiagram

2018-05-14 1:03 GMT+02:00 Mahmoud Ramadan Nawar via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello allI'm looking for help in determining the free flow link speed, max
> link flow and jam density for links in sumo.the max edge speed is available
> from the net file. any help how to determine the others
> RegardsMahmoud
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Wrong calculation of edge length

2018-05-14 Thread Jakob Erdmann via sumo-user
Hello,
you have created a network without internal lanes. In this case the the
edges are declared artificially longer to ensure correct travel times. (see
http://sumo.dlr.de/wiki/Simulation/Intersections#Internal_links) If you
remove the option --no-internal-links the network will be built as you have
described above.
Also, you can use netedit to declare any edge length you like.

regards,
Jakob

2018-05-02 20:51 GMT+02:00 Hugh Yu via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi, I'm trying SUMO version v0_32_0+1291-b5fae6b125. I have found that the
> length and the shape coordinates of a lane are not consistent. As shown in
> the attached net file, the length should be 100-11.1=88.9 instead of 100.
> Maybe it's because of the intersection. But can we set the exact edge
> length?
>  
>  shape="-192.00,11.10 -192.00,100.00"/>
>  shape="-195.20,11.10 -195.20,100.00"/>
>  shape="-198.40,11.10 -198.40,100.00"/>
>  
>
> Thanks,
> Chunhui
> --
> 俞春辉
> Chunhui Yu
>
> Ph.d Candidate
> Dept. of Comprehensive Traffic Information and Control Engineering
> School of Transportation Engineering
> Tongji University, Shanghai, P.R.China
>
> Tel: (001) 734-999-7418
>
> Website: http://www.yxggroup.com/ViewMember.aspx?ID=92
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Randomising vehicleID in randomTrips.py

2018-05-08 Thread Jakob Erdmann via sumo-user
Hello,
this is not directly supported by randomTrips.py. You could generated all
vehicles within a short interval (i.e. 1s) and then set the sumo option
--random-depart-offset to spread them randomly over the chosen interval.

regards,
Jakob

2018-05-08 1:13 GMT+02:00 Jonathan Harper via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I’m trying to randomise the order of vehicle departure using
> randomTrips.py. As in, instead of the vehicle’s departing sequentially
> according to their ID’s (vehicle 1 goes first, vehicle 2 next, ...), it
> would instead randomise the order of departure of the vehicle ID’s.
> E.g. say there’s 100 vehicles with ID’s between 1-100, it’s possible that
> the vehicle’s could depart in the order: veh1, veh5, veh2.
>
> Thanks,
> Jonathan
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Simulation

2018-05-03 Thread Jakob Erdmann via sumo-user
When using IDM, try setting emergencyDecel="8" in your vType definition.
regards,
Jakob

2018-05-01 13:41 GMT+02:00 HANIFI Mohamed via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi,
> I'm SUMO user, i have problem in my simulation as follow:
>
> Warning: Teleporting vehicle '14'; collision with vehicle '11',
> lane='26251762#1_1', gap=-12.27, time=150.00 stage=move.
> Warning: Vehicle '14' ends teleporting on edge '26251557#0', time 150.00.
> Warning: Teleporting vehicle '13'; collision with vehicle '10',
> lane='26251762#1_0', gap=-0.58, time=160.00 stage=move.
> Warning: Vehicle '13' ends teleporting on edge '26251762#2', time 160.00.
> Warning: Teleporting vehicle '42'; collision with vehicle '39',
> lane='26251762#1_0', gap=-4.07, time=195.00 stage=move.
> Warning: Teleporting vehicle '52'; collision with vehicle '47',
> lane='26251762#1_1', gap=-10.10, time=195.00 stage=move.
> Warning: Vehicle '42' ends teleporting on edge '26251762#2', time 195.00.
> Warning: Vehicle '52' ends teleporting on edge '26251762#2', time 195.00.
>
> too many collision in simulation despite i specify the minGap:
>
> 
>
> this is the command who i used to generate trips and vehicles:
>
>  python
> C:\Users\HanifiMohamed\Desktop\SUMO\SUMOProgram\Program\sumo-0.32.0\tools\
> randomTrips.py
> -n map.net.xml -r map.rou.xml -b 0 -e 60 -p 0.5 --min-distance=2500
> --trip-attributes="type=\"myType\" departLane=\"best\"
> departSpeed=\"max\""
> --additional-file type.add.xml
>
> any solution please.
>
> Thank you.
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Truck phase using xml configuration

2018-05-03 Thread Jakob Erdmann via sumo-user
see
http://sumo.dlr.de/wiki/Simulation/Output#traffic_lights-based_information

2018-04-25 13:41 GMT+02:00 Mouna Karoui via sumo-user <
sumo-user@lists.sourceforge.net>:

> Dear sumo users,
>
> Have you an idea  how can I activate phase trucking of traffic light in the
> xml code, without using GUI.
>
> Regards,
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Plexe Sumo issues.

2018-05-02 Thread Jakob Erdmann via sumo-user
Hello,
please report this to the PLEXE maintainer.
regards,
Jakob

2018-04-23 11:54 GMT+02:00 Viswanath Potluri via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi,
>
> I've been running plexe2.0, i tried running an example as shown below
>
> http://plexe.car2x.org/tutorial/
> but sumo is throwing following error, unknown cfmodel vtype 'vtypeauto'.
> please see attachment
>
> --
> Regards,
> Vishwanath Potluri
> PhD Graduate Student
> Industrial engineering Department
> Arizona State University
> (408)-368-1032
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Rerouting Question

2018-04-17 Thread Jakob Erdmann via sumo-user
Hello,
The function rerouteTravelTime use the time values from
edge.getTraveltime() and this is based on the average vehicle speed at that
time. (no smoothing of past fluctuations and no extrapolation into the
future).
Various smoothing options are available when using the rerouting device
(but also no extrapolation into the future):
http://sumo.dlr.de/wiki/Demand/Automatic_Routing

regards,
Jakob


2018-04-17 19:10 GMT+02:00 Jonathan Harper via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi there,
>
> More of a generic question – when rerouting a vehicle with
> vehicle.rerouteTraveltime(), does the vehicle account for traffic as it
> currently stands or traffic that it estimates will be there once the
> vehicle reaches the point of congestion? E.g. say a vehicle has 2 possible
> paths it can lead down, path 1 is congested at the moment but by the time
> the vehicle reaches it the congestion should have cleared, path 2 is not
> congested whatsoever, however, by the time the vehicle reaches it the path
> will be fully congested. In this case the vehicle should take path 1 given
> these future conditions.
>
> Does SUMO do this automatically or only reroute based on the exact current
> road conditions? If it does, is there any documentation you know of
> regarding this?
>
> Kind regards,
> Jonathan
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Statistics on researches by SUMO

2018-04-11 Thread Jakob Erdmann via sumo-user
Hello,
- there was a comprehensive study in 2013: http://elib.dlr.de/82739/
- Google scholar gives 18k hits one sumo simulation:
  https://scholar.google.de/scholar?hl=en_sdt=0%2C5=
sumo+simulation=
- the combined number of citations for sumo reference publications as
listed on researchgate is 1700
- sourceforge registers 30k+ annual downloads with a nice trendline:
https://sourceforge.net/projects/sumo/files/sumo/
stats/timeline?dates=2005-03-19+to+2018-03-19

regards,
Jakob

2018-04-10 13:59 GMT+02:00 François Vaudrin via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hallo,
>
> I would like to cite statistics on the approximate number of researches or
> citations in connection with SUMO.
> This information is it available ?
>
> Thank you,
>
> François
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] start time of green phase

2018-04-08 Thread Jakob Erdmann via sumo-user
Hello,
each traffic light typically has multiple green phases.
Also, a 'phase' in sumo has a somewhat different meaning compared to
typical traffic engineering usage. See
http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#.3Cphase.3E_Attributes
You will have to determine the index of the phase(s) that are of interest
to you and sum up the duration of preceding phases.
regards,
Jakob

2018-04-06 13:08 GMT+02:00 Mouna Karoui via sumo-user <
sumo-user@lists.sourceforge.net>:

> Dear sumo users,
>
> Have you an idea how can I determine the start time and the final time of
> green phase of a traffic light
> For instance,   I trucked phases then I observed each start time of green
> phase ? but I didn't find  a function in the code that determine this time
> there is function only for PhaseDuration.
>
> Regards,
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] RandomTrips.py Number of Vehicles

2018-04-03 Thread Jakob Erdmann via sumo-user
use option -p
see http://sumo.dlr.de/wiki/Tools/Trip#Arrival_rate

regards,
Jakob

2018-04-01 2:14 GMT+02:00 Jonathan Harper via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> Is there a way to make the number of vehicles much greater? I have tried
> using the arguments -r and –binomial at both large and tiny values and
> still receive the same number of vehicles (around about). The number of
> vehicles do not fill the network whatsoever. Is there a way to randomly
> place, say up to 10 vehicles per timestep into the simulation to fill the
> network entirely?
>
> Kind regards,
> Jonathan
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Output

2018-03-31 Thread Jakob Erdmann via sumo-user
Hello,
you will get most of these outputs on the command line and in the log file
(--log) by setting the option --duration-log.statistics

regards,
Jakob

2018-03-31 2:25 GMT+02:00 Jonathan Harper via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I’m currently running a simulation looking at the effects and alleviation
> of congestion using Traci and utilising sumolib. I am wondering if there’s
> a way to output information about the simulation once runtime is elapsed;
> specifically, I am looking at the metrics
> • Vehicle (for each)
> o Average speed
> o Average waiting time (time stopped at an intersection with regards to )
> o Longest waiting time
> o Number of times rerouted
> • Simulation (all vehicles)
> o Average speed
> o Average waiting time
> o CPU time taken
> o Average congestion of roads (perhaps for each road if possible)
>
> Any help/advice would be greatly appreciated,
> Jonathan
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Combining Edges Using NetConvert

2018-03-29 Thread Jakob Erdmann via sumo-user
Hello,
To join edges that have the same attributes and that do not have a "real"
intersection with multiple edges between them (so-called geometry-like
nodes), set the option
--geometry.remove
There is currently no option to automatically split edges to achieve a
maximum length.
To compare congestion values among edges it might be easier to normalize
the measure with the edge length rather than trying to enforce homogeneous
edge lengths.

regards,
jakob


2018-03-29 22:58 GMT+02:00 Jonathan Harper via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello all,
>
> I’m currently building a small network from OSM -> .net.xml through
> NetConvert. I’m attempting to find the average congestion on a given road
> segment, however, I have ran into a minor issue. I was wondering if there
> was a way to combine the edges between junctions, so that edges which are
> connected from junction A to B are counted as a single edge (rather than
> being split up which is currently happening).
>
> Further to this, is it possible to define a maximum length of an edge?
> Given that the distance between junction A and B is say 100m, and we define
> the maximum edge length to be 60m, would it be possible to automatically
> generate 2 edges between these junctions of lengths 60m and 40m?
>
> Kind regards,
> Jonathan
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] What does multiple route-files mean?

2018-03-29 Thread Jakob Erdmann via sumo-user
Hello,
it means that all of these files are loaded and active at the same time
(i.e. one file for passenger cars and one file for public transport).
regards,
Jakob

2018-03-29 7:21 GMT+02:00 Changjian Li via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi,
>
> I'm wondering what the sumo command line option "--route-files" means. Does
> it mean that sumo randomly select one of the listed route file for a
> certain round of simulation?
>
> Thanks,
> Changjian
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Error in randomTrips.py -> Routes with Inclusionof'--trip-attributes'

2018-03-24 Thread Jakob Erdmann via sumo-user
Look carefully at your quotation marks. The ones around 'best' are more
curly than the one after --trip-attributes=.
These typographic quotation marks are often inserted by text processing
applications.
Most likely the xml parsing brakes on these non-standard quotation marks.

2018-03-23 15:37 GMT+01:00 Jonathan Harper :

> Hi Jakob,
>
>
>
> Upon doing ‘sumo –version’ I get back the version “SUMO Version
> v0_32_0+0567-75b159a203”. I am using 64 bit Windows 10 OS.
>
>
>
>1. In my case the trip file is created, however, the route files are
>not made (calling DUAROUTER by -r routes.xml in the randomTrips command).
>2. This is the same in my case. When running the command ‘python
> randomTrips.py -n map.net.xml --trip-attributes="departLane=\best\ "
>-r routes.xml’ I have an error returned by DUAROUTER “Error: attribute
>value expected” & “Quitting (on error)”. The issue is when a correct input
>is passed, e.g. ‘python  randomTrips.py -n map.net.xml
>--trip-attributes="departLane=\”best\” departPos=\”random\”" -r
>routes.xml’ no error is returned and no routes.xml file is created.
>
>
>
> Interestingly, when passing one correct parameter, e.g. ‘python
>  randomTrips.py -n map.net.xml --trip-attributes="departLane=\”best\”” -r
> routes.xml’, the same error “Error: attribute value expected” occurs,
> whereas with multiple parameters for –trip-attributes produces no error
> (and subsequently no route file).
>
>
>
> Kind regards,
>
> Jonathan
>
>
>
> *From: *Jakob Erdmann 
> *Sent: *23 March 2018 11:24
> *To: *Jonathan Harper ; Sumo project User
> discussions 
> *Cc: *sumo-user@lists.sourceforge.net
> *Subject: *Re: [sumo-user] Error in randomTrips.py -> Routes with
> Inclusionof'--trip-attributes'
>
>
>
> Hello,
>
> I am unable to reproduce both of these problems using the latest version
> of sumo
>
> 1) with the given command a trip file with correct format is created
>
> 2) when passing a randomTrips command that creates trips with invalid
> attributes ( departLane=\best\ ) randomTrips aborts with an error from
> duarouter
>
> what version of sumo and what operating system are you using?
>
> regards,
>
> Jakob
>
>
>
>
>
> 2018-03-22 23:40 GMT+01:00 Jonathan Harper via sumo-user <
> sumo-user@lists.sourceforge.net>:
>
> Hello,
>
> I’m currently running a command to generated random trips to routes (using
> DUAROUTER). The command I am using is ‘python randomTrips.py -n
> input_net.net.xml --trip-attributes="departLane=\"best\"
> departSpeed=\"max\" departPos=\"random\""’, however, when appending the
> command ‘-r routes.xml’ DUAROUTER does not run (no success or failure, just
> no notification at all – this is confirmed as the file ‘routes.xml’ has not
> been created).
>
> When running command ‘duarouter -n input_net.net.xml –route-files
> trips.trips.xml -o routes_new.xml’ I receive the error “Error: attribute
> value expected”.
>
> When I remove any of the ‘—trips-attributes’ from the randomTrips.py
> command it is successful.
>
> An example trip in the trips.trips.xml file is as follow:  depart="0.00" from="499172074#1" to="496992868" departLane=\best\
> departSpeed=\max\ departPos=\random" --route-file hello.xml/>
>
> Kind regards,
> Jonathan
>
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
>
>
>
>
> 
>  Virus-free.
> www.avast.com
> 
> <#m_7002783163884056472_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Error in randomTrips.py -> Routes with Inclusion of'--trip-attributes'

2018-03-23 Thread Jakob Erdmann via sumo-user
Hello,
I am unable to reproduce both of these problems using the latest version of
sumo
1) with the given command a trip file with correct format is created
2) when passing a randomTrips command that creates trips with invalid
attributes ( departLane=\best\ ) randomTrips aborts with an error from
duarouter

what version of sumo and what operating system are you using?
regards,
Jakob


2018-03-22 23:40 GMT+01:00 Jonathan Harper via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I’m currently running a command to generated random trips to routes (using
> DUAROUTER). The command I am using is ‘python randomTrips.py -n
> input_net.net.xml --trip-attributes="departLane=\"best\"
> departSpeed=\"max\" departPos=\"random\""’, however, when appending the
> command ‘-r routes.xml’ DUAROUTER does not run (no success or failure, just
> no notification at all – this is confirmed as the file ‘routes.xml’ has not
> been created).
>
> When running command ‘duarouter -n input_net.net.xml –route-files
> trips.trips.xml -o routes_new.xml’ I receive the error “Error: attribute
> value expected”.
>
> When I remove any of the ‘—trips-attributes’ from the randomTrips.py
> command it is successful.
>
> An example trip in the trips.trips.xml file is as follow:  depart="0.00" from="499172074#1" to="496992868" departLane=\best\
> departSpeed=\max\ departPos=\random" --route-file hello.xml/>
>
> Kind regards,
> Jonathan
>
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Edge.setEffort() Returning Error

2018-03-21 Thread Jakob Erdmann via sumo-user
Hello
1) this is quite strange. The last time i saw something like this it came
from multiple traci threads that were trying to talk to sumo at the same
time. Can you reproduce this with a single traci thread? If so, please send
me a minimal scenario.

2) yes.

regards,
Jakob

2018-03-20 22:03 GMT+01:00 Jonathan Harper via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I’m currently using TraaS to interface with SUMO. I am attempting to
> reroute a vehicle and hope to make it change path by setting an effort to
> an edge (I believe this is the equivalent of setting a ‘weight’ to that
> edge), this effort is calculated from the congestion + other metrics.
>
> 1. When setting an edge using  ‘conn.do_job_set(Edge.setEffort("edge1",
> 1.5))’ I receive the errors “Unexpected command and status IDs match:
> expected 202, got 196” given by Traci (TraaS), and “Error: Answered with
> error to command 0xc4: Setting effort requires a compound object.” given by
> the SUMO client.
>
> Is there anything more to this? Is the syntax wrong?
>
> 2. When setting an effort for a vehicle Vehicle.setEffort(), is this
> simply an effort given to an edge for a period of time exclusive to this
> vehicle?
>
> Many thanks,
> Jonathan
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete Routes

2018-03-20 Thread Jakob Erdmann via sumo-user
Change target fails if the new target cannot be reached from the current
position. This is unrelated to the activation of automatic routing.
Also, automatic routing can be activated for all vehicles by setting the
option --device.rerouting.probability 1

2018-03-20 17:48 GMT+01:00 Jonathan Harper :

> Hi Jakob,
>
>
>
> Thanks for all the help so far, I’ve tried changing the target using
> Vehicle.changeTarget, however, I receive the error “SUMO error for command
> 196: Route replacement failed for veh”. My thinking is that I need to
> somehow activate the automatic routing, but I can’t seem to find a way to
> do it in TraaS.
>
>
>
> Any help would be greatly appreciated
>
>
>
> *From: *Jakob Erdmann 
> *Sent: *20 March 2018 12:12
> *To: *Jonathan Harper 
> *Cc: *sumo-user@lists.sourceforge.net
> *Subject: *Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete
> Routes
>
>
>
> You can define everything at runtime via TraCI.
>
>
>
> 2018-03-20 12:21 GMT+01:00 Jonathan Harper :
>
> Hi Jakob,
>
>
>
> Thanks for the swift response.
>
> For this to work must I have set up the trip before runtime, or can I
> define the trips during runtime and ask the vehicles to reroute during
> runtime?
>
>
>
> Kind regards
>
>
>
> *From: *Jakob Erdmann 
> *Sent: *20 March 2018 11:04
> *To: *Jonathan Harper 
> *Cc: *sumo-user@lists.sourceforge.net; sumo-u...@eclipse.org
> *Subject: *Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete
> Routes
>
>
>
> Hello,
>
> - automatic routing is suitable if you just want vehicles to react to
> changing road conditions (congestion). This causes them to periodically
> check if there is a better route and then change the route but keep the
> original destination
>
> - if you need more influence on the timing or individual routing
> preferences you can call traci.vehicle.rerouteTravelTime
>
> - if you need to change the destination you can call
> traci.vehicle.changeTarget
>
> - for intermediate goals that must be visited you can define 'via' edge
> using traci.vehicle.setVia
>
> - if you want to compute fastest routes without affecting a vehicle you
> can call simulation.findRoute
>
> regards,
>
> Jakob
>
>
>
> 2018-03-20 11:49 GMT+01:00 Jonathan Harper via sumo-user <
> sumo-user@lists.sourceforge.net>:
>
> Hello,
>
> I'm unsure on how to dynamically assign routes to vehicles (with each
> vehicle having a route which is unique to them) depending on certain
> conditions (i.e. traffic jams, congestion). I'm using TraaS to interface
> with SUMO and need to react to certain conditions and dynamically assign
> routes to particular vehicles depending on their location relative to the
> road condition.
> I've read about automatic re-routing here: http://sumo.dlr.de/wiki/
> Demand/Automatic_Routing, however I'm unsure how to activate this (if
> it's not done by default), or if this is even the correct solution.
> So far I've been able to assign a route in TraaS, but I can't seem to use
> DUAROUTER during runtime to be able to generate the route from point A to C
> without defining the intermediate edges, C (trip -> route). From my
> understanding a trip is a start and end destination, whereas a route is
> this with the addition of all of the intermediate edges passed through.
> SumoStringList listExample = new SumoStringList();
> ArrayList edgeList = new ArrayList<>();
>
> edgeList.add("edge1");
> edgeList.add("edge3");
> listExample.addAll(edgeList);
>
> conn.do_job_set(Route.add("test", listExample));
>
> When ran (without edge2 being included in the edgeList) I get the
> error Vehicle 'testVehicle' has no valid route. No connection between edge
> 'edge1' and edge 'edge3'., which is resolved upon including edge2.
> Is it possible to convert trips -> routes during runtime? Is there a way
> to call DUAROUTER (or another tool) during runtime in TraaS?
> Many thanks
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
>
>
>
>
>
> [image:
> https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]
> 
>
> Virus-free. www.avast.com
> 
>
>
>
>
>

Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete Routes

2018-03-20 Thread Jakob Erdmann via sumo-user
You can define everything at runtime via TraCI.

2018-03-20 12:21 GMT+01:00 Jonathan Harper :

> Hi Jakob,
>
>
>
> Thanks for the swift response.
>
> For this to work must I have set up the trip before runtime, or can I
> define the trips during runtime and ask the vehicles to reroute during
> runtime?
>
>
>
> Kind regards
>
>
>
> *From: *Jakob Erdmann 
> *Sent: *20 March 2018 11:04
> *To: *Jonathan Harper 
> *Cc: *sumo-user@lists.sourceforge.net; sumo-u...@eclipse.org
> *Subject: *Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete
> Routes
>
>
>
> Hello,
>
> - automatic routing is suitable if you just want vehicles to react to
> changing road conditions (congestion). This causes them to periodically
> check if there is a better route and then change the route but keep the
> original destination
>
> - if you need more influence on the timing or individual routing
> preferences you can call traci.vehicle.rerouteTravelTime
>
> - if you need to change the destination you can call
> traci.vehicle.changeTarget
>
> - for intermediate goals that must be visited you can define 'via' edge
> using traci.vehicle.setVia
>
> - if you want to compute fastest routes without affecting a vehicle you
> can call simulation.findRoute
>
> regards,
>
> Jakob
>
>
>
> 2018-03-20 11:49 GMT+01:00 Jonathan Harper via sumo-user <
> sumo-user@lists.sourceforge.net>:
>
> Hello,
>
> I'm unsure on how to dynamically assign routes to vehicles (with each
> vehicle having a route which is unique to them) depending on certain
> conditions (i.e. traffic jams, congestion). I'm using TraaS to interface
> with SUMO and need to react to certain conditions and dynamically assign
> routes to particular vehicles depending on their location relative to the
> road condition.
> I've read about automatic re-routing here: http://sumo.dlr.de/wiki/
> Demand/Automatic_Routing, however I'm unsure how to activate this (if
> it's not done by default), or if this is even the correct solution.
> So far I've been able to assign a route in TraaS, but I can't seem to use
> DUAROUTER during runtime to be able to generate the route from point A to C
> without defining the intermediate edges, C (trip -> route). From my
> understanding a trip is a start and end destination, whereas a route is
> this with the addition of all of the intermediate edges passed through.
> SumoStringList listExample = new SumoStringList();
> ArrayList edgeList = new ArrayList<>();
>
> edgeList.add("edge1");
> edgeList.add("edge3");
> listExample.addAll(edgeList);
>
> conn.do_job_set(Route.add("test", listExample));
>
> When ran (without edge2 being included in the edgeList) I get the
> error Vehicle 'testVehicle' has no valid route. No connection between edge
> 'edge1' and edge 'edge3'., which is resolved upon including edge2.
> Is it possible to convert trips -> routes during runtime? Is there a way
> to call DUAROUTER (or another tool) during runtime in TraaS?
> Many thanks
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
>
>
>
>
> 
>  Virus-free.
> www.avast.com
> 
> <#m_-5125007387062299873_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] (SUMO) TraaS Dynamic Routing & Incomplete Routes

2018-03-20 Thread Jakob Erdmann via sumo-user
Hello,
- automatic routing is suitable if you just want vehicles to react to
changing road conditions (congestion). This causes them to periodically
check if there is a better route and then change the route but keep the
original destination
- if you need more influence on the timing or individual routing
preferences you can call traci.vehicle.rerouteTravelTime
- if you need to change the destination you can call
traci.vehicle.changeTarget
- for intermediate goals that must be visited you can define 'via' edge
using traci.vehicle.setVia
- if you want to compute fastest routes without affecting a vehicle you can
call simulation.findRoute
regards,
Jakob

2018-03-20 11:49 GMT+01:00 Jonathan Harper via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I'm unsure on how to dynamically assign routes to vehicles (with each
> vehicle having a route which is unique to them) depending on certain
> conditions (i.e. traffic jams, congestion). I'm using TraaS to interface
> with SUMO and need to react to certain conditions and dynamically assign
> routes to particular vehicles depending on their location relative to the
> road condition.
> I've read about automatic re-routing here: http://sumo.dlr.de/wiki/
> Demand/Automatic_Routing, however I'm unsure how to activate this (if
> it's not done by default), or if this is even the correct solution.
> So far I've been able to assign a route in TraaS, but I can't seem to use
> DUAROUTER during runtime to be able to generate the route from point A to C
> without defining the intermediate edges, C (trip -> route). From my
> understanding a trip is a start and end destination, whereas a route is
> this with the addition of all of the intermediate edges passed through.
> SumoStringList listExample = new SumoStringList();
> ArrayList edgeList = new ArrayList<>();
>
> edgeList.add("edge1");
> edgeList.add("edge3");
> listExample.addAll(edgeList);
>
> conn.do_job_set(Route.add("test", listExample));
>
> When ran (without edge2 being included in the edgeList) I get the
> error Vehicle 'testVehicle' has no valid route. No connection between edge
> 'edge1' and edge 'edge3'., which is resolved upon including edge2.
> Is it possible to convert trips -> routes during runtime? Is there a way
> to call DUAROUTER (or another tool) during runtime in TraaS?
> Many thanks
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Opening TraaS GUI

2018-03-20 Thread Jakob Erdmann via sumo-user
Hello,
I'm not sure what you mean by TraaS GUI.
You can either use TraaS for creating a webservice that your own code can
connect to our you can use it directly as a client library for accessing
sumo. Either way you have to write your own code that uses TraaS and there
is no gui besides the sumo-gui and anything you create yourself.
regards,
Jakob

2018-03-20 0:35 GMT+01:00 Jonathan Harper via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I’m a beginner in using SUMO which I am interfacing with TraaS. I can’t
> seem to find a way to open up the TraaS GUI, I’ve got it working through
> importing into the intelliJ IDE, however, can’t seem to find the user
> interface (in /Sumo/bin/ there’s a TraaS Java executable when ran it gives
> the error “A Java exception has occurred”).
>
> Thanks
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Meso Sumo

2018-03-14 Thread Jakob Erdmann via sumo-user
Hello,
By default there are no lanes in meso. By setting the option
--meso-multi-queue, lane-specific queues are only created whenever an edge
has multiple successor edges (this is meant to avoid left-turning vehicles
impeding straight-going vehicles, for example).
At an on-ramp (1 successor) all vehicles are put into a single queue but
this is not meant to represent lane usage (maximum throughput corresponds
to the total number of lanes).

best regards,
Jakob

2018-03-14 15:19 GMT+01:00 Karl-Heinz Kastner via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello Sumo Team,
>
> we are testing the Sumo Meso Version 0.32. We generate a net with ramps
> and use it with a demand model. We detect a Bug on ramps for highways. All
> vehicles are on the right side, although the edge has 3 lanes. We add pics
> and the config file.
>
> Can you help us with this problem?
>
> greetings
> Karl-Heinz Kastner
> RISC Software GmbH
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] How to obtain chargingStation.totalEnergyCharged through Traci

2018-03-13 Thread Jakob Erdmann via sumo-user
Hello,
I've added the missing documentation for the simulation domain parameter
retrieval:
http://sumo.dlr.de/wiki/Traci/GenericParameters#supported_domains_.28get_.2F_set.29
The methods Simulation.getParameter and setParameter are not yet
implemented in Traas. We'd be happy to receive a patch (-:

regards,
Jakob


2018-03-12 17:04 GMT+01:00 Rehman, Kasim via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi all,
>
> The Wiki pages (here: http://www.sumo.dlr.de/userdoc/TraCI/Simulation_
> Value_Retrieval.html) state that the parameter 
> chargingStation.totalEnergyCharged
> can be obtained through TraCI using generic parameter retrieval (
> http://www.sumo.dlr.de/userdoc/Traci/GenericParameters.html#get_parameter).
> What would be the "command get for domain" in that case? I would like to
> obtain this data as the simulation is running. Is there a TraaS (
> http://traas.sourceforge.net/cms/) command available for that?
>
> Thanks and kind regards,
>
> Kasim
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] CentOS 6 installation issue

2018-03-13 Thread Jakob Erdmann via sumo-user
Hello,
Did you run 'ldconfig' after installing the libraries?
regards,
Jakob

2018-03-13 16:56 GMT+01:00 Jakub Filip Stawik via sumo-user <
sumo-user@lists.sourceforge.net>:

> Greetings
>
> I can't make sumo work in CentOS 6 environment.
> What I have tried:
> - Compiling sumo from sources according to wiki instruction: the
> installation didn't see xerces - neither one installed by yum nor one
> compiled from sources. I have tried using --with-xerces flag but to no avail
>
> - Using yum with various repositories including dedicated CentOS 6 repo
> found online and  behrisch's OpenSUSE repo (error message attached)
>
> - Using .rpm file: I got the following warning, no error but couldn't
> proceed:
> warning: sumo-svn-1290.1.src.rpm: Header V3 DSA/SHA1 Signature, key ID
> 559bc40e: NOKEY
>
> I don't need GUI. I'd be very happy if someone was to post a tested
> instruction for installing to CentOS6
> Cheers
> Jakub Stawik
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] TL Logic validation

2018-03-11 Thread Jakob Erdmann via sumo-user
Hello,
netconvert returns basically two types of signal plans depending on the
edge priority values at an intersection
1) streams in opposite directions at the same time, seprate phase for
exclusive left turns
2) every incoming edge gets its own phase where all turning directions get
the green light

There are a lot more valid states and signal plans so feel free to design
your own.

- You will receive a warning when loading a signal plan without yellow
phase between the green and red phase.
- When you make your yellow phases to short (relative to road speed), you
will see 'emergency braking" warnings from the simulation
- if you allow incompatible streams at the same time you may see collisions

regards,
Jakob




2018-03-07 17:36 GMT+01:00 Thanos Tasakos via sumo-user <
sumo-user@lists.sourceforge.net>:

> Dear SUMO,
>
> A TL logic consists of concurrent phases that have a specific state
> configuration. If you want to write a new TL how can you be sure that the
> phases you specify are consistent to logic for example that a g follows y
> follows r and that 2 lanes that share the same junction cant be green at
> the same time?
> The TL logics returned by netconvert are the only valid configurations of
> states?
>
> Thank you in advance,
> Thanos Tasakos
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Creating a Bend

2018-02-27 Thread Jakob Erdmann via sumo-user
Yes.
Networks imported from data sources such as OSM typically feature bends.
In your own networks you can define custom road shapes using netedit:
http://sumo.dlr.de/wiki/NETEDIT#Move
regards,
Jakob

2018-02-21 11:03 GMT+01:00 Anne Onyango via sumo-user <
sumo-user@lists.sourceforge.net>:

> Does Sumo provide for creation of a Sharp Bend on a road ?
> Thank you
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] traci deceleration

2018-01-05 Thread Jakob Erdmann via sumo-user
Hello,
carFollowModels in SUMO may distinguish between a desired maximum
deceleration 'decel' and the maximum deceleration in case of emergency
'emergencyDecel'. The latter value is assumed to be at least as high as
'decel' and ultimately restricts braking capability. By default
emergencyDecel assumes the same value as decel so you may never notice the
distinction.
The fact that emergencyDecel may have a lower value than decel after
calling traci.vehicle.setDecel is a bug (
https://github.com/DLR-TS/sumo/issues/3755) now fixed.
You can either update to the latest development version or call
vehicle.setEmergencyDecel() explicitly as a workaround.

regards,
Jakob

2018-01-03 13:28 GMT+01:00 Hess, Ramona (TM-P) via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi, I have a problem with the traci.vehicle command setDecel.
> Since I want to control one car in the SUMO-traffic by an external model,
> I would like to set the maximum acceleration and the maximum deceleration
> of this car to 99, so that only the external model has an impact on the
> car’s possible acceleration and deceleration.
> Setting the maximum acceleration to 99 works perfectly fine. When I
> try to speed up “my_car” via the external model, it accepts the new speed
> without any delay. However, the car seems to have a constant deceleration
> of 4.5 m/s^2 when slowing down, no matter whether I put
> traci.vehicle.setDecel(‘my_car’,1) or traci.vehicle.setDecel(‘my_car’,99)
> or anything else. Am I forgetting something or is there something wrong
> with the command?
> Thanks!
> Ramona
>
>
>
> Sitz/Registered Office: Berlin,
> Registergericht/Registration Court: Amtsgericht Charlottenburg,
> Registernummer/Company Registration Number: HRB 21 280,
> Geschäftsführer/Managing Directors: Michael Schubert, Kai-Stefan Linnenkohl
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr.
> Ulrich Eichhorn
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Constrained lateral movement

2018-01-05 Thread Jakob Erdmann via sumo-user
Thank you for providing the example scenario.
The lane-changing related parameters must be declared in a vehicle-type
definition to take effect like so:


 

regards,
Jakob


2017-12-20 16:21 GMT+01:00 alex goupilleau via sumo-user <
sumo-user@lists.sourceforge.net>:

> Now using version 0.32.0, the maximum lateral speed is always 1 m/s when I
> use changeSublane. I set maxSpeedLat and lcAccelLat very high. I want the
> maximum lateral speed to be higher than 1 m/s.
>
> What other parameters could be constraints ? I'm using a simple net with 2
> lanes in the same driving direction, only one vehicle, with a lateral
> resolution of 0.8 and a lane width of 3.2.
>
>
> Thanks, best,
>
>
> Alex
>
>
> 
> De : Jakob Erdmann 
> Envoyé : mercredi 13 décembre 2017 16:35
> À : alex goupilleau; Sumo project User discussions
> Cc : sumo-user
> Objet : Re: [sumo-user] Constrained lateral movement
>
> I didn't yet find the time to test version 0.31.0 but it's working for me
> in the latest development version when setting high values for maxSpeedLat
> and lcAccelLat.
> Therefore, it could be a bug in 0.31.0.
> regards,
> Jakob
>
> 2017-12-13 9:16 GMT+01:00 alex goupilleau via sumo-user <
> sumo-user@lists.sourceforge.net>:
> Hello
>
>
> My vType definition looks like  departSpeed="10" color="1,0,0" lcAccelLat="5000">
>
> I set lcAccelLat very high because I don't want it to be a constraint when
> I use changeSublane
>
> Also, I set maxSpeedLat during the simulation with traci and the following
> command: traci.vehicle.setMaxSpeedLat(controlled_vehicle,5000)
>
> Then at every timestep I use 
> traci.vehicle.changeSublane(controlled_vehicle,0.8)
> that is supposed to make the vehicle shift by one sublane every timestep.
> But in reality the shift at every timestep is much lower than that.
>
> There are no neighboring vehicle.
>
> In my sumo cfg file I have
>
> 
> 
>
> sumo version: 0.31.0
> I am only using release versions but if you think the development version
> can solve the problem, I can use it
>
> Thanks for the answer, Best,
>
> Alex
>
>
>
> 
> De : Jakob Erdmann >
> Envoyé : lundi 11 décembre 2017 16:35
> À : alex goupilleau; Sumo project User discussions
> Cc : sumo-user
> Objet : Re: [sumo-user] Constrained lateral movement
>
> Hello,
> maxSpeedLat and lcAccelLat should bet the only constraints on achieved
> lateral distance (besides neighboring vehicles of course).
> Note, that these values are per second so if you use a lower time-step the
> resulting distances are scaled by that as well.
> What does your vType definition look like?
> What version of sumo are you using?
> Did you try the latest development version already?
>
> regards,
> Jakob
>
>
> 2017-12-11 15:06 GMT+01:00 alex goupilleau via sumo-user <
> sumo-user@lists.sourceforge.net > sourceforge.net>>>:
> Hello all,
>
>
> I am using the sublane model and Traci in order to control the vehicle
> laterally.
>
> My goal is to control the time it takes for the vehicle to make a lane
> change.
>
>
> But when I try to use changeSublane, the vehicle lateral speed seems to be
> constrained by something. I've already set the max lateral speed, lateral
> acceleration, max speed and max acceleration to be very high in order not
> to be constrained by anything.
>
>
> I feel like the command changeSublane does not really move the vehicle
> laterally by the given amount: how is the real lateral change calculated at
> every timestep ?
>
>
> Best,
>
>
> Alex
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net > sourceforge.net>>
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org umo-u...@eclipse.org>
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> 

Re: [sumo-user] Constrained lateral movement

2017-12-13 Thread Jakob Erdmann via sumo-user
I didn't yet find the time to test version 0.31.0 but it's working for me
in the latest development version when setting high values for maxSpeedLat
and lcAccelLat.
Therefore, it could be a bug in 0.31.0.
regards,
Jakob

2017-12-13 9:16 GMT+01:00 alex goupilleau via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello
>
>
> My vType definition looks like  departSpeed="10" color="1,0,0" lcAccelLat="5000">
>
> I set lcAccelLat very high because I don't want it to be a constraint when
> I use changeSublane
>
> Also, I set maxSpeedLat during the simulation with traci and the following
> command: traci.vehicle.setMaxSpeedLat(controlled_vehicle,5000)
>
> Then at every timestep I use 
> traci.vehicle.changeSublane(controlled_vehicle,0.8)
> that is supposed to make the vehicle shift by one sublane every timestep.
> But in reality the shift at every timestep is much lower than that.
>
> There are no neighboring vehicle.
>
> In my sumo cfg file I have
>
> 
> 
>
> sumo version: 0.31.0
> I am only using release versions but if you think the development version
> can solve the problem, I can use it
>
> Thanks for the answer, Best,
>
> Alex
>
>
>
> 
> De : Jakob Erdmann 
> Envoyé : lundi 11 décembre 2017 16:35
> À : alex goupilleau; Sumo project User discussions
> Cc : sumo-user
> Objet : Re: [sumo-user] Constrained lateral movement
>
> Hello,
> maxSpeedLat and lcAccelLat should bet the only constraints on achieved
> lateral distance (besides neighboring vehicles of course).
> Note, that these values are per second so if you use a lower time-step the
> resulting distances are scaled by that as well.
> What does your vType definition look like?
> What version of sumo are you using?
> Did you try the latest development version already?
>
> regards,
> Jakob
>
>
> 2017-12-11 15:06 GMT+01:00 alex goupilleau via sumo-user <
> sumo-user@lists.sourceforge.net>:
> Hello all,
>
>
> I am using the sublane model and Traci in order to control the vehicle
> laterally.
>
> My goal is to control the time it takes for the vehicle to make a lane
> change.
>
>
> But when I try to use changeSublane, the vehicle lateral speed seems to be
> constrained by something. I've already set the max lateral speed, lateral
> acceleration, max speed and max acceleration to be very high in order not
> to be constrained by anything.
>
>
> I feel like the command changeSublane does not really move the vehicle
> laterally by the given amount: how is the real lateral change calculated at
> every timestep ?
>
>
> Best,
>
>
> Alex
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Traci Traffic Signal Manipulation

2017-12-10 Thread Jakob Erdmann via sumo-user
Hello,
1)
- you can use the GUI to check which index corresponds to which connection
(activate 'show link tls index', see
http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Signal_state_definitions)
- you can use TraCI:
http://sumo.dlr.de/wiki/TraCI/Traffic_Lights_Value_Retrieval#Structure_of_compound_object_controlled_links
2)
This sounds like a typical OpenStreetMap Problem. See here on how to
mitigate it:
http://sumo.dlr.de/wiki/Networks/Import/OpenStreetMap#Junctions
http://sumo.dlr.de/wiki/Networks/Import/OpenStreetMap#Traffic_Lights

regards,
Jakob

2017-12-09 19:50 GMT+01:00 SaifurRahman Saleem via sumo-user <
sumo-user@lists.sourceforge.net>:

> I hope this finds everyone well.
>
> I have some queries to ask;
> 1) at some instances where traffic signals have 4 edge there are more than
> 4 lights, that is state is something like="rrrGGrr" , where 1 way has 1
> light and rest of the three have two lights each. My question is, how do I
> find out which light corresponds to which edge. ( I am working on dynamic
> phase duration manipulation).
>
> 2) at some of the signals, there are two blockages at the same time, for
> example, a car has just passed the signal and now waiting again at the
> middle of the junction and light is red again for that car. (which
> sometimes lead to bad logic, when even though all roads are empty, only 1
> car is passing at a time)
>
> I hope I have cleared my queries .
>
>
> Regards;
> Saif
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Cars crashing during traci calls despite tau being greater than timestep

2017-12-06 Thread Jakob Erdmann via sumo-user
I suspect it could be an issue with the IDM model which assumes less strict
bounds on deceleration in extreme situations. Try setting the attribute
emergencyDecel="9" for vType "rl"

regards,
Jakob

2017-12-06 9:41 GMT+01:00 Kanaad Parvate via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi all,
>
> I'm currently running simulations in which the acceleration and lane
> changing of a certain car is handled entirely through traci commands. It is
> driving in a scenario with other cars, all of which are controlled directly
> through sumo using Sumo car following models.
>
> The three vytpes I have configured are as follows:
> ​​
>
> ​ ​
>  impatience="0.0" laneChangeModel="LC2013" lcCooperative="1.0"
> lcKeepRight="0" lcSpeedGain="1.5" lcStrategic="1.0" maxSpeed="30"
> minGap="1.0" sigma="0.5" speedDev="0.1" speedFactor="1.0" tau="3.0"/>
>
>impatience="0.0" maxSpeed="30" minGap="1.0" sigma="0.5" speedDev="0.0"
> speedFactor="1.75" tau="0.2"/>
>
>impatience="0.0" maxSpeed="30" minGap="1.0" sigma="0.5" speedDev="2"
> speedFactor="1.0" tau="1.0"/>
>
> ​where ​the id="rl" car is being controlled by traci. I'm seeing that car
> rear end other vehicles despite setting the speed mode of all vehicles to
> 31.
>
> Is there any situation in which setting a speed through traci wouldn't
> trigger the failsafe? Or do you see any problems with the vehicle types
> that could be the root of these crashes?
>
> Thanks,
>
> Kanaad Parvate
>
> UC Berkeley EECS '19
> ᐧ
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Error message from traci

2017-12-06 Thread Jakob Erdmann via sumo-user
It means that your script (the peer) closed the connection. This causes
sumo to quit.
Try using traci.close() in your script before calling traci.start().



2017-12-06 6:52 GMT+01:00 羅先豪 :

> Thanks for help.
> I did what you recommend me to and got the message below(from log.txt when
> it run the 5th time):
>
> ***Starting server on port 56407 ***
> Loading net-file from '005.net.xml'... done (34ms).
> Loading additional-files from '005.add.xml'...
> Warning: Missing green phase in tlLogic '02', program '1' for tl-index 11
> Warning: Missing green phase in tlLogic '03', program '1' for tl-index 0
> done (1ms).
> Loading done.
> Simulation started with time: 0.00
> Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown
> Quitting (on error).
> Performance:
>  Duration: 8909ms
>  Real time factor: 448.984
>  UPS: 13223.257380
> Vehicles:
>  Inserted: 382
>  Running: 0
>  Waiting: 0
>
> I don't understand the line begin with "Error: ...".
> What does it means?
>
> Al
>
> 2017-12-04 16:22 GMT+08:00 Jakob Erdmann :
>
>> Possible there is an error in 005.sumocfg which prevented the simulation
>> from starting.
>> Add the option  to your sumocfg and then look into
>> the generated file log.txt to check for errors.
>> regards,
>> Jakob
>>
>> 2017-12-04 4:24 GMT+01:00 羅先豪 via sumo-user <
>> sumo-user@lists.sourceforge.net>:
>>
>>> Hello,
>>>
>>> I wanted to use python to trigger sumo running repeatedly and
>>> automatically,
>>> but found that it can only run the simulation for 4 times.
>>> There's error message when it tried to run the fifth time:
>>>
>>> Traceback (most recent call last):
>>>   File "D:\005\runner.py", line 180, in 
>>> traci.start ([sumoBinary,
>>> "-c","005.sumocfg","--tripinfo-output","tripinfo_005.xml","-
>>> -start","--quit-on-end"])
>>>   File "D:\sumo\tools\traci\__init__.py", line 82, in start
>>> sumoProcess = subprocess.Popen(cmd + ["--remote-port", str(port)])
>>>   File
>>> "C:\Users\Al\AppData\Local\Programs\Python\Python36-32\lib\s
>>> ubprocess.py",
>>> line 596, in __init__
>>> _cleanup()
>>>   File
>>> "C:\Users\Al\AppData\Local\Programs\Python\Python36-32\lib\s
>>> ubprocess.py",
>>> line 205, in _cleanup
>>> res = inst._internal_poll(_deadstate=sys.maxsize)
>>>   File
>>> "C:\Users\Al\AppData\Local\Programs\Python\Python36-32\lib\s
>>> ubprocess.py",
>>> line 1035, in _internal_poll
>>> if _WaitForSingleObject(self._handle, 0) == _WAIT_OBJECT_0:
>>> OSError: [WinError 6] The handle is invalid.
>>>
>>> How can I fix it?
>>> Thanks!
>>>
>>> Al Lo
>>> 
>>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> sumo-user mailing list
>>> sumo-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>> ___
>>> sumo-user mailing list
>>> sumo-u...@eclipse.org
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>
>>
>>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Error message from traci

2017-12-04 Thread Jakob Erdmann via sumo-user
Possible there is an error in 005.sumocfg which prevented the simulation
from starting.
Add the option  to your sumocfg and then look into
the generated file log.txt to check for errors.
regards,
Jakob

2017-12-04 4:24 GMT+01:00 羅先豪 via sumo-user :

> Hello,
>
> I wanted to use python to trigger sumo running repeatedly and
> automatically,
> but found that it can only run the simulation for 4 times.
> There's error message when it tried to run the fifth time:
>
> Traceback (most recent call last):
>   File "D:\005\runner.py", line 180, in 
> traci.start ([sumoBinary,
> "-c","005.sumocfg","--tripinfo-output","tripinfo_
> 005.xml","--start","--quit-on-end"])
>   File "D:\sumo\tools\traci\__init__.py", line 82, in start
> sumoProcess = subprocess.Popen(cmd + ["--remote-port", str(port)])
>   File
> "C:\Users\Al\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py",
> line 596, in __init__
> _cleanup()
>   File
> "C:\Users\Al\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py",
> line 205, in _cleanup
> res = inst._internal_poll(_deadstate=sys.maxsize)
>   File
> "C:\Users\Al\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py",
> line 1035, in _internal_poll
> if _WaitForSingleObject(self._handle, 0) == _WAIT_OBJECT_0:
> OSError: [WinError 6] The handle is invalid.
>
> How can I fix it?
> Thanks!
>
> Al Lo
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Negative Departure Time

2017-12-02 Thread Jakob Erdmann via sumo-user
Hello,
currently, the traci-api limits time-related values to a maximum of
2147483s (~24 days) and negative values may be returned after this point.
(see https://github.com/DLR-TS/sumo/issues/3439)
Since your value appears to be in the ~4day range it should not hit this
issue.
try monitoring the exact values retrieved/requested before the error.
regards,
Jakob

2017-11-30 20:46 GMT+01:00 Eugene Vinitsky via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> After approximately 35 steps of our system, we get an error
> "traci.exceptions.TraCIException: Negative departure time in the
> definition
> of 'idm_0'. Is there some reason
> that self._connection.simulation.getCurrentTime() could be turning
> negative?
>
> Eugene
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] The difference between Waiting time and Time loss

2017-11-28 Thread Jakob Erdmann via sumo-user
for every trip there is a hypothetical duration tMIN that could be achieved
if the vehicle was driving with its maximum allowed speed (including
speedFactor) and there were no other vehicles nor traffic rules.

timeLoss = tripDuration - tMIN
also, waiting time is always included in timeLoss, therefore
timeLoss >= waitingTime

2017-11-27 22:25 GMT+01:00 Sara el hamdani via sumo-user <
sumo-user@lists.sourceforge.net>:

> Dear sumo-users,
>
> In my results I found that trip duration, waiting time and time loss values
> are very approximate. I need to use the three metrics and I understood from
> the wiki that "waiting time" is due to *stopping* and "time loss" is due to
> driving with a lower *speed*. I need to know how those metrics are
> calculated and which duration one is included in the other.
>
> [image: Images intégrées 1]
>
> --
> *Best regards*
>
>
> *Sara EL HAMDANI*
> *Phd student -Umi University.*
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Automated Intersections

2017-11-27 Thread Jakob Erdmann via sumo-user
Hello,
define the node type as traffic light and set all lights to Green. Then you
can manage approach speeds yourself and still get collision detection (with
--collision.check-junctions).
regards,
Jakob

2017-11-27 1:47 GMT+01:00 Eugene Vinitsky via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I am trying to use SUMO to control an automated intersection. If I set the
> priorities of a node that two lanes pass through to be equal, one of the
> lanes yields to the other. If I set the mode to be "unregulated" the cars
> wind up passing through each other. Does anyone know what mode might be
> best for this purpose or do I need to write my own code to detect crashes?
>
> Thank you,
>
> Eugene Vinitsky
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] tlLogic phases

2017-11-24 Thread Jakob Erdmann via sumo-user
Yes. See
http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Lane-Changing_Models
(set lcStrategic, lcSpeedGain, lcCooperative and lcKeepRight to 0)

2017-11-24 12:05 GMT+01:00 Sara el hamdani :

> Thank you Jakob for the reply! yes it seems logical, it is strange that
> in research papers they found that green short duration is better than the
> long duration either in low traffic or in high traffic. I will trust my
> results since they are logical.
>
> I have a question about disabling lane change. I have one project where I
> do not use python script or Traci. Can I disable the lane change using the
> xml and without using the change  mode of Traci?
>
> 2017-11-24 7:49 GMT+00:00 Jakob Erdmann :
>
>> TLC with long green duration performs better in high traffic due to the
>> time "wasted" at every switch.
>> TLC with short green duration performs better in low traffic because each
>> arm is served more frequently.
>>
>> 2017-11-23 23:07 GMT+01:00 Sara el hamdani via sumo-user <
>> sumo-user@lists.sourceforge.net>:
>>
>>> Dear sumo users,
>>>
>>> My question is not related directly to SUMO simulator but to traffic
>>> light
>>> system.
>>> I need to know the number of phases for the traditional TLC of 30s and
>>> for
>>> 10s for intersection of 4 roads, 2 directions in each road, and 3 lanes
>>> in
>>> each road, the intersection include crossing also .
>>>
>>> I tried with this code (depending on my guess)  for 30s TLC:
>>> 
>>>   
>>>   
>>>   
>>>   
>>>
>>>
>>> And this code for 10 s:
>>> 
>>>   
>>>   
>>>   
>>>   
>>>
>>>
>>> When I get the results in term of trip duration and waiting time the 30s
>>> system outperform the 10s system what is not logical. I think that my
>>> phase's state and duration is wrong.
>>>
>>> Please let me know if you have any idea about traditional TLC of 30 and
>>> 10
>>> s, or any suggestion that would make my simulation more logical.
>>> --
>>> *Best regards*
>>>
>>>
>>> *Sara EL HAMDANI*
>>> *Phd student -Umi University.*
>>> 
>>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> sumo-user mailing list
>>> sumo-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>> ___
>>> sumo-user mailing list
>>> sumo-u...@eclipse.org
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>
>>
>>
>
>
> --
> *Best regards*
>
>
> *Sara EL HAMDANI*
> *Phd student -Umi University.*
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] tlLogic phases

2017-11-24 Thread Jakob Erdmann via sumo-user
TLC with long green duration performs better in high traffic due to the
time "wasted" at every switch.
TLC with short green duration performs better in low traffic because each
arm is served more frequently.

2017-11-23 23:07 GMT+01:00 Sara el hamdani via sumo-user <
sumo-user@lists.sourceforge.net>:

> Dear sumo users,
>
> My question is not related directly to SUMO simulator but to traffic light
> system.
> I need to know the number of phases for the traditional TLC of 30s and for
> 10s for intersection of 4 roads, 2 directions in each road, and 3 lanes in
> each road, the intersection include crossing also .
>
> I tried with this code (depending on my guess)  for 30s TLC:
> 
>   
>   
>   
>   
>
>
> And this code for 10 s:
> 
>   
>   
>   
>   
>
>
> When I get the results in term of trip duration and waiting time the 30s
> system outperform the 10s system what is not logical. I think that my
> phase's state and duration is wrong.
>
> Please let me know if you have any idea about traditional TLC of 30 and 10
> s, or any suggestion that would make my simulation more logical.
> --
> *Best regards*
>
>
> *Sara EL HAMDANI*
> *Phd student -Umi University.*
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Rerouters for buses and polyconvert from shapefiles

2017-11-20 Thread Jakob Erdmann via sumo-user
Hello,
1) closingLaneReroute only causes vehicles with a rerouting device to adapt
their routes. See
http://sumo.dlr.de/wiki/Simulation/Rerouter#Closing_a_Lane
http://sumo.dlr.de/wiki/Demand/Automatic_Routing

Also, there is a known bug when using closingReroute with allow/disallow:
https://github.com/DLR-TS/sumo/issues/3633

2) Polyconvert is used to import building shapes, Points of Interest and
other map features for visualization. The default list of objects to import
from OSM is given in
https://github.com/DLR-TS/sumo/blob/master/data/typemap/osmPolyconvert.typ.xml
(highway type is not imported but can be added in a custome typemap file)

If you want to import roads from shape files you should use netconvert. See
http://sumo.dlr.de/wiki/Networks/Import/ArcView

regards,
Jakob


2017-11-20 10:05 GMT+01:00 Pyatkova, Katya via sumo-user <
sumo-user@lists.sourceforge.net>:

> Dear SUMO community,
>
> I have two questions that are puzzling me and I wanted to seek some help.
>
> First one is related to the rerouters that are specific to certain type of
> vehicles. If I use rerouters with the option allow="bus" or
> disallow="passenger", the simulation breaks, because it seems to consider
> the rerouted roads as missing. The vehicles that are usually passing by the
> rerouted roads do not try to reroute at all. Do you have any suggestion how
> this can be fixed?
>
> Second question has to do with polyconvert from shapefiles. If I run it
> with just --shapefile-prefixes it gives me the following error:
>
> ERROR 1: Invalid index: -1
> Error: Missing id number
>
> Then I decided to convert my shapefile to OSM and I even added key highway
> to it, but I am afraid with no success. The resultant poi or poly files
> that I created didn't show much information. It looked like that:
>
> 
>
>  origBoundary="-4.899190,36.507636,-4.878147,36.531321"
> projParameter="+proj=utm +zone=30 +ellps=WGS84 +datum=WGS84 +units=m
> +no_defs"/>
>
> 
>
> I could not visualize that in the GUI. Can you please advise what is the
> most convenient way to convert?
>
> Needless to say, your help would be greatly appreciated!
>
>
> Best regards,
>
>
> Katya Pyatkova
> MSc, PhD Candidate
> Centre for Water Systems
> College of Engineering, Mathematics and Physical Sciences (CEMPS)
> University of Exeter, North Park Road, Exeter EX4 4QF, United Kingdom
> k.pyatk...@exeter.ac.uk
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Simulation scenarios

2017-11-08 Thread Jakob Erdmann via sumo-user
Hello,
- you can take at the Luxembourg scenario:
https://github.com/lcodeca/LuSTScenario
- deciding (or re-deciding) the route at run-time can be accomplished with
the '--device.rerouting.' options. See
http://sumo.dlr.de/wiki/Demand/Automatic_Routing
regards,
Jakob


2017-11-09 4:14 GMT+01:00 Thanos Tasakos via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
> i see in the documentation that there is a number of implemented scenarios
> like Bologna and and Cologne. Are there any other implemented traffic
> scenarios so i can use them to test my algorithm?
> Moreover is it possible to have the demand as O/D matrices and decide at
> runtime the preferred route?
>
> Appreciate any help or link
> Thanos Tasakos
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] How to use xml2csv.py?

2017-11-08 Thread Jakob Erdmann via sumo-user
1) install python
2) using the command line call python xml2csv.py
yourfile.xml
 where
   - PATH0 is the path for locating python (if it is not found
automatically)
   - PATH1 is the path to xml2csv.py in your sumo installation
   - PATH2 is the path to your xml file



2017-11-08 3:41 GMT+01:00 羅先豪 via sumo-user :

> Hello,
>
> I want to convert the output-file into the form that Excel can read.
> The wiki page  for tools said that
> xml2csv.py can do this, but I don't understand how.
> Thank you!
>
> Al Lo
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] How To automatically set the shape of a junction?

2017-11-04 Thread Jakob Erdmann via sumo-user
Hello,
- if you want to have an automatically generated shape, delete the shape
attribute of the junction in 'inspect mode' in netedit.
- if you want to define the shape yourself, right-click the junction and
select 'set custom shape' (http://sumo.dlr.de/wiki/NETEDIT#Junction)
regards,
Jakob


2017-11-04 10:54 GMT+01:00 Lawrence Soon :

>
>
>
> Hi All,
>
>
> After using the commend *--junction.join-dist 20* , i realized that the
> shape of the junction is not properly set, as shown below:
>
> In SUMO:
>
>
> In Netedit
>
>
> Is there a way to set the shape of junction so that it looks nicely as in
> below?
>
>
>
>
>
>
>
> Thanks and have a great day!
>
> Best Regards,
> Lawrence
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] question about the duration of lane-changing

2017-11-04 Thread Jakob Erdmann via sumo-user
Hello,
to get a more detailed model of lateral dynamics it is recommended to use
the sublane model (
http://sumo.dlr.de/wiki/Simulation/SublaneModel#Sublane-Model)
regards,
Jakob

2017-11-03 14:02 GMT+01:00 Du, Kunyue (TF-D) via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi Jacob,
> I notice that I can change the duration of lane-changing during changing
> the value of lane-changing.duration in the configuration file of sumo. But
> in the simulation, every vehicle’s lane-changing duration is same, can I
> change the lane-changing duration dynamically? Like using some command in
> traci or can I  change the source code of sumo? When I can, how can I do it?
>
> Thank you.
> Best regards
> Kunyue Du
>
>
>
>
>
> Sitz/Registered Office: Berlin,
> Registergericht/Registration Court: Amtsgericht Charlottenburg,
> Registernummer/Company Registration Number: HRB 21 280,
> Geschäftsführer/Managing Directors: Kurt Blumenröder, Michael Schubert,
> Kai-Stefan Linnenkohl
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Prof.
> Dr. Harald Ludanek
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Full set of sumo lane changing params

2017-11-04 Thread Jakob Erdmann via sumo-user
Hello,
the wiki always reflects the state of the development version (a wiki
snapshot that belongs to a release is always bundled with the release).
The next release is planned for the end of the year but I cannot give you
the date yet.
regards,
Jakob

2017-11-03 22:49 GMT+01:00 Kanaad Parvate via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi All,
> I'm trying to use the lane changing parameters specified here
>  Vehicle_Types,_and_Routes#Lane-Changing_Models>.
> However, it seems that the most recent build is missing some parameters,
> namely "lcLookaheadLeft" among others.
>
> Is there a timeline as to when we'd expect to see the lane changing
> parameters incorporated in a stable build?
>
> Thanks!
>
> Kanaad Parvate
>
> UC Berkeley EECS '19
> Cell: 614-485-8614
> ᐧ
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] sampledSeconds

2017-11-02 Thread Jakob Erdmann via sumo-user
Hello,
the value is the sum for all vehicles in the measurement interval. I've
updated the wiki to make this more clear.
Thank you for reporting the ambiguity.
regards,
Jakob

2017-11-02 12:13 GMT+01:00 Natalia Liora via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I run SUMO and I select as an output the emission-output file in which I
> get for each edge the abs and normed emissions for the whole simulation
> period. Also, for each edge there is a value for the parameter
> sampledSeconds which is greater than the total simulation period. Why is
> this so?Is this the sum of times for all passed vehicles in the edge? In
> the manual, the definition of sampled seconds is "Number seconds vehicles
> were measured on the edge/lane (may be subseconds if a vehicle
> enters/leaves the edge/lane).
>
> thank you,
> Natalia
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Query regarding sumo behavior with lanechangemode and setspeedmode

2017-11-02 Thread Jakob Erdmann via sumo-user
Hello,
- laneChangeMode 0 also disables security checks. To disable all autonomous
changing but still handle safety checks in the simulation, use either one
of the modes *256* (collision avoidance) or *512* (collision avoidance and
safety-gap enforcement).
- By default there may only be one vehicle per lane with longitudinal
overlap. To achieve vehicles driving in parallel on the same lane without
collisions (i.e. because the lanes are wide enough to accommodate two
vehicles) requires usage of the sublane model (
http://sumo.dlr.de/wiki/Simulation/SublaneModel)
- regarding 1): This sounds strange but I would need to see your code to
determine the cause of this behavior
- regarding 2): Switching positions should not happen if the vehicles are
already driving side by side. Please send me a *minimum* scenario that
demonstrates this behavior

regards,
Jakob


2017-11-01 13:27 GMT+01:00 Pranav Sharma via sumo-user <
sumo-user@lists.sourceforge.net>:

> Dear Sir/Madam
>
> I am a student doing my master thesis on reinforcement learning with SUMO.
> I have been developing on SUMO for quite a few time. I have set
> setSpeedMode to 6 to regard the max acceleration and deceleration for the
> vehicle. And laneChangeMode to 0 to disregard any lane changes done
> automatically by SUMO. However, I am troubled with two cases. Following are
> the problems I am facing:
> 1)  If I try to decelerate on every time step. The vehicle is still able to
> gather some velocity every other step.
> 2) I am trying to make a lateral collision in which no actual collision
> happens laterally just that I see if traci doesn't allow me to change the
> lane then it is collision. But with above conditions, my vehicle basically
> switches position with other lateral vehicles. I wish to disable this
> behavior.
>
> I would highly appreciate any feedback you could provide.
>
>
> --
> Best Regards
> Pranav Sharma
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Set traffic light error

2017-11-02 Thread Jakob Erdmann via sumo-user
Hello,
the error indicates that the phase string "GyGy" does not have the correct
number of entries. Right-click the traffic ligh (red/green bars) for
center0 in sumo-gui and check the number of controlled links by selecting
'show phases' or simply call
trafficlights.getRedYellowGreenState('center0') to see what the proper size
should be.
regards,
Jakob

2017-11-02 2:46 GMT+01:00 Eugene Vinitsky via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello, I am trying to control a grid of traffic lights in which they are
> named "center0", "center1", etc.
> I run the command
>
> self.traci_connection.trafficlights.setRedYellowGreenState('center0',
> 'GyGy')
>
> I then get the error: Mismatching phase size in tls 'center0', program
> 'online'.ACT
>
> If someone can see what I'm doing wrong, that'd be much appreciated.
>
> Thanks!
>
> Eugene Vinitsky
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Wrong return value of traci.vehicle.getDrivingDistance if vehicle is on node - workaround

2017-11-01 Thread Jakob Erdmann via sumo-user
Dear Joerg,
thank you for reporting this. It has been fixed in
v0_31_0-843-g5aa8c2c
(which is our new github way of referencing commits and means 843 commits
after release of 0.31.0 with full hash:
https://github.com/DLR-TS/sumo/commit/5aa8c2ca2e839fd3853f9db60304aeae27a7d393
)
regards,
Jakob

2017-10-31 11:54 GMT+01:00 Joerg Schweizer via sumo-user <
sumo-user@lists.sourceforge.net>:

> A quick workaround to my own issue:
> measuring the distance to at least 1m inside edge2 will retuen
> "reasonable" results (who cares about 1m), so for example
>
> distance = traci.vehicle.getDrivingDistance(vehicleID, edge2ID, 1.0)
>
> will work, even if the vehicle is on the node before edge2.
>
> Best wishes,
> Joerg
>
> On 31/10/17 11:12, Joerg Schweizer via sumo-user wrote:
>
>> Hello,
>> I noticed a strange return value from  getDrivingDistance in the
>> following situation:
>>
>> ---edge1---| node |---edge2---
>>
>> if a vehicle is right on the node (on some internal edge) and I call
>>
>> distance = traci.vehicle.getDrivingDistance(vehicleID, edge2ID, 0.0)
>>
>> then the distance value is not close to zero  (as I would expect),
>> but returns approximately the length of edge1.
>>
>> (I tried this with version r26440 and  older 0.30)
>>
>> Kind regards,
>> JOerg
>>
>> --
>>
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> sumo-user mailing list
>> sumo-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] How to get the results of the simulation

2017-10-31 Thread Jakob Erdmann via sumo-user
add it like this (--log and logfile.txt are two separate items):
traci.start([sumoBinary, '-c', os.path.join('data', 'run.sumocfg'),
"--step-length", "0.1", "--duration-log.statistics","--log", "logfile.txt"])

2017-10-31 17:06 GMT+01:00 Sara el hamdani :

> My simulation runner is like this:
>
> traci.start([sumoBinary, '-c', os.path.join('data', 'run.sumocfg'),
> "--step-length", "0.1", "--duration-log.statistics","--log logfile.txt"])
>
> When I add "--log logfile.txt" I get this error relation to TraCi server
> connection:
>
> [image: Images intégrées 1]
>
>
>
> 2017-10-31 12:03 GMT+00:00 Jakob Erdmann :
>
>> run your simulation with the option --duration-log.statistics and --log
>> logfile.txt
>> you will find the results in logfile.txt
>>
>> regards,
>> Jakob
>>
>> 2017-10-31 9:35 GMT+01:00 Sara el hamdani via sumo-user <
>> sumo-user@lists.sourceforge.net>:
>>
>>> Hello sumo users,
>>>
>>> I need to get the avg. trip duration, avg. trip waiting time and avg.
>>> trip
>>> time loss for both vehicles and pedestrians.
>>>
>>> I couldn't get this results (avg) using reports, but I found vehicles's
>>> avg
>>> on the sumo-gui simulation parameter.
>>>
>>> How could I get pedestrians's avg. trip duration, avg. trip waiting time
>>> and avg. trip time loss?
>>> --
>>> *Best regards*
>>>
>>>
>>> *Sara EL HAMDANI*
>>> *Phd student -Umi University.*
>>> 
>>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> sumo-user mailing list
>>> sumo-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>> ___
>>> sumo-user mailing list
>>> sumo-u...@eclipse.org
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>
>>
>>
>
>
> --
> *Best regards*
>
>
> *Sara EL HAMDANI*
> *Phd student -Umi University.*
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] How to get the results of the simulation

2017-10-31 Thread Jakob Erdmann via sumo-user
run your simulation with the option --duration-log.statistics and --log
logfile.txt
you will find the results in logfile.txt

regards,
Jakob

2017-10-31 9:35 GMT+01:00 Sara el hamdani via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello sumo users,
>
> I need to get the avg. trip duration, avg. trip waiting time and avg. trip
> time loss for both vehicles and pedestrians.
>
> I couldn't get this results (avg) using reports, but I found vehicles's avg
> on the sumo-gui simulation parameter.
>
> How could I get pedestrians's avg. trip duration, avg. trip waiting time
> and avg. trip time loss?
> --
> *Best regards*
>
>
> *Sara EL HAMDANI*
> *Phd student -Umi University.*
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] About SUMO wiki server corrupt

2017-10-30 Thread Jakob Erdmann via sumo-user
While we're working on getting the wiki server back online, you may use the
offline version of the wiki that comes with every sumo release
(sumo/docs/userdoc/index.html)
regards,
Jakob

2017-10-30 8:49 GMT+01:00 Gihwan Kim via sumo-user <
sumo-user@lists.sourceforge.net>:

> I'd like to see the SUMO wiki pages, but the wiki server is breakdown now.
>
> http://sumo.dlr.de/index.html
>
> I would be appreciate that you would repair the wiki.
>
>
> Sincerely,
> Gihwan Kim
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] How to generate 1500 number of vehicles in SUMO with specific routes?

2017-10-26 Thread Jakob Erdmann via sumo-user
5s yellow phase should normally be sufficient.
Please observe the vehicle that is performing emergency braking in the
simulation:
- what is the speed limit on the edge before the traffic light?
- what is the vehicle speed?
- what is the distance of the vehicle to the intersection at the time it
switches to yellow?
- what is the distance of the vehicle to the intersection and what is its
speed  at the time it starts braking?
regards,
Jakob


2017-10-26 8:50 GMT+02:00 Lawrence Soon :

> Hello Jakob,
>
>
> Thanks. The "waited too long" issue has been resolved. However, the Yellow
> Phase is set to 5s while Green Phase is set to 36s in the simulation.
> Observed the deceleration exceed what has been set in rou.xml as follows:
>
>
>  maxSpeed="27.78" sigma="0.5"/>
>
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


[sumo-user] Migration to GitHub

2017-10-24 Thread Jakob Erdmann via sumo-user
Dear friends and users,
our migration to GitHub and Eclipse (
http://sumo.dlr.de/wiki/Eclipse_Migration) has a major step scheduled for
the coming weekend. Beginning on October 27th we will switch the
subversion repository
hosted on Sourceforge  and the
accompanying issue tracker  into
read-only mode.
We plan to have our new repository  ready on
GitHub on 1st November.
Please make sure to update your version control client and working copy
paths if you want to stay up to date on sumo development. The download
links for our nightly build remain the same.

best regards,
The SUMO Team
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Find the junction nodes _Reg

2017-10-24 Thread Jakob Erdmann via sumo-user
Hello,
there is no library function to accomplish your goal directly. However,
using sumolib (http://sumo.dlr.de/wiki/Tools/Sumolib) you can retrieve the
geometry of an existing network and then perform arbitrary geometrical
computation with your own code.
regards,
Jakob

2017-10-24 7:14 GMT+02:00 boopathi via sumo-user <
sumo-user@lists.sourceforge.net>:

> Greeting of the day
>
> I have to create the two junction and i want to interconnect the that two
> junction by using nodes .How to find out the nodes by using angle ..There
> is any possible to find the angle in junction to make path between two
> junction
>
> Thanks
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] how to find out the near nodes

2017-10-23 Thread Jakob Erdmann via sumo-user
http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_Python#Context_Subscriptions

regards,
Jakob

2017-10-23 11:33 GMT+02:00 boopathi via sumo-user <
sumo-user@lists.sourceforge.net>:

> Greeting everyone
>
>
> May i know how to find the near nodes in junction and i am know distance
> between the two junction .
>
> by using the distance and lane width there is any possible to find the near
> by nodes like polar to Cartesian using equation
>
> x=r*cos(degree)
>
> y=r*sin(degree)
>
> i tried above this equation but i did't get any exact x,y value
>
> any one plz help me ...
> Thanks 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Sumo debugging errors and guidance regarding sumo pedestrian features

2017-10-23 Thread Jakob Erdmann via sumo-user
Hello,
Sumo uses C++11 features since version 0.31.0 which requires at least
version 2013 of visual studio.
The pedestrian model is implemented in
src/microsim/pedestrians/MSPModel_Striping.cpp

regards,
Jakob


2017-10-23 8:07 GMT+02:00 Maria Khurshid via sumo-user <
sumo-user@lists.sourceforge.net>:

> hi everyone,
>
> i want to understand the pedestrian features of sumo and want to work on
> them but first i am just configuring sumo on Visual studio. i am using
> visual studio 2010 and the problem is that sumo 0.30.0 is working fine when
> i debug it in release and debug mode but sumo 0.31.0 is giving a lot of
> syntax errors on debugging. please guide me about what am i doing wrong
>
> Also can someone guide me if i want to extend some of the pedestrian
> crossing features. which of the in built projects are related to
> pedestrians and from where should i start. i am a beginner and dont know
> much about how to use sumo. any help would be appreciated
>
> Regards, Maria
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Fuel consumption in sumo

2017-10-23 Thread Jakob Erdmann via sumo-user
Hello,
fuel consumption also depends on accel/decel and for some models on slope
as well.
For further reading see http://elib.dlr.de/89398/
The source code for the models is in utils/emissions. The core component is
the compute() function of the Helpers* classes.
regards,
Jakob


2017-10-23 6:45 GMT+02:00 Santa Maiti :

> Hi Jacob,
>
> Could you please clarify, is the fuel consumption of a vehicle in any
> timestamp depends on only its speed or any other parameters like
> accel/decel. I was checking the output file, in some cases, it is showing
> fuel consumption is 0  through the vehicle has some speed. Is there any
> link which explains how the fuel consumption is computed?
>
> Regards,
> Santa
>
> --
> Santa Maiti,
> Ph.D Student,
> Geomatics, Department of Infrastructure Engineering,
> University of Melbourne.
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Using TraCI to restart sumo simulation

2017-10-22 Thread Jakob Erdmann via sumo-user
Hello,
sending 'reload' or obtaining the original options is currently not
possible. You will need to pass the path to the configuration file into
your test management system in some way in order to restart the simulation
with those options.
regards,
Jakob

2017-10-22 15:06 GMT+02:00 Marc Rene Zofka via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi,
>
> is it possible to restart a sumo configuration, which has been loaded
> using a *.sumocfg xml-formatted configuration file?
>
> I would like to control sumo with a test management system, which enables
> me to reset a running simulation. Is there
> a possibility beside using the load() command of the TraCI API? Or is it
> possible to obtain the xml-parsed configuration at the client's side
> using the TraCI capabilities to fed this configuration into the load()
> function again and again?
>
> With best regards!
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Default speed mode value used in Sumo

2017-10-21 Thread Jakob Erdmann via sumo-user
Hello,
command traci.vehicle.setSpeed sets the new desired speed indefinitely. In
order to go back to normal behavior the command setSpeed(vehID, -1) must be
sent.
see http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State
regards,
Jakob

2017-10-20 19:45 GMT+02:00 Santa Maiti :

> Hi Jacob,
>
> Please find the sample example code rough.m . The initial vehicle speed is
> 2 m/s and it is increasing as per accel. speedmode is set to 0. Later,
> speed is increased and speedmode is set back to 31. But, the speed of the
> vehicle remains same 20m/s. Can you please tell me where is the mistake
> here?
>
> Thanks,
> Santa
>
> On Fri, Oct 20, 2017 at 5:23 PM, Jakob Erdmann  > wrote:
>
>> Hello,
>> the default speed mode is 31. Please check whether the vehicles have
>> already reached their maximum desired speed (speedLimit * speedFactor).
>> Also, remove any previous setSpeed() commands by sending
>> traci.vehicle.setSpeed(vehID, -1).
>> Furthermore, ensure that the maximum allowed acceleration value of the
>> vehicle type is positive.
>> regards,
>> Jakob
>>
>> 2017-10-20 7:26 GMT+02:00 Santa Maiti :
>>
>>> Hi Jacob,
>>>
>>> Could you please tell me what is the default speed mode value used in
>>> Sumo, where the vehicles speed up if the lane is free? I thought it's 31.
>>> In my simulation, I first made the speed mode as 0 that makes all checks
>>> off. In next simulation step when I'm resetting the speed mode in 31, the
>>> vehicles are moving at constant speed. They are not accelerating even if
>>> the lane is empty. I'm working in traci-matlab.
>>>
>>> Thanks in advance,
>>> Santa
>>>
>>> --
>>> Santa Maiti,
>>> Ph.D Student,
>>> Geomatics, Department of Infrastructure Engineering,
>>> University of Melbourne.
>>>
>>
>>
>
>
> --
> Santa Maiti,
> Ph.D Student,
> Geomatics, Department of Infrastructure Engineering,
> University of Melbourne.
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] How to get a person's position with more precision

2017-10-21 Thread Jakob Erdmann via sumo-user
If you run your simulation with option --step-length 0.1 then time
resolution is 0.1 seconds rather than 1s so you have more precision.
regards,
Jakob

2017-10-21 10:28 GMT+02:00 Sara el hamdani via sumo-user <
sumo-user@lists.sourceforge.net>:

> Dear sumo users
>
> Can I change deltaT or have more precision on the position of a person
> using TraCI?
>
> I am trying to get a person to stop when they reach the line between lanes
> while crossing, and to do this the only way I found is by getting their
> lanePosition. but between simulation steps my pedestrian passes the point
> at wich I want to him to stop.
>
> I would like to thank Jakob for answering my previous question.
>
> --
> *Best regards*
>
>
> *Sara EL HAMDANI*
> *Phd student -Umi University.*
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] question about sumo simulation fcd-output

2017-10-20 Thread Jakob Erdmann via sumo-user
Hello,
to get lon-lat values in fcd-output you als need to set the option
--fcd-output.geo
(note, that the values will still be written to the 'x' and 'y' attributes)
regards,
Jakob

2017-10-20 17:18 GMT+02:00 stefano pino via sumo-user <
sumo-user@lists.sourceforge.net>:

> Greetings everyone!!!
>
> How are you?
>
> I am quite a beginner with Sumo and i would like to receive some support!
>
> I am trying to set up a simulation and read simply the results using the
> sumo package
>
> I use osm maps in order to build the network
> and then using randomtrip.py i am setting up a vehicle traffic
> i read in the wiki pages (
> http://sumo.dlr.de/wiki/Simulation/Output/FCDOutput) that the values x/y
> of
> the vehicles FCDOutput can be absolute or lat/lng
>
> but i am not able to read lat/lng values in the xml output, the wiki says
> that this
> depends on the given geographic projection
>
>
>
>
> what am i doing wrong?
>
> thanks in advance
>
>
> Stefano
>
>
>
>
>  utm_source=link_campaign=sig-email_content=webmail>
> Mail
> priva di virus. www.avg.com
>  utm_source=link_campaign=sig-email_content=webmail>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] problem with xml2csv.py

2017-10-20 Thread Jakob Erdmann via sumo-user
Hello,
run the tool using it's full path:
python c:\\sumo\tools\xml\xml2csv.py 
(or whatever the path on your operating system is)
regards,
Jakob


2017-10-20 14:56 GMT+02:00 Natalia Liora via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I have downloaded the version 0.3 of sumo. I am trying to run the tool
> xml2csv but I get the error: "python: can't open file 'xml2csv.py': [Errno
> 2] No such file or directory”.
>
> The tool, however, exists in the directory sumo/tools/xml/.
>
> Thank you,
> Natalia
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Default speed mode value used in Sumo

2017-10-20 Thread Jakob Erdmann via sumo-user
Hello,
the default speed mode is 31. Please check whether the vehicles have
already reached their maximum desired speed (speedLimit * speedFactor).
Also, remove any previous setSpeed() commands by sending
traci.vehicle.setSpeed(vehID, -1).
Furthermore, ensure that the maximum allowed acceleration value of the
vehicle type is positive.
regards,
Jakob

2017-10-20 7:26 GMT+02:00 Santa Maiti :

> Hi Jacob,
>
> Could you please tell me what is the default speed mode value used in
> Sumo, where the vehicles speed up if the lane is free? I thought it's 31.
> In my simulation, I first made the speed mode as 0 that makes all checks
> off. In next simulation step when I'm resetting the speed mode in 31, the
> vehicles are moving at constant speed. They are not accelerating even if
> the lane is empty. I'm working in traci-matlab.
>
> Thanks in advance,
> Santa
>
> --
> Santa Maiti,
> Ph.D Student,
> Geomatics, Department of Infrastructure Engineering,
> University of Melbourne.
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] How to knowing all the nodes in intersection

2017-10-17 Thread Jakob Erdmann via sumo-user
Hello,
sumolib currently supports retrieving edges that are located close to a
given x,y coordinate using net.getNeighboringEdges and
net.getNeighboringLanes. Using the function net.convertLonLat2XY and
net.convertXY2LonLat you can do geo-coordinate transformation.
regards,
Jakob

2017-10-17 8:43 GMT+02:00 boopathi via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi
>
> May i know how to identify all nodes starting and ending points connected
> to particular intersection automatically in python and m using sumo app??
>
> i know intersection lat and lon.
>
>
> Thank you.
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] 0.31.0 Bug notification

2017-10-14 Thread Jakob Erdmann via sumo-user
Dear Joerg,
i'm unable to reproduce such a crash with a large network (13.9k nodes)
when trying with version 26461 (32 and 64 bit) on windows as well as on
linux.
Possibly your crash is network specific. Can you give me a download link
for the .net.xml?
regards,
Jakob


2017-10-13 13:39 GMT+02:00 Joerg Schweizer via sumo-user <
sumo-user@lists.sourceforge.net>:

> Dear Jakob,
>
> thanks for fixing this important bug.
>
> Maybe you have noticed this yourself: installing today's nightly windows
> release, sumo-gui crashes with larger networks (14k nodes), when loading
> the net.
> I have tried the 32 and 64 bit windows installer versions on a Windows10
> HP computer with Intel Graphics card.
>
> For smaller networks, it seems that loading and simulation is OK.
>
> Best wishes,
> Joerg
>
>
>
>
>
> On 28/09/17 19:39, Jakob Erdmann via sumo-user wrote:
>
>> Dear users,
>> Please note that a bug was introduced in Netedit version 0.31.0  that
>> appears when saving networks which contain pedestrian crossings controlled
>> by a traffic light (http://sumo.dlr.de/trac.wsgi/ticket/3472).
>> It causes crossing to be uncontrolled. If you use Netedit to create
>> pedestrian scenarios, it is recommended that you upgrade to the
>> development
>> version. Affected networks can be fixed by loading and saving them with
>> netconvert 0.31.0 or a later version.
>>netconvert -s bugged.net.xml -o fixed .net.xml
>>
>> regards,
>> Jakob
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> sumo-user mailing list
>> sumo-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>
>>
>
> --
> Joerg Schweizer
> University of Bologna
> DICAM - Transportation Group
> Viale Risorgimento, 2, I-40136 Bologna, Italy
> Tel: +39 051 209 3338, Fax: +39 051 209 3337
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] * is not downstream the current route. traci.vehicle.setBusStop problem

2017-10-12 Thread Jakob Erdmann via sumo-user
Then the error message is correct in stating that "the stop is not
downstream the current route". At this point you could
either use a different stop or compute a route the cycles back to the start
of the stop edge.
For the latter case it should be sufficient to call vehicle.setVia(vehID,
stopEdgeID) followed by vehicle.changeTarget(vehID, stopEdgeID)
regards,
Jakob

2017-10-12 17:56 GMT+02:00 Lei Zhu :

> Jakob,
>
> Thank you for the information. Let me answer all your questions.
>
> vehicle is already past the stop position?  On what edge and position is
> the vehicle when sending the setBusStop command?
> *Yes, the vehicle has already passed the stop position and still on the
> same edge of the stop, when requests the stop.*
>
> In this circumstance, how should I do about it?
>
> Thanks,
>
> Lei
>
>
> On Thu, Oct 12, 2017 at 1:42 AM, Jakob Erdmann  > wrote:
>
>> Hello,
>> Potentially the vehicle is already past the stop position? On what edge
>> and position is the vehicle when sending the setBusStop command?
>> If the vehicle is upstream of the stop, please send in additional
>> information as described here:
>> http://sumo.dlr.de/wiki/FAQ#How_do_I_report_erroneous_behavi
>> or_of_a_SUMO_application.3F
>>
>> regards,
>> Jakob
>>
>> 2017-10-11 18:59 GMT+02:00 Lei Zhu via sumo-user <
>> sumo-user@lists.sourceforge.net>:
>>
>>> Hello,
>>>
>>> As checking the archived bugs. I did have a probelm when using
>>> Traci.vehicle.setBusStop().
>>>
>>> traci.vehicle.changeTarget(veh_id, departure_stop_edge_id)
>>> print veh_id, traci.vehicle.getRoute(veh_id)
>>> traci.vehicle.setBusStop(veh_id, departure_stop_id, duration = 10)
>>>
>>> The error like this
>>> traci.exceptions.TraCIException: Bus stop 'busstop7' for vehicle
>>> 'AES_1' on
>>> lane '1/2to2/2_0' is not downstream the current route.
>>>
>>> I have checked the route by "traci.vehicle.getRoute(veh_id)" which liked
>>> ['2/2to3/2', '3/2to4/2', '4/2to1/2', '1/2to2/2'], where edge "1/2to2/2"
>>> is
>>> within the route at index of 3.
>>> It seems the conditions are all satisfied, but error is still there.
>>> 1) the stop edge is part of the route.
>>> 2) There is only one busstop assigned.
>>> 3) No later stops.
>>>
>>> Thanks,
>>>
>>>
>>> *Re: [sumo-user] Error: * is not downstream the current route.
>>> *
>>> From: Jakob Erdmann  - 2014-12-10 07:35:54
>>>
>>> Hello,
>>> the netcheck documentation was wrong and has been corrected.
>>> As to the 'not downstream' error, it is triggered in either one of the
>>> following cases
>>> - the stop edge is not part of the route
>>> - the stops do not appear in the same order as the edges in the route
>>> - a later stop appears at an earlier position on the same edge as an
>>> earlier stop
>>> If you can rule out all of these cases, please send in your complete
>>> input
>>> files as it may be a bug
>>> (seehttp://sumo.dlr.de/wiki/FAQ#How_do_I_report_Erroneous_be
>>> havior_of_a_SUMO-Application.3F
>>> )
>>> regards,
>>> Jakob
>>> 
>>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> sumo-user mailing list
>>> sumo-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>> ___
>>> sumo-user mailing list
>>> sumo-u...@eclipse.org
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/sumo-user
>>>
>>
>>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] * is not downstream the current route. traci.vehicle.setBusStop problem

2017-10-12 Thread Jakob Erdmann via sumo-user
Hello,
Potentially the vehicle is already past the stop position? On what edge and
position is the vehicle when sending the setBusStop command?
If the vehicle is upstream of the stop, please send in additional
information as described here:
http://sumo.dlr.de/wiki/FAQ#How_do_I_report_erroneous_behavior_of_a_SUMO_application.3F

regards,
Jakob

2017-10-11 18:59 GMT+02:00 Lei Zhu via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> As checking the archived bugs. I did have a probelm when using
> Traci.vehicle.setBusStop().
>
> traci.vehicle.changeTarget(veh_id, departure_stop_edge_id)
> print veh_id, traci.vehicle.getRoute(veh_id)
> traci.vehicle.setBusStop(veh_id, departure_stop_id, duration = 10)
>
> The error like this
> traci.exceptions.TraCIException: Bus stop 'busstop7' for vehicle 'AES_1'
> on
> lane '1/2to2/2_0' is not downstream the current route.
>
> I have checked the route by "traci.vehicle.getRoute(veh_id)" which liked
> ['2/2to3/2', '3/2to4/2', '4/2to1/2', '1/2to2/2'], where edge "1/2to2/2" is
> within the route at index of 3.
> It seems the conditions are all satisfied, but error is still there.
> 1) the stop edge is part of the route.
> 2) There is only one busstop assigned.
> 3) No later stops.
>
> Thanks,
>
>
> *Re: [sumo-user] Error: * is not downstream the current route.
> *
> From: Jakob Erdmann  - 2014-12-10 07:35:54
>
> Hello,
> the netcheck documentation was wrong and has been corrected.
> As to the 'not downstream' error, it is triggered in either one of the
> following cases
> - the stop edge is not part of the route
> - the stops do not appear in the same order as the edges in the route
> - a later stop appears at an earlier position on the same edge as an
> earlier stop
> If you can rule out all of these cases, please send in your complete input
> files as it may be a bug
> (seehttp://sumo.dlr.de/wiki/FAQ#How_do_I_report_Erroneous_
> behavior_of_a_SUMO-Application.3F
> )
> regards,
> Jakob
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Emission Output Timer

2017-10-05 Thread Jakob Erdmann via sumo-user
Hello,
patching sumo is probably the easiest solution for your problem.
Put your check into the file microsim/output/MSEmissionExport.cpp
Alternatively, you could write the file to a socket and filter the data
with another script before writing it to disk (
http://sumo.dlr.de/wiki/Basics/Using_the_Command_Line_Applications#Writing_files
)
regards,
Jakob

2017-10-05 14:56 GMT+02:00 Damiano Schirinzi via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello SUMO developers,
>
> First of all I would like to thank you for the very nicely written and
> commented source code. As well as for the useful documentation. It really
> helps to implement own features :)
>
> I am using SUMO for a project were I implemented a own car following model
> into the source code. My simulation environment contains up to 4000 cars
> and for the system to reach steady state I have to run he simulation for
> approximately an hour. But if I want to generate an output with the option:
> --emission-output  ; the simulation will take forever and just the
> output of 60 seconds is almost 1GB of data.
>
> I am searching for a way to generate output only for a given timeframe in
> the simulation. Is there any way to do that?
>
> I am also aware of the fact that I can save a state and then run the
> simulation from said state. But since my car follow model has quite a lot
> of variables with internal memory I would have to find a way to output them
> in the saving of a state file. So this would be a more cumbersome option to
> implement.
>
> I assume to have located the structure for the output of the emission data
> to be in the function "void MSFullExport::writeVehicles(OutputDevice& of)"
> in the file MSFullExport.cpp. I tried to wrap an if statement as if(SIMTIME
> > ) around the output inside the function, but it didn't help.
>
> I hope there is a workaround for my issue. Would be glad about any
> suggestions or hints on how to tackle my issue.
>
> Thanks in advance for helping!
>
> BR,
>
> Damiano Schirinzi
>
> master in mechanical engineering
> ETH Zürich
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Adding penalties to current travel times.

2017-10-03 Thread Jakob Erdmann via sumo-user
The travel_time * penalty approach you describe is the most flexible and
general approach.
You could achieve a similar effect (automatically updated travel times,
some customization via TraCI) with device.rerouting.
http://sumo.dlr.de/wiki/Demand/Automatic_Routing

regards,
Jakob

2017-10-03 18:36 GMT+02:00 Shekar V via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello
>
> I am trying to run a simple simulation where all vehicles move from Point A
> to Point B. There are only 2 routes to travel from A to B, say Route1 and
> Route2.
>
> I want to "discourage" the router from assigning vehicles to Route1 by
> adding a penalty/weight to the route. To do this, I am using weight files
> with the traveltime attribute along with the traci command:
> traci.vehicle.rerouteTraveltime(self, vehID, currentTravelTimes=False)
>
> I understand that by doing this the vehicle will completely ignore the
> current travel times and route according to the weights defined in the
> weight file. What I want to do is add a penalty to the current travel
> times, so that if Route 2 becomes congested, new trips will be routed
> through Route 1.
>
> An approach I was considering is:
> travel_time = traci.edge.getTraveltime(edgeID)
> new_travel_time = travel_time * penalty
> traci.edge.adaptTraveltime(edgeID, new_travel_time)
>
> If there is an easier way to solve this issue please let me know.
>
> Thanks
> Shekar
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


[sumo-user] 0.31.0 Bug notification

2017-09-28 Thread Jakob Erdmann via sumo-user
Dear users,
Please note that a bug was introduced in Netedit version 0.31.0  that
appears when saving networks which contain pedestrian crossings controlled
by a traffic light (http://sumo.dlr.de/trac.wsgi/ticket/3472).
It causes crossing to be uncontrolled. If you use Netedit to create
pedestrian scenarios, it is recommended that you upgrade to the development
version. Affected networks can be fixed by loading and saving them with
netconvert 0.31.0 or a later version.
  netconvert -s bugged.net.xml -o fixed .net.xml

regards,
Jakob
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Problem with converting vissim to sumo.

2017-09-26 Thread Jakob Erdmann via sumo-user
Somewhere in your inpx file is an xml attribute with an empty value
(someAttribute=""). This is not expected by the importer.
Search for "" in your file and try to remove the attribute (or set an
appropriate value).
regards,
Jakob

2017-09-26 14:34 GMT+02:00 Phuong Nguyen via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I am trying to convert a vissim file to sumo using below command:
>
> netconvert --vissim-file=robust.inpx --output-file=mySumofile.net.xml
>
> and here is result:
> warning: Environment variable SUMO_HOME is not set, using built in type
> maps.
> 85
> 2
> 211.74
> -1221.07, -1531.35 -1220.78, -1530.12 -1202.48, -1346.63 -1201.82, -1332.38
> -1201.37, -1320.59
> Error: Runtime error: Empty data while parsing 'robust.inpx'
> Error: No nodes loaded.
> Quitting (on error).
>
> Can you please give me any suggestion with this problem.
>
> Thank you very  much indeed.
>
> Best regards,
>
> Phuong.
>
> --
> Ms. Phuong Thi Mai Nguyen
> PhD student, De Montfort University,
> Leicester, UK.
> Email:  phuongthimaingu...@gmail.com
>   p14029...@myemail.dmu.ac.uk
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Simulation Step TraCI call at time 0

2017-09-26 Thread Jakob Erdmann via sumo-user
Hello,
when you take a look at the gui, you will find that the first call of
simulationStep(0) advances the simulation to the end of step 0 (with
vehicles departing at 0 already being inserted).
Only the command simulation.getCurrentTime() already shows you 0.5 because
all further traci calls will be processed at the start of the step that
ends at 0.5
However, any vehicle positions you retrieve after the first call to
simulationStep will be the ones from the insertion step 0.
regards,
Jakob

2017-09-26 10:35 GMT+02:00 Mani Amoozadeh via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
>
>
> I setup a SUMO simulation with 0.5s time step in TraCI mode.
>
> Once the TraCI is established I subscribe to departed vehicles count and
> then insert 10 vehicles at time 0s.
>
> I call simulation step like this:
>
>
>
> simulationStep(500) --> simulationStep(1000) --> simulationStep(1500) .
>
>
>
> The first simulationStep returns subscription result that all 10 vehicles
> have departed.
>
>
>
> Is there any way to call simulationStep like this:
>
>
>
> simulationStep(0)  --> simulationStep(500) --> simulationStep(1000) -->
> simulationStep(1500) .
>
>
>
> So that the first simulationStep call give me the subscription result
> showing that all vehicles have departed.
>
> Apparently, I cannot do this since 0 has a special meaning and proceeds
> simulation to 500ms.
>
> Is there any workaround for this?
>
>
>
> Thank you.
>
>
>
> - Mani
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Overtaking issue when switching to sublane model

2017-09-26 Thread Jakob Erdmann via sumo-user
Hello,
opposite-direction driving is not yet compatible with the sublane model (
http://sumo.dlr.de/wiki/Simulation/SublaneModel#Sublane-Model)
regards,
Jakob

2017-09-26 9:42 GMT+02:00 alex goupilleau via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello all,
>
>
> In order to create scenarios with Traci where I can control the
> longitudinal position of the vehicle, I switched from the default
> lane-changing model to the SL2015 model.
>
> I have a simple network composed of two edges side by side in opposite
> driving direction. Each edge only has one lane.
>
> I created a scenario with this network where I have two vehicles on the
> same edge, and I set the speed of the following one so that it overtakes
> the first one.
>
> With the LC2013 default model, the vehicle overtakes (makes a lane change
> to the other edge), and with the SL2015 (only adding the option
> --lane-resolution, nothing other than that is different), it does not
> overtake anymore.
>
>
> Would you know why ?
>
>
> Thanks,
>
>
> Alex
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Vehicle Intersection speeds

2017-09-22 Thread Jakob Erdmann via sumo-user
Hello,
this is not yet supported in 0.31.0. However, If you use the latest
development version (26919) you can set the speed attribute for connections
(via .con.xml input) or netedit.
http://sumo.dlr.de/wiki/Downloads#SUMO_-_Latest_Development_Version
regards,
Jakob

2017-09-22 12:02 GMT+02:00 Daniel Vaughan via sumo-user <
sumo-user@lists.sourceforge.net>:

>
> Hello,
>
>
> I am working on making vehicle cornering speeds on sharp corners or
> intersections more realistic. I have managed to do this on sharp corners by
> modifying the edge speed for that section of road. I would like to do the
> same on intersections. Is there a method to adjust the speed limit for the
> internal edges/connectors at intersections?
>
> Regards,
>
> Daniel
>
>
>
>
>
>
>
> This message has been scanned for malware by Websense. www.websense.com
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Needing more information for platooning model

2017-09-22 Thread Jakob Erdmann via sumo-user
Hello,
are you trying to implement a new model within sumo (C++) or are you trying
to control the simulation via TraCI?
In either case, the acceleration is implied in the change of speed from one
step to the next.
Within sumo you can call MSVehicle::getAcceleration() and from TraCI you
need to record the speed from the previous step for each vehicle in order
to compute acceleration.
To get the leader of a platoon you can call getLeader repeatedly (on the
previous leader) until the distance to the next leader crosses some
threshold you find suitable.

regards,
Jakob


2017-09-22 11:58 GMT+02:00 Sinziana-Maria Sebe via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I am working on implementing a platooning model based on IDM and for that
> purpose I would need a way to find the leader in a merge situation. I saw
> that both the IDM and the normal MSCFModel provide you with the leaders
> speed, but I would also need the acceleration as well as the leader of the
> whole platoon. If anyone can point in me in the right direction it would be
> greatly appreciated.
>
> Thank you,
> Sinziana Sebe
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Vehicle gets routed through off-line station!?

2017-09-22 Thread Jakob Erdmann via sumo-user
Hello,
edge priority is not taken into account for routing purposes. Neither is
the number of junctions (or rather not in the correct way).
The speed should take effect but you may be suffering from a known issues
of junction distances being ignored and thus getting wrong distance
estimates: http://sumo.dlr.de/trac.wsgi/ticket/752
As a workaround, try redrawing the junctions to make them smaller and
decrease the speed in the offline station somewhat.
regards,
Jakob

2017-09-21 17:08 GMT+02:00 Joerg Schweizer via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
> I have some trouble with vehicles running through my off-line station
> instead of bypassing it, see attached picture.
>
> So why is this vehicle running through the stop? The bypass edge has a
> higher maximum speed, fewer junctions, shorter distance, same priority and
> of course the correct access.
>
> SUMO routing is triggered by setting the target edge through TRACI with
> changeTarget().
>
> Thanks for any hint.
>
> Best wishes,
> Joerg
>
>
> --
> Joerg Schweizer
> University of Bologna
> DICAM - Transportation Group
> Viale Risorgimento, 2, I-40136 Bologna, Italy
> Tel: +39 051 209 3338, Fax: +39 051 209 3337
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Simulated detector problems

2017-09-22 Thread Jakob Erdmann via sumo-user
Hello

 1) maybe Andres can extend the code in traci4matlab/examples
 2) you may not use xml comments within an xml element as done for detector
4 (the <-- part)

2017-09-21 14:45 GMT+02:00 Selva Ganesha via sumo-user <
sumo-user@lists.sourceforge.net>:

> Good day,
>
> Having trouble with obtaining data from Induction Loops Detectors(E1),
> getVehicleData. How is it printed out via traci on Matlab? Is there an
> example code?
>
> Secondary, there is an issue with Lanearea Detectors(E2). SUMO and det.xml
> file errors are attached. Is there an example file for the det.xml and
> Matlab data retrieval?
>
> Thank you in advance.
>
> Cheers,
> G
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Detector.det.xml file error

2017-09-19 Thread Jakob Erdmann via sumo-user
Enclose your detector definitions with a single surrounding root element:


   
   
   


regards,
Jakob

2017-09-19 15:34 GMT+02:00 Selva Ganesha via sumo-user <
sumo-user@lists.sourceforge.net>:

> Good day,
>
> I'm having a problem whereby utilizing more than one e1detector (as seen in
> detector.det.xml image), produces following the error in SUMO (as seen in
> SUMO image). Also attached is the sumo.cfg file for reference if required.
>
> Thank you in advance.
>
> Cheers,
> G
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Distance and coordinates conversion from sumo to ns3

2017-09-18 Thread Jakob Erdmann via sumo-user
Please send a timestep from the fcd file that corresponds to this situation.
regards,
Jakob

2017-09-18 18:02 GMT+02:00 Fatma Marzouk via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
>
> I was trying to have vehicles running with a constant speed and a fixed
> intervehicle gap with the vehicle 0 is the leader and 5 others vehicles
> following it in respect to their ID order. I followed the steps in here
> 
> and could see in sumo-gui that the vehicle gap is fixed and quite small.
>
> The problem is that when I export the trace to ns2mobility format and run
> an application in ns3 that computes the distance between node 0 and the
> others nodes, I see that node 2 is much more closer to the node 0 than node
> 1 which is not the case in sumo-gui where vehicles are moving in the good
> order.
>
> Note : I use sumo-0.24.0 and  after using the command traceExporter.py
> --fcd-input trip.xml --ns2mobility-output mobility.tcl -b 0 -e 3000
>  I get the ns2 tracefile where I change node (0.x)--> node (x).
>
> Can someone please help know the reason of that ?
>
> Best Regards
>
> Fatma MARWOUK
> ᐧ
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Sumo-Gui freeze

2017-09-18 Thread Jakob Erdmann via sumo-user
Unfortunately this report is not specific enough. See
http://sumo.dlr.de/wiki/FAQ#How_do_I_report_erroneous_behavior_of_a_SUMO_application.3F
regards,
Jakob

2017-09-18 15:44 GMT+02:00 Duc Ly via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hey Guys ,
> According to a Project i used Traci to control a simple traffic scenario in
> sumo.
> To explain it shortly , I built a simple map and give the vehicle a simple
> Route.
> I used "move to" to change the Lane/Route.
> It seems to work anyway ,but on a specific lane SUMO-GUI/Simulation just
> freeze.
> Does anyone Has ever faced this Problem and might give a solution?
>
> Best Regards
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] How do I get the time duration of green traffic light on a particular edge via traci4matlab?

2017-09-18 Thread Jakob Erdmann via sumo-user
First you need to determine the traffic-light index which corresponds to
that edge (or rather to the lane-to-lane connections from that edge because
each connection has it's own index).
This is done by calling the function trafficlights.getControlledLinks.

Then you can retrieve the state with getgetRedYellowGreenState and
interpret it using the respective index)
By calling getDuration getNextSwitch you can figure out all there is to
know about spend and remaining duration (see the explanation at
getPhaseDuration)

regards,
Jakob

2017-09-18 15:27 GMT+02:00 Lawrence Soon via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
>
> I realised that in net.xml file, the trafficlight control does not specify
> which edge is the phase for, as shown below as an example:
>
> 
> 
> 
> 
> 
> 
>
>
> and let the edge is defined this way:
>
>  type="highway.primary" spreadType="center" shape="509.17,869.74
> 519.11,881.80 567.57,936.91 604.90,975.02 611.28,982.15 616.33,987.82
> 645.59,1020.13 664.22,1040.70">
> 
> 
> 
>  
>
>
> junction is defined as :
>
>  incLanes="juncons35_0 juncons35_1 juncons35_2 juncons35_3
> street3leftleft2_0 street3leftleft2_1 street3leftleft2_2"
> intLanes=":232207810_0_0 :232207810_1_0 :232207810_1_1 :232207810_1_2
> :232207810_1_3 :232207810_5_0 :232207810_5_1 :232207810_5_2 :232207810_8_0
> :232207810_8_1" shape="511.06,879.74 518.63,873.51 518.97,871.59
> 512.34,860.29 509.50,860.22 500.93,864.96 500.37,867.06 506.61,878.58">
>  cont="0"/>
>  cont="0"/>
>  cont="0"/>
>  cont="0"/>
>  cont="0"/>
>  cont="0"/>
>  cont="0"/>
>  cont="0"/>
>  cont="0"/>
>  cont="0"/>
>  
>
>
> So how do I get the time duration of green traffic light on a particular
> edge via traci4matlab?
>
>
>
> Thanks and have a great day!
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] How are position and velocity computed when turning left/right at intersections?

2017-09-18 Thread Jakob Erdmann via sumo-user
Hello,
by default, vehicles drive on so-called "internal edges" while passing an
intersection. They follow the car follow model just as on normal
edges/lanes. You can see these edges when you disable the option "draw
junction shape" in the gui visualisation settings. Only if you have built
your network with the option --no-internal-links will vehicles "jump" over
intersections.
regards,
Jakob

2017-09-18 13:40 GMT+02:00 Do Duc Le via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hi,
>
> as the title says I'm interested in how the position of the vehicles are
> computed when turning at an intersection/junction. I know SUMO follows the
> car following model of Krauß and the position is computed as x(t + d t) =
> x(t) + v(t + d t)d for straight movement , which I also confirmed by the
> Traci function "traci.vehicle.getDistance( )". But I can't find any
> information on how the position or distance of each vehicle is computed
> when it turns left/right into another lane/edge (consider a simple cross
> intersection). It seems like the vehicle disappears from the network when
> it reaches the junction (at least it is not on any edge) and reappears if
> it leaves the junction again.
>
> Does any of you know how those functions are computed?
>
> Best regards,
>
> Duc
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] How to convert junction to edge?

2017-09-16 Thread Jakob Erdmann via sumo-user
Hello,
the small dark red dots are geometry points within an edge. They can be
used to model curves without changing the edge id. Whenever the number of
lanes changes or there is an intersection of 3 or more roads, all edges
must have a unique id. In the norther intersection of your screen shot,
(with the 5 red junctions in close proximity) only the central junction is
needed. The others can be converted into geometry points (right-click and
select 'replace by geometry node'). You can right click all junctions and
you will see whether they can be converted. In version 0.31.0 you will also
see a reason if conversion is not possible.
regards,
Jakob

2017-09-16 17:31 GMT+02:00 Lawrence Soon via sumo-user <
sumo-user@lists.sourceforge.net>:

> From the picture below, there are many red dots, which represent nodes,
> and these nodes are labelled as junctions (info from Inspect element). As
> can be seen, there are multiple edges between two 4-way junctions. From the
> black circle, I realised that the small red dots are in fact labelled as
> edge, instead of junction, and all edges connected via small red dots have
> the same edgeID. So I wonder how could I set this into other routes so that
> all multiple edges lying between two 4-way junctions have the same edgeID?
>
>
> Or Is it possible to group all edges connecting between two 4 junctions as
> one entity of an edge?
>
> If there multi edges between 2 junctions are required, how to rename them
> so that they all have the same edgeID?
>
>
>
> [cid:d5c87eee-7b32-49ed-8414-63b6e56afed1]
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


  1   2   3   >