Pipeline Toolbox
Function Reference Manual
Early Public Release DD-00011-000

3.9.1 average_pressure - Average pressure Pavg
p = average_pressure(p1, p2)

Calculate the average pressure between two measurement points P1   and P2   using:

       (              )
Pavg= 2 P1+ P2- -P1P2-
      3         P1+ P2

Arguments

p1

Pressure at location one P1   .

p2

Pressure at location two P2   .

Returns Average pressure Pavg   in the same unit as the arguments.