Question

In: Computer Science

Dilemma zone is a real world problem existed at signalized intersections. The zone boundary is defined...

Dilemma zone is a real world problem existed at signalized intersections. The zone boundary is defined by two measures, maximum passing distance (Xp) and minimum stopping distance (Xs). Xp is the maximum distance that the driver travels from the onset of yellow light to clear the intersection. Xs is the minimum distance that the driver brings the vehicle to a complete stop at or before the stop line. If Xs>Xp, the dilemma zone type I is presented where the driver at this zone has no option. If the driver decides to go, will run red light violating the traffic signal. If deciding to stop, the driver would stop the vehicle after the stop line, again violating the traffic rules. The vehicle at this zone should be Xs> vehicle distance to stop line> Xp If Xp>Xs, Option zone is presented where the driver at this zone has two options either to go or stop but they are equal which caused a hesitation for the driver. This hesitation delays the decision taken by the driver. The vehicle at this zone should be Xp> vehicle distance to stop line> Xs. Xs and Xp is described by the following equations: Xp= 0.278VY+ 0.5a(Y-t) 2 Xs= 0.278Vt+ (0.278V) 2 / 2d Where, V= Vehicle’s speed at the yellow light onset in km/h. Y= Yellow interval in seconds assumed 3s. a= Acceleration in meter per squared second, assumed, 0 m/s2 t= Perception reaction time in seconds, assumed 1s d= Deceleration in meter per squared second, assumed, 5 m/s2. 1- You are asked to create a script file in MATLAB that graphs these two equations at the same plot with distance to stop line on x-axis and speed on y-axis including labels. Note: the speed must be ranging from 40 to 110 km/h increasing at 10 km/h. (5 pints) 2- Given the vehicle speed, 50 km/h and the distance to stop line, 36 m at the yellow light onset, plot this point at the same figure and identify whether or not in dilemma zone and which type; type I or option zone. Note: write the answer in the script file as documented line. (2.5 Points) 3- Given the vehicle speed, 100 km/h and the distance to stop line, 95 m at the yellow light onset, plot this point at the same figure and identify whether or not in dilemma zone and which type; type I or option zone. Note: write the answer in the script file as documented line. (2.5 Points)

Solutions

Expert Solution

The code has been written in Matlab with the required comments.

%%
%1
%The velocity sequence
V = 110:-10:40;

% Maximum distance for travel once yellow
% light onsets to clear intersection
Xp = 0.278*V*3 + 0.5*0*(3-1)^2;

% Minimum Stopping distance 
Xs = 0.278*V*1 + (0.278*V).^2/(2*5);

f = figure();
%Plot for both lines
plot(Xp,V,'b-',Xs,V,'r-');
% legend for the graph

% Limit of the Velocity axis
ylim([40,110]);
hold on;

% 2
plot(36,50,'*');
text(36,50,"Option Zone (Q2)");
hold on;
% Answer : The point lies in the range for Xp>Point>Xs.
% Thus according to the definition, the point lies in the dilemma zone
% specifically the option zone.

%3
plot(95,100,'*');
text(95,100,"Type I zone (Q3)");
% Answer: The point lies in the region for Xs>Point>Xp.
% Thus according to the definition, the point lies in the dilemma zone
% specifically the type I zone.


legend("Intersection clearance distance","Maximum Stopping Distance");
grid on;
title("Dilemma Zone graph");
xlabel("Distance to stop line (m)");
ylabel("Velocity (km/h)");

Related Solutions

Dilemma zone is a real world problem existed at signalized intersections. The zone boundary is defined...
Dilemma zone is a real world problem existed at signalized intersections. The zone boundary is defined by two measures, maximum passing distance (Xp) and minimum stopping distance (Xs). Xp is the maximum distance that the driver travels from the onset of yellow light to clear the intersection. Xs is the minimum distance that the driver brings the vehicle to a complete stop at or before the stop line. If Xs>Xp, the dilemma zone type I is presented where the driver...
Ethical Dilemma Case Study. Each student must research a real-world example of an ethical dilemma in...
Ethical Dilemma Case Study. Each student must research a real-world example of an ethical dilemma in the field of engineering.
Give an example of a real world issue that can be explained using the prisoner's dilemma...
Give an example of a real world issue that can be explained using the prisoner's dilemma game. Specify the players in the game, the actions available to them and the payoff to the players in the game given outcome. Explain how the incentives for the players are similar to that of the prisoners in the prisoner's dilemma.
Describe a real world business problem and propose a solution or solutions to the problem by...
Describe a real world business problem and propose a solution or solutions to the problem by applying managerial economics concepts. Focus on a problem and its solutions. What will be the pros and cons of the solution or solutions.
Problem #5 a. In the “real world” the market structure that dominates retailing is _______________________,   Firms in...
Problem #5 a. In the “real world” the market structure that dominates retailing is _______________________,   Firms in ____________________ market structure compete based on ________________________________________________________.  They may have ____________________________________ in the short- run, but in the long –run economic profits move toward ______________________ as more firms ______________________________ and demand for a single firm’s product or services ______________. b. The behavior of oligopolistic firms is interdependent.  One way of demonstrating how oligopolistic firms may behave is chaos theory /game theory, which shows that most cartel...
The Snowplow Problem To apply the techniques discussed in this chapter to real-world problems, it is...
The Snowplow Problem To apply the techniques discussed in this chapter to real-world problems, it is neces- sary to translate these problems into questions that can be answered mathematically. The process of reformulating a real-world problem as a mathematical one often requires making certain simplifying assumptions. To illustrate this, consider the following snow- plow problem: One morning it began to snow very hard and continued snowing steadily throughout the day. A snowplow set out at 9:00 am to clear a...
3a. Identify a real world problem that you are familiar with that can be modeled as...
3a. Identify a real world problem that you are familiar with that can be modeled as a TSP. State the       problem. Set-up the distance/cost/penalty matrix and solve it using the TSP model provided by      the Lingo software. You need to define the number of cities and the distance matrix only in the      model and run it.      Interpret the optimal solution and comment on the solution. Try to select a problem with 6 to 8      Tasks(cities).
After considering some of the barriers of international trade, choose one and give an example that has existed or exists in the "real world". Explain your answer.
Business Scenario from Textbook BUSN11:In the nation where Klaus lives, there are four very large manufacturers of furniture. Klaus and some very wealthy friends want to establish Number Five in the furniture manufacturing industry. Their strategy is quite simple and straight forward. They will quickly establish their new firm in the market and will sell all their products at lower prices than currently exist in the market. "We can have our company up and running within six months," Klaus confidently...
Mathematical modeling is a process whereby a real world problem or situation is described in mathematical...
Mathematical modeling is a process whereby a real world problem or situation is described in mathematical language. Research and share a real world problem, situation, phenomenon, or event that can be modeled using a linear equation or inequality. Post the mathematical model describing your application if available.
Identify a real-world problem in which the concept of a “thin film” and an "infinite slab"...
Identify a real-world problem in which the concept of a “thin film” and an "infinite slab" can be applied and turn in a copy of an appropriate problem statement.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT