# Simulating the Software Development Lifecycle: The Waterfall Model
## 4 Results
Considering project size, for small projects, we see the fastest project completing in 34.000 units of time, the longest project requiring 106.000 units of time, and the mean project completion standing at 47.298 units of time. For medium-sized projects, the quickest was completed in 36.000 units of time and the longest in 112.000 units of time, with the mean at 59.950 units of time. Looking at large-sized projects, we see the fastest project completed in 33.000 units of time, the lengthiest project taking 168.000 units of time, and on average, a project required 80.827 units of time to complete. Therefore, the post-optimization mean time to complete a project increased with the size of the project as it ranged from 47.298 units of time for a small project to 59.950 units of time for a medium project to 80.827 units of time for a large project. We also see the zero-wait algorithm having a mostly positive effect on completion time, as minimum times went from 32.000 to 34.000, from 41.000 to 36.000, from 39.000 to 33.000, and from 32.000 to 33.000 for small, medium, large, and across all sizes, respectively. Similarly, maximum completion times went from 107.141 to 106.000, from 170.142 to 112.000, from 303.000 to 168.000, and from 303.000 to 168.000 for small, medium, large, and across all sizes, respectively. The effects of the optimization process were similar \begin{table}
\begin{tabular}{c c c c c c c c c c} \hline \hline
**Phase** & \multicolumn{3}{c}{**Small**} & \multicolumn{2}{c}{**Medium**} & \multicolumn{2}{c}{**Large**} & \multicolumn{2}{c}{**All Sizes**} \\ \hline  & & Scenario & \multicolumn{3}{c}{Scenario} & \multicolumn{3}{c}{Scenario} & \multicolumn{3}{c}{Scenario} \\  & & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 \\ \hline \multirow{4}{*}{Analysis} & Count & 1.000 & 0.000 & 1.000 & 0.000 & 5.000 & 0.000 & 7.000 & 0.000 \\  & Max Wait & 0.509 & 0.000 & 2.979 & 0.000 & 4.707 & 0.000 & 4.707 & 0.000 \\  & Mean Wait & 0.010 & 0.000 & 0.069 & 0.000 & 0.388 & 0.000 & 0.143 & 0.000 \\  & Std. Dev. & 0.072 & 0.000 & 0.454 & 0.000 & 1.091 & 0.000 & 0.668 & 0.000 \\ \hline \multirow{4}{*}{Design} & Count & 6.000 & 0.000 & 8.000 & 0.000 & 17.000 & 0.000 & 31.000 & 0.000 \\  & Max Wait & 8.977 & 0.000 & 6.000 & 0.000 & 8.059 & 0.000 & 8.977 & 0.000 \\  & Mean Wait & 0.525 & 0.000 & 0.380 & 0.000 & 1.030 & 0.000 & 0.645 & 0.000 \\  & Std. Dev. & 1.754 & 0.000 & 1.124 & 0.000 & 1.989 & 0.000 & 1.669 & 0.000 \\ \hline \multirow{4}{*}{Implementation} & Count & 21.000 & 0.000 & 26.000 & 0.000 & 34.000 & 0.000 & 81.000 & 0.000 \\  & Max Wait & 42.000 & 0.000 & 29.000 & 0.000 & 46.396 & 0.000 & 46.396 & 0.000 \\  & Mean Wait & 5.344 & 0.000 & 7.422 & 0.000 & 9.707 & 0.000 & 7.490 & 0.000 \\  & Std. Dev. & 9.482 & 0.000 & 9.897 & 0.000 & 11.478 & 0.000 & 10.407 & 0.000 \\ \hline \multirow{4}{*}{Testing} & Count & 2.000 & 0.000 & 2.000 & 0.000 & 10.000 & 0.000 & 14.000 & 0.000 \\  & Max Wait & 4.000 & 0.000 & 3.000 & 0.000 & 8.000 & 0.000 & 8.000 & 0.000 \\  & Mean Wait & 0.111 & 0.000 & 0.120 & 0.000 & 0.796 & 0.000 & 0.333 & 0.000 \\  & Std. Dev. & 0.604 & 0.000 & 0.594 & 0.000 & 1.989 & 0.000 & 1.262 & 0.000 \\ \hline \multirow{4}{*}{Maintenance} & Count & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 \\  & Max Wait & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 \\  & Mean Wait & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 \\  & Std. Dev. & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 & 0.000 \\ \hline \multirow{4}{*}{Across all phases} & Count & 30.000 & 0.000 & 37.000 & 0.000 & 66.000 & 0.000 & 133.000 & 0.000 \\  & Max Wait & 42.000 & 0.000 & 29.000 & 0.000 & 46.396 & 0.000 & 46.396 & 0.000 \\ \cline{1-1}  & Mean Wait & 1.250 & 0.000 & 1.799 & 0.000 & 2.728 & 0.000 & 1.901 & 0.000 \\ \cline{1-1}  & Std. Dev. & 4.870 & 0.000 & 5.605 & 0.000 & 6.841 & 0.000 & 5.819 & 0.000 \\ \hline \hline \end{tabular} Note: The minimum wait times for all resources were 0.000. The units for maximum and mean wait times represent simulated units of time.  
\end{table}