Re: [sumo-user] Connecting buses to trains.

2018-02-12 Thread Jakob Erdmann
Hello,
the default way to connect these two networks is to define (or generate)
stop access definitions (
http://sumo.dlr.de/wiki/Simulation/Public_Transport#Access_Lanes).

The netconvert options
--osm.stop-output.footway-max-accesses
and
--osm.stop-output.footway-access-distance
can be used to automatically export a limited number of access definitions
within a given radius around railway stops when used together with the
option --ptstop-output

WalkingAreas are only generated within intersections with sidewalks at the
moment (see http://sumo.dlr.de/wiki/Simulation/Pedestrians#walkingareas).
There are plans to import complex station layouts with the help of
walkingAreas but you would still need access definitions because OSM models
the railway track and the platform for waiting passengers as separate and
disconnected ways.

regards,
Jakob

2018-02-12 21:42 GMT+01:00 Lara Codeca :

> Dear All,
>
> I’m building a scenario from scratch starting from OSM-like data.
> I have both buses and trains, but I’m not finding a way to link the two
> different means of transports (the two graphs are not connected).
> Is net convert able to extract walking areas? If so, what is it looking
> for? My hope is to find a way to fix the initial OSM data, and not the
> final NET file, in order to have it scriptable in a reasonable way.
>
> Thank you in advance for the help.
>
> Regards,
> Lara
> ___
> sumo-user mailing list
> sumo-user@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@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Duarouter and parkingAreas

2018-02-12 Thread Jakob Erdmann
Hello Lara,
in our own tests, duarouter keeps the stops as intended. Please send a
minimal example input where this fails.
regards,
Jakob

2018-02-12 21:36 GMT+01:00 Lara Codeca :

> Dear All,
>
> I’m generating my own trips file (origin/destination). Some of these trips
> have a stop in a parking area. To validate the trips, I use duarouter, but
> I’m not able to force it to keep the stop.
>
> Is there a way, or do I have to save the stops, and add them after
> duarouter?
>
> Regards,
> Lara
> ___
> sumo-user mailing list
> sumo-user@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@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Predefined vehicle speed and position inputs

2018-02-12 Thread Jakob Erdmann
You can do this by remote controlling selected vehicles using the TraCI
method 'traci.vehicle.moveToXY' (
http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#move_to_XY_.280xb4.29)

regards,
Jakob

2018-02-12 21:17 GMT+01:00 Quinton Velcic :

> Hi,
>
> I would like to know if there is anyway to use predefined vehicle
> positions and speeds for each time frame as inputs instead of using routes?
>
> For example, within the simulation two vehicles will have speed and
> position data that was already determined (what we want to be able
> to define within SUMO) while a third vehicle will have a specified route
> (route.file) that moves according to the IDM car-following model.
>
> The idea is to replicate external vehicle course files used in Vissim.
>
> Thanks,
>
> Quinton
>
> ___
> sumo-user mailing list
> sumo-user@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@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] Duarouter and parkingAreas

2018-02-12 Thread Lara Codeca
Dear All,

I’m generating my own trips file (origin/destination). Some of these trips have 
a stop in a parking area. To validate the trips, I use duarouter, but I’m not 
able to force it to keep the stop.

Is there a way, or do I have to save the stops, and add them after duarouter?

Regards,
Lara
___
sumo-user mailing list
sumo-user@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] Predefined vehicle speed and position inputs

2018-02-12 Thread Quinton Velcic
Hi,

I would like to know if there is anyway to use predefined vehicle positions
and speeds for each time frame as inputs instead of using routes?

For example, within the simulation two vehicles will have speed and
position data that was already determined (what we want to be able
to define within SUMO) while a third vehicle will have a specified route
(route.file) that moves according to the IDM car-following model.

The idea is to replicate external vehicle course files used in Vissim.

Thanks,

Quinton
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Retrieving all the vehicle id's in TraCI

2018-02-12 Thread Michael Behrisch
Hi Dee,
there is no way to achieve this with a route file because sumo does not
load all vehicle definitions in advance but only when they are needed.
If you give the vehicle definitions in an additional file instead, all
will be parsed in advance but only if you define inidvidual vehicles not
with flows. If you define your flow with an explicit number of vehicles
it is of course easy to guess the vehicle ids because they all follow
the same scheme ..

To retrieve the ids of all loaded vehicles you can use
traci.simulation.getLoadedIDList
http://www.sumo.dlr.de/daily/pydoc/traci._simulation.html#SimulationDomain-getLoadedIDList
but this will not include finished vehicles.

Best regards,
Michael

Am 11.02.2018 um 22:37 schrieb Alan Dee:
> Hello,
> 
> I have needed to get all the id's of vehicles (currently running in the
> simulation, already left the simulation and entering into the
> simulation) via TraCI to work with Veins.  getIDList
> 
>  is
> supposed to provide the id's of currently running vehicles. For an
> example, if I a flow with 100 vehicles has been determined to be entered
> into simulation and only 40 vehicles have entered into the simulation
> yet , I need to all the ids' including the other 60 vehicles'. Is there
> a method to retrieve them? Please enlighten me in this.
> 
> Thanks,
> Dee.
> 
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] help request , please

2018-02-12 Thread Jakob Erdmann
Hello,
the short answer is: SUMO cannot give you such a dataset.
- sumo requires knowledge about the mobility demands of the whole city
population in order to run
- sumo requires detailed knowledge about all parking opportunities in the
city in order to simulate parking behavior
- the parking model in sumo has only been tested for small cities with a
small number of large parking facilities (100k inhabitants, 15 large
parking facilities). The model for finding a free parking lot has not been
validated for on-street parking or for large cities
- Jeddah city is at the upper range of the SUMO real-time capabilities.
SUMO comes with a faster mesoscopic model included that should be able to
handle Jeddah city but this model does not support all parking related
functionality

If you are able to limit your enquiry to a smaller portion of the city and
if you have access to traffic demand data from city authorities and if you
are willing to do quite a bit of manual work when buidling the traffic
model and mapping the parking opportunities than you may consider using
SUMO for your task.

regards,
Jakob



2018-02-09 18:28 GMT+01:00 Bayan -- :

> Dear
>
> good greeting
>
>
> Iam Bayan . I am a master student .
>
> I need your help please in how can i collect dataset about the parking in
> jeddah city in saudi arabia  by using SUMO ..
>
> i nedd to generate the dataset and use it in the matlab..
>
>
> please could you provid me the steps that can help me ?
>
>
>
>
> i hope you  to see and reply my message as soon as possible..
>
> Thank you for your cooperation ..
>
>
> Regards
>
>
> Bayan
>
>
>
> ___
> sumo-user mailing list
> sumo-user@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@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] R: Question about parking area

2018-02-12 Thread ephii

Hi,

 


1) I added two options to the script generateParkingLots.py. You can now distinguish between the lateral and longitudinal distances between the parking spaces via --x-space-distance and --y-space-distance. Please call --help to obtain more options, because the documentation still doesn't provide many details (http://sumo.dlr.de/wiki/Tools/Misc#generateParkingLots).

2) I am not sure about your question. If you've noticed any strange behaviour please send me a small example. 

 

Best regards,

Eva


Gesendet: Donnerstag, 01. Februar 2018 um 08:41 Uhr
Von: "Andrea Giaccherini" 
An: "Sumo project User discussions" 
Betreff: Re: [sumo-user] R: Question about parking area


Dear Evamarie,
about my question about parking area I tried to use both the tools, the "GenerateParkingLot" and "addStops2Routes".

I have two questions:



	GenerateParkingLot. The code works correctly but I kindly ask you how to automatically generate parking spaces for a layout like the example attached (in particular I don't find the option to duplicate the parking spaces in two dimension)
	addStops2Routes. I kindly ask you if it's possible to see a real example: I applied to my model but in the output file .rou, when I route includes the connection edge for the parking area, the stop duration doesn't compare.


I'd appreciate if you could suggest me a possibile solution.


 

Regards,

Andrea


 
2018-01-09 15:06 GMT+01:00 :




Hello,

 

I added the python script addStops2Routes.py to the folder sumo/tools. You’ll find the file in the latest development version (038a938). (as well as the file generateParkingLots.py). Some details are described here:  http://sumo.dlr.de/wiki/Tools/Routes#addStops2Routes.py.

 

Best regards,

Eva

 

 







Gesendet: Sonntag, 07. Januar 2018 um 21:50 Uhr
Von: andrea_gmail 
An: "'Sumo project User discussions'" 
Betreff: [sumo-user] R: Question about parking area





Dear Jacob and Eva,

first of all thanks for your help.

I would be very grateful if you can share your script: for me could be a very useful tool to solve my problem.

 

Best regards,

Andrea

 

 

PS: I am using SUMO ver 0.31.0, but in the folder sumo/tools I don’t find the file “generateParkingLots.py” you mention

 

 

Da: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org] Per conto di Jakob Erdmann
Inviato: domenica 7 gennaio 2018 17:53
A: Sumo project User discussions ; evamarie.wiess...@dlr.de
Oggetto: Re: [sumo-user] Question about parking area

 



Hello,


1)
- if you do not care about the visualization of parking vehicles, you can define an arbitrary number of road-side parking spaces for a parkingArea. (attribute 

roadsideCapacity). The may look somewhat squished (-:

- you can use the sumo/tools/generateParkingLots.py (call --help to figure out the options as there is currently no documentation)

2)  In our own projects we did this with a custom python script. 

Possibly, my collegue Eva could clean up our script and make it available as part of the sumo tools. I've put here in cc, ask her for details.

regards,

Jakob

 

 



 


2018-01-07 12:50 GMT+01:00 andrea_gmail :




Dear Sumo users,

I am workign with SUMO and I’d like to build a model with a parking area (about 200 slots).

I have some questions:

1.    Do I have build manually all slots (defining x,y for each of them)? Or, is there a specific tool/function to do this?

2.    Assuming an OD matrix as traffic demand (and then I define routes using OD2TRIPS and the DUAROUTER), is there a method to “quickly” define  the stop in parking area only for a specific group of vehicle? In the model I have a port with a parking where vehicles waiting for taking a ferry and it’s impossible to write manually all routes and stop.

I hope to be clear.

 

Best regards,

Andrea

 




___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



 



 


	
		
			
			
			
			
			Mail priva di virus.  www.avg.com 
			
		
	


 



___ sumo-user mailing list sumo-user@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@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@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit 

Re: [sumo-user] Reading large SUMO output files

2018-02-12 Thread Jakob Erdmann
Hello,
you can use the tool traceExporter.py to filter sumo fcd-output on the fly
and put the output into one or more target files (for each target file a
bounding box, and time range can be configured). It is also possible to
change the sampling interval and the percentage of vehicles that shall be
exported.

Read here about connecting sumo and traceExporter directly via a socket so
that no large file must be written:
http://sumo.dlr.de/wiki/Tools/TraceExporter#Input_Options

Read here about filtering: http://sumo.dlr.de/wiki/Tools/TraceExporter#fcd
http://sumo.dlr.de/wiki/Tools/TraceExporter#Processing_Options

Unfortunately, there is currently no tool to perform the same type of
processing for the netstate-dump.
regards,
Jakob

2018-02-06 5:24 GMT+01:00 Vrinda Khirwadkar (vkhrwdkr) :

> Hello team,
>
>
> I ran a simulation for an area with below mentioned configurations. Total
> number of vehicles generated in trip.xml file were 145436 for 1 hour. 
> Simulation
> took approximately 3-4 hours to complete. Now due to size of the output
> file (fcd and netstate dump), I am not able to analyse it. Can you please
> suggest any tool or python script which I can use to break the output files
> based on given timestamp, say output file for every 10 or 15 minutes?
>
>
> Also, will it be a good idea to run simulation for longer duration, for
> e.g. 30 days with below network file or we should take smaller area. Please
> suggest.
>
>
> Input Configuration:
>
>
>1. Net file: 61 MB ; total route length: 3132 km ; No. of edges: 29332
>2. Trip File: 21 MB
>
>
> Output Configuration:
>
>
>1. Fcd Output: 27 GB
>2. netstate-dump: 15 GB
>3. tripinfo-output: 11 MB
>
>
> Thank you again for your quick suggestions.
>
>
> Vrinda Khirwadkar
>
> University of Memphis
>
> ___
> sumo-user mailing list
> sumo-user@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@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Sumo Simulation of Osnabrück

2018-02-12 Thread Jakob Erdmann
Hello and thank you for the comprehensive report on your use case.

Regarding problems with the OSM network data: If you encounter systematic
import errors and it appears that the underlying OSM data is "correct"
according to the current OSM mapping standards (which I grant, may not be
easy to verify), then I'd be interested in getting some sample map snippets
to see whether there are problems on the netconvert side that may be fixed.

Regarding traffic lights: We have had good results by using automatically
generated actuated traffic lights (netconvert option --tls.default-type
actuated) in place of unobtainable real-world actuated control algorithms.
(See
http://sumo.dlr.de/wiki/Simulation/Traffic_Lights#Automatically_Generated_TLS-Programs).
You could also import the known fixed-timing plans, add min- and
max-durations and then use the built-in actuated tls algorithm.

regards,
Jakob



2018-02-04 21:13 GMT+01:00 Michael Behrisch :

> Hi Jan,
> thank you for the detailed report. Unfortunately there is no standard
> way of doing this in Germany. Every city has its own model, so most of
> the time we start with an OSM import via the web wizard as well and
> improve incrementally.
>
> Best regards,
> Michael
>
> Am 02.02.2018 um 12:17 schrieb s...@mm.st:
> > Dear Erik,
> >
> > creating a valid and complete network for traffic microsimulation is not
> > an easy task, and a time-consuming in terms of negotiations as well --
> > you will need support from different city authorities, otherwise your
> > effort will not pay off.  We are currently facing a problem of similar
> > size to Osnabrück, trying to model the city of Pilsen (137 square
> > kilometres + suburban areas served by public transport, circa 100
> > signalised intersections, public transport consists of tramways, buses
> > and trolleybuses). The model is for us only a means to simulate
> > different network parameters so we do not have time to do it "properly"
> > from the traffic engineering point of view, the centre of our efforts it
> > not the traffic model but some other things. Being a relatively small
> > city, we have support from all sections and departments of the city
> > office, but we struggle anyway. We hoped that we can automate most of
> > the tasks but despite the great scale of tools that SUMO offers for this
> > case we were only partially successful.
> >
> > It turns out that the main difficulties when building the model from OSM
> > are twofold and both are in my opinion a "system problem" and not
> > something that SUMO developer should deal with:
> >
> >  1. incomplete map data and problems with OSM import:
> >  1. OSM does not contain intersection info on lanes, detectors, and
> > signals and netconvert heuristics does not handle those places
> > properly (but maybe the heuristics built into netedit works
> > better on German map data, the examples that I have seen worked
> > quite will with German data),
> >  2. does not contain, at least in Czech case, the elevation data,
> > needed for example by emission models,
> >  3. in some cases the netconvert heuristics fails to correctly parse
> > the info stored in Czech OSM and, for example, turns all
> > boarding islands that are shared by bus and tram into a short
> > separate tramway track
> >  2. unknown traffic demand, including public transport timetables; as
> > the first approximation, we are using random trips, but we are
> > waiting for data from the city authorities to put them into the model
> >
> >
> > Some more details follow:
> >
> > MAP DATA
> >
> > We have basically tried two general approaches: use the city GIS to
> > extract the street graph (the GIS is unfortunately quite incomplete and
> > useless for our case, as it for example does not hold information about
> > one way streets, number of lanes and so on, but see below) and when that
> > failed, try to import as much as possible from OSM. In our case the OSM
> > import works somehow, but the built-in netconvert heuristics cripples
> > signalised intersections and goes ballistic on shapes like shared
> > bus+tram lanes. The result is that all signalised intersections will
> > have to be modelled by hand, currently we have managed to get a rough
> > version running by automatic conversion where we ignore pavements and
> > pedestrian crossings. Co-existence of different road types over each
> > other is something we did not look into yet.
> >
> > In order to help with identification of intersection shapes and lanes we
> > are currently looking into an image processing approach that identifies
> > lanes and stopbars at intersections from the overhead imagery or,
> > possibly, from the "passport of vertical road markings" (not sure about
> > the appropriate translation), a rarely updated GIS layer showing in
> > theory all vertical markings that have been put onto all streets in the
> > city. If that fails, 

Re: [sumo-user] Electric vehicles with Dynamic User Assignment

2018-02-12 Thread Jakob Erdmann
Hello,
The type definitions in your additionalFile are being ignored.
To use them, define a vTypeDistribution that contains your types with the
desired probability (
http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Route_and_vehicle_type_distributions
)
For each type, you can set whether it is an EV or not (
http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Devices)
so the option *sumo--device.battery.probability 0.5*  can be omitted.

Then call od2trips with the additional option
--vtype yourTypeDist

In order to make duaIterate.py work with type definitions from an
additional file, further options must be set:
http://sumo.dlr.de/wiki/Demand/Dynamic_User_Assignment#Loading_vehicle_types_from_an_additional_file

regards,
Jakob


2018-02-03 17:21 GMT+01:00 Ahmed Abd Al-rahman :

> Hi all,
>
> I want to model electric vehicles with DUA. But, it seems I am
> doing something wrong and i don't know how to fix it.
>
>
> What I did is
>
> 1- use *Netcovert *with .*nod.xml *and *.edg.xml* to genetate *.net.xml*
> 2- use *od2trips* with *.taz.xml *and .*od-matrix.xml* to genrate
> *.trips.xml *
> * >>  vtype *is not defined in the output file
> 3- use *python duaIterate.py -n ND.net.xml -t ND.trips.xml -+
> additionalFile.add.xml -l 3 sumo--device.battery.probability 0.5*
>
> *additionalFile* defines the *chargingStation *and vtype for electric
> vehicles and ordinary cars
>
> *.rou.alt.xml *still not containes any distribution of *vtype* amoung
> routes
>
> 4- use *sumo-gui   *but neither EV nor charging stations visible in the
> model. Also, *Battery.out.*xml  contains vehicle with battery capacity
> different than what defined in *additionalFile*
> *chargingstations.xml * is an empty file
>
> What could be my mistake?
>
>
> Thank you
> Best Regards,
> Ahmed
>
>
>
>
> ___
> sumo-user mailing list
> sumo-user@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@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Possible bug in ptlines2flows.py

2018-02-12 Thread Jakob Erdmann
Hello Lara,
this has been fixed in the latest development version (
https://github.com/DLR-TS/sumo/issues/3803)
Thanks for reporting.
regards,
Jakob

2018-02-02 19:55 GMT+01:00 Lara CODECA :

> Dear All,
>
> I'm using ptlines2flows.py to generate my public transports from OSM.
> I noticed that if I launch it with:
>
> python $SUMO_DEV_TOOLS/ptlines2flows.py -n $INPUT/monaco.net.xml -e
> 43200 -p 600 --random-begin --seed 42 --ptstops
> $INPUT/monaco.busstops.add.xml --ptlines $INPUT/monaco.buslines.add.xml
> -o $INPUT/monaco.buses.flows.xml --no-vtypes
>
> everything works fine. If I use -b 18000 the file is empty (just the
>   tags, but empty.
>
> My current version: SUMO Version v0_32_0+0286-00a57001c1 (Build
> features: x86_64-pc-linux-gnu PROJ GDAL GUI Python ffmpeg)
> I tried with the stable version (32) but it's the same.
>
> For the records, before it was working with -b different from 0.
> Unfortunately it was a couple of weeks ago (maybe more), and I noticed
> it only now.
>
> Regards,
> Lara
>
> --
> Lara CODECA
> Postdoc
> Tel : 04.93.00.81.51
>
> EURECOM
> Campus SophiaTech
> http://www.eurecom.fr/
> ___
> sumo-user mailing list
> sumo-user@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@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Merging Lanes

2018-02-12 Thread Jakob Erdmann
Hello,
sumo has two distinct interpretations of what it means when the number of
lanes changes from on edge to the next
1) an on-ramp type of situation where the ending lane is subordinate to the
continuing lane and is only used to accelerate (the default). In this case
vehicles try to leave the ending lane as soon as possible. The distance to
the lane end where vehicles attempt to leave the merging lane can be
configured with the lane-change model parameter lcStrategic. (see
http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Lane-Changing_Models).
Note, that the models treat the case where the rightmost lane ends slightly
different from the case where the leftmost lane ends but by default
vehicles try to avoid staying on the ending lane.

2) a zipper type situation where both lanes are to be used until the
merging point and vehicles interleave. This case is configured by setting
the node where both edges meet to type 'zipper'

regards,
Jakob

2018-02-02 5:23 GMT+01:00 Alan Dee :

> Hello Michael ,
>
> In this scenario, vehicles change the lane in a strange way. Vehicles on
> the lane 0 (which is going be be merged) change the lane halfway through
> the lane and the vehicles do not run until they reach the merging point on
> that road. In other words, second 50% (around) of space on that lane is
> unoccupied since the vehicles change the lane at the end of the first 50%
> (around) of the lane.
>
> I changed the lane changing model to the older one DK2008. Then this
> problem was reduced to a fair level (at least vehicles on that lane waited
> until they pass around 75%). But it creates unnecessary congestion at the
> end of the other lane. Time to time 5,6 vehicles unusually wait there even
> though there is enough space ahead of them.
>
> I am confused that whether it is a problem with SUMO lane changing models.
> I appreciate any suggestions.
>
> Thank you
>
>
>
> On Wed, Jan 24, 2018 at 2:44 PM, Alan Dee  wrote:
>
>> Thanks a lot Michael. I will check on it.
>> Regards.
>>
>> On Tue, Jan 23, 2018 at 8:24 PM, Michael Behrisch 
>> wrote:
>>
>>> Hi Dee,
>>> I'm afraid you cannot ghave that automatically, you will need to move
>>> and connect the lane manually in netedit. If moving the single lane to the
>>> center already helps, you can set the spreadtype attribute instead of
>>> moving maually but you will still need to set the connection.
>>>
>>> Best regards
>>> Michael
>>>
>>>
>>> Am 2018-01-22 23:22, schrieb Alan Dee:
>>>
 Hi Michael,

 Thank you very much for the reply. Now I understand the reason why the
 vehicles disappear.
 I did as you mentioned, and it works fine. But I have another question
 now.

 What I did was add basically adding two edges. First edge contains two
 lanes ( index 0, 1). Then at the node with which that edge ends the next
 edge with a single lane (index 0) begins ( Please correct me if this is
 not
 what you advised).

 Once the network is built, the default behavior is, physically lane 1 of
 the first edge is straightly linked with lane 0, and lane 0 of the first
 edge is merged and ended at the node. Can I change this behavior to have
 this in other way around (i.e. lane 0 of the first edge is straightly
 linked with lane 0, and lane 1 of the first edge is merged and ended at
 the
 node) ?

 I know that vehicle flow can be changed by altering the connections. I
 am
 asking to change both geometry and vehicle flow together.

 Thanks,
 Dee.


 On Tue, Jan 23, 2018 at 7:05 AM, Michael Behrisch 
 wrote:

 Hi Dee,
> you need to define a new edge when the number of lanes changes (or let
> SUMO's netconvert do this, this is essentially what the split does).
> Currently it is not possible for the lanes of the same edge to have
> different lengths. The reason why the vehicles disappeared is that the
> edge after the split has a new name and probably did not occur in your
> route.
>
> Best regards,
> Michael
>
> Am 22.01.2018 um 06:29 schrieb Alan Dee:
> > Hello,
> >
> > I have a simple networks in which I need to do a merging lanes.
> >
> > There is a single edge, let say its length is 1000m.
> > At 500m from the beginning, one  lane should be merged with the
> other.
> >
> > I have tried the both following ways.
> >
> >  1. I tried setting a length of one lane to 500m, and the lane ends
> with
> > a clear cut at the defined point. Can this be considered as a
> merge?
> >  2. I tried the refining roads in sumo documentation
> >  from_own_XML-descriptions#Road_Segment_Refining>,
> > but after the split point, the vehicles disappear from both
> lanes. I
> >