Learning how a combustion engine works