Brake rotor simulation - Couldn't get results
1 view (last 30 days)
Show older comments
Hello Everyone, i'm Naveen from Texas. I have a code that simulates dynamic brake rotor temperature. I know the end result and graph. But code doesnt give me the same result. I hope its my mistake and someone can help me out.
Basically, the code simulates a car Accelerating to 60mph at 0.5G and decelerating to 30mph at 1.6G and accelerates to 60mph and repeats to 150 to 300 sec. The temperature curve has to saturate like in the picture.
I have attached the code file and the desired result file.
6 Comments
darova
on 31 Oct 2019
Velocity curve is exactly in between [44 88]
>> V_min = 30*(5280/3600); %minimum speed [ft/s]
>> V_max = 60*(5280/3600); %maximum speed [ft/s]
>> [V_min V_max]
ans =
44 88
The question: why it doesn't look like
Accepted Answer
darova
on 31 Oct 2019
I set up maxstep
opt = odeset('MaxStep',0.1);
[t,x] = ode45(@DerFun,Tspan,x0,opt);
And now it looks like
More Answers (2)
Naveen Devaraj
on 6 Dec 2019
See Also
Categories
Find more on Statics and Dynamics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!