Knock modelling: an integrated tool for detailed chemistry and engine cycle simulation