{
  "version": 15,
  "id": "fitout-b",
  "name": "Peak day · B · 54 desks · held while away",
  "horizonSeconds": 50400,
  "parameters": {},
  "resources": [
    {
      "id": "room",
      "name": "Meeting room",
      "capacity": 1,
      "at": {
        "tag": "meeting"
      },
      "perPart": true,
      "role": "equipment"
    },
    {
      "id": "focus",
      "name": "Focus seat",
      "capacity": 1,
      "at": {
        "tag": "focus"
      },
      "perPart": true,
      "role": "equipment"
    },
    {
      "id": "booth",
      "name": "Phone booth",
      "capacity": 1,
      "at": {
        "tag": "booth"
      },
      "perPart": true,
      "role": "equipment"
    }
  ],
  "agents": [
    {
      "id": "staff",
      "label": "Staff member",
      "appearance": "person",
      "radius": 0.3,
      "speed": 1.2,
      "height": 1.7
    }
  ],
  "processes": [
    {
      "id": "day",
      "name": "A staff member’s day",
      "agent": "staff",
      "steps": [
        {
          "id": "take-desk",
          "type": "goto",
          "to": {
            "tag": "desk",
            "pick": "free"
          },
          "remember": "my-desk",
          "hold": true,
          "otherwise": "no-desk"
        },
        {
          "type": "call",
          "processId": "work-block",
          "count": {
            "random": "uniform-int",
            "min": 6,
            "max": 8
          }
        },
        {
          "type": "goto",
          "to": {
            "floor": "floor-1",
            "point": {
              "x": 24.3,
              "z": 10
            }
          },
          "forget": "my-desk"
        },
        {
          "type": "finish"
        }
      ]
    },
    {
      "id": "work-block",
      "name": "Work block, then one activity",
      "steps": [
        {
          "id": "desk-work",
          "type": "delay",
          "durationSeconds": {
            "random": "triangular",
            "min": 1200,
            "mode": 2100,
            "max": 3300
          }
        },
        {
          "type": "branch",
          "by": "weight",
          "options": [
            {
              "weight": 0.07,
              "processId": "meeting"
            },
            {
              "weight": 0.23,
              "processId": "attend"
            },
            {
              "weight": 0.3,
              "processId": "phone"
            },
            {
              "weight": 0.12,
              "processId": "focus-time"
            },
            {
              "weight": 0.28,
              "processId": "stay"
            }
          ]
        }
      ]
    },
    {
      "id": "stay",
      "name": "Stays at the desk",
      "steps": [
        {
          "type": "finish"
        }
      ]
    },
    {
      "id": "attend",
      "name": "Attends a meeting (no booking)",
      "steps": [
        {
          "type": "goto",
          "to": {
            "tag": "meeting",
            "pick": "random"
          }
        },
        {
          "id": "meet",
          "type": "delay",
          "durationSeconds": {
            "random": "uniform",
            "min": 1500,
            "max": 3000
          }
        },
        {
          "type": "goto",
          "to": {
            "recall": "my-desk"
          }
        },
        {
          "type": "finish"
        }
      ]
    },
    {
      "id": "meeting",
      "name": "Books a meeting by size",
      "steps": [
        {
          "type": "branch",
          "by": "weight",
          "options": [
            {
              "weight": 0.55,
              "processId": "meeting-small"
            },
            {
              "weight": 0.3,
              "processId": "meeting-medium"
            },
            {
              "weight": 0.15,
              "processId": "meeting-large"
            }
          ]
        }
      ]
    },
    {
      "id": "meeting-small",
      "name": "Meeting (small)",
      "steps": [
        {
          "type": "goto",
          "to": {
            "tag": "fits-small",
            "pick": "free"
          },
          "remember": "room"
        },
        {
          "id": "wait-room",
          "type": "acquire",
          "resourceId": "room",
          "at": {
            "recall": "room"
          }
        },
        {
          "id": "meet",
          "type": "delay",
          "durationSeconds": {
            "random": "uniform",
            "min": 1200,
            "max": 2400
          }
        },
        {
          "type": "release",
          "resourceId": "room"
        },
        {
          "type": "goto",
          "to": {
            "recall": "my-desk"
          }
        },
        {
          "type": "finish"
        }
      ]
    },
    {
      "id": "meeting-medium",
      "name": "Meeting (medium)",
      "steps": [
        {
          "type": "goto",
          "to": {
            "tag": "fits-medium",
            "pick": "free"
          },
          "remember": "room"
        },
        {
          "id": "wait-room",
          "type": "acquire",
          "resourceId": "room",
          "at": {
            "recall": "room"
          }
        },
        {
          "id": "meet",
          "type": "delay",
          "durationSeconds": {
            "random": "uniform",
            "min": 1800,
            "max": 3600
          }
        },
        {
          "type": "release",
          "resourceId": "room"
        },
        {
          "type": "goto",
          "to": {
            "recall": "my-desk"
          }
        },
        {
          "type": "finish"
        }
      ]
    },
    {
      "id": "meeting-large",
      "name": "Meeting (large)",
      "steps": [
        {
          "type": "goto",
          "to": {
            "tag": "fits-large",
            "pick": "free"
          },
          "remember": "room"
        },
        {
          "id": "wait-room",
          "type": "acquire",
          "resourceId": "room",
          "at": {
            "recall": "room"
          }
        },
        {
          "id": "meet",
          "type": "delay",
          "durationSeconds": {
            "random": "uniform",
            "min": 2700,
            "max": 5400
          }
        },
        {
          "type": "release",
          "resourceId": "room"
        },
        {
          "type": "goto",
          "to": {
            "recall": "my-desk"
          }
        },
        {
          "type": "finish"
        }
      ]
    },
    {
      "id": "phone",
      "name": "Phone call in a booth",
      "steps": [
        {
          "type": "goto",
          "to": {
            "tag": "booth",
            "pick": "free",
            "side": "front"
          },
          "remember": "booth"
        },
        {
          "id": "wait-booth",
          "type": "acquire",
          "resourceId": "booth",
          "at": {
            "recall": "booth"
          },
          "patience": 300,
          "otherwise": "phone-at-desk"
        },
        {
          "id": "call",
          "type": "delay",
          "durationSeconds": {
            "random": "uniform",
            "min": 300,
            "max": 900
          }
        },
        {
          "type": "release",
          "resourceId": "booth"
        },
        {
          "type": "goto",
          "to": {
            "recall": "my-desk"
          }
        },
        {
          "type": "finish"
        }
      ]
    },
    {
      "id": "phone-at-desk",
      "name": "No booth free: call at the desk",
      "steps": [
        {
          "type": "goto",
          "to": {
            "recall": "my-desk"
          }
        },
        {
          "id": "call",
          "type": "delay",
          "durationSeconds": {
            "random": "uniform",
            "min": 300,
            "max": 900
          }
        },
        {
          "type": "finish"
        }
      ]
    },
    {
      "id": "focus-time",
      "name": "Focus block in a quiet seat",
      "steps": [
        {
          "type": "goto",
          "to": {
            "tag": "focus",
            "pick": "free"
          },
          "remember": "focus-seat",
          "otherwise": "focus-at-desk"
        },
        {
          "id": "wait-focus",
          "type": "acquire",
          "resourceId": "focus",
          "at": {
            "recall": "focus-seat"
          },
          "patience": 1,
          "otherwise": "focus-at-desk"
        },
        {
          "id": "focus",
          "type": "delay",
          "durationSeconds": {
            "random": "uniform",
            "min": 2700,
            "max": 5400
          }
        },
        {
          "type": "release",
          "resourceId": "focus"
        },
        {
          "type": "goto",
          "to": {
            "recall": "my-desk"
          }
        },
        {
          "type": "finish"
        }
      ]
    },
    {
      "id": "focus-at-desk",
      "name": "No quiet seat free: focus at the desk",
      "steps": [
        {
          "type": "goto",
          "to": {
            "recall": "my-desk"
          }
        },
        {
          "id": "focus",
          "type": "delay",
          "durationSeconds": {
            "random": "uniform",
            "min": 2700,
            "max": 5400
          }
        },
        {
          "type": "finish"
        }
      ]
    },
    {
      "id": "no-desk",
      "name": "No desk free: use a focus seat as the day’s base",
      "steps": [
        {
          "id": "take-overflow-seat",
          "type": "goto",
          "to": {
            "tag": "focus",
            "pick": "free"
          },
          "remember": "my-desk",
          "hold": true,
          "otherwise": "no-seat"
        },
        {
          "type": "call",
          "processId": "overflow-work-block",
          "count": {
            "random": "uniform-int",
            "min": 6,
            "max": 8
          }
        },
        {
          "type": "goto",
          "to": {
            "floor": "floor-1",
            "point": {
              "x": 24.3,
              "z": 10
            }
          },
          "forget": "my-desk"
        },
        {
          "type": "finish"
        }
      ]
    },
    {
      "id": "overflow-work-block",
      "name": "Work from the held focus seat, then one activity",
      "steps": [
        {
          "id": "desk-work",
          "type": "delay",
          "durationSeconds": {
            "random": "triangular",
            "min": 1200,
            "mode": 2100,
            "max": 3300
          }
        },
        {
          "type": "branch",
          "by": "weight",
          "options": [
            {
              "weight": 0.07,
              "processId": "meeting"
            },
            {
              "weight": 0.23,
              "processId": "attend"
            },
            {
              "weight": 0.3,
              "processId": "phone"
            },
            {
              "weight": 0.12,
              "processId": "focus-on-held-seat"
            },
            {
              "weight": 0.28,
              "processId": "stay"
            }
          ]
        }
      ]
    },
    {
      "id": "focus-on-held-seat",
      "name": "Focus at the quiet seat already held as the day’s base",
      "steps": [
        {
          "type": "goto",
          "to": {
            "recall": "my-desk"
          }
        },
        {
          "id": "focus",
          "type": "delay",
          "durationSeconds": {
            "random": "uniform",
            "min": 2700,
            "max": 5400
          }
        },
        {
          "type": "finish"
        }
      ]
    },
    {
      "id": "no-seat",
      "name": "No working seat available: leave",
      "steps": [
        {
          "type": "goto",
          "to": {
            "floor": "floor-1",
            "point": {
              "x": 24.3,
              "z": 10
            }
          }
        },
        {
          "type": "finish"
        }
      ]
    }
  ],
  "arrivals": [
    {
      "id": "staff-arrivals",
      "processId": "day",
      "mode": "poisson",
      "startSeconds": 1800,
      "at": {
        "floor": "floor-1",
        "point": {
          "x": 24.3,
          "z": 10
        }
      },
      "profile": [
        {
          "durationSeconds": 3600,
          "ratePerHour": 6
        },
        {
          "durationSeconds": 3600,
          "ratePerHour": 20
        },
        {
          "durationSeconds": 3600,
          "ratePerHour": 14
        },
        {
          "durationSeconds": 5400,
          "ratePerHour": 5.3333
        }
      ]
    }
  ],
  "activities": [
    {
      "processId": "work-block",
      "stepId": "desk-work",
      "kind": "work",
      "label": "Desk work"
    },
    {
      "processId": "attend",
      "stepId": "meet",
      "kind": "work",
      "label": "Meeting (attending)"
    },
    {
      "processId": "meeting-small",
      "stepId": "meet",
      "kind": "work",
      "label": "Meeting (2–4)"
    },
    {
      "processId": "meeting-medium",
      "stepId": "meet",
      "kind": "work",
      "label": "Meeting (5–8)"
    },
    {
      "processId": "meeting-large",
      "stepId": "meet",
      "kind": "work",
      "label": "Meeting (9–10)"
    },
    {
      "processId": "phone",
      "stepId": "call",
      "kind": "work",
      "label": "Phone call"
    },
    {
      "processId": "phone-at-desk",
      "stepId": "call",
      "kind": "work",
      "label": "Phone call at desk"
    },
    {
      "processId": "focus-time",
      "stepId": "focus",
      "kind": "work",
      "label": "Focus block"
    },
    {
      "processId": "focus-at-desk",
      "stepId": "focus",
      "kind": "work",
      "label": "Focus at desk"
    },
    {
      "processId": "overflow-work-block",
      "stepId": "desk-work",
      "kind": "work",
      "label": "Work at the overflow focus seat"
    },
    {
      "processId": "focus-on-held-seat",
      "stepId": "focus",
      "kind": "work",
      "label": "Focus at the held quiet seat"
    }
  ],
  "maxEvents": 100000,
  "traceLimit": 500,
  "seed": 20261012,
  "runs": 20
}
