Cubic Spline Interpolation for. Petroleum Engineering Data

Similar documents
Type-2 Fuzzy Non-uniform Rational B-spline Model with Type-2 Fuzzy Data

Jurnal Teknologi POSITIVITY PRESERVING INTERPOLATION BY USING RATIONAL CUBIC BALL SPLINE. Full Paper. Samsul Ariffin Abdul Karim *

2-Dimensional Image Representation. Using Beta-Spline

S1 Note. Basis functions.

A Five-Point Subdivision Scheme with Two Parameters and a Four-Point Shape-Preserving Scheme

The Research of Ellipse Parameter Fitting Algorithm of Ultrasonic Imaging Logging in the Casing Hole

Empirical Distributions of Parameter Estimates. in Binary Logistic Regression Using Bootstrap

Solutions to Programming Assignment Five Interpolation and Numerical Differentiation

Cluster Analysis of Electrical Behavior

NAG Fortran Library Chapter Introduction. G10 Smoothing in Statistics

2x x l. Module 3: Element Properties Lecture 4: Lagrange and Serendipity Elements

Quality Improvement Algorithm for Tetrahedral Mesh Based on Optimal Delaunay Triangulation

A new paradigm of fuzzy control point in space curve

Hermite Splines in Lie Groups as Products of Geodesics

X- Chart Using ANOM Approach

Research Article Quasi-Bézier Curves with Shape Parameters

A Binarization Algorithm specialized on Document Images and Photos

An Optimal Algorithm for Prufer Codes *

Shape Preserving Positive and Convex Data Visualization using Rational Bi-cubic Functions

Shape Control of the Cubic Trigonometric B-Spline Polynomial Curve with A Shape Parameter

Smoothing Spline ANOVA for variable screening

A New Approach For the Ranking of Fuzzy Sets With Different Heights

Interpolation of the Irregular Curve Network of Ship Hull Form Using Subdivision Surfaces

Improvement of Spatial Resolution Using BlockMatching Based Motion Estimation and Frame. Integration

High-Boost Mesh Filtering for 3-D Shape Enhancement

An Accurate Evaluation of Integrals in Convex and Non convex Polygonal Domain by Twelve Node Quadrilateral Finite Element Method

Parallelism for Nested Loops with Non-uniform and Flow Dependences

Obstacle-Aware Routing Problem in. a Rectangular Mesh Network

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers

S.P.H. : A SOLUTION TO AVOID USING EROSION CRITERION?

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields

Vectorization of Image Outlines Using Rational Spline and Genetic Algorithm

Solving two-person zero-sum game by Matlab

The Shortest Path of Touring Lines given in the Plane

Determining the Optimal Bandwidth Based on Multi-criterion Fusion

Software Reliability Estimation Based on Cubic Splines

Feature Reduction and Selection

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS

A Newton-Type Method for Constrained Least-Squares Data-Fitting with Easy-to-Control Rational Curves

Security Vulnerabilities of an Enhanced Remote User Authentication Scheme

USING GRAPHING SKILLS

APPLICATION OF MULTIVARIATE LOSS FUNCTION FOR ASSESSMENT OF THE QUALITY OF TECHNOLOGICAL PROCESS MANAGEMENT

TECHNIQUE OF FORMATION HOMOGENEOUS SAMPLE SAME OBJECTS. Muradaliyev A.Z.

Enhanced Advancing Front Technique with Extension Cases for Initial Triangular Mesh Generation

A Geometric Approach for Multi-Degree Spline

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices

y and the total sum of

Reading. 14. Subdivision curves. Recommended:

Design of Structure Optimization with APDL

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009.

FINDING IMPORTANT NODES IN SOCIAL NETWORKS BASED ON MODIFIED PAGERANK

Load Balancing for Hex-Cell Interconnection Network

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes

Lecture #15 Lecture Notes

Learning the Kernel Parameters in Kernel Minimum Distance Classifier

The Theory and Application of an Adaptive Moving Least. Squares for Non-uniform Samples

Classifier Selection Based on Data Complexity Measures *

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following.

Solitary and Traveling Wave Solutions to a Model. of Long Range Diffusion Involving Flux with. Stability Analysis

Constrained Shape Modification of B-Spline curves

Intra-Parametric Analysis of a Fuzzy MOLP

Reverse Engineering of the Digital Curve Outlines using Genetic Algorithm

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points;

A NOTE ON FUZZY CLOSURE OF A FUZZY SET

General Vector Machine. Hong Zhao Department of Physics, Xiamen University

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization

User Authentication Based On Behavioral Mouse Dynamics Biometrics

AC : TEACHING SPREADSHEET-BASED NUMERICAL ANAL- YSIS WITH VISUAL BASIC FOR APPLICATIONS AND VIRTUAL IN- STRUMENTS

Programming in Fortran 90 : 2017/2018

Dynamic wetting property investigation of AFM tips in micro/nanoscale

F Geometric Mean Graphs

Curve Representation for Outlines of Planar Images using Multilevel Coordinate Search

Solving the large scale knapsack feasibility problem using a distributed computation approach to integer programming

Discrete Curvature and Torsion-based Parameterization Scheme for Data Points

Algorithm for directional projection of parametric curves onto B-spline surfaces

Mathematics 256 a course in differential equations for engineering students

Fast Computation of Shortest Path for Visiting Segments in the Plane

Review of approximation techniques

Modeling, Manipulating, and Visualizing Continuous Volumetric Data: A Novel Spline-based Approach

A Clustering Algorithm for Chinese Adjectives and Nouns 1

Virtual Machine Migration based on Trust Measurement of Computer Node

Exercises (Part 4) Introduction to R UCLA/CCPR. John Fox, February 2005

Module Management Tool in Software Development Organizations

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision

Cracking of the Merkle Hellman Cryptosystem Using Genetic Algorithm

Study of Data Stream Clustering Based on Bio-inspired Model

Enhanced Watermarking Technique for Color Images using Visual Cryptography

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data

BioTechnology. An Indian Journal FULL PAPER. Trade Science Inc.

Term Weighting Classification System Using the Chi-square Statistic for the Classification Subtask at NTCIR-6 Patent Retrieval Task

A high precision collaborative vision measurement of gear chamfering profile

Nonlocal Mumford-Shah Model for Image Segmentation

Research on Categorization of Animation Effect Based on Data Mining

A Deflected Grid-based Algorithm for Clustering Analysis

Cordial and 3-Equitable Labeling for Some Star Related Graphs

LU Decomposition Method Jamie Trahan, Autar Kaw, Kevin Martin University of South Florida United States of America

FITTING A CHI -square CURVE TO AN OBSERVI:D FREQUENCY DISTRIBUTION By w. T Federer BU-14-M Jan. 17, 1951

Scheduling Remote Access to Scientific Instruments in Cyberinfrastructure for Education and Research

3D vector computer graphics

Transcription:

Appled Mathematcal Scences, Vol. 8, 014, no. 10, 5083-5098 HIKARI Ltd, www.m-hkar.com http://dx.do.org/10.1988/ams.014.4484 Cubc Splne Interpolaton for Petroleum Engneerng Data * Samsul Arffn Abdul Karm Department of Fundamental and Appled Scences, Unverst Teknolog PETRONAS Bandar Ser Iskandar, 31750 Tronoh, Perak Darul Rdzuan, Malaysa * Correspondng author Muhammad Azuddn Mohd Rosl Petroleum Engneerng Department Unverst Teknolog PETRONAS Bandar Ser Iskandar, 31750 Tronoh, Perak Darul Rdzuan, Malaysa Muhammad Izzatullah Mohd Mustafa Reservor Engneer, Emerson Process Management Level 11, Menara Chan, 138 Jalan Ampang, 50450, Kuala Lumpur, Malaysa Copyrght 014 Samsul Arffn Abdul Karm et al. Ths s an open access artcle dstrbuted under the Creatve Commons Attrbuton Lcense, whch permts unrestrcted use, dstrbuton, and reproducton n any medum, provded the orgnal work s properly cted. Abstract Interpolaton and fttng the data to produce the nterpolatng curves or fttng curves are mportant n Ol and Gas (O&G) ndustry. Data nterpolaton s useful for scentfc vsualzaton for data nterpretaton. One of the effcent methods for data nterpolaton s cubc splne functon. In ths paper two types of cubc splne wll be used for data nterpolaton. The frst one s cubc splne nterpolaton wth C contnuty. Meanwhle the second splne s Pecewse Cubc Hermte 1 Splne (PCHIP) wth C contnuty. Numercal comparson between both cubc splnes and lnear splnes wll be dscussed n detals. From all numercal results, t was ndcated that cubc splne gves good results. Keywords: Petroleum Engneerng Data; Data nterpolaton; cubc splne; contnuty

5084 Samsul Arffn Abdul Karm et al. I. INTRODUCTION Data fttng, data approxmaton and data nterpolaton are mportant n vsualzaton of the data that may be obtaned from numercal experment or data collecton from well drllng, petroleum etc. Karm and Yahya [1] has dscussed n detals the used of cubc splne smoothng for ol and gas data nterpretaton. The Seabed Logng Data (SBL) s used for ther purposed. From the results, they concluded that cubc splnes smoothng gves qute mpressve results. The common method for data nterpolaton s a cubc splne functon. There exst many types of splne bass functon wth respectve degrees and ts respectve knots. But from lterature, the most sutable splne for many applcatons s cubc splnes nterpolaton. One of the man reasons why cubc splne s the most utlzng bass functon for data nterpolaton s that t s the lower degree splnes that can acheve the C contnuty [ - 9]. Besdes the used of cubc splne nterpolaton 1 there exst another cubc splne called as PCHIP but s only has C contnuty and usually data that beng nterpolated by PCHIP s overshoot at certan nterval [, 8, 9]. Ths unwanted overshoot s not vsual pleasng and may remove the mportant characterstcs of the data. Furthermore PCHIP s sutable for nterpolaton data that s monotone []. In general the data obtaned n Ol and Gas ndustry s not monotonc and there exsts thousands data sets that need to be takng care by the engneers. Ths s where cubc splne nterpolaton provdes a very good alternatve to the exstng methods such as lnear regresson and non-lnear regresson. Ths paper s contnuaton from the work of Karm and Yahya [1]. The man dfferent s that n ths paper both cubc splnes nterpolaton and PCHIP wll be used to nterpolate the gven data sets, meanwhle n [1] the cubc smoothng splne and PCHIP are used for SBL data fttng (smoothng) and data nterpolaton. Furthermore an error analyss for data nterpolaton by usng cubc splne nterpolaton and PCHIP also wll be dscussed n detals. Ths paper s organzed by four sectons whch are descrbed as follows. Frst Secton s about the ntroducton of data nterpolaton method used to nterpolate ol and gas data. Second secton descrbes the detal of the theory of cubc splnes nterpolaton as well PCHIP. Data collecton and expermental setup are dscussed n detals through Secton 3.Fourth Secton descrbes the numercal results obtaned by usng cubc splne and PCHIP for Petroleum Engneerng data nterpolaton. Secton 5 dscusses the error analyss by usng three dfferent true functons. Conclusons and some future researchs recommendaton wll be dscussed n the fnal secton.. CUBIC SPLINES INTERPOLATION Ths secton s devoted for cubc splne nterpolaton and PCHIP..1 Cubc splne nterpolaton The equaton of the cubc splne n the th nterval[ x 1, x], s show n Equaton (1). f x a b x c x d x n (1) 3 ( ) ; 1,,..., where a, b, c,and d s the 4n coeffcents for 1,,... n, The cubc splne nterpolaton n (1) satsfes the followng condtons: f ( x ) f ()

Cubc splne nterpolaton for petroleum engneerng data 5085 Equaton () untl (5) gves a total of f ( x ) f ( x ) (3) 1 1 1 f ( x ) f ( x ) (4) ' ' 1 1 1 f ( x ) f ( x ) (5) " " 1 1 1 4 n condtons. For cubc splne nterpolaton, we need 4 n parameters to be determned. Therefore, we need two more condtons that can be ether clamped, natural boundary condtons etc. In ths paper wll be used the natural boundary condtons. It s gven as follows: " " f0 ( x0 ) fn 1( xn) 0 (6) After some substtuton to the Equaton () untl (6), we can extend t to nclude an extra parameter a that we actually not nterested n, to gve the followngs tr-dagonal lnear equatons: n 1 0 0 c 0 h0 ( h0 h1 ) h1 c1 0 h1 ( h1 h ) h c 0 0 hn ( hn 1 hn ) h n1 0 0 1 c n 0 3 3 ( a a1 ) ( a1 a0) h1 h 0 3 3 ( an an 1) ( an 1 an) hn1 hn 0 If the grd ponts are equally spaced wth h h for some number h, then (7) 1 0 0c0 0 h 4h h 0 c1 a0 a1 a 0 h 4h h 0 c 3 (8) h 0 0 h 4h h an an 1a n 0 0 1 c n 0 The tr-dagonal lnear equatons n (7) and (8) can be solved effcently by usng Gauss-Sedel teraton or LU decomposton or Thomas algorthm. Below s example for cubc splne nterpolaton by usng car acceleraton data.

5086 Samsul Arffn Abdul Karm et al. Example 1: Car acceleratng data Table 1. Car Acceleratng Tme (second) Velocty (m.p.h.) 5 3 36 4 5 5 59 Here we apply cubc splne nterpolaton on [,3], [3,4] and [4,5]. Thus we have three (3) pecewse cubc splne nterpolaton that satsfes condton () untl (6) above. The cubc splne nterpolaton s gven as follows: 3 1.93 x 11.58x 3.3x 8.58,,3 3 f ( x) 4.67x 47.83x 146.0x 169.68, 3, 4 (10) 3.73x 40.96x 09.11x 303.804,5 Fgure 1 shows the cubc splne nterpolaton for data lsted n Table 1 above. Fgure : Cubc Splne Interpolaton Car Acceleratng

Cubc splne nterpolaton for petroleum engneerng data 5087. PCHIP PCHIP s ntated by Frstch and Carlson [8] and later these methods have been extended by Frstch and Butland [9] for local control of the nterpolatng curves. PCHIP functons can be defned as follows: For xx, x1, 1,,..., n 1, px s a cubc polynomal whch can be represented as follows: p x f H f H h D H h D H (11) 0 1 3 1 1. Where D px, j, 1 and H, k 0,1,,3. are the usual cubc Hermte bass functons gven j k by H 0 x 1, H3 x, H 1 and H3 and 1 wth 3 3 3, and x x, 0,1. h x x, h PCHIP have been used for monotoncty-, postvty- and convexty-preservng data nterpolaton by Frstch and Carlson [8] and Frstch and Butland [9]. They derved the suffcent and necessary condton for the PCHIP to be monotonc on entre gven nterval of data that to be nterpolated. Orgnal cubc Hermte splne cannot guarantee to preserves the shape of the gven data. Thus 1 PCHIP wll guarantee to preserves the shape of the gven data wth C contnuty..3 Examples of Cubc Splne Interpolaton and PCHIP To show the dfferent between nterpolatng the gven data sets by usng (a) cubc splne and (b) PCHIP, we use the famous data sets taken from Frstch and Carlson [8] gven n Table. Ths data s comng from LLL radochemcal calculaton. Example. PCHIP and cubc splne nterpolaton 1 3 4 5 x 7.99 8.09 8.19 8.7 9. f 0 0.00007649 0.0437498 0.169183 0.46948 6 7 8 9 x 10 1 15 0 f 0.94374 0.998636 0.999919 0.999994 Table. Interpolaton data from Frstch and Carlson [8]

5088 Samsul Arffn Abdul Karm et al. Fgure 3. Interpolaton usng cubc splne (dashed) and PCHIP (green). Clearly PCHIP preserves the geometrc shape of the data e.g. monotoncty. But from Fgure 3, the nterpolaton curves are overshoot and not very vsual pleasng. Even though cubc splne nterpolates the gven data wthout preservng the monotoncty of the gven data, the fnal nterpolatng s very smooth and n the cases where the geometrc shape of the data s not a crteron n nterpretng the ol and gas data, so cubc splne s more sutable compare to PCHIP. More detals on comparson between cubc splne nterpolaton and PCHIP can be found n the forthcomng monograph by Karm []. 3. DATA COLLECTION AND EXPERIMENTAL SETUP Nowadays, drllng become more challenges day by day. One of the technologes that have been ntroduced to mprove drllng operaton s casng whle drllng technque. Ths technque s usng casng to drll the well nstead of the drll ppe that usually use n conventonal drllng. Thus, t wll save the tme and cost from the trppng tme. Recently, casng drllng can only be used n shallow depth and soft formatons. Because hgh stress caused by the hard formaton wll lead the damage of the casng. So, desgn of the casng need to be analyzed carefully to gve the best drllng performance. Data that has been collected for ths report are measured depth, rate of penetraton (ROP), and drllng flud flow and pump pressure. All of the data are mportance because ts need to be accurate durng the plannng to am for a successful drllng operaton. The sze of the casng s 9-5/8 n and the depth of the well that has been drlled by ths technque s about 3401 ft. Now we

Cubc splne nterpolaton for petroleum engneerng data 5089 arrved at the man objectve of the paper to use cubc splne nterpolaton and PCHIP for Petroleum Engneerng data. The comparson between both splne also wll be dscussed n detals. 4. NUMERICAL RESULTS AND DISCUSSION In ths secton, we wll dscuss the applcaton of cubc splne nterpolaton and PCHIP to nterpolate the Petroleum Engneerng data. We dscussed three examples (1) Measured Depth vs Torque () Measured Depth vs Pump Pressure and (3) Measured Depth vs Flud Flow. Example 3: Measured Depth vs Torque Torque measurement s mportant n drllng because too much torque wll leads to the nablty to reach the target. Fgure 4. PCHIP Interpolaton (Measured Depth vs Torque)

5090 Samsul Arffn Abdul Karm et al. Fgure 5. Cubc Splne Interpolaton (Measured Depth vs Torque) Fgure 6. Combned Interpolaton (Measured Depth vs Torque): cubc splne (blue), PCHIP (red) and lnear splne (green).

Cubc splne nterpolaton for petroleum engneerng data 5091 Example 4: Measured Depth vs Pump Pressure Pump s used to pump the drllng flud nto the well whle drllng. Pump pressure can determned the pressure nsde the well. It needs to be measured accurately to avod any problem such as gas kck or blowout happened. Fgure 7: PCHIP Interpolaton (Measured Depth vs Pump Pressure) Fgure 8: Cubc Splne Interpolaton (Measured Depth vs Pump Pressure)

509 Samsul Arffn Abdul Karm et al. Fgure 9: Combned Interpolaton (Measured Depth vs Pump Pressure): cubc splne (blue), PCHIP (red) and lnear splne (green) Example 5: Measured Depth vs Flud Flow Flud flow n the well s beng measured to prevent any formaton flud flows nto the well because f the f the flud has been nvaded, t wll consdered a kck and wll lead to blow out of the well s not shut-n.

Cubc splne nterpolaton for petroleum engneerng data 5093 Fgure 10: PCHIP Interpolaton (Measured Depth vs Flud Flow) Fgure 11: Cubc Splne Interpolaton (Measured Depth vs Flud Flow)

5094 Samsul Arffn Abdul Karm et al. Fgure 14: Combned Interpolaton (Measured Depth vs Flud Flow): cubc splne (blue), PCHIP (red) and lnear splne (green). The followng algorthm can be used for data nterpolaton by usng PCHIP and cubc splne nterpolaton. Data nterpolaton algorthm 1. Input the nterpolaton data x, f, 1,,..., n 1.. (a) For cubc splne nterpolaton do the followng: () Calculate the cubc splne coeffcents for each nterval () Form cubc splne nterpolaton functon for each nterval x, x1, 1,,..., n 1. ()Generate the cubc splne nterpolaton that can be used to nterpret the gven data. (b) For PCHIP do the followng: () Calculate the new dervatve (from suffcent and necessary condton that gven n Frstch and Carlson [8] and Frstch and Butland [9]) for each nterval. () For 1,,..., n 1, Construct the PCHIP nterpolaton functon for each nterval x, x1, 1,,..., n 1.

Cubc splne nterpolaton for petroleum engneerng data 5095 5. ERROR ANALYSIS In ths secton we wll dscuss the error analyss for both splnes; cubc splne nterpolaton and PCHIP. We use three data sets taken from true functon x f x 8, f ( x) e x x and 10 f ( x) cos ( x) respectvely. Table 3, Table 4 and Table 5 summarzed the error analyss for data nterpolaton by usng PCHIP ( P x) and cubc splne ( S x) for all three functons. For the error measurements we use (1) Absolute error and () Root Mean Square Error (RMSE) gven by the followng formula: RMSE = n 1 y yˆ N. (1) where y s a true data and x f( x ) S( x) P( x ) S( x) f ( x) ŷ s a observed data and N s a total number of data. ( S( x) f ( x)) P( x) f ( x) ( P( x) f ( x)) 0.0-8.00-8.00-8.0000 0 0 0.00000 0.000000 0. -7.96-7.96-7.9440 0 0 0.01600 0.00056 0.4-7.84-7.84-7.790 0 0 0.04800 0.00304 0.6-7.64-7.64-7.5680 0 0 0.0700 0.005184 0.8-7.36-7.36-7.960 0 0 0.06400 0.004096 1.0-7.00-7.00-7.0000 0 0 0.00000 0.000000 1. -6.56-6.56-6.6160 0 0-0.05600 0.003136 1.4-6.04-6.04-6.0880 0 0-0.04800 0.00304 1.6-5.44-5.44-5.450 0 0-0.0100 0.000144 1.8-4.76-4.76-4.7440 0 0 0.01600 0.00056.0-4.00-4.00-4.0000 0 0 0.00000 0.000000. -3.16-3.16-3.1867 0 0-0.0670 0.000713.4 -.4 -.4 -.600 0 0-0.0000 0.000400.6-1.4-1.4-1.400 0 0 0.00000 0.000000.8-0.16-0.16-0.1467 0 0 0.01330 0.000177 3.0 1.00 1.00 1.0000 0 0 0.00000 0.000000 3..4.4.187 0 0-0.0130 0.000454 3.4 3.56 3.56 3.5360 0 0-0.0400 0.000576 3.6 4.96 4.96 4.9440 0 0-0.01600 0.00056 3.8 6.44 6.44 6.4347 0 0-0.00530 0.00008 4.0 8.00 8.00 8.0000 0 0 0.00000 0.000000 SUM 0 0 0.0000 0.009 Table 3. Error for f x x 8

5096 Samsul Arffn Abdul Karm et al. x f( x ) S( x) P( x ) S( x) f ( x) ( S( x) f ( x)) P( x) f ( x) ( P( x) f ( x)) 0.0.000.000.000 0.000000 0.000000 0.000000 0.000000 0..403.453.03 0.049895 0.00489-0.00106 0.04004 0.4.84.876.589 0.05751 0.00783-0.3449 0.054873 0.6 3.84 3.318 3.118 0.0336 0.001106-0.165838 0.0750 0.8 3.811 3.8 3.748 0.011018 0.00011-0.06308 0.003979 1.0 4.437 4.437 4.437 0.000000 0.000000 0.000036 0.000000 1. 5.00 5.07 5.37 0.007066 0.000050 0.036866 0.001359 1.4 6.150 6.181 6.47 0.030100 0.000906 0.096600 0.00933 1.6 7.346 7.403 7.491 0.056435 0.003185 0.144635 0.00919 1.8 8.859 8.90 8.993 0.060305 0.003637 0.133605 0.017850.0 10.778 10.778 10.778 0.000000 0.000000-0.00001 0.000000. 13.10 13.059 13.155-0.15087 0.0749-0.05497 0.003017.4 16.86 15.984 16.403-0.30753 0.091659 0.116547 0.013583.6 0.168 19.807 0.50-0.360876 0.1303 0.33414 0.111639.8 5.049 4.784 5.431-0.6594 0.070381 0.381607 0.14564 3.0 31.171 31.171 31.171 0.00006 0.000000 0.00006 0.000000 3. 38.85 39.4 38.900 0.398440 0.158754 0.074540 0.005556 3.4 48.368 49.197 49.471 0.88500 0.68641 1.10900 1.16388 3.6 60.37 61.346 6.381 1.109731 1.31503.144431 4.598585 3.8 74.96 75.98 77.14 0.96531 0.931671.161831 4.673513 4.0 93.196 93.196 93.196 0.000000 0.000000 0.000000 0.000000 SUM.53011 3.337638 6.009535 10.94376 Table 4. Error analyss for f ( x) e x x 6. CONCLUSIONS Ths paper dscussed the use of cubc splne nterpolaton and PCHIP for Petroleum Engneerng (PE) data nterpolaton. The man dfferent between both cubc splne s ther contnuty. From the numercal results, we can be concluded that there s trade-off between the order of contnuty and the shape of the fnal nterpolatng curves. Cubc splne nterpolaton gves much more smooth nterpolatng curves compare to the nterpolatng curves by usng PCHIP. The nterpolatng curves by usng PCHIP tend to overshoot on certan gven nterval. Ths fact can be explaned through ther contnuty as well as PCHIP tend to modfy the frst dervatve n order to preserves the shape of the gven data. Overall both cubc splne works well for all tested data sets. Error analyses by usng PCHIP and cubc splne for data nterpolaton also have been dscussed n detals. The author s n the fnal stages to proposed new ways to compute the frst dervatve values. Any such a fndng wll be publshed n our forthcomng paper. We wll report the related fndngs n our forthcomng papers.

Cubc splne nterpolaton for petroleum engneerng data 5097 x f( x ) S( x) P( x ) S( x) f ( x) ( S( x) f ( x)) P( x) f ( x) ( P( x) f ( x)) 0.0.000.000.000 0.000000 0.000000 0.000000 0.000000 0..403.453.03 0.049895 0.00489-0.00106 0.04004 0.4.84.876.589 0.05751 0.00783-0.3449 0.054873 0.6 3.84 3.318 3.118 0.0336 0.001106-0.165838 0.0750 0.8 3.811 3.8 3.748 0.011018 0.00011-0.06308 0.003979 1.0 4.437 4.437 4.437 0.000000 0.000000 0.000036 0.000000 1. 5.00 5.07 5.37 0.007066 0.000050 0.036866 0.001359 1.4 6.150 6.181 6.47 0.030100 0.000906 0.096600 0.00933 1.6 7.346 7.403 7.491 0.056435 0.003185 0.144635 0.00919 1.8 8.859 8.90 8.993 0.060305 0.003637 0.133605 0.017850.0 10.778 10.778 10.778 0.000000 0.000000-0.00001 0.000000. 13.10 13.059 13.155-0.15087 0.0749-0.05497 0.003017.4 16.86 15.984 16.403-0.30753 0.091659 0.116547 0.013583.6 0.168 19.807 0.50-0.360876 0.1303 0.33414 0.111639.8 5.049 4.784 5.431-0.6594 0.070381 0.381607 0.14564 3.0 31.171 31.171 31.171 0.00006 0.000000 0.00006 0.000000 3. 38.85 39.4 38.900 0.398440 0.158754 0.074540 0.005556 3.4 48.368 49.197 49.471 0.88500 0.68641 1.10900 1.16388 3.6 60.37 61.346 6.381 1.109731 1.31503.144431 4.598585 3.8 74.96 75.98 77.14 0.96531 0.931671.161831 4.673513 4.0 93.196 93.196 93.196 0.000000 0.000000 0.000000 0.000000 SUM.53011 3.337638 6.009535 10.94376 Table 5. Error analyss for 10 f ( x) cos ( x) Bl 1 3 Root Mean Square Absolute Error Error (RMSE) Functon Cubc Cubc PCHIP PCHIP Splne Splne f ( x) x 8 0 0 0.031 0 6.01.5 0.7 0.40 f ( x) e x x 10 x 1.31 1.9 0.14 0.0 f ( x) cos ( ) Table 6. Comparson of error between cubc splne and PCHIP From the Table 6, the absolute error and root mean square error (RMSE) of cubc splne nterpolatons s less than the error by usng PCHIP nterpolaton for functon f ( x) x 8 and

5098 Samsul Arffn Abdul Karm et al. f ( x) e x 10 x whle for the functon f ( x) cos ( x), the absolute and RMSE of the cubc splne s hgher that the PCHIP nterpolaton. Ths s due to the fact that at the knots Generally the cubc splne nterpolaton wll gve less error compare to the PCHIP nterpolaton. ACKNOWLEDGMENT The authors would lke to acknowledge Unverst Teknolog PETRONAS (UTP) for the fnancal support receved n the form of a research grant: Short Term Internal Research Fundng (STIRF) No. 35/01. REFERENCES 1. Karm, S.A.A. and Yahya, N. (013). Seabed Logng Data Curve Fttng usng cubc Splnes. Appled Mathematcal Scences,. Karm, S.A.A. Data Interpolaton, Smoothng and Approxmaton usng Cubc Splne and Polynomal. (014). Book manuscrpt. 3. Akma, H. A new method and smooth curve fttng based on local procedures. J. Assoc. Comput. Mech. 17:589-60. (1970) 4. Bartels, R. H., Beatty, J. C. and Barsky, B. A. (1987). An Introducton to Splnes for use n Computer Graphcs and Geometrc Modelng, Morgan Kaufmann Publshers. 5. Bézer, P. Numercal Control: Mathematcs and Applcatons, Wley, New York. (197). 6. Derckx, P. Curve and Surface Fttng wth Splnes. (1996). Oxford Unversty Press, New York. 7. Farn, G. Curves and Surfaces for Computer Aded Geometrc Desgn. (00). A Practcal Gude. 5 th Edton, Morgan Kaufmann. 8. Frtsch, F.N. and Carlson, R.E. Monotone pecewse cubc nterpolaton. (1980). SIAM J. Numer. Anal. 17: 38-46. 9. Frtsch, F.N. and Butland, J. (1984). A method for constructng local monotone pecewse cubc nterpolants. SIAM J. Sc. and Statst. Comput. 5: 300-304. 10. Wang, Y. Smoothng Splnes: Methods and Applcatons. (01). (Chapman & Hall/CRC Monographs on Statstcs & Appled Probablty), Chapman and Hall/CRC, 01. 11. Hansen, P.C., Pereyra, V. and Scherer, G. Least Squares Data Fttng wth Applcatons. (01). The Johns Hopkns Unversty Press (December 5, 01). Receved: Aprl 5, 014