# On Fuzzy and Case-Based Dynamic Software Development Process Modeling and Simulation Approach
## 5 A Case Study
### SDP Simulation Results  
During each iteration, all agents were transitioned into what SDP tasks they can currently work on. If no active tasks were found for the respective agent during the iteration, a message is displayed, and the agent waits for the next iteration. During the simulation, we can see the event log entries (Figure 3), which show the entries for each iteration. It is possible to monitor: how many and which tasks were found during the iteration of a particular agent, with the role assigned to them; which task was started; and the agents that did not find any active tasks during the iteration. \begin{table}
\begin{tabular}{c c c c} \hline
**HF1** & **HF2** & **HF3** & **Output (Possible Deviation)** \\ \hline
2 & 4 & 2 & 2.667 \\
1 & 4 & 5 & 3.333 \\
5 & 3 & 2 & 3.333 \\
5 & 4 & 2 & 3.667 \\
4 & 3 & 3 & 3.333 \\
1 & 2 & 1 & 1.333 \\
4 & 2 & 5 & 3.667 \\
1 & 1 & 2 & 1.333 \\
2 & 4 & 2 & 2.667 \\
1 & 4 & 5 & 3.333 \\ \hline \end{tabular}
\end{table} 
Table 7: An example of the results with the proposed approach (possible deviations in numerical value). Figure 8: ANFIS testing results. The results of the output data of the simulation are saved in electronic spreadsheet format and include: number of iterations; creation time; priority; task; agent; estimated time; and actual time. The amount of stored output data directly depends on the input data. The simulation output data show the number of iterations, which agent performed each specific task, when it was commenced, the estimated time for the task, and the actual time in which the task was performed. Simulation results are exported in an output file in.csv format. We divided simulation results into two parts: simulation without HF prediction, and simulation with HF prediction. Table 8 presents the results of SDP simulation with and without the HF. As a result (Table 8), we achieved more precise actual task execution times according to the described values with all three HF input variables. A comparison of the obtained results is presented in Figure 9. \begin{table}
\begin{tabular}{c c c c c c c} \hline \hline
**Create Time** & **Priority** & **Task** & **Agent** & **Estimated** & \
\begin{tabular}{c} **Actual Time** \\ **for Task** \\ **Execution** \\ **without HF** \\ \end{tabular} &
\begin{tabular}{c} **Actual Time** \\ **for Task** \\ **Execution with** \\ **HF** \\ \end{tabular} \\ \hline
2023-01-08 & 1 &
\begin{tabular}{c} create product \\ backlog \\ \end{tabular} & Agent 2 & 2 & 1 & 2.0 \\ \hline
2023-01-08 & 1 &
\begin{tabular}{c} sprint planning \\ \end{tabular} & Agent 4 & 2 & 1 & 2.4 \\ \hline
2023-01-08 & 1 &
\begin{tabular}{c} review \\ \end{tabular} & Agent 5 & 1 & 1 & 1.2 \\ \hline
2023-01-08 & 1 &
\begin{tabular}{c} design \\ \end{tabular} & Agent 1 & 4 & 1 & 4.8 \\ \hline
2023-01-08 & 1 &
\begin{tabular}{c} develop \\ \end{tabular} & Agent 5 & 10 & 7 & 12.0 \\ \hline
2023-01-08 & 1 &
\begin{tabular}{c} test \\ \end{tabular} & Agent 3 & 3 & 1 & 2.4 \\ \hline
2023-01-08 & 1 &
\begin{tabular}{c} daily scrum \\ \end{tabular} & Agent 5 & 1 & 1 & 3.59 \\ \hline
2023-01-08 & 1 &
\begin{tabular}{c} deploy \\ \end{tabular} & Agent 5 & 2 & 5 & 1.2 \\ \hline
2023-01-08 & 1 &
\begin{tabular}{c} sprint \\ retrospective \\ \end{tabular} & Agent 4 & 2 & 1 & 1.2 \\ \hline
2023-01-08 & 1 &
\begin{tabular}{c} launch sprint \\ \end{tabular} & Agent 5 & 1 & 5 & 2.4 \\ \hline
2023-01-08 & 1 &
\begin{tabular}{c} sprint review \\ \end{tabular} & Agent 4 & 2 & 2 & 2.4 \\ \hline \hline \end{tabular}
\end{table} 
Table 8: Simulation without HF results. Example of output file. From these results, we can see how actual times for task execution can vary depending on the HF. For example, as can be seen in Figure 10, Agent 5 will take longer than expected to perform the development task because of their HFs. Conversely, the deployment task will be executed much more quickly, despite the fact that this is the same agent with the same HF values.