We have just completed another Bus modelling demo using the VeSyMA suite of libraries that we develop at Claytex. This time the objectives were related to energy management of the overall vehicle and understanding the losses within the powertrain and driveline. This gave the base to studies that involved propulsion and transmission sizing for particular markets and duty cycles and more importantly including the impact of often neglected attributes such as cabin thermal management and human comfort of passengers.
This blog post shows the range of methodologies that we use to study the vehicle systems and how they interact.
Flexible Vehicle Architecture
We used the VeSyMA suite of libraries to provide the vehicle and experiment architecture; its templates with replaceable objects provide flexibility.
The bus’ mechanical subsystems were based on models from the VeSyMA suite, including suspension, wheels, driveline, brakes, and body. These multibody models include animation object to easily visualise the results of the experiments.
The electric motors and energy storage systems were also from the VeSyMA suite which reduced the need for co-simulation with other tools outside of Dymola.
The VeSyMA suite provides a structure that allows customised subsystem and components to be slotted into the vehicle model. This permitted the heating, ventilation and air conditioning (HVAC) models using TiL and Human Comfort libraries to be easily integrated into the bus model.
By using the systems integration approach, we can demonstrate the impact of the HVAC loads on the battery (see figure 3).
For these experiments we are using a 30degC ambient with 40% relative humidity, 22degC target cabin temperature, 300W/m2 direct solar radiation and 100W/m2 diffuse solar radiation.
To integrate the cabin thermal management, we initially integrated models built with the TiL suite from TLK and then for a more detailed approach we can integrate a Human Comfort library based cabin model.
The cabin models within the TiL suite and Human Comfort libraries allow the users to build up partitions and glazing where the overall thermal performance is derived from the material properties and geometries specified.
The inclusion of the thermal model of the cabin allowed events like opening and closing the bus doors to be analysed to see their effect on the bus’s battery charge.
We were also able to test the HVAC system capacity for ambient temperature excursions taking this up to 40degC from the 30degC baseline. The study allowed us to confirm through simulation that the system is in fact undersized for cooling the bus at these ambient conditions. Depending on how often these occur, it might be a compromise the operator is willing to take. Alternatively an upscaling of the system is required.
CFD within Dymola, no co-simulation required!
For more detailed cabin simulation, the Human Comfort library from XRG includes a Dymola CFD-based approach (no co-simulation required!).
Although the implementation of the CFD-based approach to the cabin modelling is not yet complete for this demo, we are able to show an example of what this can look like from a similar project.
Using the Human Comfort library, you can visualise the flow around the bus cabin within the Dymola environment (Figure 11). A more detailed visualisation of the flows and temperatures can be seen below using the XRG Excel plug-in Score (Figure 12).
As part of the methodology for efficient modelling and analysis, we applied the structure shown below which allowed a rapid setup of the vehicles and experiments as well as simulation execution and results analysis.
Vehicle Modelling and Simulation
Please do not hesitate to get in touch if you are looking to design and analyse vehicle systems to any level of detail. For those who would prefer not to invest in a new software or additional libraries and are interested in just running vehicle models themselves we can also provide executables that are representative of your vehicle that allow you to modify parameters and initial conditions so that you can experiment using such models, analyse the results and distribute them freely within your company or team.
Further publications of our other work using VeSyMA, TiL suite and Human Comfort library can be found here: https://www.claytex.com/services/publications/
Written by Hannah Hammond-Scott and Alessandro Picarelli – Modelica Project Leader and Engineering Director
Please get in touch if you have any questions or have got a topic in mind that you would like us to write about. You can submit your questions / topics via: Tech Blog Questions / Topic Suggestion