Question: IN PYTHON or C++, thank you The picture below is the route of campus transportation: 0.5 3 1 1 3 1 2 0.5 3 Passengers

IN PYTHON or C++, thank you The picture below is

IN PYTHON or C++, thank you The picture below is

IN PYTHON or C++, thank you

The picture below is the route of campus transportation: 0.5 3 1 1 3 1 2 0.5 3 Passengers arrive at the stop (i = 1, 2, 3) with inter arrival times are exponentially distributed each with the speed of 14, 10, and 24 per hours. Each stop has queue FIFO with unlimited capacity. There is 1 bus with capacity of 20 people & speed of 60 km per hours. Initially bus at the stop 3 (or pool), and depart counter clock wise. All people who arrive at the stop must have gone to stop 3 (pool). Any people who arrive at the stop 3, will go to stop 1 and 2 with probabilities of 0.583 and 0.417 respectively. When the bus arrives at a stop, these rules must be satisfied: Passengers first get down in FIFO manner. Time for each person to get down is uniformly distributed between 16 & 24 seconds. Then they get in the bus until there is no more people or the bus is full (max of 20 people). Time needed to get in for 1 person is uniformly distributed between 15 & 25 seconds. Bus always stays in each stop at least 5 minutes. If there are no passengers after 5 minutes, the bus leave. Run the simulation for 80 hours & compute the following statistics: Average & max. number of people in each queue. Average & max. delay in each queue. Average & max. number in the bus. Average, max. & min. times for the bus stay in each stop. Average, max. & min. times for the bus make one travel loop. Average, max. & min. times for 1 person (a passenger) is in the system based on the arrival time. Use these random streams: o Inter arrival time at stops 1, 2 and 3 o Unloading times o Loading times o Determining the destination when people arrive at stop 3 (pool) Notes: Please give me the code, screenshot of the results, and explanation how to get the answer so I could learn from you. Thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!