basic_2_density_pso.scenario 6.18 KB
Newer Older
Felix Dietrich's avatar
Felix Dietrich committed
1
{
2
  "name" : "basic_2_density_pso",
Felix Dietrich's avatar
Felix Dietrich committed
3
  "description" : "",
4
  "release" : "1.4",
5
  "processWriters" : {
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
    "files" : [ {
      "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOutputFile",
      "filename" : "density.txt",
      "processors" : [ 1 ]
    } ],
    "processors" : [ {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianDensityCountingProcessor",
      "id" : 1,
      "attributesType" : "org.vadere.state.attributes.processor.AttributesPedestrianDensityCountingProcessor",
      "attributes" : {
        "pedestrianPositionProcessorId" : 2,
        "radius" : 1.5
      }
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianPositionProcessor",
      "id" : 2
    } ],
23
    "isTimestamped" : true,
24
    "isWriteMetaData" : false
25
  },
26
  "scenario" : {
Felix Dietrich's avatar
Felix Dietrich committed
27 28
    "mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
    "attributesModel" : {
29 30 31 32 33
      "org.vadere.state.attributes.models.AttributesFloorField" : {
        "createMethod" : "HIGH_ACCURACY_FAST_MARCHING",
        "potentialFieldResolution" : 0.1,
        "obstacleGridPenalty" : 0.1,
        "targetAttractionStrength" : 1.0,
34 35
        "cacheType" : "NO_CACHE",
        "cacheDir" : "",
36 37 38 39 40 41 42 43 44
        "timeCostAttributes" : {
          "standardDeviation" : 0.7,
          "type" : "UNIT",
          "obstacleDensityWeight" : 3.5,
          "pedestrianSameTargetDensityWeight" : 3.5,
          "pedestrianOtherTargetDensityWeight" : 3.5,
          "pedestrianWeight" : 3.5,
          "queueWidthLoading" : 1.0,
          "pedestrianDynamicWeight" : 6.0,
45 46 47
          "loadingType" : "CONSTANT",
          "width" : 0.2,
          "height" : 1.0
48 49
        }
      },
Felix Dietrich's avatar
Felix Dietrich committed
50 51 52
      "org.vadere.state.attributes.models.AttributesOSM" : {
        "stepCircleResolution" : 18,
        "numberOfCircles" : 1,
53
        "optimizationType" : "NELDER_MEAD",
Felix Dietrich's avatar
Felix Dietrich committed
54
        "varyStepDirection" : false,
55
        "movementType" : "ARBITRARY",
Felix Dietrich's avatar
Felix Dietrich committed
56 57 58 59
        "stepLengthIntercept" : 0.4625,
        "stepLengthSlopeSpeed" : 0.2345,
        "stepLengthSD" : 0.036,
        "movementThreshold" : 0.0,
60
        "minStepLength" : 0.4625,
61
        "minimumStepLength" : false,
62
        "maxStepDuration" : 1.7976931348623157E308,
Felix Dietrich's avatar
Felix Dietrich committed
63 64 65 66
        "dynamicStepLength" : false,
        "updateType" : "EVENT_DRIVEN",
        "seeSmallWalls" : false,
        "targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
67 68
        "pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
        "obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
69
        "submodels" : [ ]
Felix Dietrich's avatar
Felix Dietrich committed
70
      },
71 72 73 74 75 76 77 78 79
      "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
80 81 82 83 84 85
      }
    },
    "attributesSimulation" : {
      "finishTime" : 200.0,
      "simTimeStepLength" : 0.4,
      "realTimeSimTimeRatio" : 0.0,
86
      "writeSimulationData" : true,
Felix Dietrich's avatar
Felix Dietrich committed
87 88 89
      "visualizationEnabled" : true,
      "printFPS" : false,
      "digitsPerCoordinate" : 2,
90 91
      "useFixedSeed" : true,
      "fixedSeed" : 1,
92 93
      "simulationSeed" : 1,
      "useSalientBehavior" : false
Felix Dietrich's avatar
Felix Dietrich committed
94 95 96 97 98 99 100 101 102 103
    },
    "topography" : {
      "attributes" : {
        "bounds" : {
          "x" : 0.0,
          "y" : 0.0,
          "width" : 38.0,
          "height" : 12.0
        },
        "boundingBoxWidth" : 0.5,
104 105
        "bounded" : true,
        "referenceCoordinateSystem" : null
Felix Dietrich's avatar
Felix Dietrich committed
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
      },
      "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
          } ]
        },
124
        "id" : 3
Felix Dietrich's avatar
Felix Dietrich committed
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
      }, {
        "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
          } ]
        },
142
        "id" : 4
Felix Dietrich's avatar
Felix Dietrich committed
143
      } ],
Stefan Schuhbaeck's avatar
Stefan Schuhbaeck committed
144
      "measurementAreas" : [ ],
Felix Dietrich's avatar
Felix Dietrich committed
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
      "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
      } ],
164
      "absorbingAreas" : [ ],
Felix Dietrich's avatar
Felix Dietrich committed
165
      "sources" : [ {
166
        "id" : 2,
Felix Dietrich's avatar
Felix Dietrich committed
167 168 169
        "shape" : {
          "x" : 1.0,
          "y" : 1.0,
Marion Goedel's avatar
Marion Goedel committed
170
          "width" : 5.0,
Felix Dietrich's avatar
Felix Dietrich committed
171 172 173 174 175 176
          "height" : 10.0,
          "type" : "RECTANGLE"
        },
        "interSpawnTimeDistribution" : "org.vadere.state.scenario.ConstantDistribution",
        "distributionParameters" : [ 1.0 ],
        "spawnNumber" : 200,
177
        "maxSpawnNumberTotal" : -1,
Felix Dietrich's avatar
Felix Dietrich committed
178 179 180
        "startTime" : 0.0,
        "endTime" : 0.0,
        "spawnAtRandomPositions" : true,
181
        "useFreeSpaceOnly" : true,
Felix Dietrich's avatar
Felix Dietrich committed
182
        "targetIds" : [ 1 ],
183
        "groupSizeDistribution" : [ 1.0 ],
Felix Dietrich's avatar
Felix Dietrich committed
184 185
        "dynamicElementType" : "PEDESTRIAN"
      } ],
186
      "dynamicElements" : [ ],
Felix Dietrich's avatar
Felix Dietrich committed
187 188 189 190 191
      "attributesPedestrian" : {
        "radius" : 0.195,
        "densityDependentSpeed" : false,
        "speedDistributionMean" : 1.34,
        "speedDistributionStandardDeviation" : 0.26,
192 193
        "minimumSpeed" : 0.5,
        "maximumSpeed" : 2.2,
194
        "acceleration" : 2.0,
195
        "footstepHistorySize" : 4,
196 197 198
        "searchRadius" : 1.0,
        "angleCalculationType" : "USE_CENTER",
        "targetOrientationAngleThreshold" : 45.0
Felix Dietrich's avatar
Felix Dietrich committed
199
      },
200 201 202 203
      "teleporter" : null,
      "attributesCar" : null
    },
    "eventInfos" : [ ]
Felix Dietrich's avatar
Felix Dietrich committed
204 205
  }
}