Question: This is a VBA everytime I try to test it it gives me value# as in something is wrong Im so confused how to do
d. Create a gas pressure function. It will take as input the pressure (psi), the height, the specific gravity, and the average temperature, F. The function will output the new pressure (psi). 0.01875SgH After the End Function from step c. write: Function GasBHP f (Pwh As Double, Sg As Double, H As Double, Zav As Double, TavF As Double) As Double Compute static gas well bottom hole pressure (psi) - Input: Pwh - Well Head Pressure psi (gauge pressure) SgGas Specific Gravity MWavg/MWair unitless H- Well Vertical Depth feet ZavAverage 2-Factor unitless
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
