Quantification of flow and retention of oil in compressor discharge pipe