Simulate the response for the case F-0, with initial conditions goyo, v(0)=15 m/sec; and the case F-550 N with initial conditions x(0)-0, and v(0)-0. Use the discrete trapezoidal approximation of the derivative with the simulation step At-0.10 sec. Plot the component responses generated from your simulation.

Principles of cyber-physical systems Chapter 6

  1. Implement and test (show the execution of) the continuous-time component that represents the dynamic model of a car given in the Textbook. Use the following values in the model: m= 1450 kg, k-63. Simulate the response for the case F-0, with initial conditions goyo, v(0)=15 m/sec; and the case F-550 N with initial conditions x(0)-0, and v(0)-0. Use the discrete trapezoidal approximation of the derivative with the simulation step At-0.10 sec. Plot the component responses generated from your simulation.
  2. Now add the level road effect to the car model above and regenerate the car responses to the 0-5 degree and 0-10 degree road slope and the F-550N case with initial conditions (0) = 0 and v ( 0)-0 only. Plot the component responses generated by your simulation