Skip to main content

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

Hi lyskin000,


please find the answers to your questions below.


Best regards







Betreff: [sumo-user] Question about Simpla

Datum: 2023-05-18T05:11:36+0200

Von: "李运" <lyskin000@xxxxxxxxxxx>

An: "sumo-user" <sumo-user@xxxxxxxxxxx>




Dear Sir/Madam
  I am researching how to use Sumo software to simulate the formation of a convoy of mixed traffic flow between autonomous and manual driving,and have encountered the following issues.
    1.Can Simpla simulate the platoon composed of autonomous driving and manual driving.
This boils down to which car-following model (CFM) definition you would consider best  for autonomous or manual driving (a separate question you have to answer yourself). You can define separate CFM for autonomous and manually-driven vehicles in the <vTypeMap> tag of the simpla configuration.
    2. How to use the Statistical Helper Functions function in simpla,, such as getAveragePlatoonSpeed(), to determine whether this statement is written in a simpla file or traCI. Can you provide an example.
The helper functions are Python code. They can be used inside the script where you call TraCI and load simpla.
   Looking forward to your reply.
   Best wishes


Back to the top