This is related to GPSS language where you can found some code regarding to simulation