Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Decline Curve Analysis Well Allows with an initial low rate () of 5,000 bopd (barrels of oil per day), and has a continuous initial decline

image text in transcribed
image text in transcribed
Decline Curve Analysis Well Allows with an initial low rate () of 5,000 bopd (barrels of oil per day), and has a continuous initial decline rate (D) of 9% per year. The well declines exponentially Step 2. Store the given values in appropriately named variables. (This is standard programming practice as discussed in class. You neevere want to use numbers directly in code without first storing them in variables ) 5 points will be deducted if values are used directly in code instead of first storing them in variables, and using the variables in code. Feel free to ask questions in the lab if this is not clear yet!!! Step 3. Import numpy (I won't mention this in future lab workbooks, because you will need to import any required libraries before you can use the functions within those libraries) ** 2 points will be deducted if numpy isn't imported. Your code will also not work through 20 in increments of 1. Step 4. Create a one-dimensional (10) time array called time Vec and let it store numbers from - 3 points will be deducted if this is not attempted. 2 points will be deducted if it doesn't work. Step 5. Write a one-line vectorized Python code that computes the rates corresponding to the times stored in timevec, and store these rates in an array called "rateExp" rateExp will be the same length as time Vec. 4 points will be deducted if this is not attempted. 2 points will be deducted if it doesn't work. Step 6. Import matplotib, pyplot as pit, and use pit plot) and it show() to plot and display a graph of rateExp versus timevec, using a green solid line and square markers 4 points will be deducted if this is not attempted. 2 points will be deducted if it doesn't work. Activat 1 Step 7. Print the data type of the time Vec array, using the numpy function "dtype" 2 points will be deducted if this is not attempted or doesn't work. Step 8. Create an array of the same shape with time Vec, call it rateExp2", and initialize it to zeros 3 points will be deducted if this is not attempted. 2 points will be deducted if it doesn't work. Step 9. Instead of the vectorized computation of rateExp. use a for loop to compute the rate, and store this in an array called "rateExp2" 5 points will be deducted if this is not attempted. 2 points will be deducted if it doesn't work Step 10. Plot rateExp2 versus timevec 3 points will be deducted if this is not attempted. 2 points will be deducted if it doesn't work

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

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students also viewed these Databases questions

Question

What is cultural tourism and why is it growing?

Answered: 1 week ago

Question

6. Identify characteristics of whiteness.

Answered: 1 week ago

Question

9. Explain the relationship between identity and communication.

Answered: 1 week ago