A simulation is the imitation of the operation of a real-world process or system over time. Simulations require the use of models; the…