Automated stream analysis for process control V1