Question 2.2 The threshold velocities have a significant impact on percentage of time on. Assume the following values fo
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 2.2 The threshold velocities have a significant impact on percentage of time on. Assume the following values fo
Question 2.2 The threshold velocities have a significant impact on percentage of time on. Assume the following values for other parameters: Cd 0.1 Af 1.4 m2 Crr 0.002 mveh 75 kg Tm 3 Nm GR 6 Using MATLAB (in the MATLAB Grader environment), produce code that determines the value of percentage time on for: a) Values for the upper velocity threshold, vhigh, between 3 and 7 m/s in steps of 0.1 m/s. Set the lower velocity threshold, vlow to be 2 m/s. Show the results by plotting a graph of percentage time on against upper threshold velocity (i.e. pcttime as the y-axis, and vhigh as the x-axis). The y-axis should have the label 'Percentage Time On (%)' and the x-axis should have the label 'Upper velocity threshold (m/s)'. [3 marks] b) Values for the lower velocity threshold, vlow, between 1 and 3 m/s in steps of 0.1 m/s. Set the upper velocity threshold, vhigh to be 5 m/s. Show the results by plotting a graph of percentage time on against lower threshold velocity (i.e. pcttime as the y-axis, and vlow as the x-axis). The y-axis should have the label 'Percentage Time On (%) and the x-axis should have the label 'Lower velocity threshold (m/s)'. [3 marks] Based upon the results from a) and b): c) Explain the shapes of the graphs. [3 marks) d) Which variable out of vlow and vhigh has the most significant impact (based upon the range of values used) on percentage of time on? [2 marks] e) Suggest optimal values for both vlow and vhigh based upon the range of values used. [2 marks]