An automotive simulation framework