added the multiphase method to calculate conduit occupancy