Texts: A closed network has 3 nodes and 5 jobs circulating around it. All jobs start in node 0. Node 0 is an infinite-server with an exponential service time, mean 20.0. On leaving node 0, a job will transfer to node 1 with probability p or to node 2 with probability 1 - p. Node 1 is a FCFS single-server with exponential service time, mean 10.0. Jobs leaving node 1 transfer to node 0. Node 2 is a FCFS single-server with an exponential service time, mean 30.0. On leaving node 2, jobs transfer to node 1. Develop a SimPy simulation model of this network. Write your program to use any value of p but set it to p = 0.5. Your task is to estimate: (1) the average time spent at each node (Wi for each node i) and (2) show that your code calculates the average number of jobs in the system (L) properly. For each of these performance measures, produce both a point estimate and a 95% confidence interval from 50 replications.
Do this on SimPyClassics.