April 10th, 2017 by Mahdieh Mehrabi
Written by: Romain Gillot – Project Engineer
The Powertrain Dynamics library (also known as “PTDynamics” library) is a library developed by Claytex for modelling rotating MultiBody systems, mainly automotive powertrains. It is built on the Automotive library and is fully compatible with the Modelica Standard and VehicleInterfaces libraries.
The purpose of this library is to provide ready-to-use subsystems to build a vehicle and test bed experiments to simulate it as a whole or subsystem by subsystem. It thus makes vehicle testing intuitive, fast, efficient and does not require an extensive knowledge of Modelica or extensive user coding. This library is oriented towards testing of vehicles over straight-line manoeuvres (NEDC or other drive cycles, Tip-In, Tip-Out, and many other drivability manoeuvres).
Figure 1: Vehicle animation (click on the image for animation).
The driver model is external to the vehicle. It can be a closed or open loop model. The atmosphere model allows the ambient air temperature and pressure as well as the wind velocity and air humidity to be set. There are different road models: flat road, road with a variable gradient and circular road.
An overview of the library
Figure 2: Library structure
In PTDynamics there are models for engines, transmissions, drivelines, chassis, mounts, drivers, clutches, differentials, gears, joints as well as vehicle models that have been built using these subsystems. Each one of these models is ready to be used which means it is parameterised and has a dedicated experiment to test it.
All these models are based on templates that can be extended if one wishes to create their own variant.
All models have a 3D animation that allows to observe the system behaviour.
Figure 3: Vehicle model with all the subsystems.
All the subsystems are replaceable to make it easy to switch to an alternative variant. The level of detail in each subsystem can be adapted depending on what the area of interest is. Indeed, adding things such as lash can unfortunately have a huge simulation time impact.
The subsystems in the vehicle are:
Figure 4: Transmission animation with the forces represented
In addition, the driverEnvironment component receives the signals from the driver and transforms them into information usable by the different subsystems.
Most of the templates and base classes of these subsystems are in the Automotive library.
The measured signals and the ones used for actuator control are passed from one subsystem to another via the control busses (shown in yellow within Figure 1).
Feel free to contact firstname.lastname@example.org to get more information on the Powertrain Dynamics library.
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.