{
  "steady": {
    "source": "https://laydyne.com/methods/erlang-c",
    "scenario": {
      "version": 14,
      "id": "erlang-c-check",
      "name": "Steady M/M/3",
      "horizonSeconds": 172800,
      "warmupSeconds": 3600,
      "warmupSelect": "arrival",
      "parameters": {},
      "resources": [
        {
          "id": "counter",
          "capacity": 3
        }
      ],
      "processes": [
        {
          "id": "serve",
          "steps": [
            {
              "type": "acquire",
              "resourceId": "counter",
              "units": 1
            },
            {
              "type": "delay",
              "durationSeconds": {
                "random": "exponential",
                "mean": 60
              }
            },
            {
              "type": "release",
              "resourceId": "counter",
              "units": 1
            },
            {
              "type": "finish"
            }
          ]
        }
      ],
      "arrivals": [
        {
          "id": "people",
          "processId": "serve",
          "startSeconds": 0,
          "mode": "poisson",
          "ratePerHour": 120,
          "durationSeconds": 172800
        }
      ],
      "maxEvents": 100000,
      "traceLimit": 500,
      "seed": 371,
      "runs": 8
    },
    "input": {
      "arrivalsPerHour": 120,
      "serviceSeconds": 60,
      "counters": 3,
      "targetWaitSeconds": 30
    },
    "theory": {
      "kind": "stable",
      "utilisation": 0.6666666666666666,
      "waitProbability": 0.44444444444444453,
      "averageWaitSeconds": 26.66666666666667,
      "p90WaitSeconds": 89.49929260666302,
      "averageQueueLength": 0.8888888888888891
    },
    "simulation": {
      "averageWaitSeconds": 26.633946796206544,
      "utilisation": 0.6697314983169876,
      "averageQueueLength": 0.8901338534459575
    }
  },
  "cinema": {
    "source": "https://laydyne.com/articles/cinema-toilets",
    "engineVersion": "process-des-2.7.0",
    "assumptions": {
      "womenShare": 50,
      "womenVisitShare": 40,
      "menVisitShare": 30,
      "urinalShare": 85,
      "departureSeconds": [
        0,
        120
      ],
      "womenCubicleSeconds": [
        60,
        90,
        240
      ],
      "menCubicleSeconds": [
        120,
        180,
        360
      ],
      "urinalSeconds": [
        30,
        40,
        75
      ],
      "basinSeconds": [
        10,
        15,
        30
      ],
      "speed": 1.1,
      "radius": 0.25,
      "height": 1.65,
      "horizonSeconds": 3600,
      "seed": 1,
      "runs": 20
    },
    "audience": 321,
    "serviceSeconds": 130,
    "rows": [
      {
        "gapMinutes": 0,
        "visitors": 64.5,
        "input": {
          "arrivalsPerHour": 64.5,
          "serviceSeconds": 130,
          "counters": 4,
          "targetWaitSeconds": 30
        },
        "theory": {
          "kind": "stable",
          "utilisation": 0.5822916666666667,
          "waitProbability": 0.26487788611231183,
          "averageWaitSeconds": 20.608952734923015,
          "p90WaitSeconds": 75.79022511750905,
          "averageQueueLength": 0.369243736500704
        },
        "averageWaitSeconds": 956.9608308955206,
        "completeRuns": 20
      },
      {
        "gapMinutes": 10,
        "visitors": 64.5,
        "input": {
          "arrivalsPerHour": 64.5,
          "serviceSeconds": 130,
          "counters": 4,
          "targetWaitSeconds": 30
        },
        "theory": {
          "kind": "stable",
          "utilisation": 0.5822916666666667,
          "waitProbability": 0.26487788611231183,
          "averageWaitSeconds": 20.608952734923015,
          "p90WaitSeconds": 75.79022511750905,
          "averageQueueLength": 0.369243736500704
        },
        "averageWaitSeconds": 704.5517103460422,
        "completeRuns": 20
      },
      {
        "gapMinutes": 20,
        "visitors": 64.5,
        "input": {
          "arrivalsPerHour": 64.5,
          "serviceSeconds": 130,
          "counters": 4,
          "targetWaitSeconds": 30
        },
        "theory": {
          "kind": "stable",
          "utilisation": 0.5822916666666667,
          "waitProbability": 0.26487788611231183,
          "averageWaitSeconds": 20.608952734923015,
          "p90WaitSeconds": 75.79022511750905,
          "averageQueueLength": 0.369243736500704
        },
        "averageWaitSeconds": 473.2690843872292,
        "completeRuns": 20
      }
    ]
  }
}
