Home /
Expert Answers /
Computer Science /
create-a-matlab-live-script-called-34-traffic-network-model-mlx-34-to-simulate-the-evolution-in-time-pa654
(Solved): Create a Matlab Live Script called "Traffic_Network_Model_.mlx" to simulate the evolution in time o ...
Create a Matlab Live Script called "Traffic_Network_Model_.mlx" to simulate the evolution in time of the distribution of passengers across a multi-modal transportation system. This class of models is often referred to as dynamic flow network models. The representation of a dynamic flow network model consisting of 3 compartments (car, train, and bus passengers, respectively) is given below. Suppose that for any 5-minute interval, (which means the interval between times t and t+1 in the linear dynamical system) the passengers redistribute among compartments as follows: 1. 7% of the passengers leave the car and take the train. 2. 8% of the passengers in the train take a bus. 3. 6.5% of the passengers on a bus take a car. 4. 4% of the passengers in a car arrive at destination and leave the network. 5. 5% of the passengers in a bus arrive at destination and leave the network. Based on the previous description of the dynamics of the compartments, express the model as a Linear Dynamical System (Hint: xt+1?=At?xt? ). Then, perform a simulation of the network for a total of 500 minutes (Hint: this means simulating 100 time steps given a 5-minute interval), using the following initial values: - Car Passengers =10,000 - Train Passengers =6000 - Bus Passengers =3500 Plot the resulting 3 curves describing the evolution of the compartmental model.