Classroom Seating Simulator · Workbench

COMP1110 G44 · Set up a classroom → watch one run step by step, or batch N runs and get a txt file

Not connected

1Set up the classroom

Type the room in, press “Use this classroom”, and the picture below changes straight away. Every field already has a working default.

Room and seats

8 × 10 = 80 seats.

About 56 of 80 seats get filled.

Aisles

One row per aisle: the seat column it stands in front of. 0 = left wall, 10 = right wall for a 10-seat row. The picture below shows them as hatched bands.

Before column

Entrances

Students walk in from one of these doors, evenly split between them. Row 0 is the front of the room; column 0 is the left wall.

LabelRowColumn
Advanced settings — optional, the defaults are fine

Room geometry

These describe the physical room: they change the walking distances the model uses, so leave them unless your room really differs.

Aisle widths: 0.90 m each.

Student types

Type mix totals 100%.

Seeds, order and robustness

A batch adds 1 to both seeds per run, so different seeds give different runs. Weight perturbation nudges each student's weight on one factor — leave it at 0 unless you are testing robustness.

Already have a JSON file from somewhere? Drop it in or paste it — the form above will fill itself in.

2Single run · step by step

The picture below always shows the classroom from section 1. Press Start and it plays frame by frame: students walk in → pick a seat → get their starting score → later arrivals pull that score down.

Nothing yet. Set up a classroom above, then press Start.

3Quick batch · many runs

No animation. Runs the simulation N times (a new seed each time), writes an txt file, and shows the average score of every seat.

Nothing yet. Set a number of runs above and press Start.

4Activity log