How do you calculate the volume of oil in a pipeline?
If we assume that the pipe is completely full of oil, it would
just be the volume of the pipe = pi * r2 * l, where pi = 3.14159, r
= radius, and l = length of the pipe.
If the pipe is not full, then multiply the volume by the
percentage of oil in the pipe. For example, if 50% full, then
multiply by .5.
If the pipe bends, take into account the different volume of the
bend. If the bend is 90 degrees, this can be accomplished by taking
the average length of the two bent segments for the length.