Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
eclipse
GitHub Repository: eclipse/sumo
Path: blob/main/tests/complex/traffic_lights/loop_flow/input_additional_template.add.xml
169686 views
1
<a>
2
3
<e2Detector id="1i_l0" lane="1i_0" pos="-500" length="500" freq="60" file="results/e2_output.xml" friendlyPos="true"/>
4
<e2Detector id="2i_l0" lane="2i_0" pos="-500" length="500" freq="60" file="results/e2_output.xml" friendlyPos="true"/>
5
<e2Detector id="3i_l0" lane="3i_0" pos="-500" length="500" freq="60" file="results/e2_output.xml" friendlyPos="true"/>
6
<e2Detector id="4i_l0" lane="4i_0" pos="-500" length="500" freq="60" file="results/e2_output.xml" friendlyPos="true"/>
7
8
<e2Detector id="1i_tl0_l0" lane="1i_0" tl="0" pos="-500" length="500" file="results/e2_tl0_output.xml" friendlyPos="true"/>
9
<e2Detector id="2i_tl0_l0" lane="2i_0" tl="0" pos="-500" length="500" file="results/e2_tl0_output.xml" friendlyPos="true"/>
10
<e2Detector id="3i_tl0_l0" lane="3i_0" tl="0" pos="-500" length="500" file="results/e2_tl0_output.xml" friendlyPos="true"/>
11
<e2Detector id="4i_tl0_l0" lane="4i_0" tl="0" pos="-500" length="500" file="results/e2_tl0_output.xml" friendlyPos="true"/>
12
13
<edgeData id="edges" freq="3600" file="results/edgeData_3600.xml"/>
14
<laneData id="lanes" freq="3600" file="results/laneData_3600.xml"/>
15
<edgeData id="edgesEmissions" type="emissions" freq="3600" file="results/edgesEmissions_3600.xml"/>
16
<laneData id="lanesEmissions" type="emissions" freq="3600" file="results/lanesEmissions_3600.xml"/>
17
<!-- edgeData id="edgesNoise" type="harmonoise" freq="3600" file="results/edgesNoise_3600.xml"/>
18
<laneData id="lanesNoise" type="harmonoise" freq="3600" file="results/lanesNoise_3600.xml"/ -->
19
20
<timedEvent type="SaveTLSStates" source="0" dest="results/TLSStates.xml"/>
21
<timedEvent type="SaveTLSSwitchTimes" source="0" dest="results/TLSSwitchTimes.xml"/>
22
<timedEvent type="SaveTLSSwitchStates" source="0" dest="results/TLSSwitchStates.xml"/>
23
24
<tlLogic id="0" type="%tls_type%" programID="a" offset="0">
25
<param key="THRESHOLD" value="200"/>
26
<param key="MIN_DECISIONAL_PHASE_DUR" value="5000"/>
27
<param key="MAX_CONGESTION_DUR" value="80"/>
28
<param key="PHERO_MAXVAL" value="10.0"/>
29
30
31
<param key="CHANGE_PLAN_PROBABILITY" value="0.03"/>
32
<param key="GAMMA_SP" value="0.18"/>
33
<param key="BETA_SP" value="0.27"/>
34
35
<param key="GAMMA_NO" value="0.1"/>
36
<param key="BETA_NO" value="0.2"/>
37
<param key="THETA_MAX" value="0.85"/>
38
<param key="THETA_MIN" value="0.1"/>
39
<param key="THETA_INIT" value="0.5"/>
40
<param key="LEARNING_COX" value="0.1"/>
41
<param key="FORGETTING_COX" value="0.4"/>
42
43
<param key="PHASE_STIM_COX" value=".127326"/>
44
<param key="PHASE_STIM_OFFSET_IN" value="5"/>
45
<param key="PHASE_STIM_OFFSET_OUT" value="0"/>
46
<param key="PHASE_STIM_DIVISOR_IN" value="8"/>
47
<param key="PHASE_STIM_DIVISOR_OUT" value="8"/>
48
<param key="PHASE_STIM_COX_EXP_IN" value="1"/>
49
<param key="PHASE_STIM_COX_EXP_OUT" value="1"/>
50
51
<param key="PLATOON_STIM_COX" value=".0805782"/>
52
<param key="PLATOON_STIM_OFFSET_IN" value="0"/>
53
<param key="PLATOON_STIM_OFFSET_OUT" value="0"/>
54
<param key="PLATOON_STIM_DIVISOR_IN" value="10"/>
55
<param key="PLATOON_STIM_DIVISOR_OUT" value="10"/>
56
<param key="PLATOON_STIM_COX_EXP_IN" value="1"/>
57
<param key="PLATOON_STIM_COX_EXP_OUT" value="1"/>
58
59
<param key="MARCHING_STIM_COX" value=".0407958"/>
60
<param key="MARCHING_STIM_OFFSET_IN" value="5"/>
61
<param key="MARCHING_STIM_OFFSET_OUT" value="5"/>
62
<param key="MARCHING_STIM_DIVISOR_IN" value="8"/>
63
<param key="MARCHING_STIM_DIVISOR_OUT" value="8"/>
64
<param key="MARCHING_STIM_COX_EXP_IN" value="1"/>
65
<param key="MARCHING_STIM_COX_EXP_OUT" value="1"/>
66
67
<param key="CONGESTION_STIM_COX" value=".0407958"/>
68
<param key="CONGESTION_STIM_OFFSET_IN" value="0"/>
69
<param key="CONGESTION_STIM_OFFSET_OUT" value="10"/>
70
<param key="CONGESTION_STIM_DIVISOR_IN" value="1"/>
71
<param key="CONGESTION_STIM_DIVISOR_OUT" value="8"/>
72
<param key="CONGESTION_STIM_COX_EXP_IN" value="0"/>
73
<param key="CONGESTION_STIM_COX_EXP_OUT" value="1"/>
74
75
76
<phase duration="32" state="GrGr" type="target;decisional" targetLanes="2i_0 4i_0" minDur="12" maxDur="52"/>
77
<phase duration="4" state="yryr" type="transient"/>
78
<phase duration="4" state="rrrr" type="transient;commit"/>
79
<phase duration="32" state="rGrG" type="target;decisional" targetLanes="1i_0 3i_0" minDur="12" maxDur="52"/>
80
<phase duration="4" state="ryry" type="transient"/>
81
<phase duration="4" state="rrrr" type="transient;commit"/>
82
</tlLogic>
83
84
</a>
85
86