Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] netgenerate : grid network , customising parameters for certain edges and junctions

Dear Jacob, thanks a lot for your reply.

Actually, I do not want to randomize the number of lanes or TL deployment in grid network. 

Instead, I need a grid in which the parallel roads have different configuration: e.g. a Major roads (3 Lane, TL controlled, higher speed) and the parallel low capacity road (e.g. 2 lanes, unregulated, lower speed).

Is it possible to do this using netgenerate? Can you suggest some alternatives?



On Fri, May 20, 2022 at 6:13 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
1. you can randomize number of lanes (for all network types) by setting options
--default.lanenumber MAXNUM --rand.random-lanenumber

The latest development version also supports option --random-type (together with option --type-files)

2. You can use option --tls.guess --tls.guess.threshold FLOAT. This uses the sum of incoming lane speeds to decide whether an intersection gets a tls or not. Together with random lane numbers or speeds (via random types) you will get random traffic lights.


Am Fr., 20. Mai 2022 um 13:37 Uhr schrieb Manish Chaturvedi <msc.nit@xxxxxxxxx>:
Dear SUMO users,

1) I am trying to design a Grid network which should have  two-three  different types of edges  (having  different properties e.g. number of lanes and speed limit).

I checked the template file of netgenerate but did not find any option for the customization. I encountered a link about  Edge type but I have no Idea whether it can be used with netgenerate.

Please suggest a way out for this.

2) In the Grid network, I want a few main junctions to be TL controlled, and others should be uncontrolled/unregulated.
In the template file, I found the tag <unregulated_nodes> with <keep-nodes-unregulated.explicit value="STR[]"> . I do not understand how to use this feature  to declare a few junctions as Unregulated (How can I know the junction IDs before the network is created?). Am I missing something? Please suggest.

Best Regards,


sumo-user mailing list
To unsubscribe from this list, visit
sumo-user mailing list
To unsubscribe from this list, visit

Back to the top