\documentclass[11pt]{article}
%\usepackage{mydraft}

\usepackage{TRmydraft}
\usepackage{wmff}
%\usepackage{graphalgb}

\usepackage{graphicx}
\pagestyle{myheadings}
\markright{Simple Model of Automobile Assembly Plant  \hfill}

\begin{document}

\reptitle{\bf Model of Automobile Assembly Plant}
\author{Jos\'e M. Garrido}

\date{February 14, 2019}

\subtitle{\bf General Description of the Model}
\subsubtitle{Object Oriented Simulation}
%\subsubtitle{Technical Report TR-CSIS-OOPsimL (Part 2)}

\authoraffil{Department of Computer Science} 
 
%
%\halftitlepage
%
\titlepage

\mdraft

\section{General Description of the Model}



An automobile assembly plant has a production line that produces completely assembled  and
tested automobiles. The plant receives the engines, transmissions, and body parts from different factories. This simplified plant has several stations to carry out the various stages of production. More than one automobile can be in the same stage of production but in a different station.

In this model, there are six different types of parts that will be modeled as infinite containers (objects of class Bin):
\begin{enumerate}
 \item The body parts received (there are initially 12 such items)
 \item The assembled automobile bodies
 \item The engines
 \item The transmissions
 \item The assembled automobiles
 \item The tested automobiles.
\end{enumerate}

\begin{figure}
\centering
\includegraphics[width=3.25in]{figs/automob.png}
\caption{Automobile production line.}
\label{fig:automob}
%\vskip\baselineskip
\end{figure}

Figure~\ref{fig:automob} shows the different stages of production in the automobile assembly plant. The normal sequence of the production line is shown from left to right. Some of these stages can be performed in parallel. The
stages that can perform their activities in parallel are shown one below the other. 

\section{Stages of the Production line}

The plant incorporates a sequence of stages, each requiring units from the previous stage(s). The production line includes the following sequence of
stages:

\begin{enumerate}
  \item Receive body parts from a body factory and place the parts in the production line. The inter-arrival intervals of the body parts follow an exponential probability distribution with a mean inter-arrival period of $7.25$ time units.  
  \item Receive the engines and place them in the production line. The inter-arrival intervals of the engines follow an exponential probability distribution, with a mean
inter-arrival period of $6.15$ time units.  
  \item Receive the transmissions and place them in the production line. The inter-arrival intervals of the transmissions follow an exponential probability distribution with a mean inter-arrival period of $9.12$ time units.  
  \item Assemble the body and paint  of those body parts available in the
production line. The interval to carry out the activities in this stage follows
a normal probability distribution with a mean period of $5.25$  time units and a
standard deviation of $1.10$ time units. There are two stations in the plant that carry out this stage of production.  
  \item Install engine and transmission from the units
taken from the production line. The interval to perform these activities
follows a normal probability distribution with a mean interval  of $7.05$ time units
and a standard deviation of one $1.15$ time units. There are three stations that carry out this stage.  
  \item Final inspection and test automobile units. This stage places a completed and tested automobile in the production line after inspection
and test. The interval to perform these activities is a constant value of $16.75$ time units.  
  \item Ship five automobiles per truck to final destination. This stage takes five completed automobiles and places them on a truck for delivery. The
interval that this stage takes follows a normal distribution with a mean interval of $4.20$ time units and a standard deviation of $ 1.12$ time units.
\end{enumerate}

Figure~\ref{fig:buildp} shows the activity diagram of the {\em build\_paint} process, which is 
part of the simulation model to be implemented in OOSimL. 

\begin{figure}
\centering
\includegraphics[width=2.75in]{figs/buildp.png}
\caption{Activity diagram of the build\_paint process.}
\label{fig:buildp}
\end{figure}




\end{document}