basic_2_density_gnm1.scenario 5.13 KB
Newer Older
Felix Dietrich's avatar
Felix Dietrich committed
1
2
3
{
  "name" : "basic_2_density_gnm1",
  "description" : "",
4
  "release" : "1.5",
5
6
7
  "processWriters" : {
    "files" : [ ],
    "processors" : [ ],
8
9
    "isTimestamped" : true,
    "isWriteMetaData" : false
10
  },
11
  "scenario" : {
Felix Dietrich's avatar
Felix Dietrich committed
12
13
14
15
16
17
18
    "mainModel" : "org.vadere.simulator.models.gnm.GradientNavigationModel",
    "attributesModel" : {
      "org.vadere.state.attributes.models.AttributesFloorField" : {
        "createMethod" : "HIGH_ACCURACY_FAST_MARCHING",
        "potentialFieldResolution" : 0.1,
        "obstacleGridPenalty" : 0.1,
        "targetAttractionStrength" : 1.0,
19
20
        "cacheType" : "NO_CACHE",
        "cacheDir" : "",
Felix Dietrich's avatar
Felix Dietrich committed
21
        "timeCostAttributes" : {
22
          "standardDeviation" : 0.7,
Felix Dietrich's avatar
Felix Dietrich committed
23
24
25
26
27
28
29
          "type" : "UNIT",
          "obstacleDensityWeight" : 3.5,
          "pedestrianSameTargetDensityWeight" : 3.5,
          "pedestrianOtherTargetDensityWeight" : 3.5,
          "pedestrianWeight" : 3.5,
          "queueWidthLoading" : 1.0,
          "pedestrianDynamicWeight" : 6.0,
30
31
32
          "loadingType" : "CONSTANT",
          "width" : 0.2,
          "height" : 1.0
Felix Dietrich's avatar
Felix Dietrich committed
33
        }
34
      },
35
36
37
38
39
40
41
42
43
44
45
46
47
      "org.vadere.state.attributes.models.AttributesGNM" : {
        "attributesODEIntegrator" : {
          "solverType" : "DORMAND_PRINCE_45",
          "stepSizeMin" : 1.0E-4,
          "stepSizeMax" : 1.0,
          "toleranceAbsolute" : 1.0E-5,
          "toleranceRelative" : 1.0E-4
        },
        "floorGradientProviderType" : "FLOOR_EIKONAL_DISCRETE",
        "targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
        "pedestrianPotentialModel" : "org.vadere.simulator.models.gnm.PotentialFieldPedestrianGNM",
        "obstaclePotentialModel" : "org.vadere.simulator.models.gnm.PotentialFieldObstacleGNM"
      },
48
49
50
51
52
      "org.vadere.state.attributes.models.AttributesPotentialGNM" : {
        "pedestrianBodyPotential" : 3.59,
        "pedestrianRecognitionDistance" : 0.7,
        "obstacleBodyPotential" : 20.1,
        "obstacleRepulsionStrength" : 0.25
Felix Dietrich's avatar
Felix Dietrich committed
53
54
55
56
57
58
59
60
61
62
      }
    },
    "attributesSimulation" : {
      "finishTime" : 200.0,
      "simTimeStepLength" : 0.4,
      "realTimeSimTimeRatio" : 0.0,
      "writeSimulationData" : true,
      "visualizationEnabled" : true,
      "printFPS" : false,
      "digitsPerCoordinate" : 2,
63
64
      "useFixedSeed" : true,
      "fixedSeed" : 1,
65
      "simulationSeed" : 0,
66
      "usePsychologyLayer" : false
Felix Dietrich's avatar
Felix Dietrich committed
67
68
69
70
71
72
73
74
75
76
    },
    "topography" : {
      "attributes" : {
        "bounds" : {
          "x" : 0.0,
          "y" : 0.0,
          "width" : 38.0,
          "height" : 12.0
        },
        "boundingBoxWidth" : 0.5,
77
78
        "bounded" : true,
        "referenceCoordinateSystem" : null
Felix Dietrich's avatar
Felix Dietrich committed
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
      },
      "obstacles" : [ {
        "shape" : {
          "type" : "POLYGON",
          "points" : [ {
            "x" : 9.0,
            "y" : 12.0
          }, {
            "x" : 9.0,
            "y" : 10.0
          }, {
            "x" : 30.0,
            "y" : 7.0
          }, {
            "x" : 30.0,
            "y" : 12.0
          } ]
        },
        "id" : -1
      }, {
        "shape" : {
          "type" : "POLYGON",
          "points" : [ {
            "x" : 9.0,
            "y" : 0.0
          }, {
            "x" : 9.0,
            "y" : 2.0
          }, {
            "x" : 30.0,
            "y" : 5.0
          }, {
            "x" : 30.0,
            "y" : 0.0
          } ]
        },
        "id" : -1
      } ],
117
      "measurementAreas" : [ ],
Felix Dietrich's avatar
Felix Dietrich committed
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
      "stairs" : [ ],
      "targets" : [ {
        "id" : 1,
        "absorbing" : true,
        "shape" : {
          "x" : 35.0,
          "y" : 5.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
      } ],
137
      "targetChangers" : [ ],
138
      "absorbingAreas" : [ ],
Felix Dietrich's avatar
Felix Dietrich committed
139
140
141
142
143
144
145
146
147
148
149
150
      "sources" : [ {
        "id" : -1,
        "shape" : {
          "x" : 1.0,
          "y" : 1.0,
          "width" : 3.0,
          "height" : 10.0,
          "type" : "RECTANGLE"
        },
        "interSpawnTimeDistribution" : "org.vadere.state.scenario.ConstantDistribution",
        "distributionParameters" : [ 1.0 ],
        "spawnNumber" : 200,
151
        "maxSpawnNumberTotal" : -1,
Felix Dietrich's avatar
Felix Dietrich committed
152
153
154
        "startTime" : 0.0,
        "endTime" : 0.0,
        "spawnAtRandomPositions" : true,
Marion Goedel's avatar
Marion Goedel committed
155
        "useFreeSpaceOnly" : true,
Felix Dietrich's avatar
Felix Dietrich committed
156
        "targetIds" : [ 1 ],
157
        "groupSizeDistribution" : [ 1.0 ],
Felix Dietrich's avatar
Felix Dietrich committed
158
159
        "dynamicElementType" : "PEDESTRIAN"
      } ],
160
      "dynamicElements" : [ ],
Felix Dietrich's avatar
Felix Dietrich committed
161
162
163
164
165
      "attributesPedestrian" : {
        "radius" : 0.195,
        "densityDependentSpeed" : false,
        "speedDistributionMean" : 1.34,
        "speedDistributionStandardDeviation" : 0.26,
166
167
        "minimumSpeed" : 0.5,
        "maximumSpeed" : 2.2,
168
        "acceleration" : 2.0,
169
        "footstepHistorySize" : 4,
170
        "searchRadius" : 1.0,
171
172
        "angleCalculationType" : "USE_CENTER",
        "targetOrientationAngleThreshold" : 45.0
Felix Dietrich's avatar
Felix Dietrich committed
173
      },
174
175
176
      "teleporter" : null,
      "attributesCar" : null
    },
177
    "stimulusInfos" : [ ]
Felix Dietrich's avatar
Felix Dietrich committed
178
179
  }
}