Detecting the properties of waste to be incinerated