evaluate_simulation_quality function

Evaluate the quality of the simulation result