To measure fuel economy and emissions, vehicles are typically run on a "drive cycle", meaning a pre-defined trajectory of vehicle speed over time. The drive cycles in this support package can be imported into the Drive Cycle block of Powertrain Blockset, allowing you to easily access over 20 drive cycles that are commonly used throughout different regions of the world, including US06, HWFET, NEDC, Japanese 10-15 mode, and many others.
Hi Giorgio. There's an example in the Powertrain Blockset documentation that demonstrates how to set the drive cycle and sim time from a script. Hopefully that gives you what you're looking for. Check it out here:
I would like to update the simulation time from command window, how can I do that? To set the cycle
set_param('.../Drive Cycle Source','cycleVar','NEDC');
Then I want to update simulation time to be same lenght of cycle (as can be done from the block parameters but would like to do by .m)
Hi Veerendra. It's difficult to say what's happening over a comments board. Please contact our support team (https://www.mathworks.com/support.html), who will be able to assist you.
my powertrain block set is missing in the library of R2017a Macbook. How to resolve this issue pls assist me
I'd need more information to understand what's going on. You can reach out to me directly through the "Contact an Expert" button on the Powertrain Blockset product page:
how can I open the data? I tried to open it with matlab 2019, but I get a support software client error.
how to get output from drive cycle?i want to design vehicle dynamics, plz give some information
Is there any optimization toolbox available in matlab for GA? how to access it?please guide me.
Unfortunately there really is not enough information provided to assist you here and the solution likely is out of scope for this forum.
Please get in touch with our technical support who will be able to work with you and your model to provide any assistance required. The support page can be found here: https://www.mathworks.com/support.html
Good luck and best regards,
The Powertrain Blockset Team
Hello support team
while running FC and UC fed boost converter simulation with drive cycle as load I have faced this difficulty
"An error occurred while running the simulation and the simulation was terminated Caused by:Error in 'FCnUC_BOOST/SEPERATELY BOOST'. Evaluation of expression resulted in an invalid output. Only finite double vector or matrix outputs are supported"
What to do next? Please help me to resolve.
Thanks.. i will try my level the best..
If i faced any doubt means i will contact the team..
There are several places in the documentation pages that provide more information. The Drive Cycle Source block (the block which uses this data) is explained here:
That page includes a link on how to install the data:
There are also several detailed vehicle models (both conventional and electrified) that use the Drive Cycle Source block for specifying the reference velocity. For example, check out the conventional vehicle model referenced in this page:
If you are still experiencing difficulty, we encourage you to contact our support team, who will be happy to help.
In library browser drive cycle source (ie..FTP75) is present in default where should i connect these drive cycle source block in matlab simulation model whether it acts as load??
can you give some example model in which drive cycle is connected?
The block is intended to assist in the assement of automotive vehicles undergoing standardized tests. It outputs reference velocity and corresponding acceleration signals in units of your choice. Gear commands are also supported.
You can see how it is connected to the Driver Block in the shipping reference application example models.
I hope this information is helpful,
The Powertrain Blockset Team
where the drive cycle source can be used?
to which it was connected?
A custom drive cycle can be imported from a file (.mat, .txt, .xls) or workspace variable (timeseries object, array, struct). The details and examples for each are provided in the block documentation:
Please get in touch with technical support if you are having issues with this or require further clarification.
Thank you and kind regards,
Powertrain Blockset Team
Hi there, thanks for the great effort. Can you guide me to importing my own drive cycle ? how to do that ?
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!