chicken_floorfield_ok.scenario 7.18 KB
Newer Older
Felix Dietrich's avatar
Felix Dietrich committed
1
{
2
  "name" : "chicken_floorfield_ok",
Felix Dietrich's avatar
Felix Dietrich committed
3
  "description" : "",
4
  "release" : "0.6",
5
  "processWriters" : {
6
    "files" : [ {
7
8
      "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOutputFile",
      "filename" : "postvis.trajectories",
9
10
11
      "processors" : [ 1 ]
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.PedestrianIdOutputFile",
12
      "filename" : "waitingTimes.txt",
13
      "processors" : [ 2 ]
14
15
16
17
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOverlapOutputFile",
      "filename" : "out.txt",
      "processors" : [ 3 ]
18
19
20
21
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.NoDataKeyOutputFile",
      "filename" : "out1.txt",
      "processors" : [ 4 ]
22
23
    } ],
    "processors" : [ {
24
25
26
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianPositionProcessor",
      "id" : 1
    }, {
27
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianWaitingTimeProcessor",
28
      "id" : 2,
29
30
31
      "attributesType" : "org.vadere.state.attributes.processor.AttributesPedestrianWaitingTimeProcessor",
      "attributes" : {
        "waitingArea" : {
32
33
34
35
          "x" : 10.0,
          "y" : 32.0,
          "width" : 15.0,
          "height" : 8.0,
36
37
38
          "type" : "RECTANGLE"
        }
      }
39
40
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianOverlapProcessor",
41
      "id" : 3
42
43
44
45
46
47
48
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.NumberOverlapsProcessor",
      "id" : 4,
      "attributesType" : "org.vadere.state.attributes.processor.AttributesNumberOverlapsProcessor",
      "attributes" : {
        "pedestrianOverlapProcessorId" : 3
      }
Marion Goedel's avatar
Marion Goedel committed
49
50
51
52
53
54
55
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.MaxOverlapProcessor",
      "id" : 5,
      "attributesType" : "org.vadere.state.attributes.processor.AttributesMaxOverlapProcessor",
      "attributes" : {
        "pedestrianOverlapProcessorId" : 3
      }
56
57
58
59
60
61
62
63
64
65
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.tests.TestPedestrianWaitingTimeProcessor",
      "id" : 6,
      "attributesType" : "org.vadere.state.attributes.processor.AttributesTestPedestrianWaitingTimeProcessor",
      "attributes" : {
        "expectedResult" : "SUCCESS",
        "pedestrianWaitingTimeProcessorId" : 2,
        "maximalWaitingTime" : 0.0,
        "minimalWaitingTime" : 0.0
      }
66
    } ],
67
68
    "isTimestamped" : true
  },
69
  "scenario" : {
Felix Dietrich's avatar
Felix Dietrich committed
70
71
    "mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
    "attributesModel" : {
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
      "org.vadere.state.attributes.models.AttributesFloorField" : {
        "createMethod" : "HIGH_ACCURACY_FAST_MARCHING",
        "potentialFieldResolution" : 0.1,
        "obstacleGridPenalty" : 0.1,
        "targetAttractionStrength" : 1.0,
        "timeCostAttributes" : {
          "standardDeviation" : 0.7,
          "type" : "UNIT",
          "obstacleDensityWeight" : 3.5,
          "pedestrianSameTargetDensityWeight" : 3.5,
          "pedestrianOtherTargetDensityWeight" : 3.5,
          "pedestrianWeight" : 3.5,
          "queueWidthLoading" : 1.0,
          "pedestrianDynamicWeight" : 6.0,
          "loadingType" : "CONSTANT"
        }
      },
Felix Dietrich's avatar
Felix Dietrich committed
89
90
91
      "org.vadere.state.attributes.models.AttributesOSM" : {
        "stepCircleResolution" : 18,
        "numberOfCircles" : 1,
92
        "varyStepDirection" : false,
Felix Dietrich's avatar
Felix Dietrich committed
93
94
95
96
        "stepLengthIntercept" : 0.4625,
        "stepLengthSlopeSpeed" : 0.2345,
        "stepLengthSD" : 0.036,
        "movementThreshold" : 0.0,
97
        "optimizationType" : "NELDER_MEAD",
Felix Dietrich's avatar
Felix Dietrich committed
98
99
100
101
102
103
        "movementType" : "ARBITRARY",
        "dynamicStepLength" : false,
        "updateType" : "EVENT_DRIVEN",
        "seeSmallWalls" : false,
        "minimumStepLength" : false,
        "targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
104
105
        "pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
        "obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
Felix Dietrich's avatar
Felix Dietrich committed
106
107
        "submodels" : [ ]
      },
108
109
110
111
112
113
114
115
116
      "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
117
118
119
      }
    },
    "attributesSimulation" : {
120
      "finishTime" : 200.0,
Felix Dietrich's avatar
Felix Dietrich committed
121
122
      "simTimeStepLength" : 0.4,
      "realTimeSimTimeRatio" : 0.0,
123
      "writeSimulationData" : true,
Felix Dietrich's avatar
Felix Dietrich committed
124
125
126
      "visualizationEnabled" : true,
      "printFPS" : false,
      "digitsPerCoordinate" : 2,
127
128
      "useFixedSeed" : true,
      "fixedSeed" : 1,
129
      "simulationSeed" : 1
Felix Dietrich's avatar
Felix Dietrich committed
130
131
132
133
134
135
    },
    "topography" : {
      "attributes" : {
        "bounds" : {
          "x" : 0.0,
          "y" : 0.0,
136
137
          "width" : 35.0,
          "height" : 60.0
Felix Dietrich's avatar
Felix Dietrich committed
138
        },
139
        "boundingBoxWidth" : 0.5,
Felix Dietrich's avatar
Felix Dietrich committed
140
141
142
143
        "bounded" : true
      },
      "obstacles" : [ {
        "shape" : {
144
145
146
147
          "x" : 9.0,
          "y" : 21.0,
          "width" : 1.0,
          "height" : 20.0,
Felix Dietrich's avatar
Felix Dietrich committed
148
149
150
151
152
          "type" : "RECTANGLE"
        },
        "id" : -1
      }, {
        "shape" : {
153
154
          "x" : 25.0,
          "y" : 21.0,
Felix Dietrich's avatar
Felix Dietrich committed
155
          "width" : 1.0,
156
157
158
159
160
161
162
163
164
165
          "height" : 20.0,
          "type" : "RECTANGLE"
        },
        "id" : -1
      }, {
        "shape" : {
          "x" : 10.0,
          "y" : 40.0,
          "width" : 15.0,
          "height" : 1.0,
Felix Dietrich's avatar
Felix Dietrich committed
166
167
168
169
170
171
172
173
174
          "type" : "RECTANGLE"
        },
        "id" : -1
      } ],
      "stairs" : [ ],
      "targets" : [ {
        "id" : 1,
        "absorbing" : true,
        "shape" : {
175
176
177
178
          "x" : 10.0,
          "y" : 51.0,
          "width" : 15.0,
          "height" : 5.0,
Felix Dietrich's avatar
Felix Dietrich committed
179
180
181
182
183
184
185
186
187
188
189
190
191
          "type" : "RECTANGLE"
        },
        "waitingTime" : 0.0,
        "waitingTimeYellowPhase" : 0.0,
        "parallelWaiters" : 0,
        "individualWaiting" : true,
        "deletionDistance" : 0.1,
        "startingWithRedLight" : false,
        "nextSpeed" : -1.0
      } ],
      "sources" : [ {
        "id" : -1,
        "shape" : {
192
          "x" : 10.0,
Marion Goedel's avatar
Marion Goedel committed
193
          "y" : 5.0,
194
          "width" : 15.0,
Marion Goedel's avatar
Marion Goedel committed
195
          "height" : 9.0,
Felix Dietrich's avatar
Felix Dietrich committed
196
197
198
199
          "type" : "RECTANGLE"
        },
        "interSpawnTimeDistribution" : "org.vadere.state.scenario.ConstantDistribution",
        "distributionParameters" : [ 1.0 ],
200
        "spawnNumber" : 300,
201
        "maxSpawnNumberTotal" : -1,
Felix Dietrich's avatar
Felix Dietrich committed
202
203
204
        "startTime" : 0.0,
        "endTime" : 0.0,
        "spawnAtRandomPositions" : true,
205
        "useFreeSpaceOnly" : true,
Felix Dietrich's avatar
Felix Dietrich committed
206
        "targetIds" : [ 1 ],
207
        "groupSizeDistribution" : [ 1.0 ],
Felix Dietrich's avatar
Felix Dietrich committed
208
209
        "dynamicElementType" : "PEDESTRIAN"
      } ],
Marion Goedel's avatar
Marion Goedel committed
210
      "dynamicElements" : [ ],
Felix Dietrich's avatar
Felix Dietrich committed
211
212
213
214
215
      "attributesPedestrian" : {
        "radius" : 0.195,
        "densityDependentSpeed" : false,
        "speedDistributionMean" : 1.34,
        "speedDistributionStandardDeviation" : 0.26,
216
217
        "minimumSpeed" : 0.5,
        "maximumSpeed" : 2.2,
Felix Dietrich's avatar
Felix Dietrich committed
218
219
        "acceleration" : 2.0
      },
220
      "attributesCar" : null
Felix Dietrich's avatar
Felix Dietrich committed
221
222
223
    }
  }
}