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