Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] SSM Device

Hello,
the ssm device only reports conflicts in on of the conflict measures reaches a value below the configured threshold. In your case, this did not happen (completely safe car-following with no braking).
Your configuration is fine but your scenario is to tame (in relation to the default thresholds).
regards,
Jakob

Am Fr., 17. Jan. 2020 um 21:25 Uhr schrieb wangwenxuan <wangwenxuan@xxxxxxxxxxxxx>:

Hello,
      I’m trying to test the SSM Device, I ran a single vehicle, and the output file  ssm_v0.xml showed nothing as the following figure, I think it’s because there’s only one vehicle and no conflict. So I tried the traffic flow with the following code, but the ssm_v0.xml still showed no conflict information as follows:
The code for a single vehicle in rou.xml is :
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<vType id="pass" speedFactor="1" speedDev="0.333" maxSpeed="70" sigma="0.8"/>
<vehicle id="v1" type="pass" depart="0" color="1,0,0">
<route edges="r1 r2"/>
<param key="has.ssm.device" value="true"/>
<param key="device.ssm.measures" value="TTC DRAC PET"/>
<param key="device.ssm.thresholds" value="3.0 3.0 2.0"/>
<param key="device.ssm.range" value="50.0" />
<param key="device.ssm.extratime" value="5.0" />
<param key="device.ssm.file" value="ssm_v0.xml" />
<param key="device.ssm.trajectories" value="false" />
<param key="device.ssm.geo" value="false" />
</vehicle>
</routes>
The code for flow in rou.xml is :
<routes>
<route id="route1" edges="r1 r2"/>
<vType id="pass" speedFactor="1" speedDev="0.333" maxSpeed="70" sigma="0.8">
<param key="has.ssm.device" value="true"/>
<param key="device.ssm.measures" value="TTC DRAC PET"/>
<param key="device.ssm.thresholds" value="3.0 3.0 2.0"/>
<param key="device.ssm.range" value="50.0" />
<param key="device.ssm.extratime" value="5.0" />
<param key="device.ssm.file" value="ssm_v0.xml" />
<param key="device.ssm.trajectories" value="false" />
<param key="device.ssm.geo" value="false" />
</vType>

<flow id="Type1" type="pass" begin="0" end="30" vehsPerHour="1500" departLane="free" departSpeed="max">
<route edges="r1 r2"/>
</flow >
</routes>

I don’t know whether the code is right. Thank you very much!

_______________________________________________
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