 The leak detection system measures the volumes of fluid entering each pipeline segment and the volumes of fluid leaving each segment.The system triggers an alarm if the volume measurements don't match up.The leak detection alarm sounded four times during the week before the spill was discovered, but BP interpreted the leak detection alarms as false alarms.