Question: Provide the matlab code for part 3 2. Fluid Compressibility (15%) The compressibility of crude oil above bubble point pressure is c0=105psi1, constant. The compressibility
Provide the matlab code for part 3

2. Fluid Compressibility (15\%) The compressibility of crude oil above bubble point pressure is c0=105psi1, constant. The compressibility of ideal gas cg=1/p, psi-1 where p is the system pressure. Use the definition of compressibility coefficient to derive the following volume-pressure relationship: a) Volume of oil as a function of pressure, Vo(p) b) Volume of gas as a function of pressure, Vg(p) c) Plot V0(p) vs p, and Vg(p) vs p in separate graphs. Assume the volumes of oil and gas are both 1 ft3 at reference pressure p=14.7 psia. Visually compare the curvatures of the two curves 22 , use matlab Plot V0(p) vs p, and Vg(p) vs p in separate graphs. Assume the volumes of oil and gas are both 1 t3 at reference pressure p=14.7 psia. Visually compare the curvatures of the two curves Vo=Vrefexp(co(PrefP))Vg=PVrefPref
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
