Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Simpla Example

Thanks for the advice, I can see the roles changing now and vehicles in the same lane will join platoons.

The "original" vehicles don't appear to change lanes to join platoons in range, is this normal? If so, is there a way to allow them to change lanes to join platoons?

Also, is it possible to ensure platoon leaders slow down to keep its followers within range, and then speed up when they are close enough?

Many thanks,
George

From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> on behalf of Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Sent: 24 April 2019 11:24
To: sumo-user@xxxxxxxxxxx
Subject: Re: [sumo-user] Simpla Example
 
The files below are sufficient to trigger platooning in simpla according to
my test. It helps if you assign different colors to the various vTypes
(instead of to the vehicles). this way you can instantly see the vehicles
roles within the platoon.

e.g.

<vType id="orig_simpla" vClass="evehicle" emissionClass="HBEFA3/PC_G_EU4"
sigma="0.0" minGap="1" color="yellow"/>
    <vType id="leader_simpla" vClass="evehicle"
emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1" color="green"/>
    <vType id="follower_simpla" vClass="evehicle"
emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1" color="blue"/>
    <vType id="catchup_simpla" vClass="evehicle"
emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1" color="cyan"/>
    <vType id="catchupF_simpla" vClass="evehicle"
emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1" color="red"/>


Hi Jakob,

Many thanks for your response.

I am still having issues, vehicles will not change lanes to join platoons,
and I am doubtful that platoons are being created at all.
I have tried variations of different depart lanes, vType attributes (vClass,
sigma, etc.), Simpla config settings (catchupDist, maxPlatoonGap, etc.) but
no luck. Any ideas?

Here is my updated route file and Simpla config file:
<?xml version="1.0" encoding="UTF-8"?>

<routes>
    <vType id="human" vClass="passenger" emissionClass="HBEFA3/PC_G_EU4"
sigma="0.5" minGap="2.5"/>
    <vType id="orig_simpla" vClass="evehicle"
emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1"/>
    <vType id="leader_simpla" vClass="evehicle"
emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1"/>
    <vType id="follower_simpla" vClass="evehicle"
emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1"/>
    <vType id="catchup_simpla" vClass="evehicle"
emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1"/>
    <vType id="catchupF_simpla" vClass="evehicle"
emissionClass="HBEFA3/PC_G_EU4" sigma="0.0" minGap="1"/>

<route id="straight" edges="e1 e2 e3"/>
<route id="exit" edges="e1 e2 e4"/>

   
    <vehicle id="auto_straight_0" type="orig_simpla" route="straight"
depart="0" departLane="0" departSpeed="0" color="1,0,0"></vehicle>
    <vehicle id="auto_straight_1" type="orig_simpla" route="straight"
depart="0" departLane="0" departSpeed="0" color="1,0,0"></vehicle>
    <vehicle id="auto_straight_2" type="orig_simpla" route="straight"
depart="4" departLane="1" departSpeed="0" color="1,0,0"></vehicle>

</routes>
--------------------------------------
<configuration>
    <controlRate value="1.0"/>
    <maxPlatoonGap value="15.0"/>
    <catchupDist value="50.0"/>
    <switchImpatienceFactor value="0.1"/>
    <platoonSplitTime value="3.0"/>
    <lcMode catchupFollower="514" catchup="514" follower="514" leader="597"
original="597"/>
    <speedFactor catchupFollower="1.3" catchup="1.2" follower="1.1"
leader="1.0" original="1.0"/>
    <verbosity value="1"/>
    <vTypeMap original="orig_simpla" leader="leader_simpla"
follower="follower_simpla" catchup="catchup_simpla"
catchupFollower="catchupF_simpla"/>
</configuration>




--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top