Measuring drainage based on EMONCMS