07-Threat-OSMSequential-MultipleAgents.scenario 11.6 KB
Newer Older
1
{
2
  "name" : "07-Threat-OSMSequential-MultipleAgents",
3
  "description" : "",
Christina's avatar
Christina committed
4
  "release" : "1.12",
5 6
  "processWriters" : {
    "files" : [ {
7 8
      "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.EventtimePedestrianIdOutputFile",
      "filename" : "postvis.traj",
9
      "processors" : [ 1, 2, 3 ]
10 11
    } ],
    "processors" : [ {
12
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.FootStepProcessor",
13
      "id" : 1
14 15
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.FootStepTargetIDProcessor",
16 17 18 19
      "id" : 2
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.FootStepPsychologyStatusProcessor",
      "id" : 3
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
    } ],
    "isTimestamped" : true,
    "isWriteMetaData" : false
  },
  "scenario" : {
    "mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
    "attributesModel" : {
      "org.vadere.state.attributes.models.AttributesOSM" : {
        "stepCircleResolution" : 4,
        "numberOfCircles" : 1,
        "optimizationType" : "NELDER_MEAD",
        "varyStepDirection" : true,
        "movementType" : "ARBITRARY",
        "stepLengthIntercept" : 0.4625,
        "stepLengthSlopeSpeed" : 0.2345,
        "stepLengthSD" : 0.036,
        "movementThreshold" : 0.0,
        "minStepLength" : 0.1,
        "minimumStepLength" : true,
        "maxStepDuration" : 1.7976931348623157E308,
        "dynamicStepLength" : true,
41
        "updateType" : "SEQUENTIAL",
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
        "seeSmallWalls" : false,
        "targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
        "pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
        "obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
        "submodels" : [ ]
      },
      "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
      },
      "org.vadere.state.attributes.models.AttributesFloorField" : {
        "createMethod" : "HIGH_ACCURACY_FAST_MARCHING",
        "potentialFieldResolution" : 0.1,
        "obstacleGridPenalty" : 0.1,
        "targetAttractionStrength" : 1.0,
63 64
        "cacheType" : "NO_CACHE",
        "cacheDir" : "",
65 66 67 68 69 70 71 72 73
        "timeCostAttributes" : {
          "standardDeviation" : 0.7,
          "type" : "UNIT",
          "obstacleDensityWeight" : 3.5,
          "pedestrianSameTargetDensityWeight" : 3.5,
          "pedestrianOtherTargetDensityWeight" : 3.5,
          "pedestrianWeight" : 3.5,
          "queueWidthLoading" : 1.0,
          "pedestrianDynamicWeight" : 6.0,
74 75 76
          "loadingType" : "CONSTANT",
          "width" : 0.2,
          "height" : 1.0
77 78 79 80 81 82 83 84 85 86 87 88 89
        }
      }
    },
    "attributesSimulation" : {
      "finishTime" : 50.0,
      "simTimeStepLength" : 0.4,
      "realTimeSimTimeRatio" : 0.1,
      "writeSimulationData" : true,
      "visualizationEnabled" : true,
      "printFPS" : false,
      "digitsPerCoordinate" : 2,
      "useFixedSeed" : true,
      "fixedSeed" : -2062305966864041707,
90 91 92
      "simulationSeed" : 0
    },
    "attributesPsychology" : {
93
      "usePsychologyLayer" : true,
94 95
      "psychologyLayer" : {
        "perception" : "SimplePerceptionModel",
96
        "cognition" : "ThreatCognitionModel"
97
      }
98 99 100 101 102 103 104 105 106 107
    },
    "topography" : {
      "attributes" : {
        "bounds" : {
          "x" : 0.0,
          "y" : 0.0,
          "width" : 30.0,
          "height" : 5.0
        },
        "boundingBoxWidth" : 0.5,
108 109
        "bounded" : true,
        "referenceCoordinateSystem" : null
110 111
      },
      "obstacles" : [ ],
112
      "measurementAreas" : [ ],
113 114
      "stairs" : [ ],
      "targets" : [ {
115
        "id" : 0,
116 117
        "absorbing" : true,
        "shape" : {
118
          "radius" : 1.0,
119 120 121 122 123
          "center" : {
            "x" : 28.0,
            "y" : 2.5
          },
          "type" : "CIRCLE"
124 125 126 127 128 129 130 131
        },
        "waitingTime" : 0.0,
        "waitingTimeYellowPhase" : 0.0,
        "parallelWaiters" : 0,
        "individualWaiting" : true,
        "deletionDistance" : 0.1,
        "startingWithRedLight" : false,
        "nextSpeed" : -1.0
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
      }, {
        "id" : 1,
        "absorbing" : true,
        "shape" : {
          "x" : 0.7,
          "y" : 1.0,
          "width" : 0.5,
          "height" : 3.0,
          "type" : "RECTANGLE"
        },
        "waitingTime" : 0.0,
        "waitingTimeYellowPhase" : 0.0,
        "parallelWaiters" : 0,
        "individualWaiting" : true,
        "deletionDistance" : 0.1,
        "startingWithRedLight" : false,
        "nextSpeed" : -1.0
149
      } ],
150
      "targetChangers" : [ ],
151
      "absorbingAreas" : [ ],
152
      "sources" : [ ],
153 154
      "dynamicElements" : [ {
        "attributes" : {
155
          "id" : 2,
156 157 158 159 160 161
          "radius" : 0.2,
          "densityDependentSpeed" : false,
          "speedDistributionMean" : 1.34,
          "speedDistributionStandardDeviation" : 0.26,
          "minimumSpeed" : 0.5,
          "maximumSpeed" : 2.2,
162
          "acceleration" : 2.0,
163
          "footstepHistorySize" : 4,
164
          "searchRadius" : 1.0,
165 166
          "walkingDirectionCalculation" : "BY_TARGET_CENTER",
          "walkingDirectionSameIfAngleLessOrEqual" : 45.0
167
        },
168
        "source" : null,
169
        "targetIds" : [ ],
170 171 172 173 174 175 176 177 178 179 180 181
        "nextTargetListIndex" : 0,
        "isCurrentTargetAnAgent" : false,
        "position" : {
          "x" : 20.4,
          "y" : 2.5
        },
        "velocity" : {
          "x" : 0.0,
          "y" : 0.0
        },
        "freeFlowSpeed" : 1.6,
        "followers" : [ ],
182 183 184
        "idAsTarget" : -1,
        "isChild" : false,
        "isLikelyInjured" : false,
185
        "psychologyStatus" : {
186
          "mostImportantStimulus" : null,
187 188
          "threatMemory" : {
            "allThreats" : [ ],
189
            "latestThreatUnhandled" : false
190
          },
191
          "selfCategory" : "TARGET_ORIENTED",
192 193 194 195
          "groupMembership" : "OUT_GROUP",
          "knowledgeBase" : {
            "knowledge" : [ ]
          }
196
        },
197
        "groupIds" : [ ],
198
        "groupSizes" : [ ],
199 200 201 202 203 204 205
        "trajectory" : {
          "footSteps" : [ ]
        },
        "modelPedestrianMap" : null,
        "type" : "PEDESTRIAN"
      }, {
        "attributes" : {
206
          "id" : 3,
207 208 209 210 211 212
          "radius" : 0.2,
          "densityDependentSpeed" : false,
          "speedDistributionMean" : 1.34,
          "speedDistributionStandardDeviation" : 0.26,
          "minimumSpeed" : 0.5,
          "maximumSpeed" : 2.2,
213
          "acceleration" : 2.0,
214
          "footstepHistorySize" : 4,
215
          "searchRadius" : 1.0,
216 217
          "walkingDirectionCalculation" : "BY_TARGET_CENTER",
          "walkingDirectionSameIfAngleLessOrEqual" : 45.0
218
        },
219
        "source" : null,
220
        "targetIds" : [ ],
221 222 223 224 225 226 227 228 229 230 231 232
        "nextTargetListIndex" : 0,
        "isCurrentTargetAnAgent" : false,
        "position" : {
          "x" : 19.1,
          "y" : 3.1
        },
        "velocity" : {
          "x" : 0.0,
          "y" : 0.0
        },
        "freeFlowSpeed" : 1.5,
        "followers" : [ ],
233 234 235
        "idAsTarget" : -1,
        "isChild" : false,
        "isLikelyInjured" : false,
236
        "psychologyStatus" : {
237
          "mostImportantStimulus" : null,
238 239
          "threatMemory" : {
            "allThreats" : [ ],
240
            "latestThreatUnhandled" : false
241
          },
242
          "selfCategory" : "TARGET_ORIENTED",
243 244 245 246
          "groupMembership" : "OUT_GROUP",
          "knowledgeBase" : {
            "knowledge" : [ ]
          }
247
        },
248
        "groupIds" : [ ],
249
        "groupSizes" : [ ],
250 251 252 253 254 255 256
        "trajectory" : {
          "footSteps" : [ ]
        },
        "modelPedestrianMap" : null,
        "type" : "PEDESTRIAN"
      }, {
        "attributes" : {
257
          "id" : 4,
258 259 260 261 262 263
          "radius" : 0.2,
          "densityDependentSpeed" : false,
          "speedDistributionMean" : 1.34,
          "speedDistributionStandardDeviation" : 0.26,
          "minimumSpeed" : 0.5,
          "maximumSpeed" : 2.2,
264
          "acceleration" : 2.0,
265
          "footstepHistorySize" : 4,
266
          "searchRadius" : 1.0,
267 268
          "walkingDirectionCalculation" : "BY_TARGET_CENTER",
          "walkingDirectionSameIfAngleLessOrEqual" : 45.0
269
        },
270
        "source" : null,
271
        "targetIds" : [ ],
272 273 274 275 276 277 278 279 280 281 282 283
        "nextTargetListIndex" : 0,
        "isCurrentTargetAnAgent" : false,
        "position" : {
          "x" : 19.1,
          "y" : 2.2
        },
        "velocity" : {
          "x" : 0.0,
          "y" : 0.0
        },
        "freeFlowSpeed" : 1.4,
        "followers" : [ ],
284 285 286
        "idAsTarget" : -1,
        "isChild" : false,
        "isLikelyInjured" : false,
287
        "psychologyStatus" : {
288
          "mostImportantStimulus" : null,
289 290
          "threatMemory" : {
            "allThreats" : [ ],
291
            "latestThreatUnhandled" : false
292
          },
293
          "selfCategory" : "TARGET_ORIENTED",
294 295 296 297
          "groupMembership" : "OUT_GROUP",
          "knowledgeBase" : {
            "knowledge" : [ ]
          }
298
        },
299
        "groupIds" : [ ],
300
        "groupSizes" : [ ],
301 302 303 304 305 306 307
        "trajectory" : {
          "footSteps" : [ ]
        },
        "modelPedestrianMap" : null,
        "type" : "PEDESTRIAN"
      }, {
        "attributes" : {
308
          "id" : 5,
309 310 311 312 313 314
          "radius" : 0.2,
          "densityDependentSpeed" : false,
          "speedDistributionMean" : 1.34,
          "speedDistributionStandardDeviation" : 0.26,
          "minimumSpeed" : 0.5,
          "maximumSpeed" : 2.2,
315
          "acceleration" : 2.0,
316
          "footstepHistorySize" : 4,
317
          "searchRadius" : 1.0,
318 319
          "walkingDirectionCalculation" : "BY_TARGET_CENTER",
          "walkingDirectionSameIfAngleLessOrEqual" : 45.0
320
        },
321
        "source" : null,
322
        "targetIds" : [ ],
323 324 325 326 327 328 329 330 331 332 333 334
        "nextTargetListIndex" : 0,
        "isCurrentTargetAnAgent" : false,
        "position" : {
          "x" : 19.1,
          "y" : 1.4
        },
        "velocity" : {
          "x" : 0.0,
          "y" : 0.0
        },
        "freeFlowSpeed" : 1.5,
        "followers" : [ ],
335 336 337
        "idAsTarget" : -1,
        "isChild" : false,
        "isLikelyInjured" : false,
338
        "psychologyStatus" : {
339
          "mostImportantStimulus" : null,
340 341
          "threatMemory" : {
            "allThreats" : [ ],
342
            "latestThreatUnhandled" : false
343
          },
344
          "selfCategory" : "TARGET_ORIENTED",
345 346 347 348
          "groupMembership" : "OUT_GROUP",
          "knowledgeBase" : {
            "knowledge" : [ ]
          }
349
        },
350
        "groupIds" : [ ],
351
        "groupSizes" : [ ],
352 353 354 355 356 357 358 359 360 361 362 363 364
        "trajectory" : {
          "footSteps" : [ ]
        },
        "modelPedestrianMap" : null,
        "type" : "PEDESTRIAN"
      } ],
      "attributesPedestrian" : {
        "radius" : 0.2,
        "densityDependentSpeed" : false,
        "speedDistributionMean" : 1.34,
        "speedDistributionStandardDeviation" : 0.26,
        "minimumSpeed" : 0.5,
        "maximumSpeed" : 2.2,
365
        "acceleration" : 2.0,
366
        "footstepHistorySize" : 4,
367
        "searchRadius" : 1.0,
368 369
        "walkingDirectionCalculation" : "BY_TARGET_CENTER",
        "walkingDirectionSameIfAngleLessOrEqual" : 45.0
370 371
      },
      "teleporter" : null,
372
      "attributesCar" : null
373
    },
374 375
    "stimulusInfos" : [ {
      "timeframe" : {
376 377 378 379 380
        "startTime" : 0.0,
        "endTime" : 0.4,
        "repeat" : false,
        "waitTimeBetweenRepetition" : 0.0
      },
381
      "stimuli" : [ {
382
        "type" : "Threat",
383
        "originAsTargetId" : 0,
384 385
        "loudness" : 1.0,
        "radius" : 10.0
386 387
      } ]
    } ]
388
  }
389
}