Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Simulate speed variations

Good afternoon,

Thank you very much for the clarification.

The type "a" I used was just for example purposes.

Do we specify the value of type in that field?
image.png

Sds,

Pedro Oliveira

Não contém vírus.www.avast.com

Em qui., 28 de mai. de 2026 às 13:08, Jakob Erdmann <namdre.sumo@xxxxxxxxx> escreveu:
1. The file needs to look like this:
<additional>
  <type id="a">
     <restriction vClass="truck" speed="27.89"/>
  </type>
</additional>

2. the netconvert command will only take effect if the network contains edges with type 'a'  (unknown edge types are not added to the written network)
3. instead of modifying the network you can instead call sumo -n original.net.xml -a speed_restriction_edge.xml  (but again, this will only take effect if the network has edges of type 'a')

Am Do., 28. Mai 2026 um 16:59 Uhr schrieb Pedro Oliveira <pedro.engenhariae@xxxxxxxxx>:
Good afternoon,

May I adopt the following format:

netconvert --osm my_osm_net.xml -o rede.net.xml -t speed_restriction_edge.xml

In the file: speed_restriction_edge.xml

<type id="a">
   <restriction vClass="truck" speed="27.89"/>
</type>

Sds,

Pedro Oliveira

Não contém vírus.www.avast.com

Em qui., 28 de mai. de 2026 às 08:29, Pedro Oliveira <pedro.engenhariae@xxxxxxxxx> escreveu:
Good morning! How is this procedure done using a text editor?

Sds,

Pedro Oliveira 

Em qui, 28 de mai de 2026 03:39, Jakob Erdmann <namdre.sumo@xxxxxxxxx> escreveu:
Class-specific speed limits cannot yet be declared in netedit. You have to write the definition with a text editor.

Am Mi., 27. Mai 2026 um 17:58 Uhr schrieb Pedro Oliveira <pedro.engenhariae@xxxxxxxxx>:
Good afternoon,

I would like to know how to specify in netedit or sumo how to differentiate between different speeds of vehicle classes on the same edge

Sds,

Pedro Oliveira



Não contém vírus.www.avast.com

Em qua., 27 de mai. de 2026 às 09:41, Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> escreveu:
combining carFollowModel="KraussPS" with different values for maxAccelProfile in different vTypes i.e.
  maxAccelProfile="0 2.6, 27.78 2.0"
  maxAccelProfile="0 2.6, 22.22 0.6"

should do the trick. 

Am Mi., 27. Mai 2026 um 14:25 Uhr schrieb Morgi Diva via sumo-user <sumo-user@xxxxxxxxxxx>:
I would like to know how to specify in netedit or sumo how to differentiate between different speeds of vehicle classes on the same edge.

Em qua., 27 de mai. de 2026 às 09:17, Morgi Diva <nergaku.pop@xxxxxxxxx> escreveu:
Greetings, fellow sumo enthusiasts. We need to simulate an uphill region where some vehicles have different speed variations relative to others. Is there a solution for this analysis?

Thank you in advance.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top