pipe line simulation