A tool for designing autonomous or conventional electric vehicles. The tool was created during the Ph.D. Thesis of Adrian König [1] at the Institute of Automotive Technology of the Technical University of Munich
- MATLAB R2020b or newer
The structure of the AuVeCoDe is shown in the figure underneath, based on [1] and [2]:
After setting the requirements, a first longitudinal dynamic simulation (LDS) is performed. The LDS was already published by the authors ([3]). In the next step, the package of the vehicle is calculated based on the new method developed by the first author [4]. The battery and mass calculation is performed with modified versions of the models by Nicoletti [5]. The auxiliary power user are calculated based on literature values and a HVAC simulation already published in [2]. If the vehicle data converge during the iterations the costs are calculated and the output is a vehicle concept with the option to plot its package.
This section gives an overview of the AuVeCoDe Tool and how to use it. The AuVeCoDe tool can be started by calling Run_AuVeCoDe.m
. This will add all needed folders and subfolders and start the userform:
- Standard selection is optimization mode. You can select "Single vehicle" to calculate just one vehicle. For optimization mode, you have to select an optimizer and the two optimization goals. You can also select the parts of the vehicle to be plotted under "Vizualization".
- You can select the vehicle parameters inside the different pages (1. General - 5. Optimization). The Optimization page will change depending on the "Single Vehicle" setting. You can also select the standard set "Conventional vehicle settings" or "Autonomous one-box vehicle settings". Detailled result data of the vehicle will be displayed in the "6. Results" Page.
- You can save the configuration or load a already saved configuration
- You can save (especially when optimization mode is selected) a simulation for an external simulation e.g. on a compute cloud, where Matlab Userforms are not working. You can start the simulation with either
LoadSimulation
orLoadSimulation_nodesktop
for MATLAB in the nodesktop mode. - Click on "Run Simulation" to start the simulation. The status light will turn to yellow during calculation and becomes green after the simulation is finished.
- In this area either the vehicle length, weight and cost are shown (successfull simulation) or the reason of the termination of the calculation is shown.
When using the single vehicle mode, the vehicle is calculated and plotted. The vehicle and Parameter struct is saved to the 06_Results
folder and the most important date is saved in an Excel Sheet. Every data set of a single vehicle simulated on one day will be saved chronologically in the Excel Sheet while the vehicle and Parameter struct will be overwritten after every simulation.
- The vehicle plot. The figure can be rotated and saved like a common MATLAB figure.
- The most important data is shown here.
- Detailled information about the vehicle are saved in the "6. Results" page.
- The status light is green.
In the optimization mode, an optimizer has to be selected (e.g. the NSGA-II). Furthermore, the number of generation and the population size has to be defined. When the MATLAB Parallel Computing Toolbox is installed, the "Parallel computing" can be used to get lower computation time. Because the optimizer (NSGA-II/MOPSO) are stochastic methods the number of optimization can be increased to ensure the search for a global optimum. Instead of the standard folder 06_Results
your can also select an own folder with "Select Optimization Folder". The results will be saved to this folder instead.
During the optimization, the following windows are shown:
- The status of the running simulation is shown in the userform
- The current status of calculation (generation and population) is shown in the command window.
- The optimization goal values of the last population is plotted. If the goals are contradictory a pareto front is created over time.
- The best three or the best, middle and worst vehicle of one generation is plotted. You can change the mode in the
plotnsga
function in Line 380.
- Adrian König (Institute for Automotive Technology, Technical University of Munich): Creation of research topic and idea for the tool, Conceptualization, Code creating, Code detailing, Code documentation, Supervison
- Lorenzo Nicoletti (Institute for Automotive Technology, Technical University of Munich): Code creating (Modeling of mass, gearbox and chassis), Code documentation
- Daniel Telschow (Institute for Automotive Technology, Technical University of Munich): Code creating, Code documentation, First implementation of NSGA-II
- Korbinian Moller (Institute for Automotive Technology, Technical University of Munich): Longitudinal dynamic simulation (validation, creating and detailing code, code documentation)
- Michael Mast (Institute for Automotive Technology, Technical University of Munich): Code creating (Trunk, silhouette and BIW design), Code documentation
- Fabian Liemawan Adji (Institute for Automotive Technology, Technical University of Munich): Code creating, Code documentation, Code detailing of NSGA-II and implementation of MOPSO
- Peter Köhler (Institute for Automotive Technology, Technical University of Munich): Code creating (gearbox calculation), Code documentation
- Felix Fahn (Institute for Automotive Technology, Technical University of Munich): Code detailing (Interior calculation and plot), Code documentation
- Dila Akguel (Institute for Automotive Technology, Technical University of Munich): Code creating (cost model), Code documentation
[2] König, A.; Mayer, S.; Nicoletti, L.; Tumphart, S.; Lienkamp, M. The Impact of HVAC on the Development of Autonomous and Electric Vehicle Concepts. Energies 2022, 15, 441. https://doi.org/10.3390/en15020441
[3] König, A., Nicoletti, L. et. al. „An Open-Source Modular Quasi-Static Longitudinal Simulation for Full Electric Vehicles,“ in 15th International Conference on Ecological Vehicles and Renewable Energies, Monte-Carlo, Monaco, 2020, pp. 1–9, DOI: 10.1109/EVER48776.2020.9242981.
[4] König, A.; Telschow, D.; Nicoletti, L.; Lienkamp, M., “Package Planning of Autonomous Vehicle Concepts,” Proc. Des. Soc., Jg. 1, S. 2369–2378, 2021, doi: 10.1017/pds.2021.498.
[5] Nicoletti. L., "Parametric Modeling of Battery Electric Vehicles in the Early Development Phase", Ph.D. Thesis, Technical University of Munich, Institute of Automotive Technology, 2022.