withaspirit / Elevator-Simulation

Elevator System Simulation project
1 stars 1 forks source link

Iteration 4 Deliverables #105

Open withaspirit opened 2 years ago

withaspirit commented 2 years ago

Milestone Description

For this iteration, you will be adding code for detecting and handling faults. To this end, you will have to add timing events so that if the timer goes off before an elevator reaches a floor, then your system should assume a fault (either, the elevator is stuck between floors, or the arrival sensor at a floor has failed). Similarly, you should detect whether a door opens or not, or is stuck open. In Iteration 5 below, your elevator status output should show these faults. A door which has not closed should be regarded as a transient fault, so your system should be able to handle this situation gracefully (unlike the LRT). However, the floor timer fault should be regarded as a hard fault and should shut down the corresponding elevator.

You must submit code to enable us to see that your elevator scheduler can deal properly with the faults shown above (i.e., you must be able to inject these faults into the system). I suggest that you inject these faults using the input file (so you will have to modify its format and be able to show to us how it works).

Iteration 3 Leftovers

Iteration 4 Breakdown

Major Goals

Work Breakdown

Documentation

withaspirit commented 2 years ago

The requirements say "I suggest that you inject these faults using the input file (so you will have to modify its format and be able to show to us how it works."

I talked to one if we could do this instead, and they said it was reasonable:

It would require that we have whatever timers are relevant enabled for the Elevator.

withaspirit commented 2 years ago
  • [ ] Find new name for ElevatorSubsystem, FloorSubsytem

The "Subsystem" name isn't accurate because it implies composition relationship between XSubsystem and X classes. What do you guys think? Should we do a more suitable name? Leave as is?

@ryandash @julian-carleton @RamitMahajan @julian-carleton