Design: Elevator Control System
Design the elevator control logic focusing on state transitions and request handling. Out of scope: physical elevator mechanics and hardware details.
Functional Requirements
FR1: Manage elevator movements between floors
FR2: Handle multiple requests from different floors and inside the elevator
FR3: Ensure safe and efficient operation
FR4: Respond correctly to door open/close commands
FR5: Handle emergency stop and maintenance modes
Non-Functional Requirements
NFR1: System must respond to requests within 200ms
NFR2: Support up to 10 floors and 4 elevators
NFR3: Ensure 99.9% uptime for elevator control
NFR4: Must prevent conflicting commands that cause unsafe states
