200 likes | 316 Views
USCG Air Station Simulator. Presented By: Terence Vaughn Mentors: Dr. William Pottenger Dr. Christie Nelson Curtis McGinity. Introduction. The United States Coast Guard (USCG) is world ’ s premier search and rescue, law enforcement and counter-drug organization.
E N D
USCG Air Station Simulator Presented By: Terence Vaughn Mentors: Dr. William Pottenger Dr. Christie Nelson Curtis McGinity
Introduction • The United States Coast Guard (USCG) is world’s premier search and rescue, law enforcement and counter-drug organization.
General Problem • The Coast Guard needs the means to identify optimal assignment of its aircraft • Modeling capabilities: • Analyze response and mission demand • Provide decision makers with alternative aircraft assignments optimized to operational and logistic capability and expected mission needs
USCG Air Station Simulation Determine parameters CG data • Clean data Interface to input simulation parameters Simulation • Clean data • SAR Events • Maintenance events • Aircraft use and availability Graphical output of model
My Project • Better way of examining and cleaning large amounts of data • Provide Graphical User Interface for user interaction
Data Modeled • Scheduled missions(training) • Scheduled maintenance • Unscheduled missions(search & rescue) • Unscheduled maintenance(aircraft malfunctions)
Data Modeled • Random events • Interarrival time of unscheduled missions • Length of unscheduled missions • Interarrival time of unscheduled maintenance • Length of unscheduled maintenance
Data Cleaning • USCG has provided a very large data set • Problems • Some data not needed • Inconsistencies in the data • Missing data • Manual cleaning is inefficient • Problems with manually entered data sets
Processing Routines Pulls SAR/Maintenance Data from formatted Excel files Helo Attributes 1. YTD hours 2. Maint. cycle hours 3. Speed 4. Range 5. Duration 6. Resource (0/1) 7. Availability (0/1) Stochastic Generator Routine Filter Routine Score Routine • Random Maint. Simulator • Downtime = fitted from data • State probabilities • Randomized digits file Availability Update Maintenance Downtime Selection Routine • SAR Attributes • Time of occurrence • Distance • Duration • Total mission time • Current mission:Travel time • Current mission: Elapsed time Availability Update Service Time Random Generator Routine Random Maintenance
Programming Languages Evaluated • MatLab • HTML5 • Python • SimPy
MatLab • MATLAB is a numerical computing environment. It allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages, including C, C++, and Java. • Current simulation coded in Matlab
HTML5 • HTML 5 is a markup language for structuring and presenting content for the web. It is the fifth revision of the HTML standard. • Can create apps such as desktop applications, which allows the web platform to be used to reach all users at once • Can create apps that function even when the system is offline • Wide variety of graphic elements, such as animation
Python • Python is currently one of the most popular programming languages. Although it is often viewed as a "scripting" language, it is a general purpose programming language. It is used for GUI and database programming, client- and server-side web programming, and application testing. • SimPy - (Simulation in Python) is a discrete-event simulation language for Python.
Python • Easy to read • Easily extended by adding new modules implemented in a compiled language such as C or C++ • Runs on many different operating systems • Easy to maintain • GUI Programming: Python supports GUI applications that can be created and ported to many system calls, libraries, and windows systems, such as Windows MFC, Macintosh, and the X Window system of Unix.
Programming Language - Selected • Python • Tcl/Tk • Pygame • Graphical Input for Simulation Parameters • Graphical Output of Simulation Results
Length of scheduled maintenance Airplane Z Length of SAR event Airplane Y Length of unscheduled maintenance Length of SAR event Airplane X SAR Time SAR A 1pm SAR B 3:30pm
What’s Next • Complete the data cleaning code • Integration –Three parts of this project that need to be linked together (input GUI, simulation, and graphical output) • Testing