The following examples are used in the Hybrid Electric Vehicle series to show how to model HEV's, create rule-based HEV supervisory control strategies, and optimize the controller.
The examples include:
- A single electric machine parallel HEV w/ disconnect clutch (P2 architecture).
- An input power-split HEV architecture with plant model variants using MathWorks Powertrain Blockset and Simscape tools.
Kevin Oshiro (2020). HEV Example files for Hybrid Electric Vehicles Video Series (https://www.mathworks.com/matlabcentral/fileexchange/72323-hev-example-files-for-hybrid-electric-vehicles-video-series), MATLAB Central File Exchange. Retrieved .
Hi, i have a few questions with regards to the optimization examples provided.
Is there a specific reason as to why the drivetrain mechanism within the system is being used as a model reference and not a subsystem? The reason I am asking this is because i am unable to fins the simulink variables within the main model workspace( model workspace within the file "HevP2ReferenceApplication_SDO2.slx" or "HevP2ReferenceApplication_SDO2". Therefore to select the control parameters required for the optimization, i am having to convert the model reference block back to a regular subsystem and export and import the model workspace variables manually (export model workspace from "DrivetrainHevP2.slx" and import it to the workspace within "HevP2ReferenceApplication_SDO2.slx). Is there an easier way to obtain these model workspace variables?
Secondly, i am having trouble using the pattern search within the optimization option. It seems to work only when i use the gradien option and gives me an error
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!