It has been established that the most economical and safest way to transport crude oil is through oil and gas pipeline systems, which meet high demands for efficiency and reliability. However, as the transportation of hazardous substances through mile-long pipelines has become widespread worldwide in recent decades, the risk of serious accidents due to pipeline failures is increasing.