[
Date Prev][
Date Next][
Thread Prev][Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Dynamic and Manual Platoon Control Using Simpla, TracI, and SUMO
|
Hi Dillon,
Simpla currently does not have the ability to create or dissolve platoons explicitly by user input. Your try with changing vehicle types still does not work because Simpla does not check the type once the platoon has been created. I have added this to the respective Github issue for future Simpla development.
In case you want to try yourself to adapt Simpla for your purpose, this is a good starting point to investigate:
https://github.com/eclipse-sumo/sumo/blob/db7a2400d1ae1606b36e0c0980f05e4bb7b6493d/tools/simpla/_platoon.py#L220
You could probably call the split method of the Simpla Platoon object from your own script with the vehicle index where you changed the type and it might work (maybe with some further changes)...
Best regards,
Mirko
-----Original-Nachricht-----
Betreff: [sumo-user] Dynamic and Manual Platoon Control Using Simpla, TracI, and SUMO
Datum: 2025-04-15T00:05:54+0200
Von: "Dillon Seward via sumo-user" <sumo-user@xxxxxxxxxxx>
An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>
Hello,
I am trying to use SUMO with TracI and Simpla in a Python script to use game theory techniques to create platoons, decide which vehicles join which platoons, and let vehicles leave platoons, while the SUMO simulation is running.
I know Simpla can allow for spontaneous formation of platoons and can provide statistics about the platoons as well, but I haven't yet been able to use TracI and Simpla to manage each vehicle and assign it to a particular platoon. I have tried to change vehicle types into the subType tag that decides if Simpla controls a platoon or not, then unassign them from this Tag, once they are in a platoon, but this hasn't worked so far.
Additionally, I know PLEXE is a popular tool for platooning in SUMO, but I don't have any need for the communication and network protocol side of its functionality. PLEXE is also quite annoying to setup and configure with my M1 chip mac, since Omnett++ only works on x86 architectures.
I wanted to ask the community to see if they have any recommendations of tools that may be used for my purposes, or advice on a platoon control in SUMO in general.
Thank you,
Dillon Seward