Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You will write a computer program that will compute the pressure given the p/z value. You will accomplish this by yet another newton paphson procedure.

You will write a computer program that will compute the pressure given the p/z value. You will accomplish this by yet another newton paphson procedure. The minimizatin will be performed on the following function: ()=|()()| Here () is the computed value of (p/z) given any pressure and () is the value of (p/z) that we try to find the pressure for. The aim is to find such a pressure that the above function will be zero. In other words, this is a trial and error procedure where we try to find such a pressure that it satisfies the given (p/z) value. The newton raphson algorithm is given below: 1. Read the (). 2. Guess an initial pressure . A good guess would be =() 3. Determine the gas deviation factor for . You can accomplish this by simply using the subroutine that you have written in the first part of the project.

4. Compute the function f() and its derivative f(). 5. Compute the pressure at for the next iteration level: +1=()() 6. Check for the following criteria: |+1| where you can take =105. 7. If the criteria given in STEP 6 is met then STOP ELSE if the criteria is not met, then set =+1 and GOTO step 5 The gas reservoir that we deal with is a volumetric gas reservoir. The production trends show a behavior given with the following relationship: =503525.175 Plot on the same graph, the p/z vs. Gp behavior and the p vs. Gp behavior. Comment on the results. The Gp limits on the graph should be between 0 and 199.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

How does the decision tree algorithm decide when to stop splitting?

Answered: 1 week ago

Question

Question Can a Roth IRA invest in stock of the IRA owners business?

Answered: 1 week ago