For a hydrocarbon reservoir, the following parameters are used in the general material balance equation (MBE):
\[
\begin{aligned}
N & = \text{Initial (original) oil in place, stb} \\
G & = \text{Initial volume of gas cap, scf} \\
m & = \text{Ratio of initial volume of gas cap to volume of oil initial in place, rb/rb} \\
S_{wi} & = \text{Initial water saturation} \\
S_{oi} & = \text{Initial oil saturation} \\
B_{oi} & = \text{Initial oil formation volume factor, rb/stb} \\
B_{gi} & = \text{Initial gas formation volume factor, rb/scf}
\end{aligned}
\]
The total pore volume (in rb) of the reservoir is: