Modelling of a dual purpose plant for waste incineration