Torque vector must be arranged in strictly ascending order.
3 views (last 30 days)
Show older comments
I'm developing a Driveline model for a diesel engine. I have torque/speed curves for several engines that I'd like to add to the model. The curves are always like this:
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/237926/Capture.png)
Where a single torque value (say, 220Nm) can occur at two different speeds (1800RPM or 5000RPM). Yet I get an error, "Torque vector must be arranged in strictly ascending order". How do I add a torque/speed/power curve under those conditions?
Thanks,
Eric
0 Comments
Answers (1)
Martin
on 6 Jan 2020
The block is not erroring because of the torque vector given on the Engine Torque tab. Speed is the independent vector that must be increasing, and torque is the dependent vector that has no such requirement.
The issue is on the Fuel Consumption tab. In this model, fuel consumption is modeled by speed and torque. Here speed and torque are the independent variables, and must be strictly ascending vectors. Fuel consumption is the dependent variable.
Martin
0 Comments
See Also
Categories
Find more on Engines & Motors 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!