Multiphase flow and early fault detection