Truck delivery Simulation model for the supply chain
Budget: ₹600 – ₹1,500 INR
Items ordered from an e-commerce website will be shipped from the store and dropped off at a hub, where it is then picked up by another truck, who delivers it to the final destination. The hub has two trucks coming and picking up all the available shipments (no limit on loading space). The first truck always arrives on the hour (i.e., 1:00, 2:00, 3:00, etc.). The second truck arrives x minutes after the hour, where x is a random number between 0 and 60 (i.e., 1:00 + x, 2:00 + x, 3:00 + x, etc.) Let’s assume that a shipment is dropped off at the hub at a random time. What is the average time that the shipment will wait at the hub before getting picked up? Write a program that computes the average waiting time using a simulation.