Simulation of heavy-duty engine based on flexible multi-body dynamics