corner_waiting_time_processor_test.scenario 8.74 KB
Newer Older
Felix Dietrich's avatar
Felix Dietrich committed
1
{
2
  "name" : "corner_waiting_time_processor_test",
Felix Dietrich's avatar
Felix Dietrich committed
3
  "description" : "",
4
  "release" : "1.3",
5
  "processWriters" : {
6
7
8
9
10
11
12
13
    "files" : [ {
      "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.PedestrianIdOutputFile",
      "filename" : "waitingTimes.txt",
      "processors" : [ 1 ]
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.PedestrianIdOutputFile",
      "filename" : "evacuationTimes.txt",
      "processors" : [ 2 ]
14
15
16
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.NoDataKeyOutputFile",
      "filename" : "out.txt",
Marion Goedel's avatar
Marion Goedel committed
17
      "processors" : [ ]
18
19
20
21
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOverlapOutputFile",
      "filename" : "out1.txt",
      "processors" : [ 6 ]
22
23
24
25
26
27
    } ],
    "processors" : [ {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianWaitingTimeProcessor",
      "id" : 1,
      "attributesType" : "org.vadere.state.attributes.processor.AttributesPedestrianWaitingTimeProcessor",
      "attributes" : {
28
        "waitingAreaId" : 1
29
30
31
32
33
34
35
36
37
38
39
40
41
42
      }
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianEvacuationTimeProcessor",
      "id" : 2,
      "attributesType" : "org.vadere.state.attributes.processor.AttributesPedestrianEvacuationTimeProcessor",
      "attributes" : {
        "pedestrianStartTimeProcessorId" : 4
      }
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianPositionProcessor",
      "id" : 3
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianStartTimeProcessor",
      "id" : 4
Marion Goedel's avatar
Marion Goedel committed
43
44
45
46
47
48
49
50
51
52
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianOverlapProcessor",
      "id" : 6
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.MaxOverlapProcessor",
      "id" : 7,
      "attributesType" : "org.vadere.state.attributes.processor.AttributesMaxOverlapProcessor",
      "attributes" : {
        "pedestrianOverlapProcessorId" : 6
      }
53
54
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.NumberOverlapsProcessor",
Marion Goedel's avatar
Marion Goedel committed
55
      "id" : 8,
56
57
58
59
      "attributesType" : "org.vadere.state.attributes.processor.AttributesNumberOverlapsProcessor",
      "attributes" : {
        "pedestrianOverlapProcessorId" : 6
      }
60
    } ],
61
    "isTimestamped" : true,
62
    "isWriteMetaData" : false
63
  },
64
  "scenario" : {
Felix Dietrich's avatar
Felix Dietrich committed
65
66
    "mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
    "attributesModel" : {
67
68
69
70
71
      "org.vadere.state.attributes.models.AttributesFloorField" : {
        "createMethod" : "HIGH_ACCURACY_FAST_MARCHING",
        "potentialFieldResolution" : 0.1,
        "obstacleGridPenalty" : 0.1,
        "targetAttractionStrength" : 1.0,
72
73
        "cacheType" : "NO_CACHE",
        "cacheDir" : "",
74
75
76
77
78
79
80
81
82
        "timeCostAttributes" : {
          "standardDeviation" : 0.7,
          "type" : "UNIT",
          "obstacleDensityWeight" : 3.5,
          "pedestrianSameTargetDensityWeight" : 3.5,
          "pedestrianOtherTargetDensityWeight" : 3.5,
          "pedestrianWeight" : 3.5,
          "queueWidthLoading" : 1.0,
          "pedestrianDynamicWeight" : 6.0,
83
84
85
          "loadingType" : "CONSTANT",
          "width" : 0.2,
          "height" : 1.0
86
87
        }
      },
Felix Dietrich's avatar
Felix Dietrich committed
88
89
90
      "org.vadere.state.attributes.models.AttributesOSM" : {
        "stepCircleResolution" : 18,
        "numberOfCircles" : 1,
91
        "optimizationType" : "DISCRETE",
Felix Dietrich's avatar
Felix Dietrich committed
92
        "varyStepDirection" : true,
93
        "movementType" : "ARBITRARY",
Felix Dietrich's avatar
Felix Dietrich committed
94
95
96
97
        "stepLengthIntercept" : 0.4625,
        "stepLengthSlopeSpeed" : 0.2345,
        "stepLengthSD" : 0.036,
        "movementThreshold" : 0.0,
98
        "minStepLength" : 0.4625,
99
        "minimumStepLength" : false,
100
        "maxStepDuration" : 1.7976931348623157E308,
Felix Dietrich's avatar
Felix Dietrich committed
101
102
103
104
        "dynamicStepLength" : false,
        "updateType" : "EVENT_DRIVEN",
        "seeSmallWalls" : false,
        "targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
105
106
        "pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
        "obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
107
        "submodels" : [ ]
Felix Dietrich's avatar
Felix Dietrich committed
108
      },
109
110
111
112
113
114
115
116
117
      "org.vadere.state.attributes.models.AttributesPotentialCompactSoftshell" : {
        "pedPotentialIntimateSpaceWidth" : 0.45,
        "pedPotentialPersonalSpaceWidth" : 1.2,
        "pedPotentialHeight" : 50.0,
        "obstPotentialWidth" : 0.8,
        "obstPotentialHeight" : 6.0,
        "intimateSpaceFactor" : 1.2,
        "personalSpacePower" : 1,
        "intimateSpacePower" : 1
Felix Dietrich's avatar
Felix Dietrich committed
118
119
120
121
122
123
      }
    },
    "attributesSimulation" : {
      "finishTime" : 100.0,
      "simTimeStepLength" : 0.4,
      "realTimeSimTimeRatio" : 0.0,
Marion Goedel's avatar
Marion Goedel committed
124
      "writeSimulationData" : true,
Felix Dietrich's avatar
Felix Dietrich committed
125
126
127
      "visualizationEnabled" : true,
      "printFPS" : false,
      "digitsPerCoordinate" : 2,
128
129
      "useFixedSeed" : true,
      "fixedSeed" : 1,
130
131
      "simulationSeed" : 1,
      "useSalientBehavior" : false
Felix Dietrich's avatar
Felix Dietrich committed
132
133
134
135
136
137
138
139
140
141
    },
    "topography" : {
      "attributes" : {
        "bounds" : {
          "x" : 0.0,
          "y" : 0.0,
          "width" : 14.0,
          "height" : 18.0
        },
        "boundingBoxWidth" : 1.0,
142
143
        "bounded" : true,
        "referenceCoordinateSystem" : null
Felix Dietrich's avatar
Felix Dietrich committed
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
      },
      "obstacles" : [ {
        "shape" : {
          "x" : 0.8,
          "y" : 3.0,
          "width" : 10.2,
          "height" : 1.0,
          "type" : "RECTANGLE"
        },
        "id" : -1
      }, {
        "shape" : {
          "x" : 10.0,
          "y" : 4.0,
          "width" : 1.0,
          "height" : 9.0,
          "type" : "RECTANGLE"
        },
        "id" : -1
      } ],
164
165
166
167
168
169
170
171
172
173
      "measurementAreas" : [ {
        "shape" : {
          "x" : 1.0,
          "y" : 3.5,
          "width" : 9.5,
          "height" : 10.0,
          "type" : "RECTANGLE"
        },
        "id" : 1
      } ],
Felix Dietrich's avatar
Felix Dietrich committed
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
      "stairs" : [ ],
      "targets" : [ {
        "id" : 1,
        "absorbing" : true,
        "shape" : {
          "x" : 11.0,
          "y" : 15.0,
          "width" : 2.0,
          "height" : 2.0,
          "type" : "RECTANGLE"
        },
        "waitingTime" : 0.0,
        "waitingTimeYellowPhase" : 0.0,
        "parallelWaiters" : 0,
        "individualWaiting" : true,
        "deletionDistance" : 0.1,
        "startingWithRedLight" : false,
        "nextSpeed" : -1.0
      } ],
193
      "absorbingAreas" : [ ],
Felix Dietrich's avatar
Felix Dietrich committed
194
195
196
197
198
199
200
201
202
203
204
205
      "sources" : [ {
        "id" : -1,
        "shape" : {
          "x" : 1.2,
          "y" : 1.2,
          "width" : 6.0,
          "height" : 1.6,
          "type" : "RECTANGLE"
        },
        "interSpawnTimeDistribution" : "org.vadere.state.scenario.ConstantDistribution",
        "distributionParameters" : [ 1.0 ],
        "spawnNumber" : 20,
206
        "maxSpawnNumberTotal" : -1,
Felix Dietrich's avatar
Felix Dietrich committed
207
208
209
        "startTime" : 0.0,
        "endTime" : 0.0,
        "spawnAtRandomPositions" : true,
210
        "useFreeSpaceOnly" : true,
Felix Dietrich's avatar
Felix Dietrich committed
211
        "targetIds" : [ 1 ],
212
        "groupSizeDistribution" : [ 1.0 ],
Felix Dietrich's avatar
Felix Dietrich committed
213
214
215
        "dynamicElementType" : "PEDESTRIAN"
      } ],
      "dynamicElements" : [ {
216
        "source" : null,
Felix Dietrich's avatar
Felix Dietrich committed
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
        "targetIds" : [ 1 ],
        "position" : {
          "x" : 4.3,
          "y" : 4.6
        },
        "velocity" : {
          "x" : 0.0,
          "y" : 0.0
        },
        "nextTargetListIndex" : -1,
        "freeFlowSpeed" : 1.34,
        "attributes" : {
          "id" : -1,
          "radius" : 0.195,
          "densityDependentSpeed" : false,
          "speedDistributionMean" : 1.34,
          "speedDistributionStandardDeviation" : 0.0,
          "minimumSpeed" : 0.3,
          "maximumSpeed" : 3.0,
236
237
238
239
240
          "acceleration" : 2.0,
          "footStepsToStore" : 4,
          "searchRadius" : 1.0,
          "angleCalculationType" : "USE_CENTER",
          "targetOrientationAngleThreshold" : 45.0
Felix Dietrich's avatar
Felix Dietrich committed
241
242
243
244
        },
        "idAsTarget" : -1,
        "isChild" : false,
        "isLikelyInjured" : false,
245
        "mostImportantEvent" : null,
246
        "salientBehavior" : "TARGET_ORIENTED",
Felix Dietrich's avatar
Felix Dietrich committed
247
        "groupIds" : [ ],
248
249
250
        "trajectory" : {
          "footSteps" : [ ]
        },
251
        "currentFootStep" : null,
252
253
        "groupSizes" : [ ],
        "modelPedestrianMap" : { },
Stefan Schuhbaeck's avatar
Stefan Schuhbaeck committed
254
        "type" : "PEDESTRIAN"
Felix Dietrich's avatar
Felix Dietrich committed
255
      } ],
256
257
258
259
260
261
262
      "attributesPedestrian" : {
        "radius" : 0.195,
        "densityDependentSpeed" : false,
        "speedDistributionMean" : 1.34,
        "speedDistributionStandardDeviation" : 0.26,
        "minimumSpeed" : 0.5,
        "maximumSpeed" : 2.2,
263
264
265
266
267
        "acceleration" : 2.0,
        "footStepsToStore" : 4,
        "searchRadius" : 1.0,
        "angleCalculationType" : "USE_CENTER",
        "targetOrientationAngleThreshold" : 45.0
268
269
      },
      "teleporter" : null,
Felix Dietrich's avatar
Felix Dietrich committed
270
      "attributesCar" : null
271
272
    },
    "eventInfos" : [ ]
Felix Dietrich's avatar
Felix Dietrich committed
273
274
  }
}