Figure 2:
Simulation flowchart.