Ascend is an elevator simulation project. It started with a practical question: how should a group of elevators react when several calls arrive at once?

Think in states.

The simulation models floors, elevators, direction, and waiting calls. Its behavior is organized around finite state machines, so transitions are explicit instead of being scattered through one long loop. The project can also read simple .fsm definitions and generate C++ code from them.

I added a tick-driven event queue, multiple-elevator coordination, configurable settings, and a terminal view of the simulation. Those pieces made it easier to change one part of the model and see how the rest responded.

A system with a physical shape.

Ascend is a good example of the kind of software problem I enjoy: enough moving parts to be interesting, and behavior that can be explained one state at a time.

Explore Ascend on GitHub

A note from the workbench.