thin_wall_discrete_ok.scenario 5.98 KB
Newer Older
Felix Dietrich's avatar
Felix Dietrich committed
1
{
2
  "name" : "thin_wall_discrete_ok",
Felix Dietrich's avatar
Felix Dietrich committed
3
  "description" : "",
4
  "release" : "0.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 14 15 16 17
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.NoDataKeyOutputFile",
      "filename" : "tests.txt",
      "processors" : [ 2 ]
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOutputFile",
      "filename" : "postvis.trajectories",
      "processors" : [ 3 ]
18 19 20 21 22 23 24 25 26
    } ],
    "processors" : [ {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianWaitingTimeProcessor",
      "id" : 1,
      "attributesType" : "org.vadere.state.attributes.processor.AttributesPedestrianWaitingTimeProcessor",
      "attributes" : {
        "waitingArea" : {
          "x" : 9.0,
          "y" : 0.0,
27
          "width" : 11.0,
28 29 30 31
          "height" : 10.0,
          "type" : "RECTANGLE"
        }
      }
32 33 34 35 36 37 38
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.tests.TestPedestrianWaitingTimeProcessor",
      "id" : 2,
      "attributesType" : "org.vadere.state.attributes.processor.AttributesTestPedestrianWaitingTimeProcessor",
      "attributes" : {
        "expectedResult" : "SUCCESS",
        "pedestrianWaitingTimeProcessorId" : 1,
39
        "maximalWaitingTime" : "Infinity",
40 41 42 43 44
        "minimalWaitingTime" : 0.0
      }
    }, {
      "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianPositionProcessor",
      "id" : 3
45
    } ],
46 47
    "isTimestamped" : true
  },
48
  "scenario" : {
Felix Dietrich's avatar
Felix Dietrich committed
49 50
    "mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
    "attributesModel" : {
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
      "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
68 69 70 71 72 73 74 75
      "org.vadere.state.attributes.models.AttributesOSM" : {
        "stepCircleResolution" : 18,
        "numberOfCircles" : 1,
        "varyStepDirection" : false,
        "stepLengthIntercept" : 0.4625,
        "stepLengthSlopeSpeed" : 0.2345,
        "stepLengthSD" : 0.036,
        "movementThreshold" : 0.0,
76
        "optimizationType" : "DISCRETE",
Felix Dietrich's avatar
Felix Dietrich committed
77 78 79
        "movementType" : "ARBITRARY",
        "dynamicStepLength" : false,
        "updateType" : "EVENT_DRIVEN",
80
        "seeSmallWalls" : false,
Felix Dietrich's avatar
Felix Dietrich committed
81 82
        "minimumStepLength" : false,
        "targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
83 84
        "pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
        "obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
Felix Dietrich's avatar
Felix Dietrich committed
85 86
        "submodels" : [ ]
      },
87 88 89 90 91 92 93 94 95
      "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
96 97 98 99 100
      }
    },
    "attributesSimulation" : {
      "finishTime" : 30.0,
      "simTimeStepLength" : 0.4,
101 102
      "realTimeSimTimeRatio" : 0.0,
      "writeSimulationData" : true,
Felix Dietrich's avatar
Felix Dietrich committed
103 104 105 106
      "visualizationEnabled" : true,
      "printFPS" : false,
      "needsBoundary" : false,
      "digitsPerCoordinate" : 2,
107 108
      "useFixedSeed" : true,
      "fixedSeed" : 1,
109
      "simulationSeed" : 1
Felix Dietrich's avatar
Felix Dietrich committed
110 111 112 113 114 115 116 117 118
    },
    "topography" : {
      "attributes" : {
        "bounds" : {
          "x" : 0.0,
          "y" : 0.0,
          "width" : 20.0,
          "height" : 10.0
        },
119
        "boundingBoxWidth" : 0.5,
Felix Dietrich's avatar
Felix Dietrich committed
120 121 122 123 124
        "bounded" : true
      },
      "obstacles" : [ {
        "shape" : {
          "x" : 9.0,
125
          "y" : 0.0,
Felix Dietrich's avatar
Felix Dietrich committed
126
          "width" : 0.1,
127
          "height" : 10.0,
Felix Dietrich's avatar
Felix Dietrich committed
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
          "type" : "RECTANGLE"
        },
        "id" : -1
      } ],
      "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
      } ],
      "sources" : [ {
        "id" : -1,
        "shape" : {
154
          "x" : 2.5,
Felix Dietrich's avatar
Felix Dietrich committed
155
          "y" : 2.5,
156
          "width" : 2.0,
Felix Dietrich's avatar
Felix Dietrich committed
157 158 159 160 161 162
          "height" : 5.0,
          "type" : "RECTANGLE"
        },
        "interSpawnTimeDistribution" : "org.vadere.state.scenario.ConstantDistribution",
        "distributionParameters" : [ 1.0 ],
        "spawnNumber" : 50,
163
        "maxSpawnNumberTotal" : -1,
Felix Dietrich's avatar
Felix Dietrich committed
164 165 166 167 168
        "startTime" : 0.0,
        "endTime" : 0.0,
        "spawnAtRandomPositions" : true,
        "useFreeSpaceOnly" : false,
        "targetIds" : [ 1 ],
169
        "groupSizeDistribution" : [ 1.0 ],
Felix Dietrich's avatar
Felix Dietrich committed
170 171
        "dynamicElementType" : "PEDESTRIAN"
      } ],
172
      "dynamicElements" : [ ],
Felix Dietrich's avatar
Felix Dietrich committed
173 174 175 176 177
      "attributesPedestrian" : {
        "radius" : 0.195,
        "densityDependentSpeed" : false,
        "speedDistributionMean" : 1.34,
        "speedDistributionStandardDeviation" : 0.26,
178 179
        "minimumSpeed" : 0.5,
        "maximumSpeed" : 2.2,
Felix Dietrich's avatar
Felix Dietrich committed
180 181
        "acceleration" : 2.0
      },
182
      "attributesCar" : null
Felix Dietrich's avatar
Felix Dietrich committed
183 184 185
    }
  }
}