EELS modelling of graphitisation