Elevators!

o        Design whole elevator system

o        Assume there are always passengers

o        N floors (no more than 10)

o        M elevators (no more than 5)

o        5% additional credit: Passenger management system

 

o        Floor panel

§         Floor number

§         Up button

§         Down button

§         Status light indicating floor each elevator is on

§         Up down or stopped

o        Elevator panel

§         Elevator number

§         Floor buttons

§         Open/Close door

§         Status

§         Floor elevator is on

§         Moving up, down or stopped

§         Door is open or closed

o        Control Panel

§         Log window

§         Time stamped log of all the actions

§         Controls panel

§         Reset button – Send elevators back to initial position.

§         Check if elevator system is in auto or manual mode

§         Automatic: Select time delay for each action

§         Manual: Click mouse in order to advance time

§         Delay – only meaningful in automatic mode.

§         Time advance button

§         Only available in manual mode

§         Only allows one action to take place

§         View panel

§         view panel shows what button on each floor is pressed and where the elevator is and if it is stopped/going up/going down

 

Elevators

1

2

3

4

5

Floors

 

 

 

 

 

 

1

Up/down

Status

Status

Status

Status

Status

2

Up/down

 

 

 

 

 

3

Up/down

 

 

 

 

 

4

Up/down

 

 

 

 

 

5

Up/down

 

 

 

 

 

6

Up/down

 

 

 

 

 

7

Up/down

 

 

 

 

 

8

Up/down

 

 

 

 

 

9

Up/down

 

 

 

 

 

10

Up/down

 

 

 

 

 

o        Passenger management

§         Specify number of passengers per elevator

§         See how many people enter the elevator

§         Randomly generated entries/exits.

 

Suggestions:

Design it to be functional with one elevator car and two floors, and then work from there.