314 project
Post on 08-Feb-2017
93 Views
Preview:
TRANSCRIPT
AUTOMATED TRAIN INFORMATION SYSTEM
Shane Ackerman, Alexander Drake, Athanasia Maimos, Jane Towery
Professor Wang
ISE 314x
December 5, 2016
AGENDA
Introduction &
Background
Objectives
Inputs
OutputsCode Analysis
Other Possible
Applications
Ideas for
Future Researc
h
INTRODUCTION & BACKGROUND
Many people use public
transportation every day
Timely departure
and arrival is a must
Updates concerning departure and arrival times are critical
OBJECTIVES
Goals:
Inform user of the train’s
departure and arrival
time.
Inform user about the
train’s distance to
the stations.
Inform user about any
delays.
INPUTS AND IMPORTS
Current time(z)
Current location
(x)
Desired location
(y)
User inputs: Train time
and location data matrix (A Bound)
Train time and location data matrix (B Bound)
System
Inputs: Import
pandas as pd
Import numpy as np
Imports:
ERROR CATCHING PSEUDOCODE
I N PUT S ERR O R BOU N D IN G
OUTPUTS
Station you are currently at ‘x’
Station you are traveling to ‘y’
The time in minutes past the hour ‘z’
Prints ‘A’ or ‘B’ bound schedule as needed
Instructs to take ‘A’ or ‘B’ bound train
OUTPUTS
Distance from train to station ‘x’
Time train arrives at station ‘x’ in minutes on the hour
Time train arrives at station ‘y’ in minutes on the hour
Time spent on train in minutes from ‘x’ to ‘y’
TUPLE TIME SERIES (DATA FRAME)
DECISION STRUCTURE PSEUDOCODE
IF (X == 0), ELIF (X < Y)
ELIF CONTINUED (X < Y)
ELSE (X > Y)
ELSE CONTINUED (X > Y)
SCENARIO A (X < Y)
• Inputs• x = 3• y = 5• z =
20
SCENARIO B (X > Y)
• Inputs• x = 6• y = 2• z =
40
OTHER POSSIBLE APPLICATIONS
Bus System Airplanes FerriesTours
(campuses, museums,
etc.)
Amusement parks
(ride lines, show times)
IDEAS FOR FUTURE RESEARCH
top related