Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Simpla problem

Hello All,

I have a question regarding Simpla. I have attached my rou and simpla.cfg files.

In my scenario, I want to use platooning for one specific vehicle type. Based on my route file, I have defined "car", "leader", etc., for platooning, and created a flow definition for them. Additionally, I have another vehicle type called "noplt" which I do not want to participate in platooning. I also created a simpla.cfg file for this setup.

The problem is that when I run the simulation, all vehicles from all types start to form platoons. How can I solve this problem?

Thank you!

<configuration>
    <vTypeMap original="car" leader="t_leader" follower="t_follower" catchup="t_catchup" catchupFollower="t_catchupFollower" />
    <!-- controll all vehicles -->
    <vehicleSelectors></vehicleSelectors> 
    <verbosity value="4" ></verbosity>
    <maxVehicles value="12"/>
    <controlRate value="1" />
    <maxPlatoonGap value="15" />
    <catchupDist value="400" />
    <useHeadway value="false" />
    <!-- deactivated -->
    <switchImpatienceFactor value="-1" />
    <platoonSplitTime value="3" ></platoonSplitTime>
    <lcMode original="594" leader="594" follower="514" catchupFollower="514" />
    <speedFactor original="-1" leader="1" follower="1.2" catchup="1.2"/>
</configuration>
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd";>

    <vType id="noplt" 			  vClass="truck" length="11.5" accel="0.12" decel="1.77" carFollowModel="IDM"  color="white"/>
    <vType id="car" 			  vClass="truck" length="11.5" accel="0.12" decel="1.77" carFollowModel="CACC" color="cyan"   tau="0.1"/>
    <vType id="t_leader" 		  vClass="truck" length="11.5" accel="0.12" decel="1.77" carFollowModel="CACC" color="yellow" tau="0.1"/>
    <vType id="t_follower" 		  vClass="truck" length="11.5" accel="0.12" decel="1.77" carFollowModel="CACC" color="green"  tau="0.1"/>
    <vType id="t_catchup" 		  vClass="truck" length="11.5" accel="0.12" decel="1.77" carFollowModel="CACC" color="red"    tau="0.1"/>
    <vType id="t_catchupFollower" vClass="truck" length="11.5" accel="0.12" decel="1.77" carFollowModel="CACC" color="blue"   tau="0.1"/>

    <flow id="p" type="noplt" begin="0" end="599" number="100" departSpeed="last" from="E0" to="end" />
	<flow id="v" type="car" begin="600" end="635" number="12" departSpeed="last" from="E0" to="end" />
    <flow id="p2" type="noplt" begin="640" end="3640" number="900" departSpeed="last" from="E0" to="end" />
</routes>

Back to the top