three phase separator calculation