Detecting critical factors in a flow line