The simulation process is as follows: