Open xwenarthur opened 6 years ago
Another question: Can I set the departure lane of platoon or flow to be "allowed", "free" and so on like that in SUMO? Because I found in VENTOS manual, the type of departLane attribute is only set to be int. But in SUMO it can be int or string.
Can I set the departure lane of platoon or flow to be "allowed", "free" and so on
It is doable for individual vehicles, but unfortunately it is not possible for platoon insertion (at the current version).
There is a error when I am running configuration. Do you have any idea? It looks like the picture attached.
As the error says, you have two or more nodes in the addNode.xml file with identical names. The id assigned to each node should be unique.
How should I insert some platoon-enabled vehicles which drive on some lanes and then switch to one platoon-exclusive lane after forming platoons?
Platoons that can switch lanes are only possible when pltMgmtProt
is true. I have not tested changing lanes in platoons extensively though!
Can the cacc vehicles form platoons by themselves? If not, in order to insert massive platoons, do I have to do it one by one? Or is there any approach which can let me do batch import?
When I run the simulation, I got some warnings like the figure. And the cacc vehicles stops at the start point of the segment. Does that mean the cacc vehicles can only be inserted through vehicle_platoon?
When I run the simulation, I got some warnings
The CACC vehicle must be part of a platoon. This is because the CACC car-following controller needs some parameters from nearby vehicles (front, back or more depending on the controller type). The warning tells you that the CACC vehicle is not part of any platoons and does not know how to get the parameters. So it sets the vehicle's speed to zero.
Can the cacc vehicles form platoons by themselves?
if pltMgmtProt=false then the platoon is fixed in size and it can not perform any maneuvers. But if pltMgmtProt=true then CACC vehicles in a platoon can perform maneuvers such as joining to the front platoon or split.
in order to insert massive platoons, do I have to do it one by one? Or is there any approach which can let me do batch import?
What do you mean by a massive platoon? do you mean a platoon with a large size? If pltMgmtProt=false then you can insert an arbitrary size platoon by changing the size parameter. But you have to make sure that there is enough space on a lane for the platoon to be inserted. If pltMgmtProt=true then you can change the platoon size during simulation. Check '4.3.1 Changing Platoon Optimal size' on page 92.
I mean if I can insert many platoons once via VENTOS. For example, if I need to insert 100 platoons, is there any approach that could allow me to do it like inserting vehicle flows? Do you have any idea?
Thank you!
Unfortunately you can't inserts platoon flows right now. I will add it into the feature request.
But there is only one month left for me :(. So could you please give me some advice on how to implement that feature if I need to insert many platoons like inserting traffic flows?
Thank you sincerely! :)
So could you please give me some advice on how to implement that feature if I need to insert many platoons like inserting traffic flows?
The code should be added into the addNode file. Unfortunately it is not a one, two, three step that I can describe here and I don't have enough free time slots these days to work on it.
Ok... So is it possible now to insert platoons whose departure time follows certain distribution like poisson, uniform or something?
Thank you!
you can get idea from the vehicle flow in the addNode file.
I got a problem when setting the departure lane of vehicle flow to be "best". Please see the attached figure.
you should use the equivalent negative value for those not the string literal. This is similar to section '3.4 Adding Motor-vehicles and Bikes' of the manual on page 66.
Hi Mani,
Could you give me some advice on how to increase the simulation speed. It may take me up to half an hour if I want to run a 3600-second simulation.
Thank you!
Network.TraCI.SUMOapplication = "sumo"
Network.V[*].nic.phy80211p.emulationActive = false
HI Mani!
I set the departure lane of a platoon to be "-5" which means "the best". But I got a problem like this:
My code looks like this:
Any thoughts?
Thank you!
only vehicle and vehicle flow support minus values (free, best, etc.). For platoons, you need to use a non-negative value (>= 0). In other words, you should specify the exact lane (>= 0) that the platoon is going to be inserted.
Can I insert a platoon which isn't static at first?
I set: Network.TraCI.SUMOapplication = "sumo" and use command line mode. But when running the simulation, the sumo-guy still shows up. :( What's wrong?
Thank you!!!
Hi Mani!
It's me again :). VENTOS is really a powerful tool when simulating platoons. It helps me a lot. But I still got some problems:
Thank you!