We present a simulation capable of modeling the basic features of the Magic Kingdom theme park in Orlando, Florida. We build the simulation in a modular form and integrate the system to create a simulation capable of modeling the movement of guests at a theme park. Our system models guest arrivals, experience selection and departures. We use such a simulation to answer questions which would be difficult to answer without the use of simulation. The simulation is written in R, a language and environment for statistical computing, and documented using R Markdown.
This website acts as an accompaniment to the paper titled A Simple Simulation of the Magic Kingdom by Jameson D. Morgan. In addition to providing links to the conference paper, code repository and dataset repository, this website also provides easy access to the code modules used to build the simulation, the simulation files, the analysis questions as well as the testing performed.
Base R and RStudio
If you do not have R and RStudio Desktop installed, follow the following instructions prior to installing this project.
Download and install RStudio Desktop - Open Source License (https://www.rstudio.com/products/rstudio/download/)
Once installing R and RStudio Desktop (or if they are already installed), please follow the following instructions.
Download or clone the repository from GitHub.
Open RStudio and open the
Install required dependencies by running the following command:
Running the Files
The entire project is written using a combination of R script files and R Markdown. R code that must appear in multiple R Markdown files is placed in a script file for reproducibility and testing purposes. An analyst can run the R Markdown files (or visit them at the hosted accompanying website) to view the results in-line. (For additional details about R Markdown, please visit https://rmarkdown.rstudio.com/lesson-1.html).
The R Markdown files can be located under the
The datasets used for this project can be retrieved from: https://data.world/morgan219/disneyworldsim
Additionally, keys for the datasets have been provided using the built-in key specification in data.world.
Except where otherwise noted:
Documentation and Conference Paper: © 2018 Jameson D. Morgan, All Rights Reserved.
Code and Datasets: MIT License
Copyright 2018 Jameson D. Morgan
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This simulation (and accompanying code and documentation) is presented to satisfy the requirements of the final project for CS 6830, taught by Dr. Gallagher, Fall 2018 at Wright State University.