\documentclass[a4paper]{article}

\usepackage{csquotes}

% Tables
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{array}

% Gantt Chart
\usepackage{pgfgantt}
\usepackage{moresize}

% For referencing
\usepackage[citestyle=ieee]{biblatex}
\addbibresource{references.bib}

% This should be loaded last
\usepackage[colorlinks]{hyperref}
\usepackage{subfiles}

\author{Anthony Berg}
\title{Testing Quick Reference Handbooks in Simulators}

\hypersetup{
    pdfinfo = {
        Title = Testing Quick Reference Handbooks in Simulators Project Presentation
        Author = Anthony Berg
        Subject = Dissertation Project Presentation
    }
}

\begin{document}
% Title Page and contents
\begin{titlepage}
    \clearpage\maketitle
    \thispagestyle{empty}
\end{titlepage}

% 4 PAGE LIMIT %
% Context
\section{Context}
\subsection{Introduction}
\subsubsection*{Context}
\begin{itemize}
    \item Designing Emergency Checklists is difficult
    \item Checklists are usually carried out in high
        workload environments, especially emergency ones
\end{itemize}

\subsubsection*{Problem}
\begin{itemize}
    \item There are some checklists that may not be fit
        for certain scenarios
    \item Some checklists may make pilots \enquote{stuck}
    \item Checklists may take too long to carry out - Swissair 111
\end{itemize}

\subsubsection*{Rationale}
\begin{itemize}
    \item Test checklists in a simulated environment
    \item Results in being able to see where to improve checklists
\end{itemize}

\subsection{Key Background Sources}
\begin{tabularx}{\linewidth}{p{8em} X}
    \toprule
    Resource & Info \\
    \midrule
    \multirow{2}{*}{\parbox{8em}{US Airways 1549 NTSB Investigation~\cite{AWE1549}}}
    & \textbf{Description:} An investigation on an aircraft that
        suffered from a dual engine failure from a bird strike
        forcing the pilots to land on the Hudson River. \\
    & \textbf{Reason:} The investigation found that the QRH was too
        lengthy and the pilots' used their experience to prioritize
        essential actions outside the QRH to keep the aircraft in control. \\
    \bottomrule
\end{tabularx}

% Aim (or hypothesis) and Objectives
\section{Aims and Objectives}
\subsection*{Aims}
\begin{enumerate}
    \item Test Checklists
    \item Test multiple conditions for that checklist
    \item Find problems in the checklist
    \item Find how reproducible the checklist is
\end{enumerate}

\subsection*{Objectives}
\begin{enumerate}
    \item Checklist Manager
    \begin{enumerate}
        \item Input a checklist
        \item Add conditions to test        
    \end{enumerate}
    \item Checklist Testing Logic
    \begin{enumerate}
        \item Capture state of aircraft
        \item Simulate a pilot's actions
        \item Simulate delay in actions
    \end{enumerate}
    \item Simulator connector
    \begin{enumerate}
        \item Connect to the flight simulator
        \item Set up conditions of flight
        \item Monitor and take Logic's actions
    \end{enumerate}
\end{enumerate}

% Planning
\section{Planning}
\subsection{Diagrammatic Work Plan}

% Make title format for gantt chart into week commencing
\ganttset{%
  calendar week text={%
    \startday/\startmonth%
  }%
}

\begin{ganttchart}[
  hgrid,
  vgrid={*{6}{draw=none}, dotted},
  x unit=1.3mm,
  y unit chart=5mm,
  time slot format=isodate,
  % bar formatting
  bar label node/.append style={align=right},
  % milestone formatting
  milestone label node/.append style={align=right},
  % group styling
  group label node/.append style={align=right},
  % vrule styling
  vrule/.append style={red},
  vrule offset=.2,
  vrule label node/.append style={align=center},
  % Font sizing
  title label font=\ssmall,
  bar label font=\ssmall,
  group label font=\bfseries\ssmall,
  milestone label font=\ssmall,
  today label font=\ssmall,
  vrule label font=\ssmall,
]{2024-02-26}{2024-05-12}
  \gantttitlecalendar{year, week} \\
 
  % VDM
  \ganttgroup{VDM Modelling}{2024-02-26}{2024-04-28} \\
  \ganttbar{%
    Create Checklist\ganttalignnewline
    Functionality%
  }{2024-02-26}{2024-03-03} \\
  \ganttlinkedbar{%
    Capture\ganttalignnewline
    Aircraft State%
  }{2024-03-04}{2024-03-10} \ganttnewline
  \ganttlinkedmilestone{Useable Model}{2024-03-10} \ganttnewline
  \ganttbar{%
    Simulate\ganttalignnewline
    Pilot Actions%
  }{2024-04-15}{2024-04-21} \ganttnewline
  \ganttlinkedbar{%
    Flight\ganttalignnewline
    Conditions%
  }{2024-04-22}{2024-04-28} \ganttnewline
  %\ganttlinkedmilestone{Finish Model}{2024-03-24} \ganttnewline

  % Frontend
  \ganttgroup{Manager}{2024-03-11}{2024-03-24} \\
  \ganttbar{%
    Create\ganttalignnewline
    Frontend%
  }{2024-03-11}{2024-03-17}\ganttnewline
  \ganttlinkedbar{Link VDM}{2024-03-18}{2024-03-24} \ganttnewline
  \ganttlink{elem3}{elem7}
  
  % Simulator Connector
  \ganttgroup{%
    Simulator\ganttalignnewline
    Connector%
  }{2024-03-25}{2024-04-14} \\ 
  \ganttbar{%
    Learn\ganttalignnewline
    Simulator SDK%
  }{2024-03-25}{2024-03-31} \ganttnewline
  \ganttlinkedbar{Connect Logic}{2024-04-01}{2024-04-14} \ganttnewline
  \ganttlink{elem8}{elem10}
  \ganttlink{elem11}{elem4}

  \ganttnewline
  % Coursework
  \ganttbar{Create Video}{2024-03-11}{2024-03-20} \ganttnewline

  \ganttbar{Create Poster}{2024-04-15}{2024-04-21} \ganttnewline

  \ganttbar{Documentation}{2024-04-01}{2024-05-01}

  % Deadlines
  \ganttvrule[
    vrule label node/.append style={anchor=north east}
  ]{%
    Presentation\ganttalignnewline 
    Deadline %
  }{2024-03-22}
  \ganttvrule[
    vrule label node/.append style={anchor=north west}
  ]{%
    Poster\ganttalignnewline %
    Deadline%
  }{2024-04-24}
  \ganttvrule{%
    Dissertation\ganttalignnewline %
    Deadline%
  }{2024-05-08}
  % Holidays
  \ganttvrule[
    vrule/.append style={thin, blue},
    vrule label node/.append style={anchor=north west}
  ]{%
    Easter\ganttalignnewline
    Holidays%
  }{2024-03-25}
  \ganttvrule[
    vrule/.append style={thin, blue},
    vrule label node/.append style={anchor=north east}
  ]{%
    End of\ganttalignnewline
    Holidays%
  }{2024-04-22}
\end{ganttchart}

\subsection{Brief Explanation}

\subsection{Risks}


% END OF 4 PAGE LIMIT %
\clearpage

% Ethics
\section{Ethics}
\subsection{Ethics Checklist}
% Copied from "../../doc/proposal/Specification.pdf"
% Should be left unchanged, unless dealing with formatting
My project:
\begin{enumerate}
    \item Will \textit{not} involve working with \textbf{animals} or
        users/staff/premises of the \textbf{NHS}
    \item Will be carried out \textbf{within the UK or European
        Economic Area}
    \item Will \textit{not} have any impact on the \textbf{environment}
    \item Will \textit{not} work with populations who do \textit{not}
        have \textbf{capacity to consent}
    \item Will \textit{not} involve work with \textbf{human tissues}
    \item Will \textit{not} involve work with \textbf{vulnerable groups}
        (Children/Learning disabled/Mental health issues, etc.)
    \item Will \textit{not} involve any \textit{potentially}
        \textbf{sensitive topics} (Examples include but are not
        exclusive to body image; relationships; protected
        characteristics; sexual behaviours; substance use;
        political views; distressing images, etc.)
    \item Will \textit{not} involve the collection of any identifiable
        personal data
\end{enumerate}

\subsection{Ethical Considerations}
This project will involve referencing previous aviation
accidents which had deaths involved, however, I will make
sure to be respectful towards everyone involved in
those accidents.

This project will also not involve the use of any users,
so no data collection considerations will need to be taken
into account for.
\clearpage


% References
\nocite{*}
\printbibliography[heading=bibnumbered]

\end{document}
