Download Microcomputer Simulation of the Transient Flow of Real Gas through
Transcript
A THESIS SUBMITTED TO THE DEPARTMENT OF PETROLEUM ENGINEERING AND COMMITTEE ON GRADUATE STUDIES OF STANFORD UNIVERSITY IN PARTIAL FULFILLMENT OF THE FOR THE OF ENGINEER By Francois Joseph Groff June 1992 I certify that I have read this thesis and that in my opinion it is fully adequate, in scope and in quality, as partial fulfillment for the degree of Engineer. HeqfcrflTRamey, Jr. / j/ (Principal Advisor) I certify that I have read this thesis and that in my opinion it is fully adequate, in scope and in quality, as partial fulfilment for the degree of Engineer. Roland N. Home Approved for the University Committee on Graduate Studies: 11 Dedicated to My Alice My father Robert My Genevieve, Norman and Adegboyega. In some way, you all made this work possible. 111 Acknowledgments I would like to express my gratitude to Dr. Henry Ramey, Jr. for Ms suggestions and guidance during this study. His profound kindness has made this work possible. I also thank Dr. Roland Home for serving on the committee for this thesis. I finally extend my gratitude to Jean Cook from the Stanford Geothermal Program, and to the Department of Petroleum Engineering at Stanford for and encouragement This work was supported by the Stanford Geothermal Program (SGP) under Department of Energy contract No. DE - F607 - 90ED12934 and by the Schlumberger Corporation through the Schlumberger Fellowship for Earth Sciences at Stanford. This support is gratefully acknowledged. IV Abstract An interactive program that lets users study the flow of real gas through porous media under a graphic environment has been presented. The program treats high velocity flow accurately so that it is not mistaken for formation damage. A rigorous treatment of welbore storage is also a major departure from traditional well test models. A mathematical model written by Fligelnian in 1981 is the foundation of this project. The program presented here, with its graphic capabilities places results at the user's fingertips. This program can be used in activities to perform sensitivity analysis. It can also be used as a working tool for well test design or well test interpretation. Finally, it can be used as an educational tool for all the tasks just mentioned. Table of Contents Page Dedication Acknowledgment Abstract Table of Contents list of Tables list of Figures iii iv v vi viM ix 1. Introduction 1 1.1 Previous Work 1.2 Turbulent How 1.3 WeEbore Storage 3 4 4 2. Mathematical Model 5 2.1 Turbulence Effect 2.2 Formation Damage 2.3 Initial Condition 2.4 Inner Boundary Condition 2.5 Outer Boundary Condition 2.6 Dimensionless Quantities 2.7 Resulting Equations 2.8 Comments on the Finite-Difference Simulation 6 7 7 7 8 8 10 11 3. Programing Language and Development Features 13 4. User Manual for REAL GAS FLOW 4.1 Installation 4.1.1 Configuration 4.1.2 Setting Up 4.1.3 Starting Up 4.1.4 A Quick Guide to REAL GAS FLOW 4.2 Overview 4.2.1 Methodology 4.2.2 Main Menu Bar 4.2.3 File Types 4.2.3.1 Files Created by a User 4.2.3.2 Files Created by REAL GAS FLOW 4.3 Setting Up the Data 4.3.1 Main Data File 4.3.1.1 Opening an Old Main File 4.3.1.2 Creating a New Main File 4.3.1.3 Detailed Description of Each Field 4.3.2 Flow Rate File 4.4 Running the Simulation 14 14 14 15 16 16 17 17 19 19 20 20 21 21 22 25 27 31 32 VI 4.4.1 Running the Right Case 4.4.2 During the Simulation 4.5 Plotting Results 4.5.1 Plot Menu 4.5.2 Overview 4.5.2.1 Opening an Output File 4.5.2.2 Plotting the Data 4.5.2.3 Using the Cursor Utility 4.6 Special Features 4.6.1 Using Field Data 4.6.1.1 Setting Up the Field Data 4.6.1.2 Plotting Field Data 4.6.2 Creating Type Curves 4.6.2.1 Background 4.6.2.2 Creating One Type Curve 4.6.2.3 Building a Library of Type Curves 4.7 Printing 4.7.1 Printing Directly 4.7.2 Printing with CLIPBOARD 4.8 Leaving REAL GAS FLOW 4.9 Computing Aids 32 32 33 33 33 33 36 38 40 40 40 41 42 43 43 44 47 47 47 47 48 5. Using RGF as a Weil Test Interpretation Tool 49 6. Conclusions 56 Nomenclature References 57 60 Appendix A. Appendix B. Appendix C. Appendix D. Computation of Gas Properties Flow Chart of Fortran Code Source Code of Fortran Program for Flow Simulation Source Code of C Program for User Interface Vll 64 69 72 88 List of Tables page Table 4.1 Simulation Time on Various Computers 14 Table 4.2 Summary of Main Input Data File 26 Table 4.3 Data File for Library of Type Curves Generated by RGF 45 Table 5.1 Pressure History for Synthetic Field Data 51 Vlll List of Figures page Fig. 2.1 Radial How Model 5 Fig. 4.1 Main Structure of REAL GAS FLOW 17 Fig. 4.2 Input Parameter Window to Oeate and Display Main Input Files 21 Fig. 4.3 OPEN Window to Access Files on Disks 23 Fig. 4.4 Example of File for Sensitivity Analysis, with k=10mD 24 Fig. 4.5 Example of File for Sensitivity Analysis, with k=100mD 25 Fig. 4.6 Choice of Available Plots for Viewing Results 33 Fig. 4.7 OPEN Window to Access Output Files Stored on Disks 35 Fig. 4.8 Typical Log-Log Plot with REAL GAS FLOW 36 Fig. 4.9 Typical Graph of Both Log-Log and Derivative Plots 37 Fig. 4.10 Superposition of Log-Log Plots from Two Different Output Files 38 Fig. 4.11 Using the Cursor Utility to Pick Points on a Graph 39 Fig. 4.12 Superposition of Field and Synthetic Data 42 Fig. 4.13 Example of Combination of Five Type Curves to Build a Library 44 Fig. 5.1 Plot Fitting Field Data and Simulated Data by Trial and Error, Log-Log Plot 52 Fig. 5.2 Plot Fitting Field Data and Simulated Data by Trial and Error, Semi-Log Plot 53 Fig. 5.3 Non-Linear Regression Fit of Synthetic Field Data on Generated Type Curves 55 a[p/z(p)l Fig. A.I Wellbore derivative —? £ Vs Bottom Hole Pressure for y = 0.9 d[p/z(p)J IX 68 1. Introduction This section presents the purpose of tMs study and previous studies. The initial objective of early studies was to investigate pressure-dependent wellbore storage for Mgh drawdown gas wells. The project described in this report is primarily concerned with improving gas well test analysis by providing an interactive graphic-driven software usable by all engineers. The main goals are to investigate the effects of wellbore storage, sMn, and high-velocity flow on real gas transient pressure during drawdown or injection tests. Drawdown tests are performed on gas wells to determine the flow capacity, kh, of the formation, the condition of the wellbore and high-velocity flow parameters. Eilerts (1964) and Eilerts et al. (1965) solved real gas flow for linear and radial reservoirs with inclusion of real gas and turbulence. (1961) observed that the sMn effect for gas wells often appeared to depend upon flowrate. Tek et al. (1962) and Swift and Kiel (1962) presented a fundamental for this observation: Mgh-velocity flow could cause a pseudo-skin effect in the region near a gas well. The language used when describing the mechanism that consumes energy at more than a linear rate with velocity is not consistent in the literature. The term used in flow equations (generally known as P) also has been given various names. Ramey (1965) and Agarwal et al. (1970) defined Mgh-velocity flow as non-Darey flow which can be treated as a flow-rate dependent skin effect. Firoozabadi and Katz (1979) argued that the term "non-Darcy flow" was not specifically descriptive. The same was said for defining Darcy flow for low velocities and an inertia regime for higher velocities, since the inertia effects are always present. Firoozabadi and Katz proposed to n adopt the term "high-velocity flow" to describe the condition where neglecting ppv calculates less pressure drop than would occur, and "velocity coefficient" to describe p instead of "turbulent factor" or "inertial coefficient". Fligelman et al. (1989) adopted the term "non-Darcy flow effect" defined as a pseudo-skin DqgC that is not simply an additional term as are the other skin factor components. Although high-velocity flow was studied in this paper, we will refer to this effect as "turbulence" for convenience. Wellbore storage, skin effects and high-velocity flow were considered in a numerical solution for transient gas well test analysis for one-dimensional flow by Fligelman (1981). This solution is the starting point for this project. The effect of high-velocity flow near a wellbore can be detrimental to the producing capacity of a gas well. The calculation of conductivity for cases of high flow rates using conventional semilog graphing yields values which are lower than the true formation conductivity. Turbulence if not properly identified, can be mistaken for formation damage and can lead to serious in the interpretation. Using a constant weEbore storage model to analyze test data exhibiting changing storage may lead to large errors in the estimation of the damage. In the case of a drawdown with storage, when plotted on a log-log of the real gas pseudopressure, time, a shifting of the conventional graph one wellbore constant to a greater value might occur. As these would involve a high pressure drop of several thousands psi, it was beMeved changing wellbore was responsible for this behavior. This led to Fligelman's (1981) model wherein wellbore storage is treated rigorously. In a similar model developed by Wattenbarger (1967), wellbore storage was not treated accurately. A modern, interactive tool for investigating these important effects was needed. The objective of this project was to provide a numerical simulation for the isothermal and horizontal flow of real gas from a well through a homogeneous and isotropic formation on a personal computer, under a graphic environment. It is assumed that the gas flow in the formation is properly represented by a Forchheimer (1901) type equation. The weEbore boundary condition is a specified surface flow rate. The exterior boundary condition is either constant pressure, no-flow across the boundary, or infinite acting. A major concern was to provide others involved in research activities and students with a software package as easy to use as possible, in order to produce future results, and/or design weE tests. The software can also be used in future studies of other systems, as in geothermal engineering, for instance. Specific goals for the program were to aEow a user to compare synthetic weE tests with each other, compare field data and synthetic data, create libraries of type curves from synthetic well tests, obtain graphic representation of synthetic data as soon as the simulation is over, and finaEy, have easy access to past data. 1.1 Previous Work Van Everdingen and Hurst (1949) published analytical solutions to the diffusivity equation for radial systems. Many solutions were available as Laplace transform inversion integrals and could not be expressed in term of elementary functions. The first ideal gas flow solutions were published by Aronofsky and Jenkins (1952) and Jenkins and Aronofsky (1953). They introduced computer techniques to solve non-linear gas flow equations, followed by Brace et al. (1953). Cornell and Katz (1953) graphically integrated the differential equation for ideal gases and included the effects of turbulence. Van Everdingen (1953) and Hurst (1953) introduced the skin effect, later generalized by Wattenbarger (1967) by including a damaged annular region adjacent to the well. Smith (1961) studied the effect of flow rate on drawdown testing and Swift and Kiel (1962) and Tek et al. (1962) explained Smith's as due to flow. Ramey (1965) considered the combined effects of turbulence, wellbore storage and skin damage. Matthews (1961) presented an early comprehensive paper on pressure buildup analysis, and later Matthews and Russell (1967) published an SPE monograph on well testing, concentrating mainly on liquid flow. Until 1960, most gas flow studies concerned ideal gas. Carter et al. (1962, 1963a, 1963b) and later Russell et al. (1966) solved real gas flow problems and presented approximate methods for correcting ideal gas solutions to include real gas properties. An important step was taken by Al-Hussainy et al. (1966a, 1966b) who introduced the real gas pseudo-pressure concept. Following Wattenbarger (1967), Fligelman (1981) used this concept to investigate short term drawdown tests where the exterior boundary does not influence the flow behavior at the well. Fligelman's program solves a non-linear partial differential equation that resulted from the consideration of various parameters, simultaneously or not. This work considered a constant rate inner boundary for the infinite reservoir case. Couri (1987) used Fligelman's approach to verify classical correlations in the gas engineering literature that did not consider the effects of wellbore storage, skin, and turbulent flow simultaneously. Couri also considered only drawdown cases. 1.2 Turbulent Flow Turbulent flow causes an extra pressure drop at the well which can be mistaken for well damage. Forchheimer (1901) added an additional term to Darcy's law to include the increased pressure drop. According to Hubbert (1956) and Houpert (1959), what is referred to as a "non-Darcy" component does not correspond to the classical of turbulent flow, but is caused by convective accelerations of fluid particles in passing through the pore space. Most experiments indicate that true turbulence occurs at Reynolds number values at least one order of magnitude higher than the Reynolds number values at which deviation from Darcy's law for laminar flow is observed. All experiments have confirmed the general applicability of the Forchheimer type of flow equation. Turbulence factors for the Forchheimer were by Cornell and Katz (1953). Katz and Coats (1968) a of the turbulence coefficient as a function of permeability for the consolidated sandstones, dolomites and limestones. Additional experiments by Fkoozabadi and Katz (1979) showed differences in slopes between correlations for consolidated media and unconsolidated media. 13 Wellbore Storage The effect of wellbore storage was considered by Van Everdingen and Hurst (1949) and termed the "annulus unloading" effect. It was further investigated by Ramey (1965, 1970). Agarwal et al. (1970) presented a storage and skin type curve. Others presented several other type curves thereafter. See Earlougher and Kersch (1974). Ramey and Agarwal (1972) presented an analytical solution for a step change in wellbore storage. Hegeman et al. (1991) presented an analytical model in Laplace space representing increasing or decreasing wellbore storage during well testing for a variety of well / reservoir models. They investigated exponential and error function time dependence to represent changing wellbore storage, and considered buildup tests to demonstrate utility of their results. We consider details of Fligelman's (1981) model in the next section. 2. Mathematical Model A schematic of a radial flow model is shown in Fig. 2.1: Figure 2.1. Radial Flow Model The assumptions made by Fligelman (1981) were: 1. Horizontal radial flow, no gravity effects. 2. Isotropic rock properties. 3. Gas saturation at 100% of pore volume. 4. Isothermal flow. 5. Constant porosity value. 6. Newtonian fluid behavior. 7. No Klinkenberg effect. 2.1 Turbulence Effect High-velocity, non-Darcy effects were represented by the Forchheimer equation transformed into a modified Darcy's law form by Swift and Kiel (1962). u -.- (2.1) Sr is a radial Darcy's law correction factor that is equal to unity for laminar flow, and less than unity for turbulent flow. (2.2) 1+ is the Katz, et al., (1959,1968) turbulence parameter: 23.83 (2.3) L201 In the computer program, the velocity ur for the Forchheimer equation is calculated through an iterative method: M RT k u, =• 2pp(p) (2.4) 2.2 Formation Damage We assume an annular damaged region around the well with an altered permeability Iq and radius rj: S=s (2.5) of course many combinations of rj and Iq can provide the same sMn effect, s. 2.3 Initial Condition The initial condition is that the pressure throughout the circular system at time zero is equal to a constant: p =P i ; t = O s r w < r < r e (2.6) Or, in term of pseudopressure: m(p) = m(pi); t = 0, rw <r<r e (2.7) 2.4 Inner Boundary Condition We assume a constant surface production rate. In this case, a material balance on the wellbore leads to: in which: T Cnfn\ =r- Jg PscT 1 fi(p) am(p) k 2 3t (2.9) and: [5. 3m(p)l Sir ^F l L 3r Jr=r qf S (2.10) 2.5 Outer Boundary Condition The outer boundary is circular. The condition for the infinite outer boundary is: (2.11) If a no-flow condition is imposed at the outer boundary: thn(p) =0 ; t >0 (2.12) r=r 2.6 Dimensionless Quantities The partial differential equation describing flow was transformed into a dimensionless form using: Dimensionless time: (2.13) Dimensionless pseudo-pressure for constant mass rate: sc (2.14) Dimensionless rate: (2.15) Dimensionless wellbore storage: T3[p/z(p)]' T 3[p/z(p)] (2.16) Dimensionless distance: (2.17) Dimensionless diffusiviry: (2.18) 2.7 Resulting Equations After substitution and rearrangement, the various flow equations and conditions are: In the undamaged zone: 1 3 dm D (%»trj) , ^ .. r = --aD[mD(ib,tD)J (r D ,to) (2.19) In the damaged zone: 1 3 1D dr r^1D(r /-».D,t*D)J^ =- -—a/v D[m (2.20) Initial condition: (2.21) At the interface between damaged and undamaged zones: (2.22) 10 The inner boundary condition is: d p/z(p)] =1 dtD (2.23) _3[p/z(p)]_ The outer boundary conditions are: For the infinite acting case: (2.24) For the no-flow condition: (2.25) 2.S Comments on the Finite-Difference Simulation The equations described were transformed into a finite difference form by Fligelman (1981). Although a time-weighting factor can be used with simulation, all runs are made with a fully-implicit scheme. The simulation runs with a dynamic time step. In order to study early time flow accurately without wasting computing time after the transient period, the incremental time step is always taken as 10% of the lowest time value inside a log cycle. 11 Another important point is the selection of the radial space coordinates. In order to cover the entire reservoir while focusing on the near-well effects, a logarithmic scale was used with the following transformation: (2.26) At early time, the outer reservoir radius is very small. When the pseudopressure at the outer limit is affected by production, v is doubled, which means that the external radius is squared. This provides a large number of points near the wellbore where pressure gradients are large, and fewer mesh points further from the well. We consider programming in the next section. 12 3. Programming Language and Development Features The code was developed on a personal computer. The numerical model written in FORTRAN reads the input parameters, computes the gas properties, solves the gas flow equations and computes the results in a "pixel" format ready to be ^aphed. The interface program that manages the screen and the windows with the use of the mouse and graphic tools such as push-on buttons and pull-down menus is written in C language and compiled with the Windows software development kit. This program performs the acquisition of the main input parameters, calls the FORTRAN simulator through a "shell" command, opens and reads ASCII files containing the results of the simulation, plots graphs on the and sends plots to the printer. The choice of FORTRAN was straightforward because Fligelman's (1981) program used by Couri (1987) written in FORTRAN for a mainframe computer. The C programming language has had a large impact on the computing world in the last seven years. It allows to write code for both very simple and very sophisticated applications. It modular program design, with an extensive set of instructions and capabilities. Finally, many of the programming features of Windows were designed with the C language in mind. The choice of Windows was also straightforward since this program has become a standard tool for most corporations. Windows is a graphic-based, multitasking windowing environment that runs under MS-DOS. Applications written for Windows have a consistent appearance and command structure that makes new Windows programs easy to use. In order to write programs for Windows, the software development kit provides an abundance of built-in subroutines that allow easy implementation of pop-up menus, scroll bars, dialog boxes, icons, and many other features of a user-friendly graphical interface. The next section presents a user manual for the program. 13 4. User Manual for REAL GAS FLOW This user manual is arranged in the order of the operations a user is most likely to perform. Section 4.1 describes how to initiate the program. Section 4.2 presents an overview of REAL GAS FLOW. Section 4.3 describes how to arrange the input data. Section 4.4 explains how to run the simulation. Section 4.5 describes how to plot the results. Section 4.6 special features available with the program. Finally, Section 4.7 two for printing, Section 4.8 pinpoints a few details relevant to leaving the application, and Section 4.9 introduces two computing aids with Windows. 4.1 Installation The hardware configuration is presented and followed by a guide to set up and start the program. 4.1.1 Configuration REAL GAS FLOW was designed to run on any IBM PC or compatible with a processor 286 or higher (386/486), 16 Mhz or more. A math coprocessor (8087 or higher, 287/387) is not required, but recommended because of the matrix manipulation during the simulation. 2 MB of RAM is enough to use the application, even though Windows is commonly used with 4 MB. Table 4.1 shows simulation time for a drawdown test ran on different configurations of computers. Run-time is sensitive to both processor type and frequency. [The well was flowed for 1000 hours or 40 days. All computers were equipped with math coprocessors.] Darcy Flow NonDarcy Flow 286-6 Mhz Smins 12mins 386-1 6Mhz 486~25Mhz 2mins 4mins Smins 7mins Table 4.1. Simulation Time on Various Computers REAL GAS FLOW is a "Window application", and Windows 3.0 or later is required, and so is a mouse. All actions during the program execution are triggered by using the left button on the mouse. Finally, a graphics adapter/monitor either color or monochrome is required. 14 There is no specific memory requirements for REAL GAS FLOW as long as Windows is installed. REAL GAS FLOW can also be run from a floppy disk drive, but this practice is not recommended because of disk-access time. 4.1.2 Setting Up REAL GAS FLOW is provided on a disk with a group of example files. The executable files are RGF.EXE and FRANC.EXE. All other files on the disk are not required to run the program, but are provided to give the user a better understanding of the program by looking at old synthetic gas well tests. RGF.EXE and FRANC.EXE must be copied into the working directory and remain there at all times. To avoid building huge directories, it is recommended that sub-directories be created with old tests. Old synthetic data can be retrieved and processed by REAL GAS FLOW independently of their location on the hard disk or any floppy disk. To install the program and the examples in a directory called RGF: 1. Insert the RGF floppy disk in drive A 2. Go into the disk or directory where RGF is to be created 3. Type: mkdirRGF 4. Type: cd RGF 5: Type: copy A:*.* Files for REAL GAS FLOW have been named in a way that makes it easy for a user to organize the working directory. When we design a new well test, a name for the test must be defined, for example: EXAMPLE. All data files related to the test EXAMPLE will differ only by their three character extensions : EXAMPLE.FLR is the flow rate history file; EXAMPLE.ACT is the pressure history file at the active well, and so on. More on the different files used by REAL GAS FLOW is presented in Section 4.2.3. After having made a backup copy of the disk provided and copied all files and especially RGF.EXE and FRANC.EXE in the working directory , REAL GAS FLOW must be set up into "program manager ". Using the mouse, click on WINDOWS SET UP inside the MAIN folder of program manager, then click on OPTIONS and select SET UP APPLICATIONS. Select the hard disk on which the working directory is located and then run the search by clicking OK. This can take a few minutes depending on the number of applications on the disk. After the search, select RGF.EXE on the left window in the dialog box, click on ADD and then OK. RGF will be added, with its recognizable icon as a window application. At this point of course, it can be moved into any group. 15 4.1.3 Starting Up REAL GAS FLOW can be started from the program manager window by doubleclicking on its icon. At this point, the main menu will fill the entire screen. REAL GAS FLOW can also be started under the DOS environment by going into the working directory and typing the command: WIN RGF. 4.1.4 A Quick Guide to REAL GAS FLOW Before learning more about the program, users will familiarize themselves with REAL GAS FLOW (RGF) by using a first example. The following example files have been provided on the disk: GUIDE.MAI and GUIDE.FLO. The following instructions should be followed: Start the program. Click on INPUT in the main menu bar. Click on OPEN inside of the new window. Select GUIDE.MAI in the working directory and press OK. The main parameter input file is now displayed. Click on OK at the bottom of the window. Click on RUN in the main menu bar. The simulator is now running in a DOS window for a few minutes. Click on OUTPUT in the main menu bar. Select GUIDE. ACT in the working directory. Click on OK in both messages on the screen. Click on PLOT MENU in the main menu bar. Select Log-Log plot. Click on GRAPH in the main menu bar. The results of the simulation are now displayed. Click on ERASE in the main menu bar. The user should now have a basic understanding of the software capabilities. 16 4.2 Overview This section provides an overview of REAL GAS FLOW. The methodology followed by the program is presented, the main menu bar is introduced, and a description of the files used during a simulation is provided. 4.2.1 Methodology After starting RGF, the main menu bar appears on the screen. The process is self explanatory. Figure 4.1 shows the arrangement of the major components of REAL GAS FLOW. Callold files Input Parameters Run Simulation ^ Prepare Field data file for comparison Create type curve for AUTOMATE Plot and Erase Open "Results11 files for plotting Figure 4.1. Main Structure of REAL GAS FLOW The first task is to input all the parameters which are relevant to the test we intend designing. Clicking on the INPUT button provides a window (or dialog box) where the 17 characteristics of the well and the reservoir, the gas properties and the flow considered must be defined. At this point, we can decide if we wish to compare field data with the computed data produced by the program, and also whether computed results should be stored as a future custom type curve for the AUTOMATE well test interpretation software. Instead of inputting a new set of parameters from scratch, an old test can be called and opened. This can be done to verify parameters from old tests, or to modify a parameter from a previously-run test design in order to perform a sensitivity analysis. Once the list of input parameters is filled, it can be automatically saved by simply clicking on an OK button. Furthermore, a control one that we cannot move on and save the input file if a critical parameter has been accidentally omitted. The second task is to run the by clicMng on the RUN button in the main menu bar. Windows 3.0 will open a DOS window, and perform the calculations. Run-time will vary from computer to computer, depending on the processor. During computation, a message is displayed in the DOS window giving information on the of the simulation. The simulator also prepares field data files (if any) so they can be displayed on the screen and compared with computed data. Finally, the simulator will save the results in a custom type curve for AUTOMATE (if required), and messages will appear on the screen for this purpose. The next logical step is to view the result of the simulation. Clicking OUTPUT in the main menu Bar gives access through a dialog box to the content of any directory on the hard disk or any floppy disk. An output file from the last simulation, or any old simulation can be loaded by selecting the desired file in the appropriate directory and clicking OPEN in the dialog box. A set of messages informs us that the computer is loading the file and when this task is completed. By clicking PLOT MENU on the main menu bar, we have a choice of different plots ranging from a simple rate history plot to straight line analysis or log-log plots. Graphs can be plotted on the screen, superposed, or erased by using the two remaining buttons in the main menu bar. 18 4.2.2 Main Menu Bar The use of the six main buttons on top of the screen when the program is started was explained briefly in the previous chapter. A quick summary follows: INPUT: Calls a dialog box that allows one to design a new well test or call an old one. RUN: Run the FORTRAN simulator in a DOS window. OUTPUT: Allows user to select output files in any direction in order to create graphs on the screen. PLOT MENU: Present a Mst of nine different graphs. GRAPH: Execute the plotting of data on the screen. ERASE: Clears the screen, leaving only the main menu Bar. The ERASE button can be used at any moment if the user wishes to clear the screen. The top title inside the screen heading reads REAL GAS FLOW when the program is first started. This heading will change throughout the use of the program to include the title of a graph when a plot is made, and the name of the output file that is being graphed. 4.23 File Types All files used by REAL GAS FLOW are ASCH files. All the files related to the same simulation will have the same name and will differ only by the three-digit extension. Some files are created by the program while others must be created by a user. 19 4.23.1 Files Created by a User Let's suppose we are working on a well test design named TESTL We must create a file TEST1JFLO containing the rate history using an editor. The details for all input files will be found in Section 4.3; Setting Up the Data. If we wish to compare the computed data from the simulation with field data, we must provide the program with a pressure history file named TESTLPRS. 4.23.2 Files Created by EEAL GAS FLOW The first file that RGF will create is the parameter input file called by clicking the INPUT button in the main menu bar. This parameter file is saved by RGF under TEST1.MAL Hie most important file containing graphic information from the simulation data produced by the program is TESTL ACT for all data related to the active well. This file is the largest one used by the program, and will require on the average 10 to 20 Kbytes of memory, depending on the duration of the test. Finally, if a file TESTLPRS was provided by a user in order to compare computed and field data, a new file TESTLFLD will be created by RGF containing graphic information related to the field data. Also, if RGF is asked to generate a custom type curve to be used with AUTOMATE, a file TESTLMSG will be created containing the type curve, as well as other relevant information. At all times when RGF is used, an internal file MPUT.FEL requiring 10 bytes of memory will appear on the working directory. This file is very small, and can be ignored or deleted by a user because it will be recreated as needed by the program. For each test design there will be between four and eight files on the working directory depending on the different options selected. 20 43 Setting Up the Data In order to create the rate history file, a user will require an editor under DOS that saves data in ascii format. The same goes for the field pressure history file if needed. The main data file (TESTLMAI) presented in detail in the next chapter does not require the use of an editor since it is created by RGF. 4.3.1 Main Data File After starting REAL GAS FLOW, a user should press the INPUT button in the main menu bar. This action produces a dialog box on the screen with the heading: "Parameter Input" as in Fig. 4.2. Real Gas Flow Title: Main file: Gas gravity; Initial res. press, (psia): Rate data file: H2S (fr): Type of test* Outer boundary: Boundary radius (ft): Damaged zone radius (ft): Well radius (ft): Weil depth (ft): Thickness (ft): C02 ffr): Skin factor: Initial N2 (fr): California or condensate gas: Reservoir Temperature (F): Weil-head Temperature (F): Weilbore volume: permeability (rnD): Turbulence fy/n): Perm = ffPJ (y/nj: Own perm file: Field data file: Automate curve (y/n) Porosity (fr): Prod/obs distance (ft): Figure 4.2. Input Parameter Window to Create and Display Main Input Files There are 24 parameters that should be considered, plus a title that is optional. There are three action buttons in the dialog box: OK, CANCEL, and OPEN. 21 OPEN: Opens a second dialog box displaying the content of a directory. This directory will be refered to as the active directory. Selecting a file (with the extension .MAI) in this second window will display it in the parameter input window. OK: Accepts the parameter presently displayed in the dialog box as input data for the next run of the simulator. These could be freshly entered or could come from an old file with the use of the OPEN button. OK will validate the display and make the dialog box disappear. The parameter file will be saved automatically in memory inside the active directory. OK will save all files in the active directory. Therefore the active directory and the working directory should be the same in to run a simulation. If some parameters have been omitted intentionally or accidentally, pressing OK will produce an error message. CANCEL: Closes the parameter input window without saving any file, and goes back to the main menu bar. 4.3.1.1 Opening an Old Main File A main file can be opened in order to be displayed for changes or to run a simulation. A user can display any main file on the template on the by clicking OPEN in the parameter input window. The new OPEN window will display all in the active directory. To limit the list to the main files only, the user can type *.mai in the text box instead of *.* and then click on OPEN or by Mtting the ENTER or RETURN key on the keyboard. Only *.mai files will be displayed in the list box. If there are more choices than can fit the list box, scroll bars are provided so that the mouse can be used to move up and down the list. Changing the active directory will show a weakness of the Windows environment: the user must possess a slight knowledge of the DOS environment. One alternative to Change Directory is to type the entire path for the new directory inside the text box. For example, if the present active directory is, as in Fig.4.3 D:\we\francois\newtest\* .mai a user can type in the text box: D:\we\johnNdoe\* .mai to have access to this set of files. 22 Parameter Input Title: Main file: Rate data file: Wi^^SBHS^^i^KfliiiWitoaBBtiliiliMHHSB Ope n File Manie: InWiil ility (mC nee (y/ni): Type of test Outer b oundary: *.mal Eloundary radius (ft): Dama ged zone radius p); WeHr adius (ft): (ft): Welh Files in Thidciness (ft): Par osity (fr): F*rod/obs dist;inee (ft): Initial »s. [psiiil: dn facto r: d:\we\francois\newtest •~ Iran fake fake Jld test.act n xyz 1 ,m»i inpu M tfii OT W i perm fil e: § ^ S§ \ data fl e: irvc (y/inj: I ps Hri wri Figure 4.3. OPEN Window to Access Files on Disks An alternative is to type in the text box: D:\*.mai and use the mouse to select the successive subdirectories by double-clicking on them. Once a user is in the desired directory, the quickest way to select a file is to double-click on its name. Old main files can be used to run the simulator if old result files have been lost or erased. However the most useful aspect of displaying old main files is to be able to perform sensitivity analysis. This can be done by displaying an old main file, changing one input parameter (permeability for instance) and saving the new input file under a name that is slightly different from the previous one. Figures 4.4 and 4.5 show two main files using the same rate data file. The two files differ only by the value of permeability (10 and 100) and by their name. 23 Figure 4.4. Example of File for Sensitivity Analysis, with k=10mD 24 Perm = f|PJ (y/nj: Own perm file: Field data file: Figure 4.5. Example of File for Sensitivity Analysis, with k=100mD Once an old file is displayed inside the parameter input window, clicking on OK will save the displayed file in the active directory and, if and only if, the active directory is also the working directory (that contains RGF) will the simulator be able to run. This is an area where caution is required because distraction can lead to running the simulator with an unwanted input file. 4.3.1.2 Creating a New Main File In order to run a new simulation, a main file must be created. The well test can be designed by trial and error, and RGF permits one to perform sensitivity analysis in an easy fashion. Table 4.2 is a practical summary of the 24 fields required to complete the file. 25 Name of Field Meaning Unit expected title main file rate data file type of test outer boundary boundary radius damaged zone radius well radius well depth thickness porosity gas gravity CO2, H2S type of gas reservoir temperature well head temperature wellbore volume initial reservoir pressure skin factor permeability turbulence field data file Automate type curve title of test to run main input file name rate data file name drawdown or injection defines external boundary external radius optional 1 to 8 letters 1 to 8 letters letters letters feet feet feet feet feet fraction fraction fractions letters Fahrenheit Fahrenheit cubic feet psia dimensionless mD yes / no 1 to 8 letters code: 0, 1 or 2, . . pay zone thickness relative gravity to air gas impurities . . - skin damage average in reservoir consider or not name of file if applicable create or not Table 4.2. Summary of Main Input Data File To fill up a file, the mouse must be used to move from one field to another, clicking into the box of the field to enter next. The order in which the fields are entered is irrelevant. Only the title is optional. All other fields are required Both lower case and upper case can be used when creating a file, as long as the is consistent! For instance, both "drawdown" and "DRAWDOWN" would be as type of test, but "Drawdown" would be rejected. The program uses only oil field units. To save a main file that has just been created, the user should press the OK button. The file will be saved in the active directory (again, this is the directory shown when clicking on OPEN in the parameter input window or on OUTPUT in the main menu bar.) 26 We cannot overemphasize the point that in order to run the simulation, the main file must be in the working directory. The working directory is the directory that contains RGF.EXE. Saving a main file will add the extension .MAI to whatever was entered in the main file field. If the user wishes to call a test TEST123, RGF will automatically save the main file as TEST123.MAL If a file TEST123.MAJ already exists in the directory, RGF will write over it! If the user presses CANCEL instead of OK, the parameter input window will disappear, and all parameters currently entered will be erased from the screen without being saved. Also RGF cannot be minimized (upper right arrow on window applications) while the parameter input window is on the screen. Finally, we should be aware that under the Windows configuration, all characters do not require the same space on the screen. For instance an "m" will require more than three times the space of an "i". On the average, eight characters should fit in each field box, but a box that can accept fourteen "i" characters will accept only four "rn" or seven "a" characters. When choosing names for the different data files, remember that DOS requires that spaces or periods are excluded as characters. 4.3.1.3 Detailed Description of Each Field (1) TITLE—This field is optional, and can contain any type of character. It is useful to a user, in order to remember specific runs, dates, or well locations. (2) MAIN FILE—This is the filename under which the input parameters will be saved, with the addition of the extension .MAI. Any character can be used except periods or spaces, with a maximum of eight characters. (3) RATE DATA FEJE-Requirements are the same as for the main file name. The user should give the name of the file they previously created under a DOS editor, and saved with an extension .FLO. Example: NAME .FLO. The rate data file must be saved or copied in the working directory as well as all other relevant input files in order for the simulator to run. 27 (4) TYPE OF TEST-In the future, Buildup test or multirate test could be added to REAL GAS FLOW. In the present version, only drawdown and injection tests can be run. The user should therefore write INJECTION or DRAWDOWN getting as many letters in the box as possible. A drawdown is defined as a flowing period where at time zero the pressure is constant and identical at all points throughout the reservoir. (5) OUTER BOUND ARY-lTiree options exist. The program checks only the first two letters of the input, but as many letters can be used as wiU fit in the box. Infinite Acting: Hie program checks on: IN. No Flow: The program checks on: NO. with: The condition for the infinite outer boundary is: lim M- m(p) = m(p i ) ; t > 0 (4.1) If a no-flow condition is imposed at the outer boundary: dm(p) =0 ; t > 0 (4.2) (6) BOUNDARY RADIUS-If the outer boundary condition is no flow or constant pressure, a radius must be provided in feet In the case of infinite acting, an entry such as zero ("0") should be made. (7) DAMAGED ZONE RADIUS-This field concerns a cylindrical zone around the wellbore altered by the drilling process which has a permeability different from the reservoir. A damaged zone radius in feet is required. If there is no damage, a radius of zero ("0") is required. (8) WELL RADEJS-A value in feet is required. (9) WELL DEPTH-This value is required to compute the gas properties table in order to compute wellbore storage. A value in feet is required. 28 (10) THICKNESS—The reservoir is modeled as a constant thickness circular layer. A value in feet is required. (11) POROSITY-Enter fractional porosity between 0.01 and 0.8. (12) GAS GRAVTTY-The specific gravity of the gas compared to air at standard conditions is required. (13-14) The concentration of the gas impurities N2, CO2, and H2S should be entered as fractions. Values should therefore be between zero and 1.0. (15) TYPE OF GAS~This information is required in order to select the proper Standing (1977) correlation. RGF performs a test on the first letters of the information provided. The user is encouraged to write as many letters as possible in the field box. California: The program checks on: Condensate: The program checks on: CAL CON (16) RESERVOIR TEMPERATURE-A temperature value in degrees Fahrenheit is required. The simulated flow by RGF is isothermal. The temperature value is used both in the flow equations and to generate the gas properties table. (17) WELLHEAD TEMPERATURE-As for the reservoir temperature, a degree Fahrenheit value is required. This parameter is used to compute the temperature gradient in the well. The temperature is required to compute weUbore storage. (18) WELLBORE VOLUME-The wellbore volume between the pay zone and the surface is required in cubic feet. This value is used to compute wellbore storage, and therefore the inner boundary condition. As presented in Eq. 2.16, the dimensionless wellbore storage is: CD = T 3[p/z(p)] T 3[p/z(p)] 29 (4.3) (19) INITIAL RESERVOIR PRESSURE -This is the pressure in psia at any point in the reservoir before the flowing period. (20) SKIN FACTOR—This value is dimensionless and reflects the formation damage around the weU. If k is the permeability in the reservoir and Jq the permeability in the damaged region, the skin factor s is defined in Eq. 2.5: s= _i (4.4) (21) PERMEABILITY-This is the constant permeability in mD of the homogeneous reservoir. (22) TURBULENCE—A yes or no answer is required here. RGF checks only the first letter and looks for a y or an n in either upper or lower case. YES means that turbulence effects will be included by RGF in the Forchheimer equation. NO means that the flow wiH follow Darcy's law. (23) FIELD DATA FDLE-TMs field asks for the name of a time/pressure file allowing the user to compare field test data with the computed results from a simulation. More is presented on this feature in Section 4.4.1. If field data is to be used, the data file must be created by the user with an editor under DOS before starting the program. As with other data files, the field data file should be saved in the working directory with the extension JPRS. Example: NAME.PRS. In the parameter input window, the file name should be provided without the extension. If field data will not be used, a space (blank) should be entered in the field box in order to and leave the input parameter screen. (24) AUTOMATE TYPE CURVE-Creates user-made type curves to be used with the AUTOMATE-II Computer-Aided Well Test Analysis package. It is possible to build a library of type curves in order to match field data, or to run a non-linear regression. The requirements for this field are: Enter "0" if the user doesn't want a type curve to be saved from the simulated results. Enter "1" for a standard ppjj versus trj type curve, where the estimated parameters in AUTOMATE will be k, the permeability, and $ the porosity. Enter "2" for a storage type curve ppD versus tjyCrj where the estimated parameter in AUTOMATE will be k, the permeability, and C, the storage factor. 30 More on this utility will be found in Section 4.6: Special Features. 4.3.2 Flow Rate File Some conventions must be adopted. (1) Time zero is the time at which the well starts flowing. (2) All time data are in hours. The flow rates will be in Mcf/D. It is mandatory to have a flow data point at time zero since we need to specify at what time the well started to flow. A typical flow rate data file for a constant rate drawdown test is: 0.0 500. 5000. end This means that the well flows at 5000 Mcf/D from time zero for 500 hours. If the user is familiar with AUTOMATE, the same drawdown on AUTOMATE would have a rate data file like: 0.0 5000. RGF requires one more line in order to tell the simulator when to stop. This means that any rate data file already created for AUTOMATE can be used by adding a second line containing a time and "end" or "stop" instead of a rate. Notice the free format for the data file. The data can appear in any column in any format, provided that there are only two numbers (a time and a flow rate) on each line. It is important to provide RGF with a final Mne that specifies when to stop computing. To find an easier way to modify data files under Windows without having to go back to the DOS environment, please refer to Section 4.9: Computing Aides. 31 4.4 Running the Simulation Clicking on RUN in the main menu bar wiU ran the simulator. The main issue is: what case is being run? A second point concerns the various messages on the screen during the simulation. 4.4.1 Running the Right Case There should be no uncertainty as long as the user gives special attention to the next few steps: (1) Make sure that the main data file is created and saved in the working directory. is always the case if the active directory and the working directory are identical. This (2) Be aware that the main file that will feed the simulator is the last one that was OK'ed before pressing RUN. (3) Make certain that all files required for a specific simulation to ran are available in the working directory. (4) Double check values and units in the main data file before saving it by pressing OK. 4.4.2 During the Simulation MS Windows 3.0 runs the simulator in a DOS window. The window will display periodically what fraction of the computation has been completed. A simulation ends by informing the user that "Everything went fine" and that "Data are now being stored for graphics". If all data files have been set accordingly, the only error message that might appear on the screen is to inform the user that with the parameters provided, convergence toward a solution is not possible. Mistakes made while editing the input data files can end the simulation prematurely. In this case the final message will not appear on the screen. This is a sign for the user to double check input files, beginning with their location in the proper directory. Once a simulation is completed, the screen returns to the main menu which appears when RGF is first started. 32 4.5 Plotting Results Nine different graphs can be obtained from the results by the push of a button. To get a Hst of the graphs, press on PLOT MENU to get the screen shown in Fig. 4.6. The Homer plot and the Hne source solution are not accessible but have been placed in the menu for future development. Log-Log Rot Log-Log Derivative Plot Cartesian Plot Homer Plot Dimensionless Semi-Log Plot Pressure History Plot Line Source Solution Plot Rate History Plot Figure 4.6. Choice of Available Plots for Viewing Results 4.5.1 Plot Menu (1) Miller Dyes Hutchinson: Semi-log plot of pseudopressure in psia versus time in hours (2) Log-log : Log-log plot of log(Amp) in psia versus log(At) in (3) Log-log derivative: hours Log-log plot of At log(9mp/3At) in psia versus log(At) in hours 33 For the computed data from the simulator, the derivative is a simple forward first degree finite-difference calculation with no attention to noise reduction. (4) Cartesian: Cartesian graph of normalized pseudopressure in psia versus time in hours The normalized pseudopressure for this plot is: This is an excellent way to express the pseudopressure because a unit of pressure is obtained. This expression was introduced by Meunier et al. (1987) and is also presented in Home (1990). (5) Homer: (6) Dimensionless: dimensionless time trj/lO^. 2.14. (7) Pressure history: (8) Line source solution: (9) Rate history: 4.5.2 Not accessible Semi-log plot of dimensionless pseudopressure versus The dimensionless variables are described by Eqs. 2.13 and Cartesian plot of pressure in psia versus time in hours Not accessible Cartesian plot of rate in Me^Dversus time in hours Overview Any output file containing results from simulation can be opened to create graphs on the screen. The following two describe how to open an output file and plot the data on the screen. A third section introduces the use of a cursor to pick points on a graph. 4.5.2.1 Opening an Output File RGF treats files from the current simulation and those run in the past in the same manner. To select a file for plotting, go to the main menu bar and press the OUTPUT button. 34 An OPEN window similar to that for input files appears on the screen as in Fig. 4.7. The pressure response data at the active well for a simulation where the main file was EXAMPLE.MAI will be found in the file EXAMPLE. ACT. RGF created this file in the working directory at the end of a simulation. Using the file manager utility of Windows 3.0, a user can move the output files (with an extension .ACT) to different directories or sub-directories for storage. Loo Derivative Plot. Output tile : xyzl O.mai Files in d:\we\francois\nevrtest Figure 4.7. OPEN Window to Access Output Files Stored on Disks To open a file, the procedure is the same as for opening a main file. It can be easier to view the available files by typing *.ACT in the text box instead of *.*. The user can move up or down in the tree of directories and change disk drive to search for old files, and can cancel the search by pressing CANCEL with the mouse. 35 Pressing OPEN after having selected an output file with the mouse will load the data into the graphics subroutine and will trigger two messages that require the approval of the user by clicking on OK with the mouse. Hie two messages are: "About to read & convert data points. This may require a few seconds to process." and "Completed reading of output file." The screen will then go back to the initial main menu bar. RGF is now ready to graph results. IMPORTANT: INPUT and OUTPUT show the same active directory. If output files are selected in a directory different from the working directory, the user should make certain that the next time a main file is created, it is saved in the working directory. 4.5.2.2 Plotting the Data Once an output file has been selected, select a specific plot by clicking on the plot menu, and clicking on the GRAPH button as in Fig. 4.8. The ERASE key everything on the screen except the main menu bar. It can be used to view different graphs in sequence. It is also possible to superpose two or more graphs on the same screen. 88-Sxl Delta mp vs. delta time [hours] 1000 1E+02 1E+01 1E+00 .1 .001 1E-02 1E-01 1E+OD 1E+01 Figure 4.8. Typical Log-Log Plot with REAL GAS FLOW 36 1E+02 1000 Since different plots have different scales, only the log-log plot and the log-log derivative plot are meaningful to display together. To do this, select the output file, then select one plot in the PLOT MENU, press GRAPH, select the second plot in the plot menu and press GRAPH again. The screen should display a graph similar to Fig. 4.9. Delta mp vs. delta time (hours) 1000 1E+02 1E+01 1E+00 .1 .001 1E-02 1E-01 1E*00 1E+01 1E+02 1000 Figure 4.9. Typical Graph of Both Log-Log and Derivative Plots RGFs ability to superpose plots from different output files is useful in order to compare results in the case of a sensitivity analysis. An unlimited number of plots can be superposed so as to see the influence of one parameter on well test results. If two runs were made with two different skin factors, s=+2 and s=+10, the output files would be SKM2.ACT and SKIN10.ACT. Let's assume we wish to see a log-log plot for both files. First select skm2.act with the OUTPUT button, then select log-log plot in the 37 PLOT MENU and click on GRAPH. The first plot is now on the screen. Using the OUTPUT button again, select skinlO.aet, click on GRAPH again, and the second plot appears. See Fig. 4.10. There is no need to go to PLOT MENU since RGF kept in memory that the last selection was LOG-LOG. This can be done repeatedly if more than two plots are desired. Superposing plots for comparison is meaningful only if the scales are the same. This is almost always the case when a sensitivity analysis is performed. On the other hand, two very different well tests would not be comparable, because the plot scales could be different Delta mp vs. delta time (hours 1000 10002 10+01 1E+00 .001 .01112 .1E-01 1E+00 10002 1000 Figure 4.10. Superposition of Log-Log Plots From Two Different Output Files 4.523 Using the Cursor Utility Once a plot is on the screen, clicking once with the mouse anywhere inside of the plot area will draw a cursor. Whenever the mouse is clicked, the cursor will reposition itself at the very tip of the arrow. Holding the left button of the mouse down, the cursor can be dragged on the screen. 38 As soon as the cursor appears on the screen, the x and y coordinates of the intersection between the cursor and the plotted curve are printed on the upper right side of the screen. For example, on Fig. 4.11, the cursor shows the maximum of the derivative curve at delta(mp)=30.03 psia^/cp and time=0.23 hours. l||i:<lRiW X : 0.238iBI Cur. Y .* 30.0331 Delta mp vs. delta time (hours) 1000 100 /• ~^\ v__ / / s*~ 10 1 / 1 .001 .01 .1 10 100 1000 Figure 4.11. Using the Cursor Utility to Pick Points on a Graph This cursor allows a user to compute the slopes of straight lines in a rapid fashion. When more than one curve is plotted at the same time, the cursor will show coordinates relevant to the last curve plotted on the screen. It is therefore important to remember which one that was! 39 4.6 Special Features This section describes two features available with RGF. First, the procedure to compare field data and computed data is presented. The remaining sections introduce the generation of type curves for use with other well test analysis programs such as AUTOMATE. 4.6.1 Using Field Data An overview of the process of comparing field and computed data from a simulation follows. A user creates a data file of and pressure data from field measurements in the working directory. This file will have a name, and an extension .PRS. The name will be listed in the main file. RGF will read NAME.PRS and convert it into a graphic file: NAME.FLD ready to be graphed("FLD" for "field"). It is important to declare the name of the field data file in the main file each time a run is made in order for RGF to check that all data will be plotted with the same scale. 4.6.1.1 Setting Up the Field Data A pressure file must be in pairs of numbers, one pair per line, with time in hours and a pressure in psia. Again, free format is used. We require that the file contains no more than 500 lines in order to Emit computing and plotting time. A typical part of a file for a drawdown would look like: 0.01 0.05 0.1 0.2 0.8 1.0 10 100 4507 4505 4490 4485 4480 4473 4460 4450 40 For users familiar with AUTOMATE, the same pressure files can be used for both programs. However RGF does not require a pressure point at time zero. A user should be certain to input an accurate initial pressure value in the main file before the simulation. Writing the pressure file, it is very important not to leave blank lines at the end of the file as RGF will read them as pairs of zeros. When a pressure file has been provided to compare field and computed data, a message appears in the DOS window at the end of the simulation telling the user that the field data is being converted in order to be plotted. 4.6.1.2 Plotting Field Data All field data files to be plotted will have an extension .FLD. These files can be handled the same way as the output files from a simulation. To select a file, go to OUTPUT and make the selection in the working directory. Then use PLOT MENU, GRAPH, and ERASE, the same way as for all other files. For instance, field data and simulated data can be superposed as on Fig. 4.12. Unlike simulated data that is graphed in blue as a continuous function, field data will be shown in green or red in large points as a discrete function. A second difference with the way field data is handled by RGF lies in the computation of the derivative. As presented in Home (1990), in order to reduce the noise in the shape of this derivative, only data points that are separated by at least 0.2 of a log cycle are used, rather than points that are immediately adjacent. The derivative can be written as: ap aint at ( ln(t i+j t H /tf)AFfc 41 ln(ti+j/ti)APi_k .;$£at;ti^ Delta mp vs. delta time [hours] 1000 1E+02 1E+01 1E+00 .001 1E-02 1E-01 1E*00 1E+01 1E+02 1000 Figure 4.12. Superposition of Field and Synthetic Data 4.6.2 Creating Type Curves The following procedure is based on the use of the AUTOMATE Well Test Analysis package, but similar software that uses user-installable type curves could have been used. A useful complement to this section is the AUTOMATE-n user manual (any version), and especially Appendix D: User installed type curves. 42 4.6.2.1 Background AUTOMATE allows a user to enter their own type curves for plotting and/or matching. To do so, the type curve must be digitized in a standard format file. This is the task that Real Gas Flow wiU perform. The name of this file must be included in the message file: DIGITIZE.MSG mat is inside the AUTOMATE working directory. Modifying DIGITIZE.MSG can be achieved under DOS with any editor. The format for the type curve input data file must be rigorously observed. This requires no action by the user since RGF will write the entire file. The correct format is nevertheless presented in detail in the AUTOMATE manual, in case the user decides to make custom changes. In addition to the digitized type curve, AUTOMATE requires a minimum of 12 parameters related to the scales and legends of the plots. To use the installed type curves, CUSTOM CURVES must be selected inside the AUTOMATE menu, followed by DIGITIZED TYPE CURVES. An automated match can also be performed by DIGITIZED TYPE CURVES from the Mst of available models. 4.6.2.2 Creating One Type Curve As presented in section 4.3.1.3, three entries related to a type curve can be made in the main file before a simulation is ran: 0" if no type curve is desired 1" for a standard pwp versus t£j plot 2" for a storage p j j versus tryCfj plot In all cases, both the pseudopressure and the derivative curves will be provided. If a simulation is run from TEST1.MAI, the type curve file will be: TEST1.MSG. Additionally, the curves will be marked by their respective value of CD.eA2s at their end, CD being defined in Eq. 2.16. Again, for one type curve only, a user does not need to know the content of the type curve file NAME.MSG. But plotting field data against a unique type curve is 43 definitely not enough to analyze a test fully. It nevertheless gives a user a good idea of how the field and the simulated data compare. 4.6.2.3 Building a Library of Type Curves This task is more difficult since it requires a user to "paste" type curve files together. Therefore, a good knowledge and understanding of the content of files is required. See the AUTOMATE manual. The physical task of putting files together is simple and not time consuming. It must be done in DOS. Figure 4.13 shows a simple Mbrary of five type curves. The type curve data file for this particular pair of curves is presented in Table 4.3 and should be studied. Delta mp vs. delta time (hours] 10000 1000 100 10 .001 .01 .1 10 100 1000 1000 Figure 4.13. Example of Combination of Five Type Curves to Build a Library A type curve file with derivative values has the following structure: 44 o^^^^*^eooooopooooopo»n^^^oi»m^«^»«»-i«w»^wo*«*»»«»»«»«^w<r'»n---«1^--<'W'r«r*g»*f*pt*lfct^**f*t*iige»»p»*if** § 0© oo ©o P S» © #«O«^tft9W0C>OOQOOOOOOOOf&QO*WM^^in«^iP*^W P p© § in » ** ^iKf*in«piKfcr*i»&r-r'^wirtr«i^itt*r*pr*«w«»«*w f»j<iiB«stt*»lK*w'WWW*or*. N » i P v i f t W © ! ^ w « w v « » « i f t < * p * f & f * l * ^ W * * f t < w w ««M<rtftw»iAi*>«i4i r»»inowf*i*int*pKM&isf*t»wwaniininff»iftirt « •* 5- «« «***•* »"t «»*( § O* Oo OIn ir>«wM!>*rw»c>**i^(«or*' © w ^ » r v S p f * * > ^ * n * P t ^ v w » w p » w t * i ^ # « * » * 0 ^ f * w * ^ o t ^ &»ewitt«©Kw»w^es(^r*w*w«»f^.**©*K«*i&f*#t»i«mir*«*w»^««ri^ 5* § § fa S«£S©355l!if2§!^^ § C»oo •n^«vw«nwoooopopooooooooowc^mr^««^tiW(9inNi^vM^«sif^«nf^rto 5 Oo ^fr-.*^ 1 r.^^^o^^ §gg§ 5 858PZ g8S8S§§§8g88§888§8S888§§8§888888S8888§888§1 888888§ g § 8 8o ^ t % * i n ' * * f t i f j * » F ^ « i » t * . w « ' f v o » fw w«s*o»woocc'eoooor'Ooooooooooooo c 8 oOoOo O* ~ * r* » * o JD w^w^^^^rsi»^»^!KeroKo»sc»oo^wr«»^inr^r^o»»is»^o»»i«>w'm»^.*r»>»wS ^iftOW^IBift^WlSt^O^OWW^^^l^W^^^Wf^WWWI^wWWIOln^^ *"t(Hf"*WWl«**f <RiB*^«»P*©«WWfSOtB**WOOOOOOOO0QOQ *n t-trswrnwirii^cicr-aB^o •o I <o U I S i O ^ r s i n v D n O O O O O O O O O O O O O O O O O O C O O O O O O O O O O O O O O O D O O O O O O O O O O O r - » « » - « 5 « - r - . r - » ^ » ^ r - i m ' » m O O O O O O O O O O O O C O C 3 O C - O O D O O O D O D O D O O O O O O O g g | | | | | § | | | | | | | | | g g g g I Q CO «^^«<rinp^iBinir^v«^wmcstoin^^nNriwi^ief^vw»»oo»^ X) ib S ^ O«?-»O»»-OOOOOOO l O O O O O O O G O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O i B 0 ^ 2 * « ^ ' - « £ * » ^ * 2 « « w j r p P O £ O O o o 0 e e « » o © g © o o o o o o © o o © o o o o o o © o o o o © f^^«^wp^v«^mt^iBr^winp«^wftvf^^inctpp^^vMm«^©^*wvf«Sr^ * QOOOOC» Seoooooooeoooooo OOOOOOO W O W r v W W O O O O O O O O O O 45 SooooS o o o o o e o e o o o OOOOOOOOOOO <line 1 to 12> : <Hne 13ton+13>: <next Hnes> : <next n Mnes>: <last Mnes> : 12 parameters Data points for the curves: tj> Ppj)l, PpD^» etc.. All curves must have the same number of points and share the same time values. Parameters related to the curve labels. Data point for the derivative curves. They must have the same number of points as the curves. Parameters related to derivative curve labels. Under DOS, a short program is required to read the data points from each individual type curve file and to rewrite them as in the AUTOMATE manual.. All other parameters were edited manually when needed. Going into AUTOMATE, field data can be plotted with the library of type curves by performing a manual match with the "type curve" command, after selecting "digitized type curves". A nonlinear regression can also be run with any library of type curves using the "automatch" function of AUTOMATE. The result can be displayed with the function "plot match". 46 4.7 Printing There are two ways to print from RGF. It is possible to print a graph of the data using the PRINT button provided by RGF, or a hard copy of the entire screen can be made at any using the CLIPBOARD utility of Windows. 4.7.1 Printing Directly Printing directly from RGF to either a postscript file or to a printer is possible and easy. Clicking on the PRINT button in the main menu bar will print the content of the plotting box on the screen. PRINT doesn't send a hard copy of the screen to the printing device. Therefore, it does not print the input parameter window that displays main files for instance. PRINT a to the printer the way the was to the screen. Therefore, only the last plotted curve will be printed. To print a superposition of curves (when comparing field and synthetic data for instance), or to print a hard copy of the screen, a Windows accessory called CLIPBOARD must be used. 4.7J Printing with CLIPBOARD The CLIPBOARD utility is embedded into Windows. CLIPBOARD does not need to be opened or activated in order to be used, as long as it is present in the Windows directory. To produce a hard copy of any screen, press the PRMTSCREEN button on the keyboard (sometime PTSCR). The screen is stored into the CLIPBOARD. It can be pasted into any of the following programs: MS Word, Excel, or PowerPoint using the EDIT menu. At this point it can be sent to a printer. 4.8 Leaving REAL GAS FLOW RGF can be exited at any time by double-clicking on the upper left square button. Two relevant issues when leaving the program are: Saving important files, and cleaning the working directory. 47 All files created by RGF are automatically saved in the working directory. After using RGF, it is recommended to save batches of test results under related names in specific directories or subdirectories. Remember that when reusung old tests, the main input files (as for the flow rate files and field data files) must be put back into the working directory. Before leaving the working directory, one should remove unnecessary old input and output files. All files *.AAA and INPUT.FIL which are temporary files for RGF can be removed also. 4.9 Computing Aids It is recommended to open a FILE MANAGER window in RGFs background in order to copy files between directories and sub-directories. This is an easy way to insure that all needed are in the working directory before running a simulation. NOTEPAD, one of the Windows accessories, can be used as an editor. All NOTEPAD files are also text files. The objective is to have easy access under Windows to files with the following extension: *.FLO Flow rate files *.PRS Pressure files for field data *.MSG Type curve dam files in order to edit them. To do so, a user must start the FILE MANAGER, go into the Windows directory and double-click on the file "win.ini11. A file called NOTEPAD-WW.INI will appear. In the [extensions] section, the following lines should be inserted: flo=notepad.exe A.flo msg=notepad.exe A.msg prs=notepad.prs A.prs If win.ini is saved, and the computer rebooted, any files with the extensions specified will be accessible for editing as text files under FILE MANAGER. The next section shows an example of the use of RGF as a tool for well test analysis. 48 5. Using RGF as a Well Test Interpretation Tool A major application of the software is to design well tests. Another application is to have an interactive tool with which sensitivity analysis can be performed. But RGF can also be used as a tool for interpreting field test data, especially when software based on traditional models shows poor confidence limits. For a high velocity and high pressure drop well test, changing weUbore storage, changing turbulence coefficient, or a combination, can cause a poor interpretation. Another cause of poor interpretation may result from a poor estimation of the initial pressure in the reservoir before the start of flow. In this example, an associate created a set of synthetic field data with RGF, and submitted a pressure history file, a data file, and additional concerning the reservoir and the well completion to an associate (the analyst). This should simulate the analysis of a field test, where permeability and skin would be the unknowns. The objective was to determine whether an analyst could find the permeability and skin by plot-fitting the synthetic field data and a succession of data simulated by trial and error with the help of RGF to find a satisfactory match. REAL GAS FLOW offers a variety of graphs to choose from. Experience showed that a satisfactory way to perform the match, which was a time consuming task, was to follow these directions: Plot fit with the log-log graph first. Plot fit next with the combination log-log and derivative graph. Check the coherence of the solution with a semi-log plot Hke MDH. AUTOMATE (or a similar well test program) was helpful in finding estimated values of permeability and skin effect before starting with RGF. 49 The case studied was the following: Flowrate of 10,000 Mcf/D for 1,000 hours or 42 days Infinite acting case, no external boundary Damaged region of three feet around the wellbore Wellbore radius of 0.333 feet Pay zone of 15 feet Wellbore Depth of 20,000 feet. We considered a wellbore volume of 10,000 cubic feet. The porosity was 15%, the gas gravity 0.9, and the reservoir temperature 375 °F. The initial reservoir pressure before the start of the flow was 8,000 psia. Part of the synthetic field data produced by RGF is presented in table 5.1. AUTOMATE gives the following solution for this test: Permeability k=12 mD +/- 3%. Total sMn = 4.4 +/- 5.5%. A manual plot fit is a time consuming task, but experience will allow a user to anticipate how to change permeability and skin effect to affect the position of the plots on the screen of REAL GAS FLOW. The fastest way to perform a manual fit is to perform a sensitivity analysis with one parameter at a time; permeability first, then skin effect, then permeability again, and so on. 50 Time Pressure 0 0.001 8000 7997 7991 0,0027 0.0044 0.006 0.0077 0.012 0.025 0.04 0.052 0.066 0.08 0.1 0.24 0.37 0.5 0.64 0.77 1.91 3.58 5.24 6.91 8.24 10.8 24 37.5 50.8 64 77.5 224 458 691 7986 7981 7976 7962 7923 7886 7851 7816 7783 7716 7460 7264 7110 6985 6881 6440 6243 6174 6139 6120 6095 6030 5996 5973 5956 5942 5865 5813 5784 Table 5.1. Pressure History for Synthetic Field Data 51 After a significant trial and error period, we were able to obtain the following match in Fig. 5.1. The data in discrete points is the field data. The simulated data, a continuous line, was obtained by entering into RGFs input parameter window all the information given before, in addition to an estimated permeability of 17 mD and a skin of factor of 3. ftfltilijte 10000 Delta mp vs. delta time [hours] 1000 100 10 .001 .01 .1 10 100 1000 1000 Figure 5.1. Plot-Fitting Field Data and Simulated Data by Trial and Error, Log-Log Plot 52 Even though the log-log graph shows the best match after a trial and error period of an hour and a half, the semilog plot shows some divergence at late times: 3^:w^^ Pseudo-pressure vs. time (hours) 8000 \\ —^ 7000 \\ \ 6000 iOOO •* ""•"NH*" *** 4000 <*» "— <K ""^-^ **** -r ^\ 3000 .001 .01 .1 1 10 100 1000 1000 Figure 5.2. Plot-Fitting Field Data and Simulated Data by Trial and Error, Semi-Log Plot The values that were used in order to create the set of data with RGF in the first place were: Permeability = 17.5 mD. Skin damage = 2.8 53 Our trial and error plot-fit was within 3% of the correct solution for the permeability and 7% for the skin. In this particular case, we were persistent enough to get very close to the solution by the method of trial and error. A process to accelerate the fit or confirm it is to bracket the values of s and k» buM a library of type curves covering this range as presented in Section 4.6.2, and use AUTOMATE to perform a nonlinear regression of the field data onto the type curves. For instance, for values of skin between 0 and 5 and values of between 10 and 20, AUTOMATE will perform an automatic match as on Fig. 5.3. Keeping track of each type curve displayed and knowing its corresponding parameters, the best interpolation can be read directly on the screen. 54 o —TC—BO XX rH X COCO o f-l x U O f-l X O I o 10 rt 0 I g o o o rt ~ o o e o Q T3 I M O O •a<u 1 3 0) o c •v-4 -3 en m* bb i-l O o o o f-l Qdui 55 6. Conclusions An interactive software prop"am that simulates the flow of real gas through porous media has been prepared. It runs under a graphic environment and allows a user to compare sets of data, perform sensitivity analysis, and display field data. Hie easy access to data and quick display of on the screen should reduce time waste caused by having such a program on a computer with access via terminal. Both the installation and the use of the are easy. A main menu bar controls the major actions. Creating input files or plotting data from old well tests is a matter of seconds. This program will allow investigation of the effects of changing turbulence factor and changing wellbore storage on gas well tests. The program also can be used in order to design well tests. It has also been shown that this software can be an interpretation tool by plot fitting real data in a trial and error approach. The program will allow a user to work in combination with other software programs that perform non-linear regression on type curves. Finally, this program can be tailored to work on other specific applications such as the problem of adsorption in geothermal engineering. Further improvements could also be provided to the software in order to consider a large variety of well tests such as buildup, multirate and interference tests. 56 Nomenclature Crj = dimensionless weUbore storage Cg SB gas compressibility, psi'l h = formation thickness, ft k = foimation permeability, md ki = damaged annular region permeability, md M = molecular weight, lbm/mole m(p) = real gas potential, psi^/ cp p = pressure, psia p = average wellbore flowing pressure, psia Pi = initial formation pressure, psia psc = standard pressure, psia Ppn = normalized pseudopressure, psia p«c = pseudocritical pressure, psia p = corrected critical pressure, psia Pj- = reduced pressure, dimensionless qsc = gas production rate, Mcf/D qsf = sandface gas flow rate, Mcf/D qwb = wellbore rate, Mcf/D r = radial distance from wellbore center, ft TI = damaged annular region radius, ft re = external radius, ft % = wellbore radius, ft R = universal gas constant s = real skin effect c 57 time, t = T = forniation temperature, °R T « average wellbore flowing temperature, °R Tsc = standard temperature, °R Tpc = pseudocritical temperature, °R Tr SB Tc « corrected critical temperature, °R u = macroscopic gas velocity Vw|, = hrs reduced temperature, dimensionless wellbore volume, cu ft z = real a = diffusivity parameter P = turbulence parameter, nwH yg = specific gas gravity (to air) 8j = Darcy's law correction factor for damaged region 8r = v = dimensionless logarithm ratio }^(p) = pressure dependent gas viscosity, cp $ = porosity, fraction p(p) s= pressure dependent gas density, lbm/cu ft radial gas law deviation factor Darcy's law correction factor Subscripts: 1 = damaged around the well D = dimensionless e = external 58 g = gas i SB initial r = distance r from the wellbore center sc = standard condition sf = sandface w, wb = wellbore 59 References Agarwal, R.G., Al-Hussainy, R., and Ramey, HJ., Jr.: "An Investigation of Wellbore Storage and SMn Effect in Unsteady Liquid How: I. Analytical Treatment.", Soc. Pet. Eng. J. (Sept 1970), 279. Al-Hussainy, R., Ramey, HJ,, Jr. and Crawford, P.B.: "The Flow of Real Gases Through Porous Media", J. Pet. Tech.. (May 1966a), 624. Al-Hussainy, R. and Ramey, H.J., Jr.: "Application of Real Gas Flow Theory to Well Testing and Deliverability Forecasting", J. Pet. Tech.. (May 1966b), 637. Aronofsky, J.S., and JenMns, R.: "Unsteady Flow of Gas Through Porous Media-One Dimensional Case", Proceedings. 1st U.S. Nat. Cong. Appl. Meek (1952), 763. Aronofsky, J. S., JenMns, R.: "A Simplified Analysis of Unsteady Real Gas Flow", Trans. AIME (1954) 201.149. Brace, G.H., Peaceman, D.W., and Rachford, H.H., Jr.: "Calculations of Unsteady-State Gas Flow Through Porous Media", Trans.. AIME (1953), 198.79. Carter, R.D.: "Solutions of Unsteady-State Radial Gas Flow", Trans.. AIME (1962) 225. 549. Carter, R J).: Supplemental Appendix to "Determination of Stabilized Gas Well Performance from Short Flow Tests", ADI Doc. No. 7471, Library of Congress, Washington, D.C. (1963a). Carter, R.D. Miller, S.C., and Mey, H.G.: "Determination of Stabilized Gas Well Performance from a Short Flow Test", Trans.. AIME (1963b) 228.651. Cornell, D. and Katz, D.L.: "Flow of Gases Through Consolidated Porous Media", Ind. andEng. Chem. (1953) 41, No. 2,145. 60 Couri, F.R.: "Effect of Stress Sensitive Permeability, Skin and WeUbore Storage on High Velocity Flow in Gas Well Test", Master's Thesis, Stanford University, Califomia, 1987. Cullender, M.H. and Smith, R.V.: "Practical Solution of Gas Flow Equations for Wells and Pipelines with Large Temperature Gradient," Trans. AME (1956), 2Q7.281. Dranchuek, P.M., Purvis, R.A., and Robinson, D.B.: Computer Calculations of Natural Qas Compressibility Factors Using The Standing and Katz Correlation, Institute of Petroleum Technical Series, No. IP-74-008, (1974). Earlougher, R.C., Jr., and Kersch, K.M.: "Analysis of Short-Time Transient Test Data by Type-Curve Matching." J. Pet. Tech. (1974), 793. Eilerts, C.K.: "Integration of Partial Differential Equation for Transient Linear Flow of Gas-Condensate Fluids in Porous Structures", Trans.. AIME (1964) 2jl. 291. Eilerts, C.K., Sumner, E.F., and Potts, N.L.: "Integration of Partial Differential Equation for Transient Linear Flow of Gas-Condensate Fluids in Porous Structures", Trans.. AIME (1965)224,141. Firoozabadi, A., and Katz, D.L.: "An Analysis of High Velocity Gas Flow Through Porous Media," J. Pet. Tech. (Feb. 1979), 211. Fligelman, H.: "Drawdown and Interference Test Analysis for Gas WeEs with Wellbore Storage, Damage, and Non-Laminar Flow Effects", Ph.D. Dissertation, Stanford University, California, 1981. Fligelman, H., Cinco-Ley, H., Ramey, H.J., Jr., Braester, C., and Couri, F.: "PressureDrawdown Test Analysis of a Gas Well - Application of New Correlations," SPE Formation Evaluation, (Sept. 1989), 406. Forchheimer, PH.: "Wasserbewegung durch Boden," z. Ver Deutsch. Ing. (1901), 45. 1781. 61 Hegeman, S., Hallford, D.L. and Joseph, J.A.: "Well Test Analysis with Changing Wellbore Storage", paper 21829, presented at the SPE Rocky Mountain Regional Meeting, Denver, CO, Apr. 15-17, 1991. Home, R.N.: Modern Well Test Analysis: A Computer- Aided Approach. Petroway Inc., Palo Alto, (1990). Houpeurt, A.: "On the Flow of Gases in Porous Media," Revue de 1'Ins.titut Francais du Petiole. (1959), ME, No. 11, 1468. Hubbert, M.: "Darcy's Law and the Field Equations of Flow of Underground Fluids," Trans.. AIME (1956), 207. 222. Hurst, W.: "Establishment of the Skin Effects and its Impediment to Fluid Flow into a Wellbores" Pet Eng.. (Oct. 1953), 21 , B-6. Jenkins, R. and Aronofsky, J.S.: "Unsteady Radial Flow of Gas Through Porous Media", J.Appl. Mech.. ASME (June 1953), 20. No.2. 210. Katz, D.L., and Coats, K.H.: Underground Storage of Fluids. Ann Harbor: UMch's Books, Inc. (1968). Katz, D.L., Cornell, D., Kobayashi, R., Poettman, F.H., Vary, J.A., Elenbaas, J.R., and Weinaug, C.F.: Handbook of Natural Gas Engineering. New York: McGraw-Hill Book Co., Inc. (1959). Lee, A.L., Gonzales, M.H., and EaMn, B.E.: "Hie Viscosity of Natural Gases", i. PetTech. , (August 1966), 997. Matthews, C.S.: "Analysis of Pressure Buildup and Flow Test Data," J. Pet. Tech. , (Sept 1961), 862. Matthews, C.S., and Russell, D.G.: "Pressure Buildup and Flow Tests in Wells," Soc. Pet. Eng. Monograph Series (1967),JL 62 Meunier, D., Kabir, C.S. and Wittmann, M.J.: "Gas Well Test Analysis: Use of Normalized Pressure and Time Functions", SPE Formation Evaluation. (Dec. 1987), 629. Ramey, H.J., Jr.: "Non-Darcy Flow and Wellbore Storage Effects in Pressure Buildup and Drawdown of Gas Wells", 1 Pet. Tech.. (Feb. 1965), 223. Ramey, H.J., Jr.: "Short -time Well-Test Data Interpretation in Presence of SMn Effect and Wellbore Storage," J. Pet. Tech.. (Jan. 1970), 97. Russell, D.C., Goodrich, J.H., Perry, G.E. and Braskotter, J.F.: "Methods for Predicting Gas Well Performance", Trans.. AME (1966) 237.99. Smith, R.V.: "Unsteady-State Gas Flow into Gas Wells", Trans.. AME (1961), 222. 1151. Standing, M.B.: Volumetric and Phase Behavior of Oil Field Hydrocarbon Systems , SPE reprint, 8th edition, (1977). Swift, G.W., and Kiel, O.G.: "The Prediction of Performance Including the Effect of Non-Darcy How", Trans.. AIME (1962) 225.791. Tek, M.R., Coats, K.H., and Katz, D.L.: "The Effect of Turbulence on the Flow of Natural Gases Through Porous Reservoirs", Trans.. AME (1962), 225.799. Van Everdingen, A.F.: "The Skin Effect and its Influence on the Productive Capacity of a Well", Trans.. AME (1953), 198.171. Van Everdingen, A.F., and Hurst, W.: "The Application of the Laplace Transformation to Flow Problems in Reservoir Problems," Trans.. AME (1949), 186. 305. Wattenbarger, R.A.: "Effects of Turbulence, Wellbore Damage, Wellbore Storage and Vertical Fractures on Gas WeE Testing," PhJD. Dissertation, Stanford University, Stanford, California, 1967. Wichert, E., and Aziz, K.: "Calculating Z's for Sour Gases", Hydrocarbon Processing. (May 1972), 51. 63 Appendix A. Computation of Gas Properties "The pseudocritical pressure p«c in psia and temperature Tpc in degrees RanMne are determined from the gas gravity, using the Standing correlations. For California gases: Tpc = 168 + 325yg - 12.5yg (A.2) For Condensate :706-5L7y -lLly| ' og *8 F~ O (A3) (A.4) ' O If the gas contains impurities, corrections are made using, Wichert and Aziz (1972): (A5) p* = Pc(Tg ~ e) (A.6) Tc* = T c -e (A.7) The reduced pressure and temperature are: p r =- £ Ppc (A.8) T r =^- (A.9) T Pc 64 The reduced density is computed iteratively using Newton's method. Then the z factor is estimated using the Dranchuek, et al. (1974) procedure: where: p]™g (A.H) f (p r ) = 6ap + 3 b p + 2 c p + d - » - e p ( 3 + fp[3-2fp])csxp[-fp] (A. 12) where: a = 0.06423 b = 0.5353Tr- 0.6123 c = 0.3151Tr- 1.0467- 0.5783 /T r 2 d = Tr e = 0.6816 / Tr2 f = 0.6845 g = 0.27pr p° = 0.27pr/Tr and: 65 Gas compressibility is computed from: (AM) PcPr z where: 3z , >r 1 4-cpr + e p _ rr» LI "—r r + p -p PfTr The viscosity is computed using the Lee et al. (1966) procedure which is approximate for sour gases since the density is corrected for impurities: |ig = K. HT4. exp(Xpy) (A. 16) where: V — (9.4 + 0.02M)TL5 209 + 19M + T = 3.5+— + 0.01M T y = 2.4 - 0.2X afp/z(p)l Thefinaltable concerns the term —5-f used to calculate changing weUbore storage as defined in Eqs. 2.9 and 2.16. This task is performed by the subroutine WELLPRO based on the Cullender and Smith (1956) method to compute the static bottom hole pressure using: 0.01875yeH= f J p ' 66 ' (A. 1 7 ) where H is the length of the section along which the integration is performed, and Pt and P are the wellhead and bottomhole pressure values, respectively. The total length of the well was divided into three equal sections. The right hand side of Eq. A. 17 was integrated using a third-order numerical method. Using the top pressure of the lowest section as the bottom pressure of the next section, the procedure was repeated until the wellhead was reached. An average value of P/z was obtained by calculating P/z at various depths. A range of sandface pressure values at the well from 500 to 9000 psia was chosen, and the appropriate values of P/z were calculated. • A spline function was used to cover the entire range of bottom hole pressures from 500 to 9000 psia. Figure dfp/z(p)l A.1 shows the behavior of the term --*-- as a function of the bottom hole pressure for a wellhead temperature of 75° F, a temperature gradient of 20° F per 1000 Ft, a gas gravity of 0.9, and three different values of well depth: 3000, 9000 and 15000 Ft. 67 Qs O li 60 I O § JO »~I < w> 68 Appendix B. Flow Chart of Fortran Code Start 1 Get name of main file; Read "input, fil" Create and Open all files Subroutines: gaspro, Creation of gas properties tables viscosity, ^ wellpro. ^ Compute initial values in reservoir at each ooint tD=0 ; NSTEP=0 tD = tD + dtD Iter = Iter •«• 1 ») Calculate Gama coefficient at each point > S Calculate Turbulence coef, for each bloc Set up matrix coeffiecients Solve matrix equation by Thomas Algorylhm )f ^ ^.juui uutmc mum as^ "*•• 69 No Convergen eached New Iteration } No convergence ) Storage of Data for plots and type curves s time > total flowing time 2 Yes Is outer boundary felt ? Squaring Re/Rw Rearrangement of matrix ew log cycle o imensioless time ? { New time step } Set up new time step ubroutine Setdt f { New time step } 70 B ***« 1 Prepare data for graphics i Subroutine Ticartes, Tilog, Set up scales of graphics I Subroutine Trancar, Tranlog, Set up pressure and time values into "pixel" form No Subroutine Convert Set up field data for graphics No Subroutine Convert Create type curve file 71 Appendix C. Source Code of Fortran Program for Flow Simulation 72 73 e | e I S **j x: ^. « •6 0 i g£ 1 IS! >* .* " >.•«»* S ,* ^ «-•« «w **. ** S i*"•< «H »» i *T X fe g| 1 KINDEX riX)Nft»ffi tc 2 X 9 N ^ X e z -4 15 EST «f O » X UUu • g § 5 l *7 at n z z « 5s* rt o ** "^ <. — • « 1 5 —I 3 o 1 U C— *-• J^ X 3 t) W W IS U S •— C 3 Z C —4 O U * * M B P 5 t f S ^ S » e » ~" JJ . Z rt 4J ^ b « 1 M l> 9 W <M x x u ux <s So ~4 >i M a s> v >-~ o o tz < z — z z —*j x o « » *j ts t-i •- U S b. * e •-( l «H t :21 *:S .i3 »»i 1 *"> 1 © Ti!*?^*!4^ *j c 4J c *j c -^ S? «-* O w-f O c*-c*-c*^ D D O ^^3*-.^*-.^ C C C C "•« Cl —< C —« f '4 * * * aafa®o.& O 2X O £X C a ^^ "°* * * *l • " * • < • • . "iT - i 7"S^CwSP K E W * * ™ * * * ^ 8 C & 3 U °OCfrtAJ»H4J » i! o 1 M *$ *C f ) u i « j u • -D—O JEKC»4J Uft»«-f~«O»w »»*t?*:»wO'«H — »«*>N^A^C£t«w -* ® 1-83C S"££t) ^3'il'i'f » H ® » WH *s Siflu \ «c |jg ^ e* 1 hi §§ i X * X N, •» ^ i* O *; i c i ™-< i "^ ™*t W 1 *J C *J C J*£Q*.-*»^D •S»4C'**"C*— MSK6i3»"O»t3 tfQw^B'-'C 'V^ifcC-HC-^t ffi » S > *-Wc^w w i™u 5 i*a«) U. < O t-i O W S «< j3 «k < 3 c 1 «. 3 BC 3 tJ 1 "0 *J C — 3 t! C O * ** "< f o V <M 4J « CC 0 PuO C o 4J i Ik 1 S — C * o O *J S TS » S C 4J C O u U ^ « >. IM O kl 4J n tt >-< u * * * « « • IE so «D «o tc W tC !> •f + O tE *jE a e si « a *J 4J M . U U UUU 74 t> IBs rn (N)Ofyry(V «; ao' 4-) • ») o o <c oooo ooooooooooooo oooo oooooooo ooooo Crv0VOO £ tc o C" 8h * f* o "V1 S T> *W IM *G •H 3 O § •O 0 »»< x: i-. n C T> »~1 « «M E Sa •fh «— e 9 U •o a 1* + «. o O * * •H XI O 4^ I t< ~.I n I 1 u * S *> •- 9 <N 1 2<• 0 ts W4 4J o u SJ • 0 1 *r U u un 6 S° v»4 *-4 t-" te i t Is • u. SJ ( ^*" *^ •C 8 X DURTOT nflo - 0 % * n H r c r^ " oo" ic" OD « «c o w SI «r »«< ry •» VD S u H ^ — «u *•< 8 in o in 1 O M f- IM WO 0! O XJ c Id • # fe * * * * # i BICE COiFFKIl * « * * 0- e o s * * — o sp e s JC CL H £ S 0 8 ~"£ i» <H —w S o 0 SS |~ H f- H X X X E $ f £ o o a -i £££ £££i v> 1 w • * 1'i i K — o U. US S t«2 I" ag —o « ao K «v X I O «i *"" **« * e< 1 ec u- ex. 8 R S 6- ex r 8 HO *^ I 8E <-< H — O *1 i-i ccauu a c fe * U. O I m >-i • u rx K % & <£ i • i il rx 1 K I O K 2 o E O O\ rH o 3 & S <C u u u u < ffi 1 O. i ac o r * SK b3 O f- H >• 8 I- UD w w u a * * o i> 0 if ES SB ~ •««•**^ —t b b * ki M * _a _a a~--< h a« e O! Ju o: rw », s (4 J»«rt — * «* a U > H T» 4J i U P O O • a. Si o t- ~* M M H M m •e Oa ' uo 05 ?• •zs eo 75 o oM o -i O O p O > I -H p >1o fs ".t o f SK SE S 2; »J) & H I t • £** uu o ;O a. * « a e U «r O «o i2 t*3 Gu u s H • O u o a u # * <k< cttt u o * < u Bl ? as i *"* - S f«f U * B «B O « « S * * V. E ? p £L « K —ooO . u> u « sp a: o e- «• V sses i O O O (- EC CC (- H z. a < i/i » 1 € fin £M . :§ * * « §i t 41 • MS g ; 4 4 g 2 •k *"* U » « k •* i• M M U U fa* 8 u 8 •s m 5 O CUtCUlAflt ^ § 3 o u H «• B M • O *i U « ( «c O & St * a* MO * « IK. * a. M * tU £& — <M M — » CM O H <u M e *J W »3 X US O W fib M O tj M U U e * »» * 1 ID u a » * « » # # 8 e & :a 5 £ «" S E^ i* a U 8 E 1 *+ *j* w —. "* —i i re Ewwt tm m tm sId § S E * 5« gg < feS B SI - o I u •— ae y «r o b3 rx a. *-t I M S "*~ B a. w w ¥->«-> 9 »-» ii s i Ii m 09 OO o'o Mg e - S s s rt * § I I M M tt W H O , M " M «w«o t>e 76 -< t. a. 1 u DC K «0 OS § I « § s 1 I * M W 1 « e e 0 U « IM ** m m "v f I * xx PM H H .... MS i> g2 ~"— 126= $S .c "— H u js » ••»••• £ -.i f 7 —¥ f — if 7 •aa a er e 5 & i —cc X O S S © U U 4JX>. 1C *J *J « E "O <M t>-rt 3 S3 iji*it)0 *J « »< >, H "O *»> W U O -O 6 «w e o U — >t b. "*" u. b. ^."S u i M ee a a, a, XX .... «« fiy&i XX £ I ES »» zx xx O m m "a v xxi-'i-1 ee • . > _ » & & « • £ X X g« — — CO £5 » > i i , ^ , . 4 *., «> E* -55 XX l i IS " 3C 3E RR «w>4«»s <* * SS sex QO "t" £g «^" ~* a •-• *— W t«3 OQ W % a. MClC 3S ££ K£ Kx S 1 § < H i * xx JC e v H X «e s o ee O tS CIH ""•" 21! 2 «M «H 11 s a 1 u 5< it it " ' 5s it it I t && &>3^ S§ OO SS WC^ Si U!b2 3C3C £ ffi 8>& £ £ HH X X S S 22 £ K W 6? O H *w *-* o N3N3SI • a. a pa 5 •c c |-<f-<t » » E£ 9C CT O"»< S 3 ffifiibPO «*;*>.>. ,** 15 "0 4J W W O U T3 g <" tJ c 00 Hi tH H f< -. • K o> a • e'caa »* 5 "•* e e "O c *.*. ^^ ?? 1 g IB V BO ejejj ac <p* ^ ft & 11 H f W . Ie i o: — o s B- 4. g i? IM M EC t- e o c * w o c U K JE ^u tJ J * * * * * * * * * * * * * *, 8 %" S * ijf I*1"! 1w & H UM « * » o >, M c »«< * >-4 a, ~ c t« iw c 1C *«*> *J^«O c fa a u EC H X §a 1 SC u o 3 O a *« o rf • *— s' — ^ ou —KM X* SP w S S -x is i p 1 & IH OC S O H C «-f 10 M «4 & O O ^ O *** X O 5 u W ba s O 1 5^ •-< e 0 B « X! J « * * "^ 0-4 e (• V « K E ^ -S-*4j B « IB 4-) ** S p O ~ O * * £ "§ — « O •-< * t> •*• H t-i O — ^ « — . »~ 4J ~ &Z < — E £ SHr i 4 « —rj Gi "c O !*#> 77 •o O e o 4J M re a i O M C O £ — 9 ' « B 5'' rt M g f B i i 3 17 ~ o franafor **- S c -< w » _» • 1 'a M M B U O 1*4 O •*• a; S 0 » M OS ? 5 •4 a. tn a U fM u <4 <n {• • <M •: ; JlfcJI '. •" I 5 U- y* « A • V * * 8 ,* 1 «*<"«'$ 1 I * * • 1 i^ O J J J * c C * • mo H F 1 j t> > • «« bfah e a a WE-4 • KJJIM •-— « 'c * "^ •>k«iJ»J-<iw}l« MO —<CG,U a 6 iJe< pg.«: * I X g iJ-< W • «M P E o 1 »J •c i i x o I I V O . l v > > B(-"M IF ^ £ * fee*"1 &• C O I B I «Ha O opH SO«:IM '"BS" . O o: o (H *> < rsj s 50 5***- 1 « * o o o . o MBO->HOW f-<eb r- -D — H o ~z C M i I I I I c i n 4j & wu(-.xi«! •** ' jjaaosi" b EL J J i 4> * * I 3 » H t • * a *j iJ O. K U >H « * «l ~ »— g r-i — ,-1 •« » , ^1 _ » s • ! > , . rt » J 2i i^tlll |55 5 ?~ i§ •B "B K «M> »J fcl «^ tJ "O EE ii O O c c *i I . £ 5" • o o ffl p 3 * «? « oo a D 13 &3 K % % f i J i C < W fc^ t*^ ii-''a'**ssJ'*i's^ — $K4-'£*Vtt)^N'VEft>^ • M » N E h D . > n ) N r > * . —i - E » * i Q . E E E » « t C ' 0 • i > K ' h a » » l > W 9 o M V h a E •" • • « & -<l>.«K>4>4-4lE^> e —i T ) a i - . E e E E n E - r t • U «» » vo lliiilEEiE »««».«»»«.».»»»p».«»»«.». « * * « « * « « * * " i l i i * " 0 ! 6 * ! i j » ^ —' — « - * j * j J J ~ * — * J ~ ' 4joc»ooi-t<ijcjc>t.c> . IM O MM «|M| 4^ « O H 5 —< OO OO o o A^ H i a B t J ' & K E E x l j K V E — ? t) Q <o OO oo O O5 « gO «>O «ntf> -O T> <rt« 6 E W-4 *W » 1 1 » "O W **" M *J ts — siJfi&ii — s * * IKAJISKizisVKJiim C i < t E M M » n M H H % £ N < . « * K O » » IM c c e c M a t> » * 4J AC * •E JE iH iM • i s *""" ^S ' f * S1 = S 1 'e s S u O O o o 0 JS ^J ra m 2 Ei O O c> o S Jw« »S »4J « *J K % - » ~< TI >. % • JK -^ w » & E » J^ iJ 41 & * & * ~ ~ # 0 0 •« e oo OO oo 16 3 3 *~ *O £ £^ *o c £ S 2 rS m L « -1 L « — C JJ JJ S ~4 •M » * * * U I- * 13 £ u i u tk DC W e 53 a u »H B 1 C) fM * ~ «• § w c * g *7 o ii O 0 « 41 i) QC O • 0 oo o u o s » IM S sc « £* |g ** o «^ « * to fa •«• * « *»* «wt «-" C fc> 4J H «_C_C» 1 «« ** ~ «*_« X. — *|* »4-rtWI rJ«"Tg £. b 3 M f f ^ •o i £ 1 K « c fM • o ^ E « 1 »» z Q u z 78 n u S S S as X X «D M S » 1 Ob.ee <* S SB &. u > - i u T D Z f- I 4J i *•• I U O f*«r isl ^ i eci i o=?|i §£ M r " *i « s § § I o i o l ^ 5 ? * * m 85M— « <M l-> 1 x 8a c § c O* 1 ~ ii *" "1 v g tu •** 9«| ^ O 3rf u N. I ^Ht * U i I t» c s* ii •H Ma * U 9 o IM e 0 c O u <4 x 1 U 2 OH) O "3 uu u « *. <4 E p ltd 4- O % P*- c o o a 4J v 033 S B C i g E ST <c i -~ & » tn «. o oo oo o J4 > a f 5 B3 Id O t* H 8 tr, „ a. M i 1>«. ~-in U.J *••* o f~* r-4 * £ M — a o oo u > o O f- —•• o I 5 jc• S 5H ~ o u; — A. f- 1*3 4f> O © 03 ^— a < ~a H •» — Sw 0 « < % c c c e g «r 5 5 S f * H *V a* t~f !> OS <tr* 9) *8 .**. > Q 1» «C £*3 *^S £ &£ S £S S MM — U3 OH 4, «»^iO M « T i- O —- 1-1 * 01 t « fr« > tfl O Ej>« «WM O «- « 35 M CK M K D- > Too * f M «-t t» 0 «~ K o tu > 1 =~ |SS ESS g X **" O tJ «•* 6 u> O • Iswa | |. j3 » a; -K •« « O Q f-< 5 8c tt « oc w ? W<CI" 5O« H CO £ tn U I b, +v • p U. O H «H w^iw **"£§ f c T o S SE O SB O » « H «n u 5 m >^" se u CD »! * «D K* -^ se b> «. fix en S S £ S *""* ** ± O 8Q »-^ O to " x * ~ S S o. 1 f5 E S >H U O I «-! i 1 1 W U •» D SI 1C M D H P o »- > 3 .3 fit2 O« W 1 U fel O Q OE« 3 ef M o .M — U •* O t * OS o r< * 1 K i O W -^ * U E ft •4~ • u <— r4 1 B I SI |MWO"^»-I 1 < « 6 1- H U H > .2 J Z &} ceuibjuo 0 o o se >. 0, Si 5 I»O wz ~ — O CD CL a. VI U p |z~ b ae ii »z « U tt X O * £ « in w t o u ^ v ou ti] U o u< — >•i t # « I a 5 K U O U 0 E a. K I K i > i — -. I * — « K» J J «< fit h h « « 4J « * « * E "e « « At * M M M * € t! * *, % M » » » IJ ^-( e •S S £ £ •2 « •? 1 I _ *^ * 5 I E Si * K % f | § . 4J - g _ *j ij «« *- t! U tj 4J 85 o ao -4 4J O 16 1 « "g. a I 1J «— *4 <« E 1 1 " &iii § 8) 4J M H (B cr f 1 1 tS AJ G a axj •o 4J 8 K K *J 4J t?£ 2 ^ • O « £ 0 0 «m o o o e o• -1 Sc » 0 0 • *J « b £ h O 4J S « e u >, • O H ^ c c O «l I«BB c a-e a ><4J *J 8 ill! * *H C) I > c * o It * u. u * •*< M (J O •* « j •-< e e c c t: c • « « « « « • « <e re ii * uu u u uuU U UU t £ 8 8 e o K 3 B U *2 IM O *4 fl hi I H * u Jg ? II •o * i * £ 4J 15 *> a. * ^_ O ts c *1 £ * * M 4-> # « C o u 4r S i •. 4J O *•> M e « fc * O <-4 C C C C u * a 0 *D O D O « « ns O O ei O O m kl & f 1 1 § a M 1 « fj JJ EA "O *w <M -< •> > ••* J<| •i E S o t> u « x M M M M O -4 -i u •* Jl-t r:ll j.ll U LA % ^^ E o -< a II S||£ . I I I ts | •M «4 O •c . •. ~ O4J ~ o »• U h O 3 JK > — . w > ^ » K — <NJ o * * ^ » o » . O O -H • » — «s S **» x •, <rt in M u * "I P 9 -4 s u* D — (- & S s r i o"iiiIiIIIIIIit5«i M U *l O -4 M U) 4 J O O O O O O O O O O O O C D W o oo oo oo oo oo o~ oo oo -o -o ~o ~o - 79 * a, f- X a. » 2: *-* Uu H OC <Ja • >t * O 1, X S « ^ u u ou w y O S £ K »H & I»3 V O O « B U -i tt f- t 0£ S u »» w >«. B. M JL Ss « 3 "V — rt u b «T n •D a, 1 M m « «* 4 OS •j 1 iy i-i «•» *? ^. ^ — •» B K H » # ft} (II » Uw 1 1: ? ca, 03 • 88 -. • e (B 1 m •9 « B • 1 S 1 K S1 — U £3j U t 1 & ep «C % <s. tj X M ui 41 K ** £ tfo O *3 y ft gi S o X. iu sr ? —4 JZ O in o~ **. D dc u> B 111 E m* ~ > o o o *H « ^ o £ *T t p § # *. K * g 1 • u m r< •3 W 5" E S J . «t i.« i•c j T e !*# ae **"• "*» H « CD 1 4 »3 ii c D i** *** i <** £t w w 03 w V so u as o *-* i t w f/"5 & «-* -> ; »= I : 6 i § is s-< 1 § (B • X CD 1 ! *• U I e M i o ow uu JA U i* -g M D •» ~ 5 E ' ti" ** JJ O O O *"* BS Y 1555 Jf VH »H W U & i W «^H*5 O I I I M U **"' ia m O *S iJ U m omouu uo «•» JU U •« § ! — 1 ~E^ f Hfi; rt 1- U <c »9 a &• &3 * 1"— 2 U. D O &?^. J D < w «c g B 3 * 3 ^ B O fC 0 X *""* 1 **• X 1 Z M 0 # W •»>« o W oT ££ f- ut» ** $& SE u IB {- KCC K & £ v> ® (9 o a Hal SSs |i? * b) M , j, j» «. O W "*- x. 1 t- i — B a e : t i + < n: g * s c « E x &2 g g b z o *• OCX »4E^ eiPB ^ e * ' * &; nuo aeba So w z ^£ *-tci ill u o o » a. facxS z z £ x «r • * < M S, fH •— «» U 1 fc** t i l o « b3 »Q rH * %. 4-^ H 5 X "v U « — i^S >, C£ < 3? i ^T? ^5 — fH ~ U < < < Q * # if* i J tJ U U a g «- — 1 « O — "! tt S-O < «O M CD *j <C * H ' * «C W fr. H W + D H — U * P*i S ^ o 0 M * A M £_ — E » i «" "— >• U f <f P u i- ^ * — b2 "^ B (H JT i we IM m —.— a, eoP m 40 j —— w e a S O m a M *^ „ S » U £Q < O H flD U U O <J ' -t (J 1 » «e t-t U 1 t o u . u st u ° 1 » 1 : i- £ 1 s 7 M ** ! M *_ U b. *•4 fel JJ Si «. « I5 5 !M N M 'i M*. £ •* O —. I :g B 1 U w u. E M S 4 CW U > iJ U UU U 0 J <• * « * 4 * « # * * * * £ W o 40 i s z D U JH M fe < 4. a «M* U Q ' ^ f-* 0 M " • Sz mmi I- « t-i •H PC Z *~ t* O s: fc.M flC u zU o ^s 1*3 I « ffl **• w ^ ^o V *•* >H _ ^c ^ 5< V ^ u" i «» M ^ «° Ma SB —. 1- I »» r-( Z n «•« « «* —- |M «f | »«* # *— w X *11 X <M M» U P 0 I i r-. T Z § woz ug t i l l O LJ EoQDUUQ e* z ec d£i£ M"** * i * - w U 0 80 Z U Si *S o ^S1 Id O P) z •» *»» *^ *w •» •SJ I **» ». ZK »«H | *«* ** X Z 1 «•• U !N — X — Z —V *«.PM «S* *^ **•>« ir z v O *v ^K #« — i ££ ° o «M. *«. g SJ X •» I **" & ! r-4 C. J^ O <- W < go K — 1 — Z *• 1 *4 $•« 1 Z W !£ ^ g| >a 2 jf u •* *n X ** « >* *-4 » c a £ u M u. X z •_ «— — • acs«« 1 1 O O BCDUU .m o--i U -Ok. uToi I-IUU ^ X ^* X — rv ~ x K * IH «. — « | W X •«. Z «»«-«»» X V •»• O •*- — a « X, •» « — 1 «. —. Z « Z «-< — ~~~.y U U U 1 III! -£~£ UUUU . S a: I p B i §. g OC t*3 e M S»i-9 S at• 1 S *p gfeg &< **y sgi f * 2, »•< en v* X £ D O. § O Q r*fo3O »-4 M M 0 M U Bl *» U It. SC t-t U. H < u a w i» O h. IB 1 ee £ SE Si »3 i- 3 w uo X *.§ — x g "•• H s £• 1 7 8*0 O N£ H *C w rt Id g z z r-< U X H H 1- K » S X g US CD a « U a u < GC t-t U *•« — sc « f- 2 »~« |-i SUBROWf IMPLICI 11 1-1 ~—« 04 o w SE £ a rt 2 t-t i CD £* * *•» SC *t.i is 2 -. < i < **si rH * s ^ tf ^ci^^1^.*^ o — * * £ J 7 « c Y a E ^ » » T o i a** a c a T c - ^ K £ " ic«oi'*i'«ttfc-*-'O*-' . - , £ * < < *-< tc o A w S M HZ w O CD < «*< t U Z r* o i Z en p£ u en < £• U w 5i- ^ i T © *a«3 * t o se Z. H K Z i ^ O l T I f c - C «: «*. i-i D P 8 ? « **i gr | « S JL g*1! IK *«•• *: ^ K . 13 |1 | s •*• Z r - l r - t *^»«.r) !•* is <e us J 0 I I o w ^ « « *-• en » i £ ^ t ~ 7 *C **• < § *-* Z «* < Is *"" i ~s ^rl w «* P C«2 W M ;c D i7 K 1 eo CD « S£ «C n tt gw OM S E O * - ' p a ^ ffi C UJ < u a <AM S 1 j> >«tM H £ x > w M x esa cc a 9X S is D x S Q Srtl* Si rti •*«* I i in in l{ O U. ri£oO S Z o 1-iUU ZiJOU Z>4O 2 H « f- H i H H f- i •» p wwp MWO u. o z i u P o i u H « « o o « 'u fM -J S D£7 & W3 « i S d E| ~ ' ~ S i %r il «• s 1 Is ••' * « uu 1 i. " " £.£ « -f — " x Oi M S H >4 S f« « <M O •• -~ 8 < U. — « >ji s~£<« W rv r-i • 1- X n SB •—«« &. o »»iu I O Q »3 IH S o • ft, IM -V • «-* C -<% -^ ——.iieu 3S ^X f*gfU. x —— X o. 2x *• %, H 1*3 H — *^ «*^ ^o^ (H O cc S"S *C O ic x W fe « ^ U IS t- ~ ^5 ' fc W a. § |STS ^i* wm • OE«- »-««si<n ^^Ti-T K£ *"3el IOE ^TH Q *-< O W dM^tf: f^ O CD* O *S *3 Bu WXOC O § W 11=£ W*-"""""t-« *-<O£i2 HD-4- Q H H * ® * - O O * * 1 <C o — 5 g 1 »H fe 1 - 1 • ! i S 1 """ 1 . •9 U 0 • « H SJ i-l f—_ >-i * « S ' B O WX « 1 £ — 1 — •-< * ^ He £ CD tt U i l»< r-< O. I-l ~ ec *-•< I-* «" J* «S K i M sg 2 . en i o lit E -t ac «^ * *^ M <*> g X a M r4 <1 O •» J? «<* «•) Js 9B 1 Z Z Z So. Z < < < f- O 8E ~ O *— i l o* K — O * < H U H * fc 5 5 I- * 81 £ 1 | SE H — <3 u S i g S o U.OZ SI 1 g U | BC S g WOl*. H f 2 I 1 ** i l l 1 i Sf X rt 1 " N •C * § 1 Iss f f IE i $^ w g b£ •~g BS* * 1+ -*~ « — U § O~»Sr4>-3 1 I t — O — IIS ^» f«»^»lo i — — by ?! £"S e~ ft, C g — «-i X •>* — S •+ fcl i a. a, o H M •V Bi UXOtii « O U 1C s i. ~ H " "— U « fi ~-X» . s — «x ~lw •V O U. . «-i i r> — •• DIM ? Jn B u X *^ I I t*i M «j {J« X W r* —. 3 & § a — SE e> d •j £2. J7 —. 1 i l l 1 I I § g Ug *. . 1 *» E v. •S « s i ^ < e ° ** H J (-«( U — — ; 2 1 « »4 Ck« O S W Z u u Z [•3 1 • o O*»(H4 •» 1 «-l X l-t E 1 «-( cit-i * O £ ^ w {- 1-1 *-* P U« O z HI O W 5 u E^ —if,~ ^U «H «— O « u: D. I- X ID ^ _ ~' — 1~ " «. £ Q * 5 < S" 1 I I fr< — • <~ *»(•-J J* X S: x *-i t-« *-< *"* •" < «: < »3 oT xH a: *3 H o • «B* -w ¥ O 1 O 0 1e o *"•" ** t>H *% > - — O O O § 0 «M *•* 2* « • JJ \\ So O 0 eo A A * <• X. X. * * i *' C C C O uu I* •4X O u g§ o **-< r^ *•* 1 il »« ?§ 82 T i c o i £u fy X s e * i o f. 4J u to m — 3 «-« 15 ss g - .1 A u §0 OO A «-< t-i in 3 •» 1 1 1 4J T> = — i e a) 1 t&S y c eE t w-4 0 Qk 2 1 i mo vo A O «£ O « MO 4J O *J <M E c V ID •+ • V s •> i -4 6 c E XI " O I V O B * <t -t O » 4-> — D *"•* *J « 1;. i* M «*•( 4J p~m & * E!E &2? M «-l 0 o * O *» •rt 0 e M *j i a • u ~>~v »4 ••< * o o < -o C h« * J II { T — o o o J « 1 J « * « * 5? ^ * 0 i t! & § ^ o c 9 «M B <• w ja JQ « n JJ *J xx. e c • * •> « 11 Co 0 2« c C IB § M » 46 ft O •" I SI O VH ik> « O > t 9 V At « I- c t> -1 C fcl 9 *J T) *> C ki » 8* « -< M 1! a •• « t-i —< » o o o **•< A • f! A jB — O II | •> oo fc) * « o O *4 « S «fi * M A4 &£ -< c f t § li * i 1 si «f O .-1 p iJ « V » c 1 *J IH ~TI 1 ~ 1 — *r • 1 i* an 1 c * 8* S"* I-. *». fM *«"• 1 o *U * «* 0 A 1 i- X. -X . *M O U fei « D. O O 1 « XX 1 s o kf «r * •> • c c go IBE o U U * * V * S * 0 xi u it re xx M kl J oo oo eo •H cu *•» a <* « 1»t> * » * «S a o «-* fti S * * 18 *H f-l J « U U U i U U U U .fi # * * * * to u. So u tt o u S 19 O O ce w ° ct I a: S u «* P y a * CD 1-1 ss g a. t- ^ U J fid S (H CL JC »^ fa? •a •-< • S5 i-> 4J X X z e £ 1 U u 1 1 <«r s H H 8 — * > *-* tJ «t A A «s * £•* xx * 0 8? u a c jg 3 2 « m »-i a xv »» ce ax "-* I sc M U «m. M i o. |«8 S geu * £ > at: T 63 W Kfi * I I I — * O <•* < .p«. »-H e JJW < 9E si 1 z iTo z *™t U b3 O U 1 « 82 9 IV «» « * *j c "* t IB • kl* O ""^ 1 1 I x c *j O x: *« oU o (J A a A 9 Dk -*^ k( * C? —A it W (K W ~* 3 O t>4 O *n J £ ^ « AJ A * U U ' « o oo SS * c O A —« * (-Bfc « S t Of * 8 4JO J*U '.€8 4^ o oo o o a £ • ^ DC U i- O g m a «— 1 1 4< t.^5 Id Z o H H O- M £ t • JJ T * ,4J § Cifi" 6 eo ^> « a O JH O A « * * « « « « ~o oo oo 5 sXsg>** n. K U J- «« fH C B5 •~ * "S ""i «io ISft 1-1o a? ss <c « « * # * ?t 8 oo -» « 4 JH r? u. O «l > uo U. > - 8 n £ °" O t^ u> O M tJ w BO M * V> i- W 1-4 E^ 8t & «. o oo oo u ° ct ce. i_ s| i% se — o oo oo ki w i i i aO O -I c 3 *J tJ «) c ; t) U O t u u ) (J C5 1 u d JD * •* s o Sd X t d « «( ' i r j •i >; , i "* :) ]iMg» * &* , i« » •» MM «s £ xT *15 M i* a i— §H HW M C£ 3 33 H H « a* •3 « « 3 i H* !*»I ^»*« .J 4J B ±J M IW _ r i -H d I v n m mm O O & 4J » X, -* **, B O £> 7 d P "SU « - « . e' 1 II O i & " * ' • •o Ji IP *"*•--«* E 5 iw re « C =: V *•* 18 IB d •KS•I IHS o T3 G. a a Do > E *•» •5 o • X) o 0 * e *1 2 &»! d S 1 D, K _ _ * *"* d « X! JS *J O to.ti'P'S * S 13 3 C 4J f> o *E V U U *•« r> X §" 2 ~ us o ig XI X) « « m m kl XI "•" X) U m 5 >. « * t l I ki D. 1 gg . oo m o I d « H « «" 2".g _ _ jj-g g l S SdD ¥u -£ 8 M £ O O O | If U 1! •» 1 *» • • d •» 1 ' S os H t! 9*3 9* 2* M ft * -* m e*d"~S"* «« wi * OX! *j —» a * » £ « 4J «. mm 3 g aw -B «. » I *o md ia 4J M o f mm OK * XI II JO JQ vc < •r H f4 t s *•». *«. i•* ,• ** f O d «. K £>3 • i«cu * c 9 c d tv «n d «> to a. <ondaeD(Dt~ oinnuu>«eM 9 V 0 0 0 H 0 0 0 I 9 2) u a, l i i i i i i * a: u D u;- u. o l£cDUOUlb.U po O O o O CK!) eH aH • »Z O •<• * b» K> Ix ua: t-i OOQOD i i i i i ««e m «Q S O «si « » in so o Oo Op SSa a E zzzzz O DO C O * c •d O E W aH o M «. d < o «f*fvr<jm Q O O O Q a Ka a a ZZZZZ *"* o d S w Q OQ « 5 K C O O C Z U « « « « O i CM 1 t SSE XOS ZSQ ZSQ p + B « acr-i U — i ^ u O u* j|u b.-f o O • . V,. u u U V U V 0 J U t} U U O «*- o oO oo o *"•< * « * «•* *-* 5 5 I own* JD 5 * 1 ~ ft *— -t* ««• 1 -H M 1 2:- * * C M • * « * •§ 1 M * u M # * d •»• o i . « ws x» » « 4 ' i •. 4J » h » is . a * e o CJ «| 5 •« ' M e W t4 M a o 4J n "S »^ • 4- d — ^C d o o « a o & la B e £ 1 <» «r * * on a • i • ' o o g O O O X2 x^ »* ^4J O | d 4-> •*. B *j d O £ d O **,x d * xs d ~* > e~i i * c e i d a"* s, ** ' u o « « * i d « » "7 C § c c 5, — *** *j C d •r* t! 2 « 4J » 4i4I *— x>9 * d kt «. ? d -^ c i-1 0* t 8 \ M* **" Xi p C i "* X 5 u Q. e N, ff"^ Xt t> i! IB <*> * >^ Xi *J d 0 B • b u 83 u u uu * o. a. «« M « • O5 W « « 1 d d d t~ IS O u X «O d .— 0* O •^ft<«0 • W* I t O «r « * ^* w O * tn 0< 0< . r- • xx iC d en + I l •+ O in U « « 0 » r« «D t r» «* O«C d ^ i 1e gj >i H *« *J M tl O tt K OC t- f" d II «o u O -*^ J O O U fcA <4- J? O .J + + UV U B (: d « < 01 d d 3 i i & » < II B »£ D C 9 E X) O P) r- d t! ; ** §* 9 «C » R • • Da. O &. W « B5 •— O d * £ «• * d O 1 O 18 O d i v X) ' * l > _•§ -S o ~i dU o K a • IT « * O >> d «• O — IN X X ^* ^ W5 5 4-1 4J * U f> — d. 15 — Da. > - d •> « tc . rH « rt 1 — *-> > o '8 "8 <2a J i s»*. t! « JJ d fJi * 1 d « » C 0 J •» O d *•' a Xi nK -x * 13 o ••• •B "S * e o e ee d Xi II 0 c •> — £ <M w a "a 4J > t . i tl d — -^ • 1C O = I — c-9 O C3 o e5 § — * « * * XI "S « « *« * « « * «"* •» o gO o p cc a X X 0 «> j^ 0*O W U dX •— w >« o U U u TJ C »J «. O • DM 4J O 14 *U *J B * 8 <v a. *0 « •» o. «r * 1 V. •2d k! S> U M ft. X iJ *£ t* •O XJ <-i 1- II " %. * «4 BS B: u a. H f*< §"* fr^ * tk. r- « K a KM & j- o « ff £ a, MII « ~- Su H 0 «C I >= i S j~ IUU ZZ o < Ul 5 OS B o i- o a. in * O 8B b {-< *r> p. •«• fa. •» i as as t —r i * u 5 ^ "* I B 1 a — •*-> B " •B 5 §» QC MS »*, GU I { o —. _ » — U r* K •* > H~ £ M a *> 1 U "<« t- N N 1 1 U »D co JC Z *» 2 « « >, Q. t- e 5 *t u?*7 a 5c w t» o a o «**" Tj O ^1 2 „* * <? t 6 $ -» "SSESI^IS"* c i iK 0 0 1 £ J 2 S ? f 5 e -M' c V K W ^ M l B H O ^ °* o ) hi u * * 8 U *J O M u u tCMt-i "a5 o 0 h 8 + tfl X Ct H (- I 1 H nSSijjHaSa JH — a. o O V ^ u * * * «* O t- •. (H — H CU 9£ M W O c> S> id O *3 M « •-. a —, 1 Z 1 X £> H O O < a * * * o c o • » - " ! f- M Z J itQffitn . * «*« « * OH w a; w OSOSOS •» *M aS^ ~ * w S~ I- a b z a. * S MS ~-UM H nxi O«w O O - < Z u_<t<«— KMDI^t^ * * & * £ L > O £ C & u O l i a s >- § z o -~« *« • «CHI N; — O m O 4^ rt ^ „ •«• f- H >Z") « »• u as O^-*Cb z e- i a ••'Xat £» fi^^wCC * u O V (J U I o e o ^ —* o a z o B H <~ n LO 1 0 •» O ^< O «H TJ >n u, O I gg *o z u 5? ^* *J S2 oo It O Ct. 8S §zz z zu uo «i «- — « — s* 6 ,^. ^ » .I O..-I i « * rt sn —i o <M S S gg z z * r* •n l-i O U 0.0 <•• M JS JD * a i) U i JD * a • a * r^ 4J O JJ i O W Sa ^0>' m 8 2 O I DC O • -x I Ifa.I fa. •r in O —~ i» o u U U U. X H X O. I/I u B: 84 E *c * * A in £ i £ * % c i * e M K i if) — -~ —. — • - " • . e H JC H £ D C * 5 'S «r> m «« 5 • e e » .M • O • (J ? c ST ic ^ t M — a + ** — .»< — «~ gj E « « »tn e K f , i .** f M fi. e»o • I HE a w *t w — ** c1$ £U *"* 44 B A * G>tn » — «* e £ *•* .W « O « e w* t> u ji « —« —< t-i »* t-c o is E 6 *•< S? ' i ft <M f< u K •£ Pit m S «J e • j< e 0^0 *» *j i e c « MC C •g w 1 I 1 « 6 c -< in e — C O —< kl y O W t* j 0 1 U • rl » » J* *• if) in o" o" £ £ $ c U o & f« o in O0 C " -4 «M» X X £ mm c C -H ££ 9 4J 4J C 9 11!^ B U OJJtl^JO m<-> O <kCC«~.£ -» £ • ** *« o«*««u rll £ i i « m o 1 m t)O — K K O O kib *J T; T3 _re * -4 E " ki-iOW -i C OtIC k l k t i - l n O O 0 C o W «. » * j> •-* r~t ih * « O £ U »•* _ m OM^*HW£i»-t I C -< m £ * «t ft U £ 5 fe P <" ,sy= ^ i "f^^Tiis 2J1'** j; H « 2 I u o I c • « «H ?« pi hi C •<•-—. — >- 1 ..•» « o <u « « «" hiOf)h E* *" -. ~0 5 E in •B X - ? *j in *j e £ e —< o — Is < « O • U * £ 4J e *«f O ITS CI <C ' Jl e — £ o u . »<«. X •g ££ o b. t-4 V *JB o oo U O IJ > U t> 0 1 «*•« >! I £ * a o *-T u - *-> a S w « E MC t-w • £ 4J % c "s ft in o I •i j• kiao •* « « 5 « e a S O. K XI 9t CC 1 ~» o. -~ Si- IT £ « * 2° ft, tn Z H D •« «» & O tJ IM C •M 1 m kt 3 e e o c «x u -4 -< 0 no o * c O O U ID U j e O 3 •§ • U ki U u 85 if "* M y ^s • c« J o S 1- T3 4J S —I C *J 13 rt e M u u K — E I K K ? II Ee *J V 4-" e c >w ««<_< ""* "O C AJ •"* 4J c ki o «M »»>o-i '"' <M "D C E 3 ., k< *-) t3 O O * C V* O m •t m m S •- M P i P * * * • J-< M t~- M • jTl * *S^ *• P•« 4J •S f S M S S* IE * ft * ±J o •-> * X C » kt §1 k t K K H i ' C k i M N«.cp»cNac.k> -K^&S-^EJJ-C-. & &•* <~ Q 1 C M iJ O. *J ~* AJ « — N, K * « _ «-• «M ' O c * 5 «H 4J S ' *"* C " K — • IT) -a u I Jj»!uSi».xi3€TJ*.k»!H -OW «C *) a o o i u a • U E E E E B E E E E E ^ 4J 1 O * kl oo oo c~~~~~~~-~.!i"s SS 22 SV.\\\*. \V.\S e — — *- — ~'«»~-«»»»~»c ts * B Ok 1 ° O O O • B B IS * e a sg HO •i 1 .5 £ *l * n 3T 7 * I Y •£ — — & § ? £ * t "• *"' ~ ~ ~[ § &&«M » * TJ ki Ok— f « e c c o 41 u ~ ** T> C C & T S E E V C & f "* * «•? .•kii'i^' » « > I Illi*. l|jsl Is C •O — o f 1 ~^ — 1 1 i 1 1 * gill -»*- s|l O -rt •e «T)*j»§lEKg*>S EvflEEN-SlBE K O I &*-> «•• 4S"O Ek^<3 "* * IM 1 c c o e 4J .-SjS&S .ld2l H *j Iw 2 M S 9 'tTi i m §T!«.k) - i - E E t >E TJ « «* _ « , _ _ < — TJ C O — -.»,_«._ f. ililllllill! J u * C £ s, -1 tJ * 1 1 «. 1 C — §u * *> 9 JS K « o o in TJ -O SX i O m k! a ki<• M M II f H f ? B "E 1 * 4-4 1 * * * *i i a mn \J*-4XiXi^OOU»HQ,5J«P *^K ** —* J J4 J JT JE.TI a 6-5 -2 -S 2 3 *J4J»«KTPX1«*» o»* « < Jk» V s V K « « txH kl E IS- S -• t «•a nM ki9 XI kl S kl • 0 0 »* O *"* %* a: 0 —^ » • a M. i a » «. « K «• O 9 K g • a 4J T> si |-7t M in g, c — *"* ^ «-* 4-> V O^ « O *"* C ^ kl 4J T3 & g fta5 1»O kl e ki 9 O !* kl o u a» <e kl = 7» •C M 4J a1 c1 * i l l *"» IT) K — kl S T> • 1 If-J 4J s «.o ~o o~ tj o ~ * «- ^ o •—a o f m i I &«1 9 * J5SJ2525— * * 5 — * * p s J iiij iJU ij iJiiS ij^ii- U 1 « I u * *J «w. tn -< a xs e o 2 § O & * *o 5 e ECO * G "m O so I c ki B "e i o I I . . ^ -~ 4j m c "£ c c — Si O 42 O > E "B 1 w "t » — O 1 S ^ J", <t •H * S * * C *o a> * fw S — o •• O. O «•* 1 & .S5 5 * " ~v -a 1 >. a uo 8 *S t *BB ine *tssi —E< jera « c O «"•" ^ki *) 4J K E O « "3 » «r •» "3 O A^ 9 D «*t M § ~a 1 w o j U O O O O 86 u u u » 0 i, U u o u * e 8 - •* ill o Jj £g xi xi a K « c o OH JJ > —1 W » It C xl SIS «o 3 4J 3 1C * ±J » *J * *l •, s i 1 * 1~ • K * I I« £ ^ x: u uu I I ©o oo xl a. It >« * 1 I ^* *, eo 1 •£ JJ 0 M ST •i Is 1 1*. u uu ec •t it re c o KK 9 V e- *-) A u "£. i ^ »e g* E IB IM xl JJ CS x[ ^^ * K O • IM xi K xl * o o te "O K * •> M W H r~ * « « 0 K 1 0 U o 1 0 » K % -~ xi — •« « » % • « o o >xi <-*•*» «*«o «. » a*" •— M m S S**»— M l f c x i C "^ e O O CM » —i ** 8*11 e *j WM O "S O K M H K S * I E O U o !E O 0 > .« » «" rtC o xi -- *^ I* o aS x. «N — o c. a c CD >. xi — o, O C f o>w a - — — ^ _ 4 tf^ tJ X. S • <v — » I X* « X. « xl C O £ x) S 1 *J «c a •W 03 § M * S *J * • * • tm H X >~ i « * JT H 1 ^ i 1k K x *e e "•* u, « >e J —1* •xl 5? er ?*• 2 K xl xi .0 ja C O B U * "S « • ?il UK s I a t £• X — . xl « .xiSxiwa™ ao ttci jMc O o o kx< -< i" u C fc X* X. U Xt U o « *jlj C O O &> tntjprlntfld-1,1,-1 jg(r«f«r«nc«|-loofttw«Ci»l .SE.0,2) then XHi+1 xmj»l ic«"tim«tlj son }w«l (lbon*l-l| I i— ca—m e xi• n « Xl xl -5E >- xt x> |> *J — E X> « xl xl *J X, « T5 X, 5^5 ti S in a*; ~ £ a x. £ " S Z i f j C i ' m m 1 o o "O B o t) « « « « i* "5 '-5 M^xt'olSSS'S'S^xi "1* Si"1 8 U «»I3 5 x. •». « ~ x, x. « •kifS«2S8SSikx! WxixtxixtJjE'S'exixl xl O, 1 '•JjJJv J%f«'"x-i « t! - 0 - 1 .SlIISjJ"*^ * SS3 ssssi §_^ j;zi f ,. 5 'j-g IS *<x.x. -,-,*•> ,g _C 4J xl » O » • •Elllii 1 —o K 1* I'" J< j; ~ 1l * £ Ox.x.-*«" % -' — '*"*'~' e If* C xi 0 »> "** xt « H TJ -i xT -T *"* « I A O « IM IH * x. M J5 t» • xl 5 — xl x, u -p C e IM C xi « E B ~ -S • A; •§ » — g d O ^ ^ C ^ ^ ~- x t * « t j f l l l | l l > l l r t ( V f n w i D ! C * >. fcl JJ c x? S C xl O j K J K ' n x i r x n v i n i c xi —i o miEObhhkikikixi4j(«. —< —i —i « i * o a i » o e c O x i - ^ ^ ^ ' O ' ^ ' O ' C l - O ' c ^ o o V f f J W g » § •< -1 B.XI wO»»OfciMMOI>O « o o o o « « « o o o *•*»*>*>*»***<*»*>*( t< >Jo f-<u ^xlxl^ xJXIxIxir-lxIxtxtxIxIxllB— «*«l«*llltM«IBigMll-i o o c u u u u o u u o— — « C e ^xl „, ki x. x ^ .~. ^ g _> «>> <x C 4J JJ *J C y -^ re t t ^ UEEE3 c i- u u ^ -D O O O O 6 J C U T ! UIMIMtMQCftl *« e *r O tf°» 87 O O O O O f~ O O O O CD O xl O c U b O! U oo oo Appendix D. Source Code of C Program for User Interface RGF.EXE is a copy of FRANJEXE which is described here. FRANJEXE is built by using the NMK command under Windows SDK. The maintenance file called FRAN contains the following instructions: all: fran.exe fran.res: fran.re fran.h filemgr.h input.h scope.h re -r fran.re fran.obj: fran.c fran.h filemgr.h input.h scope.h cl -c -AM -Gsw -Od -Zipe -W3 fran.c filemgr.obj: filemgr.c fran.h filemgr.h input.h scope.h el -c -AM -Gsw -Od -Zipe -W3 filemgr.c fran.exe; fran.obj filemgr.obj fran.def link Sfran.l re -K fran.res fran.exe; fran.res re fran.res This appendix presents the source code of the following C programs: FRAN.C, FRAN.H, FRAN.MAP, FRAN.L, FRAN.DLG, FRAN.RC, FRAN.DEF, FILEMGR.C, FILEMGR.H, INPUT.H, SCOPE.H, SCOPEX>LG in this order. 88 i **-f *» *J « « U » —i e — ( rs ..* g..l^ •» t N. ft n «v • •» ? *j e ? H II • ki * ki ki ki 9 « K a * a -v • .«:so*j-i0»o «• 1 1t J£ ,» "°o£ * £ U K — 0 kl B • • kl t> 09fi+»i:»K «•• je •*« *> O. a *J • 4^ * m • • * a* IS 6 C_ 3 X sas^S:!,1* • * XI g * * a m o •*< * m > 4J • B kl ~4 • B T9 -i B •> s » a ax. tJ §"°aa£f »S£ JB «. c 17 • % c *». p » S.-nkSSJS*j S o » o *j ^- 1 E C » 3 kl IB kf O C 0. 1 — CK C tJ « « » K O I « * 3 *j « e «„•«•«, .».__*,•*_____ t S t B B O O O O O O O O O O O O q c. 1 a. a> — EO * B u. «. Q — 0 1 -* — • » « t O 00 -1 O • • 1O O QOOBO—iki'irifg sfisx 22 saas e C K K OQ C K C K ft f R P R8 it re re ft it. O O O O O O O W O P S^ - | i ~1 •8 * c i 1 4J e —< *J u ft •» • «"" h « * O j: B 4J c «» 0 U .. — Z C —1 S .. -< . J ». J"5k< *J C 4W — 4J — ^ .. C D C U —< ~ * O -rt — c c o-5c-5 § ~K "* C - * 4 J 8! C — TJ — fi J" H i* frr-r^s- R£ F • « Z E i <J 4J 4J K TJ "C T! "O b, U UU CZ * X u e e «a 0)&ki3QjQ;<g)fe4OClO($ «^ O O OO o o ocooooooooocco"ocoocoo'o-<"o U O U U t) t! O •v •s. # 4J i s "" i •£. »«o — ScJ-s -< — -i « e — eooo « , U M B •*•»•—• ., £ *** g.. « > «f T! 1 I B C •> ki •» « D) e o 4*) a U t> * _c « ft » c c f 4J i n 1 K E <t kl g ? kl 1 t> •» * o £ » a • f 4J * kl * kl S « g B « kl C 4J * » ts O O "•< C TS tJ £ «*4 O » * *O C •M £ «-* S u 0 —< e o • <H « O *J u IH a• « ? M « •v kl a u « x. o o *** fNi o s • O f A A . C O £ t > « « - l r 4 l * 4 • A t JS H £ D J C J C « e > > si e /\ 8 =c a » x> — ilsir 4J 4J C 3 • . 4J E « w B TJ W * 4 - > * 0 ' * H O gj * V ow •« o T-I OC 0 ^t 5p w O U U O O O O c c c c c c c c c 89 • C «4 i! (9 C C »» C C *« CC IMlM IWIM <M>M cc e o) «c •« o <c ? v f ^ r r . " 1 gg Is ES •DT3T9T>-OTJT5 11 3 3 3 9 3 3 9 t) V I**W X < l-i «1 « • •• « .. .. « e C M ~4 O C C U U w w 10 W 4w &J X u •4 b * M o 8 £ o ~!T >« X >* 4J u it n e e -i •* *J 4J O 0 O O * £! K £ •• £ £ §§ —< S K .. H uwo.c*Jte.. uuien « ^ - < > - Q . 4 J K —i - w > > "OCO. EEC) IIS III* a^.1 x ? x >. C « l« t3 D Z (DilK reMO-EEUU 0 3 6 3 3 - i - < (4 «-2 a «M a: a; O O H H t- k!ki *> S a s> t> » kl « U •M * 0 -t. * M U • *J EJ p «rt « O •C E *J -4 "** i * * IHHB 9 U S 3, 1 •ty !•(•}. unction to r*t * w 16 « •v « B t if **• 4J ta a p «M c It T} E t-4 M W E 3E E 5 HD £ S • "3 "* *J U B6 £ >» 1 1 • M <.*, < *» !•} * n aa«£est»»*» w^ C 8C Q a. £ 'U £ S * 1 TJ C »-4 C u • £• Z t) U u s i 4J * !• eu *J I •» I —1 s? 1-1 e -41 P » JE I V Q. < 1-1 « 3 * J4 X, %» V N» — 10 O g *! iw •H o o 5 - tt O — -4 O ki M X. ** c p o *j (c a * z » « uu * cs ., .. c o o i i O (*2 U ffi U I C 8 ** m * « O U » -4 t. K "c » v> 1 C K « O -4 D § I — to U IN <J O •• tn •* « « « O »" •> £ C D E O ID m n 1 ? 0 c C D -H C C -4 u s a « -H 9 B c e C O1 t o <p k Id —4 «•• 5 •— •— il B •> K C —4 S 5 ^J 8) C C C O ^4 iS X »-«* • ~* AJ C C i 5 K g kl O C £ M » S I >kikiEO • 9Q>O£ kit! U* C. * » * D « 4J * E l - 4 k l « i * C C * « U 4J * f B •« 0 M4J>1?K/} K — ckjOI E c (^ c. a. O >H C M —4 C £ f tn H SB 36 ^ It £ O • *j o V -rt 6 fiJ C £ « c ff<^ <H «.~ "O If. HE « g O zee SC C O f IMQ, £ C —. w it K O 4J W • kill « CM4B • V > XI C HI re t> H >4 X 4J ° "3 -4 C ^ ^ p ffi O K — E K U MO *-" 4D 0 9 W O O£ O I "» kl *4 n « 9 •» .u « O ^"S « B — < «5 > «J E * ** •4 9 pp ; < I £ « JC E O <H •» *J — — it u; » uw •» » re o -4 — » & b. • W *afe «-j o, — « < ewe •J < « « «£ -1 0 MM C * If U kl K 11 -rt Q * ^« ..•V E S —* * t> » « * » it E Ml — tn &jw-«»4 c -< < t • o * O s •> E »» — e & (B • n • « x * *£ —. 4J £ « O * £ 4J ^ *>>• — E n K • 0. JK >-3 *-3 »4 5j j^ §8 W 9 0 X X & ki^4'"' ^ ~" -4 4 - « i: 6 B O "D C JJ n t> *» g S 4J -4 C 41 -4 C iC C7 c S. K — H0 — o =• to ffi » c —< n jj * ^ (JP *- X) E W C ki 9 M «4 ki > c = — -4 t-4 Z O *-4 c H 3 •• u tO O « f-< <£ U O 00*1 X c <e * a> c £ —. X 1 i4 -4 — 90 £ 1 1 ft tft W 1 1 V b. , a «i £ §i 0 £ — «*-! • & k l * B » AJ K OJ *IH*E O f t <k> & » 4-» B « -H » 0! * T) » £ * C > O S Bu X, N. t W • « Z 4J u c o <t •PO. C -H C t) > U *« I o C to 0) ki U 0 4J « O 4J C » 4J a o • 4J T3 » & f-l « 1-4 -4 D * <~ . U W (C U 4-4 e* B & H C il •P *J *J X SE <0 4-f - *. *v -V S* V «0 8) ff C> •» £ K C «8 a I I I £ UU IS B I -. 1 En * # * C K -*4 C IS U *4 IB XI X C E «-• »-4 0 c 4^ «9 0 C kl M U £* H X* G. .J J C£ A.J K W S a* ^* ki K O O O O > > > Z *& £ — C «cc~4O cni-4iJi£ £ « « E * D — k i « « It o ~* «H (J 1 4J —' C 3 "w W4MMWP-I o P S B £*»«**> It « 4J «J .U U B C * « 0 » U « * mac e. *j w -4 £ • tJ > -H 0 U C C «4 gg "* ""* »4 4J E 9 31 4»> "O P fr IQ * « -H CMIB 9 « 4J -4 W • G-4C* C -4 « 10 -J C » C -4 O « u —1 & O * C 4 U 4 J O X > * ^ 4 C 9 J § E .. 0 SB y u1 S a z B *j - 4-1 *i .. 2 O C *>-i 0 7! « >,— E M U -U U • K M 8 kl £ a <t c o M C f ! % »4 —1 M ~* «-4 D »«. ffi >H •"< O SO ti t> 1CO «g m D 0 O O * « g) 4J K a o o V « C V •<. 4i U * *v "*" *** JQ <M 1 E «L «L J § « « * « «-4 ffi e Q.J5 S o • •c 5 SS • "B It « TJ U C II £ SSS &3 e E 1 ^ b. a> o % U O U P O O U O iJ — e * 9 E O it «n 9 it & B 4J 1C O l» £ .. gM o>T>4->e»etx:u 3 iJ & S >, -4 O 8! c «r4 • <M X» •4 e I I 11 ** y o £* » e "o «e C O 3 » U # * * —< —c e <M -4 | | | 1 c M « 1 *B O C $ E S I it O It Z * i—• »" ^ s •S t> • ** 9 a * 1 tl «) iJ *~ 4J »i « O U b « CC O O >-4 O XI £ n «B 11 XI Q 1 « .3 • « Q "V •*. **»» *s. "S.. 4 j II e • *J B 1 5 S* §::%1 1 *J 4J U U • • • o SB E * J « M I "5 -4 m i c 4J —1 tt +1 • • •«. *C —«. l ^ "%. •H 4V -4 O •o to 9 c m **"* jj V. *«» 4* 41 H 0 • >H * * I? ttt £ • S3 * be V • >< c il 8-° . «' 2 *>« « »5 JQ JH* e « kl O ki -i O t-4 4-1 | | » IP *> p V U «4 S U • • II 'S BU • • • i « Aj § 4-> isble, which w subsequence ea cation to Win* -4 nt instance U tt window handle. £ V. <v iw 3e 1 4^" «*«*** kl P *4 e « nt ln»t*nc« Id for flr»t Sho •*»* X. "S, ^ Ou 8 5 IS tancv hand In 1 rograw window. ^*. * .1 5 "S Itlallsatlen t Ion performs i Instances. # ** «* 0. U m e .... ii *a uu ob tn «) e »m t C! 9 S * s> tti 1°-, 5S 3 1C &— g r« . i4 4J •* — § ea « ij 3 g- S UJ £ t ffi >, . i 1 i i u o *•> 4J II a i »» m *J Ij 5, 5, o S ' M M « S; o o 7II 7 Id —* ss X E i< i< "5 "S B 1 K >• W « U 4J • 4J e u i i u «« « «» *e £I £ 5 «« x >• K >• 4J av* * »- — cs rx * O O S Q • • t5B aM o o "» •— •E O 4J IT • I C C £ C > » • O |t> t» |^ *4 §E * * a. . M 4J > e B S * i g > 3 o o ^ X — »> (V JC a c "* — » M Kl O H C 3 * * i* «B — » %M K M w JB iI51« i ta i w a £ B £> ••« S5,« I?l 1 * u tc c . .T? u1 M to « -H m e * c * o Ij'IS}!-*e> « * —• ~-r« fw £ <M JS M o i u ^ * S >|-S • i So e -S. .•gu1 1 §SCjC 0 * 0 * * — — £ ( !* £ M £ «B u £ i u ij 1 3 a 4-» 4-> 3 . It! » L* * * 8 !? tt< i>3 B E£ .1 «. *ES' Iw8- S U S 0 4* g «» O K! W I * l§i c t £J o <f> g -§3o o i,} 1 tn •* ~* m o « «'x «•• "™* ! S u 1 3 £ m U v> 1 JS O I £ • •O -t E £ i t> -4 a (. C ~ u o — .u a oC 3• • C e e > E• a. u 4J t) * —o >. "SE * & "* S »k,I • -« t-t -i * £ -« * « K 0) « u « c ii S <£ ° srlt!. !5g • *n * 3 t> * « O O u > t) tQ j5 o o e »-<•-* .* o C * o -i ts £ *J W E « O to *H -H g KB It E C <M O O ?1«S? o -< —< O *J *J *»t ki OJ 4J *J ft c c 0 -4 «£S I- * JB K *J 8 m« u ua <HB S1^ S ^ «5 •D* It: I • S1 M * U u 1 sIi e « —i u ?£ 4J U B 2 u et £ * W • * e • —< £ * U u 4J ~>* i 0 ft) ' JO O '888 -D 4J Q. * 3^*43; U 91 ft. o O Is K *n o 1 1 8^ * JQ O o I? « X £ £ « —» •• 4J Z * *J » re 81 9 B) S t* .C &, * tX > 5— ><••" ..?§ S *? 1 111 a5 *I 4J K I I «M « £ 3 «"£ ? * "** « I C. 5• o *i •D C C * •• t! ~ £ 2 5 5o Xt 9 K 5z S fc 0~ B: o— uS o *""£. S *? s * * S S, iJ 4-J <• « o u & S3 c u re 0 « B o ~ — • n — **j a n c « ki b .U *M B o— •— « K E^ *""£ •« 0 0 S *T 1 * £c IE ?fr.. ~S4« S o ' «0 O J3 « u O (k — O I I »? % £ « *» & tt * t> 1 1- S i* * ^«4 )H B O ~ •••no &1 « *•" « V S» K 3 Z £ e K — e> § S. k-l * 1 H 0 § » » -rt a S I I C » ** £ «J <B U U "O E1 £ " £ « * a» (QUA da p c AJ JZ n e t S 1 ~ o oo tn a> u u* o B —— a re M kl B) O J3 ll kl •»" B — * ® *3 "*^ •9 * *H • •_• Sac. « V! * " *n « -< in u A O TJ Q, n U C0 £ « Z * jj *» — U S O So AJ ft. !K — U U I a. •0 B C * X * *J 4J * kl — History. "} i •B ««. ft *-i * ff l*Sf»»buf>| * -~ 4J LPSTR)bufS,' i ki •- IM »^i > * LPSfR)bufH *" « I*StR>lHlfJ| ft &i 3 •* kl O a •eC E15 3 S~ 1C M a O u a! o c ""£. S-•> 1 tnw w- reE Bul I a x 3 Z IS a IS u o,~ * <tu u ?£.. ft. n JD 8) C > S S W K * a. 1 s ¥ £ C 3 a reH S £ _. •g o —— X •> kl b 88 •*-! Sfi C3 Xi S <» «u S3 «*-! o V oi h z tn a I,1 ll ct «t/3 0. f* S a < u g£ SQ 8 HH a K —. S£ — U BC rg ts 1 KH 1 I . It ~ * *— u e «' .S" O J O )-t tJ M u o c w -i X-* X O •-< « i-l * fe¥fe' S ow . « « „ « _ C t-l -H 4J >,"C B T) O JC S S: * A. S Q fc S wo • • ti g -o «a e o . u —U z V ~ 4J — *O K — — r- is £ w 1 * r» e r» o It U 4J *> *> *J 8ki *""""" u 3 1 ! U»»*.CpCl | 3*TTI *S 8^1l •*"<•'l§ p JO 5 J 3 E re oo* q o re z K k l k l U D l J I t a. u *j o - Q K K C ewua I kl Z K e> a • U J( C it ou«-4 *JK«iD4-<C«nXU X<MU9ECU0ki«ll) « 4-> ai 2 M M u A da. kl U U U U U D O U O U • —• U U££££<-l>-t 92 . O O Q SB 1C ffi B B ss s as 15 9 g D • • • • «S a o g ID o oo o » go o m s II II I II k! 3 U C t> as C C * (C 9 C 0! 99 C C * «.' •i ss ? {$ ac c c -. c cc S I a o tfl a, c 2 « &. «j f- U tt H w u a: u et *Hz 3*|S a. O *> » 0 O M z 1 I «C * . •a . . 4J fR} "Pressure H! O 4J 5S D- 1 5TR| "Cartesian I t, ItPSTR)• "Hatnmt Plot"! SIGNLESS, (WSTR) "Dlmem I H O o H < 1 a1 H kl «* O iJ h! «* « So * a * a B —.II > o .; ls~ « s.-a •o £ -c ES1 b I- — ssl ts o •» -. it se «* « u. •— — •> — -i p o &< •»< o •* si « o *j a c e c QH o Cfc O a e 3S « l u i * Z 3 * f •§1 a «M jD 9 ""•XI i-u'i I. C t« — • JS — 1C O « D 0 u * S V 1-1 kl *M V> O £> « » 1 *w» o m «« € i a z •3 e l | i i •i * 0 9 Z o a X) C •o >. e (-<••. •H x: j< u * O X Q. re ijrct kl w U XI « i s U * w-f Is *** £ t> * *u I 5T it 1 in •£ S w^ -^ 1 0 [-1 in •g | Sz S o" S €« *J « * ill *i^i y *o S o —— kl kl OS IS £1 t * —' 93 i a jb* -£ e u o *••" % »*. * 1 * i *I o o * * w-< IM >o C 2^ S *e £•08 e c& xtlhWnd wPirara Xt (hKnd wParam e to <6 «MK •treat •treat < 3 ex * Xt(Mfnd wParam 4J 1 c. •ww I r «i Xt 3E flu "C «i £ o ** w «1 B »* O, B M g§I I 2 o • gc?| CX £ f *- IE * kl n u , fci JB 1 > * C „„ •treat •treat A to xtfhKhid wParam 2 I a i i t * •» •0) -x 1C Z = re w O Cu y IXo oU O O kl Six ^ —2J z> s ^..^ill . . i ll*o" .IS IS »•» . » H » .0 ft H K •> • * * O O W »KXUOHOf-< » w H U U H ' W X W X » X I- jr" iA3 U3 f« u H *• M » a « i 5 ui * -o e* * •NJ l"S £,$m <c C o £i c 8 ^ « b O * —i o jc *j 8« —iW «. • * —1 * -t m o 9 • c h • »K IS S.8~f:3 *B *9 * * » U JJ « n »C U B> V § * o as x«. . <W — u u * O« S OO O O O O Q l JB Xi - - - - - ~ 5" tl Si k< • I it O D O OO S ou J= 8 i E •" as E <M IM C O * Cb Oi * & I * — « 4: E » -i Os tj a uit3 s.. T) e. 1o3. t3o ooo o ao _ "t! t3 IS "O TJ TJ T! . C O ! —U h i I c — u c c c c c c c c c c I > S .1 E « IE * O O »IM <M t* m * c c a ^ § i S « O * » t> t> » • can C B" -i K »-! K « kl — Ii i s S 94 B %. IM&f •% 05 # I i? * S * I S H a 5i » e E •B «•. »* iii 1* «fi Z " 0! S § K § D 9 b. O e "** & U C » I« 5 S * iV "' 1 ^ IM llg | — •* * — *o fiS £9 IM «— «M • IMJBIM IM S'—a U a itS S etc JS J«3 K -*«,»>., O ^ ei re n — 1? -S 8 D -J S 4J *» n« * U * p *. M -v J n M K O >• —«*>Ke»« — 4 J W « » uj= o « HE «e x MHOliS'po'S s *Jfc o *j « o e3— iI U M J O.klO'MMUtl! +* « *j I l€. b. -D 0 C O l^i « J= iJ o -< o o o O 5 coB t£ S 3 Z t-J — u V «» biUiMV) b.<~i )' j 23 uO. - ^^ i /$> 4—^< 9i uO. w0 jM a -4 M «< 0 a •""* S g **l UJ ttl 8 w •J Z S3 Eo z 0 *«r » «r O O *r • w » H !• » X » X H U H b! X H X f- Ui fb! {- H M H IH f- JC H * «« n »i JC «J I -• 1 C ij z •3 X |U IB X Q > u en - a; u7 a < is 11 & £ J W) W tt J u; J»3 t«3 (ji3 U Of & * fi' e> o HHHH H W *-( t-t w o o e» o e oao f £ £ J= * <t « re K 0) « K 8) 8 61 * l iii « « c w 4J *J 4J 4J I W w IM fet>3 M T» « > is f*.£ « i o * o^ CM O C » «<>-> 53 6) D -< 5S 0 kl •B a £ m m m 1 i> 4-> M * **" 1 <-4 E as O D •- U J= e) 01 e o S «« O O « HUB •— — 4J * 4J • xC * a IB i •• x D o u a 0 |'S 95 gw s <H —— x se c «•-. t> Z « « U « wC — _ £l ££ « ID £* O t> t> O c re O Z X « < o- o ooo •D T! -D TJ C C C C •D JC >. 4J o fe £ -i Si! O V £ -H Q C fi ii £ 8 is c u S *J — S KI y * M * S* x o ~ >« o o « U D "K O — X W " .w O 3 OO •4 td "c o 5 'c e» a o w 3 u « e .» fCb IS ^g 0 l»3 5 4J JJ «— *J W IB W * i 1 1 1 1 S Z A O tM ti3 & £* .i as is «y.. {-< i~ «M 2 BJ fio «v C re c t, U °5 1) ° 2 £ •» %, tJ £ S b3 S " .3. O X IQ -H g "as •% t w Z >-< ec ..1 >3 .3 » 2 *? O o "So E ~* «» »4 .. J «* J — J JS J pJ Z N o i •». CO i u * tJ -V « S •i»- 1 " * ~ i H ~ i JE a •• w QH £ -~ « & "l •• t-— 1 Mif o Bo ^- JQ X —H t ~ i o u v t - * Z M S Co C O O ££> £ —S v "o *Ie "o O l t - < E —I O H E 0 « il it 0 B £ tS g u g •"( p«iS_4 Cu ~ 8 « MC.UG a 63 «* O £ a S iu *i (H a S £ P *0 IM S § 8 H | » o . .£ o IM«~ Q « «JB « e •* cb U P S« o e» oe — S «, *H» »— £ <D IM IM v< ? 1I o •D IM* B- i £ 8 t» «» •» K £ 6 » - cc § fat B l~i O C as a, a. 23 k* C S «. >< IS M | M Si«•«. IB&ee «« o u — 6<M g I e « . — ± W CO "" 0 -° C. n • »* 1*- » -5 K 1 *Oo" •*.*». (** *"« #*v* to E Jo ~ *J» 9 J a» IM e T) f K E 2 <Se 1 £ •» -4 » * O9 • O K s e » 4J > 1 SI ? If IM i <o *» « 1 C iW O • «H 9 1 •e * • « b .* • 10 S XI* Jg § *•* 1 „ ° o o •0 O *»« -V >. * * * 0 O ui — *> t-i -I C It t) U K w < U. a< U to S S 3 i b> *• £ 1 i * i * I 3 e * I 3 1 1 V «. 1 T> 1 • C i *j1 s ga i B * •e g * S * kt h * 9 kl • ts 1 I 1 «H I » B i- g, I i, u o 0 » « t. *» C kl 9 £ fe£ £ b3 O — Q — — to — 4j «4 ^> W »a «S aK b, H" JK C U kl e 3 4J £ kl •— ki 4J < «X u. O <~ £ Id ra ra 5 ii 0 a <c i i n* i< t : 1 g * ) 1 * 1 * * i 1i •c 0? 4J M ii U 0 B H B. | o | >' | o » «£ s£ S> £ M < » b. .X U * U *- M C U k< « 9 £ 4-1 HS i Ei 1 f b S u » ki w g S fc 9 8 S I ^o I g £ 1 |1 9 E O ** tu to ** is U D £ U •— a> 9 •"- fci Ikl * I C £3 M •I •* " ~ * O — £ U C ki 9 « kl 1 i u. • is gs S c M C U kl £ S £ o — til c§ J -*• U r* ag r a ra r a ra :•* w (H *— £ B f i sw • • 1-4 M — M «3 a 1 O *w S t» I a S 1 ^ t~ | I I * » I 1 t I m b. 1 W 2 hi * c U ki M C * 9 U » ** ki £ 4J U « «- kt I) kl m 9 C < C b. J< J 9 JE 1J *•» c ki 9 4J « kl O w C~ £ Id §s *"* S'S K «C C U. *£ j< e JK C U li £ U *^ ki 9 *J « M K < « U. s•— A! C y ki * 9 •£ * U I c * 4J * 4J T> g (I 4J e 4J C C * ki ft) * * * * £ O M B V i> C •o I a IE I M S u o. • C O ki •o t> n X) * c E if 9 I O SE S 1 £i ta M o o e o o c1 u "*•* FALSE} c » 9 X) 18 ki i O O u o HI |3 Hi u £ X> a C -J o K **tg kl ^ kl « IM k *l 0 C V 9 9 * IM o ki t> C e * i "O •B 4J * i 1 b. \ — FALSE) ") FALSE) g <c 1 T! ^ 13 * 4J * IM O — FALSE) 1 ~ i w •c u. W S EC fe] t- 8 O 8i u o o 0 tJ o1 U z a* u o JD> i& •O J( £ B * on O as je c g£ 11 96 Q — K <C « b |£ K < ^c x c ^c * 9 g tp » 9 H— J* C U ki « 9 u as U V £ U •J O o tJ gs co —u r a ra ra fa ra r a ra Ss S s £ s —i •^ •* o» £ U |£ K < (1 u. K C M C k< gj 3 O ft) <p a c* *y .* C U h « 9 U 6) U « -( «*« _< *^ U kl V o Q £ K fr« * H ~* , MW MHISOTROPICI f / XScale; e S 1 4-1 V U *> kl it <B U. •«• K I! IB *J Z -t « c is a. c i « >«M SI «J e M 1 IM K «! O O .-. o 8 °« o o <»> £ O *O «. COO K •D £ £ iJK K kT V 0 •- 7S ««< t> kl U O ^S »• *J D 0 0 -J * U 1 K t) •o •§ l l Iw US C C ftl ftl * *J K IM "O **•< 4J *-i i-> M M > i —« - mV v>tl Me &^« «aln, Xinit, Tlnlt, mfaet, U DC, hOldPen) ; P«n) j 1 «n(PS SOtlO, 1, RGB(0, 0,2551 ctOb j«ct (hDC, ttfmnlt * I DC, (tnt»Kf«ct, (intjyfad DC, Xinit, Tlnttli U3 1* C £ C 1j tj £ «r^ i™% 0 K f- e o o. O ** ^ E 4J 0 •M £ 0 ' I 1 « S » — £2 o t5S I « C o «H — £ O CD D — 0 i ., O KM t? £ £ i IB « « "J a. i- z z £o<a.ccccc V o 6 ee « ~ S o f * I- K •» 4J M >. >• O U —i <i M C* W "1 O «i a *'2 .. .« ki •O M 4J £ o w * « * £kiTliDE -< a •3 — U C O § -I kl U. S 4 J 4 J 4 J O O U U c c ^ « a. c. U <U o -1 £ ee Si ol 97 00 8e O * -. 5l 8s - 5 *j c as *j K >i X >, fe «» U U U ft) ft) fti 0> D fli «r -o ID k< «4 •— C O h <M —i & 6. 9 ki Q, a,fl b *J 4- •• *i 4J M I I Io —I c ~i <H c c o — * o O ff C T) I kl — i •> K 'k *r 0 e^S *J _ (t iI -H4JO T) 4J O S « «~4 -( O iw , O -< •— 0 >M *~ « X ir S 5 ?^ fi 5=1 t HH kl -H 4J HM 4J O K ki u o ti tj « O U o •" kl H II « « >> 98 «- ~ O O •» i DC It X U U U It X >• K £ M N. "V *l « e o "3 M »"3-o - K co * « t» o o * » V -6V a f * -[' ^E g££ i ; O •a. c u h I —I 4J i l i .Io n £ £ x kf I| u— I I n ki e • — e. k. — O I ii £ n O kl W *J O kl M a4J tSs> C O fti if (B — IE O D *J Ob] IB » s o o D P. & 1 tJ •o * * C CCS) 4J 4J •»* e « w K X K W W W *«C «~4 oB 3£ it> & £ ~O C 4J •U tl -! JJ B «n Si i tl Ck D. O £ £ X v•T G ^ H £ C 5.o §1 iti &, - 5" - — B •n e .* O OB. «r> e •» O O a. ^> c •» O DO, • i ISs i I :i & I t> e it> --< k. O — O. • kl o :§ ^i in tvi I i B O &. K rr * c '£' & o o OM V t? i OB M O • K 0 01 K e « 8 * a, U IB W ~ * OS C |p W Z? » II <£ ° ° 1 1 «' -o £H1!£ 1 O "™ £ -i * if K § O a. I O &. ~* * o BJ .x, Points t t j . y + J, RGB (255, 0, 0] u •> » » i .. .x - J, Point* f l l . y , RGB (255, 0, 0] (int)yfact»f o JJJ in .X 4 ), Points Ul.y, R«5B(255, 0, 01 O Points H I . y|? Point»(H.y» RGB(255f 0, 0 ) ) r «H e? O K K to - t! * « K e « A (B — rl « 88 I I kl kl D O •S3 til %i» *J O * o « ki O *J * «! 4-J «1 « «M O kl «! U —, .. K >". X >- U U — .. g K O« T! "O E E X >< . * U. 5! g BuB ;c- <c —c ci —- i(—- <( i CM wLi &x —. <c -c. 4J 4J 99 JJ AJ w re z z O O U ^ ' ^ V V *, O C I c fc c o «M re Eo .. — 0 «H O >, c •M b U —< m "o —. p « H *»« 5" _4 «/> & 5 V .. £ £ •* —t ££ ^-t £ >^ K i i ! •» M >i —. T> M —i BM C C «S i« "o o U § ~- >l ft, O. ~ 4-' -tJ C C kl O ». u M O Ow «£ a •- ~ w H Z S«3 Z E o K K >»p n <H 5, i m O *> *J C _ C _ *) *H •. >, ». — .U OS •« «— ** """I! «J O 5 U. v ^ *5 o «•» a. o «H V «» o i & — P. " s (M tt — —i * >4 — — E O RIM "~ «H *H, 3 aJ 4J O to O CL U H § § II H — Se x W S JEiM O by 0 JEL U — O £ O > O T! — «s, oe *.' 4J o e «. •» •o ~ .v »4J T! E «• — * T) Si « x rt O *O t) £ :f i H n -D a— u c ;|H i O JJ 4J 0 • •O u jj u c c c -M -i I -< a: -H c c p S u. «4 -I S 100 ~ «J « f- -< u •e £ * Si Bo OO « O o .. w D £ « « «M i" C — « *J —i *-* *^ 4J i- <M —• «vl « e i K p 4J w fc. K <e x g £ »• a «» «-» ^ *^ *« e •* *M U ^J o «% »>« • *** flD ~**J—*U^CJ*C i B- K .» *< ^ *^ *% 0 U I * * b fc4 W M 1 t« 2 S K S E IM - s ts s «, a *. IM IM 3 9 £1 . ** ** v* Its •» ** w ev '*»««.L(WWW W 4 J S S 3 3 w is TO *c tt? •* *«• 4^«->4-t^DK>< «-<ei«ta-i — ** <W 4*1 ' *» O H..S O O r*5*l »:*t51 1 sucu — ' ye u" i 5 «H o JE ~» £ l«» + •• >, 1 I ——Z K K— -• K = . C LJ I I — — 56 S, ! , _ ft o «« o X: "•- Z «^4,«% "t> O L> U u £J G K 6 S «K i «~ O K O K O O K O K O « « O O K >- •SB -^ 4-1 S kl *> « Or « *J W 5^ 10 4-) AJ K •D ~" * U U X! C .. .. « It <-l rt »4 IM « £ K >, K > ^ D. a A O ^H —4 £S 4^ *J »** -S 4-f ~- — 3 3 — B 3 ffi ^tf0t [^.n^^.A 101 a, a. u u «- —. •v * *V u 2 * x: 4J * JS £ 9 ^* «rt c s 8 ¥** I 1 i ». •*> »«. is I i3 m e 1 e * K i i g >.ki^ fc X S O ^ uK o oo o <•* «e 'g 9 3 K O ** ^ *" 55* * •»• * • •» •*** C uK .. .. U 1 1 K ^ M S3 t> * 1 3 «£ in •» S ..RS , ,g 1 3 3K U U SJ K S*H U U CJ K >, t- Sg OoO «» OO •» m •» o en * » 4J * 9 oo o u in >i «n ^ ^^.J 3 kl h uK o yu £ 5 C * * «» >. 15 O S 3 K —< 3 3 * U U -5x5- ' ' (M ' — 1 ri I * 5*^ S a! ij * M -t (L ** « 15e |~| K kl -^ >*V -1 o X. 1 4-> •» •— »• o9 £0O t*O ft) a « > c * - t) 0 U •O tJ K B * *•* « ' I B» »* »~ W • S K kl U kl B •» *l »t 9 U 4- U S 3 K U U «N K M ki % S U * » kl 4J 'S . '' I I •» •H C « -< -I .» .. u s U O 3 E 0 2 9 K •« U 5 .U Jf O. kl E f I — 1 * I .. ^ M I * ti % « ID 1 1 1 fr I ki kl K «mt I B * i3 e 0 kl *•» I ^ 5 t d » «lS y *|3 e t> —i »•. "- 1 O •>. O o< m n eI li I I I I «4 -J 9 a a -t ~t kt u u y » •o 0O t> <H O *. CD S -S kT • ft a *o b 9 y 1 U U >w O D 3 JC -C £l S » « 9 OO ki k. 4J « e 8p^ 5SN §*<8 82C 3 *^ *** y 2 o i' O H2 H O «• wf«* W iU. CM* IU K >« ><T! "O <w S MM. <C 31 Q gU xoU JEu« o >*H, * c a t n .. 5 *s M C3 » -, « •> »* tt IB M »-i <-* »H C * » uu § ' IV <• *•> 4J • D O D O O 04*^0 o «• o o IB 2 •• Q O O U 1 S 1 1 IB 0 J* U R « U M * » kl n •rt O M kl t 1 r» fc o -i X 0 o .. o «U U 1 M IH • el «t « « in « « 3 *J *J • tt a 6J S >,! 1 • o • « -* ., M i *< O * TO O .U 4J 0 t~l 0 H 0€ « t> D O V *« s 0 1s-s UU 1 1 1 « • • • t • 9 *> D O * 0 0E z u *3 * m «•« «-4 PH ffi ^ -i *j .. O O -O ki D O t3 ki • K X £ X2 tt K >iJC X! «S U i* 4J g jj; ^3 "3 D 5 *M 18 IV 4^ k: O O rs o « » «D -i •* O <v>4 •• ^ > f *~* O i) » «c D ec o D p UU1 M M i l * U >H 0 kl c It u 0 kl S SiS H *« S S.S X( u 102 O 0 C «« O *^ -k* iJ *J 0 m Id 1 1 B ~4 ^^,555 n o • O *J *J O t, O O *D r L! * 35i (A O O w U O 1 • S 1 ^S n * 0O COS fi »H <-i a S l« St J5 3 "m fc -4 •* * « 5 2 S "S K 3 * S «i H * , >i£ X! « -< — < ,4 Id «H -< Ou ft m « •* .. K M S 4 I E s IB •» -< - - « ^ « u ( » « * *; • O JJ 4-J O H • >-<«) e ki si 1 'S S •» • I c * • *s •• «• H K 85 wf It 4J Si «eo OCX ri a o U 1 4J O 1 "3 » JK« uo "3 "S * I? *J 4J o w §,1 £ « K XX! X) 5 "• V M 41 « i kl 1 i * * i 1 « 1 3K S ' 2 .» 3K : kT kT kT £ X 1 X 1 1 kT Cre 1 a fcfe kT 3 U K o CD x: * jj 1 *S 9 U K *sl 1 *J *S •» kT K .. S f u ' ' S ' ' S *J U U V K XI- O 4J 4J <M 4-t •. «» O in tM kl XI t) 4J — eis Mh o o U M « U kl kl * e 4J J ti U t! P « K Z «• K •^ V K —( — C «« "« t 4J 0 kl ' S LI 5 K L^ u u X X u 4-) & * 1 •cwo O "O T! ft * — e >• ..5x •Sfc-g ass O >- t> + 0 O U S K K ki » « » ki 0 O «*« ev 9 U O U U U K£ OQ K •» JC £ *j c e ki VKC <c J< * nT «. *J 4J » a, 4j se 1 kt 4J tt £ »4 * ..r • Z H — -i 0 -i ..si 1 O If" SK it «•* > « I o - 4J •COS) kT 3 O K ** e •* a y" o O IN .C *4J •« . . . . It V 4>* Qt E fct• O4J 1 kT 9 1 * h K I C I 5; * o I B « u u *? «n _ i * i X 1 e "S TJ S5 01 i i 1 •ft 1 >. * 03 US m •* «M » t! U UI «« i i 1 K *% § »*4 X 4J . 0 bay 9 UO «l —I •. U «•) *~ •» o e -* i o S C O h 4J V 3 **« K 4J — X, 5S c i a ii * 8) kl k, b 7! * * ~ 3 S D — rt ki UU * £ — H *J uu« X X t" U O U B 0) O K X XT) T> "w *O :G «. » >• * « 52 S > i-t . (C 1C « « «5 »«.•»•» l4JV4^4^O4^ K X ;»<rt««fciO-<n 4J 4J 3 3 3 S e.&iuuuu ._ _ _ _ K X K X K X-x XI t> t! K SS »€ •» U HS «3 c c c c c c c *» 1 — n C C5 x: h sss 103 •* •» « UJ II SS V U 1 «2 2 • e *J OOh 2 Zi S »«<$ «« -t U m i? u u i S ii * S 1 * S S ""' «! ~> -.I"* — O> 4J U C U U 1 •e u u i U <J SC O M K II* g1 »5 M * * 5 DDH sss ••CO * V9 O O E PI O3 "< -i •"• Q O O U U 1 ~4 —t m 4V •• * Ou u D « O oK aX f T) « 4J *j e f e e 4J 4J Cl kl X! « .v e B jj n Cl K o 0 kC ki a o o «l«(l 4J 4J O Oi t tt * * *c 2-S ki « '« xE XI x: £ U _| •9 " t M o o r> »» |_4 — 1 4J .. (- £ »S xS •H en o O O U U 1 D UU I « (0 1 I B •-• U Z u H D JJ iJ O IB Q u «! M C t) kl 0 1-1 « k> O XI C K s> o oac in ffv -^ Ou " ""*""* IB "* u'"1 "* B 2 re 4J •» Q) W 6) *-i O T! kl x JE xi e w U 1 1 » bl 1 1- •S ^ It _, _< 4J & * .^ |-i 4J O re D w *> O O T3 kj Q •V IP "S jy *» *c •«•* S3 Xl|t ffi S XJ ^5 K * «C —" — *M 2 *S C *, 4P3C «H ** »«. *>* «•*.. S ** $ »* n S3 Z »» C «D <"""« D. "g |*> "4 J" W* «%8 *« § ^ « C M O U X " * B > X 5 * ox * f C -^ i W X — «f — K «-4 j a &K ^5 U ro 1 ^ Z B i f l S - —.IM *j *j Q, C s l o i J ' M , "2g g K ^ 3 W Z 2 — K»Sw « «M »H *^ 1 ^4 w g w H O ID £ 0 i) o $* > Jh£ «H H *>i fci M .. &3 OJ 14->UO<-i i i i i ii in t*« z fe * f l u O c 2 9aJC a t> I g S M t V 9 1 ^ «» ti -*••»- IB-* *J 4J IB -^ Ca w -. •^ o ^( »4 * *— -r-t *J D o J3 *. *-» *-• S ' S c A J w i i s: ^ « t - x ^ X U O X U V K $-< SE - f A J K * J 4 J - * - - M 2 : 4 4 l " >• 4J x a. a, 4~' d >< £ E «— ' O » - 4 ^ — » «» kl ,*«; B " *"* R ©5O ^ ~~ E «- 4J l - i £ £ l f»M JO O * - * 2 « X IK X X X 4-; i S3 JQ OHW.I-3 *-4 ft! ^ — i *M ,0 ** IB ("3 * g baaaaa uo i- •*• « <M 1 £.£.£. U U -H klkl JJ * IB g. 1 iJ G bU f It C £ £ -i O 0 — - » >H IM J V o O .. a -< Is t X >»«-) p-< o ~ a •» *J O X H < JJ X BUB. "^ §i -* O —( — —•a 5. >. — • — » X — 41 — g 5 a, ^ 104 f. C C C C 0 •< ~4 «H •* . • -< *%. t **K ** <*»». O 0u &! i"* 3 £ SSu S i 33 § o MC **» & «Mb fQ B-- "* *•? fc"g£zli *? 5 •« w , •» •«. -» a w — t« in >< ««. > KoOfcibiC-iA «»o~|gg g^^ f O) SE L? U 06 so ec w a- f-« S f j1o t) j u1 EI JI utu IL JI oI o1y 1 V IQIUI y 1^ 1^ 1w1y1^ IIy i ? 1 t, « * ^. o * 0)m * H|ft, yoyouy^ywou O. to O ««o ^^^ < LO —I D O O O O O O O O O O O O t? O O O O D O t? f, O O O O O D O O O O Q ODD O O O O O Q O O 0ooc»oe»e»i>e>»» ooooooooeco ooo coo oo> oo — ^ ^ j ^ ^ — ^ ^ . - — ^, -OTIT! Ig'O'WTS'D'O'O "g £ £ £ £ £ £ £ £ £ £ £ £ £ £ ££ §-<>iE&bH0So3KKHcy UI>9XO ». — •* a, fcg w« ^y ~. ~ « 0 u. j, I * i K* O w H g h. #* Uj W 6ft fSB g 1 O & ^, ^j:-e Illilllllll III lililll 1 iiisiiiiiii ill II e e (dwuuwuubiuutd 9 3 9 3 3 9 9 3 3 9 3 UHUUtdUWUUUU blUW blU 9 9 3 9 9 9 9 3 9 3 3 9 3 3 93 us u u S 9 3 uuuwuuu 3 9 9 9 9 9 9 w 3 B U Q e - • S «««rmw(t»S5»> » . . . • , « * < , % 1 i i i i i 1 i *« ki D Xi a U 4-> f£i ' «c .«a c«. D .aac.a're*-* f*j « * « « « C 3 l u > . M, U « •* O Q o n oBS aaauaaaauaaaaa * « « « « « « « « « « « « « •+ iJ J* O <-i w O M .« cj x u <w3 >< S£ 2X fi£ *J J3 I — — •H y o a 105 »» «. O O W ri ~ 8. ae »> -» •» —. O •« *-. VI 111 -. a- D is u u Mc (b (i O X M, fcSS 28BS 3:188 C,I,S S8S,! i £w 1£w Ix§• Ia.o I gj?« M Hh «a K 5 sn M 2 B: 1/1 til o. pP. O « w ua te uuu * M X «WE OOOOOOCOOCD Q 5D O O O O O O .» cScocSoSoSe •M 3 t3t5T>"O"OT3"O'OT5T5"O £££££££££££ * t* ^ c ccccc o X in — o a. o. y Ct-ii"i6«i"iQi*3ijM« t <3 <t uw ii-«l«a;H>o-a'ob* Hx &o. yuuuyuuyuyu O c c c c c cc in I I I I III O O O O O O O O O O O ccc ecccccc -O Tl "O t) t! "B 8) tl (! « « «! «) «) J! OdOOOO t> O O sisin §§i •O-DTJ £££ III 11111111 E EEEEEEEEEEE £1 e> o o o o o OD gg T3 "B T3 "B tJ "B •o ts ££££££ ^¥»OTP fr1 i- 1? 5« to ^ jC ^^ ,, uo oo SSi-ggi £ £ C C C C C C C C I III 11 «> » <e s> ei w I I V V 63 U 3 3 3 3 3 3 a aaa aa c c c c c c 8) 81 g) 4, 41 f cEE c * 0) .. I 9 O X X Z Z Z Z *X 93 ~ —~ «J *^ *^ S o -< 1 u m ij £ C U -4 1 106 II •o rew « -« ~i u'o'u'u'u'o' cc e c e c c c c - D Q D O OD •ari'votiv'w ££££££££ e c c c e e c c c e c "ccc ccccc'cc'c I II I II II | | | «! * V S) « 0! "B t3 t! u'o'u'u'u'u QOOaOOOOOOO TS'C'OTS'O'OtJ ^ cc «* ., _ I A oSo * 33335333333 aaaaaaaaa aa ccc M, «. Si II I S 3 1 S i; a: T> . - z <c S iO Uo *5c - o S.E IS' 32 o o o c o c o o o o o o !» *J V « 0 iJ 1 O • — SB JJ ', JK ce VO 1 u_ a u. B fI -.11 i coooooooao tDetull t Detail .*5 .. K5g I li 9 u C St. b. dig IH « 1 *~ "a.~ S -! 5 5 15 0 1 — . C « M 4J O 1» &, m B «< < 01 -» ae CJ —JC I SSSSSS5S5SSS 2 —t> i i i _._ _ W •"•« * -I T5 I — £ O O ^5 —< • (U 3 8) 01 — n bl • o oo kl -< i '£ £ £ _.Q _ . .o— J 0 _ C b. C C C C 107 : c Q 11 a % ? ±o JB v ~ * I v I- = «a — o 1 D TJ *J ffi — fi U Cj " is - • O a. t3 ~" BC P ». «M 9 tJ ~ fct -H A « — JO •— «* — — jj a-i kl b m te a tj I —4 i M <U -e J• 3B. • ~ g I £Z_ — JE £ C C -f i § 4J 5 «! J= S ? - •g£ ^ "^ • • E « ^J t> — J2 -, | 108 i! ft, IX 4J 4J c e w w »« «* a a *j w «__ «__ e c _^x S ft 1 f-l I. i, K •*. 5, I V 8) •» O 8 «! *C O *W *w *5 0 1 0 K 9h.fi « K i i• * 4J 4J e c 44 4J «H »4 S-8-g££ O I i ».*§ _C O U •» O « O 1 * »» >4 "«— S ja . If t^ £3 S» '*-••«' 4J IB X! ••* — « C *J C C 109 5* StS « H £ o {41 ttJ *A §g *•> & O 4J jj B I « 1 v M e tS K c o m 4J C O 35? •B « -H C JJ « C « 5 * E* 1 S AJu * * * o u i • * <M *i C 13 O U « -H O e &. o •c £ — * ., - ? fcl c *j •u 4, I" a * rt ^S Si KS C 3 C T3 * O "I 0. £ £ 110 %* \ S; (C •* *•* e in m 8* o o e u o * O «*•< S~ -< e fey O eo U. — B O <H •4 m •4 O S 0 o <s <* o 0-4 0 ^ 8? « >»4 IB r* ** U. IS c e U. IS o 55~ i«u * o * Ob. O — C It & U. O — C 44 IS 1 « ..1 •- £ .« -0 C M 4J -1 -t „ & b. « £ K O X — in x aE ' K "Si •e e 1' S -i • IS C | <e re SI * o — XI I) 3 as — e « _^ 8 2 O C O S K R e 111 ^ e T) o •> ft i ii •"" > '§ u 1 •"* 1 si •o — a » 1 •» «— "S 5, re t — — «g * O <-l —. — 4-* 6 O • ** 1 *— •* ~* Q ~t "S ^ *^ ti & 5 Jtp 7 *> — T3 W ~< K U 4J O 1C •" « I 1 is x. — > 3 » JJ © » *** " ll £« si i >•» w .= ~ •• S 1 ' ..=,' « ..s, « U H « 4 IS H S"I88M A * K X.Q * § § XX m it jg ^ a S *J » « *«' U u 'III II O £l •• .„ — . -< t, Q «• m 4j — *j i K 4J f» O 3 S O H CM M O «-i 4J 4J 111 S i ~ « » t-i 6 5 C II *J • K M 1 e o C 4J -H a f • « w 8} t> U « 9 a » IS u- —' ~ — t ^« o ^4fc4— ^ i-i « tn in w u M I- tI ac u < < uu U • 16 ^*« ?u « C >^ O 7^" 1 i O 4J O O 3 O C O U "H IS C O U. E U. I* I O C ~ 8 K 4J I I I O t> O M o e 9 v *- o U -< T3 T3 »t — m K 1 «», •» O 4J In B h» M R C 4J 4-1 »*t 4-1 *•> •"« •• is > 4J 5B IIc c •* •• H E — ~ K X is it «p is > > 6 E 7»I ~. *j 'c *> I? o. 1 HK .... >i •" f •» K O O O _* •? m X O£ R •O •^ U *J *J O O C C B -x q n **. s K i* B - GetPlxel • -dwColor; (hoc, x, 5 : i t 5 . 8 1 ' O O K O "3 0< •f —i .» tn V —i — «4 h <+• * O «4 O a, u «• 4J * U « Tl O : §t> £ » t> O *"« O CL U • jj -D > O y S I 1 1 £ 1 1 O O K O O K o o o. o o a. O V u U U JJ — -D 13 W t3 T» M ¥ ¥ « » * « dwColo 1 >, i >. » I* i ^* O - I *^ R c. % *o -4 O A* U •H O O 1 I. 0 O » £ > £ 1 u, O K o o Sin i 1 O O K O. O C Ou •o t» w v ts w 112 113 I «ix!u:i»:a<<<<<<<<«c«*<<<e<<<<<ew • OQOOHHHpPPPP^I-PPPiSpPPtSpfctStSSSSSWOJejBiei «-tOOOW*C<<*C<C«CiCiCaC<C*C<CiC*C«C*C*C<C*C<<QV)!«WW3W5/JWW3«'5 i. H » GraphPi InputP) MalnWn< g * « « ScopePi ouuo«OGoe>ooooQaaaooooooauseaEXSEB>aai»«B« i 1 1 ii B »e 1 s* s- o w IB « 8 O l> O M iuxxxxxxxxxxxxxxxoxuilau IX x g X £ X X o o2 vtcouoooooooooooooooooooomoorHOO o eo n o t M o o o o o o o o o o o o o o o o o e o o o o o o o o o o o rv ooooooooooooooooooooooooeoeoooo oo s IB b. C tW o o tj o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o ooooooooooooooooooooooooooooooo oo w ooooooooooooooooooooooooooooooo oo 114 ti a O B K oo 01 arama IS roc at*mm dProc * *m IJC *" 1 5 u, U V* ft <Si e <K a. a. c w 0) 9 "ft a c c & « uo s 6 £ £ o tfiu m ce <r ce u B! U CR.I r-l O u. o e o o w c & c V E -H O •o 6§ 5 0O O O O 0o o o O o o oo O oc o oc c O O ij I «*•« 115 » « xt e* t>t CM «-t »-< ,H ~J f .rf .g S S 9 S *SIB' w*?B m t» I— S & w'wWej it X X X e c 60 •^-i •q i" -9 O 1 X §1 -, t*. ^ w (A % § U s , g ~ 5 B S&« ltd m o ~ »4 i *g U 6 «e,I M o e U. M * ,» *• i •» iK r? • ,• i » b 1 U «9 -a B « «• 4-> e* — * 9 c t« « *• M X - g £ K fc § i 1 » • B O M JJ J B o O 5 *» o a «? o ««f m ff • o w * <* S i!) •a a o ow o o ct ae in l«r H H 0 » s § «r 116 t> U *v * • * • g 0 c« % * 0 O M Vl §5 •4 J * >s a ta o o K o ao K a O a. >> O * Itn u « « S V t * t "** *^ •o -o *e * * * » 1 1 e o I* CO mmO O *""> o CD » O £S O < D i-3 J f- H Cb 9 x « K xm ui u u 3 <e S Z O H W I O O O u £C M DC K HW S w'*H»lwlS «o M u w a *"l IA W so U t* O IA ffi 4-J » S x & u O —1 •< W) K IS <M X am c o n AJ «e « > * c a — S z * % > O * *J X I1* a, O r*i o o s o *n in JD >-3 «C « 1 2 f X • o •• K X >< S «u *-< * 3 jD >< o s ffi in w^ lg C U U t£ w «« W O 01 c •a j §om a J jJ J J o O O o o •3 * * | M M K O ft. >• O U < HU tn u IA CD m U a a: ix a a. - g§§ a f- J M 1 1 U . ^ WH *«l -4J A. .*•( ~4 ~~ •o •D "D T a 11 81 4 » fc » *c r*- tt o o oo c SWw 51 H H f- t" l»- U. U. Li j t-3 hj ^~ fc O m » • M M t. ffi 1 «*»* •* •' 0 0 V. IK « K H H H f- w W * *X . fcl!»'!!* i *•& M I w4 ••* <O t! l-l » «. S X M »5 M (-1 U] - IM. U b. U, td U M l»l 1 «-< «^ in i* fr* »• 1- t* ,«4,»a, CQ 1eft 1 bl u M .«r sc O u « u. O £ x >- m O > M c e o o • <• *•. uc k> b u u II p- M (-1 1-1 M 9 CB K K O » .» » Q O OQ .S S S 3 3 R°, m in o o a o m in £ 0 * t » «• m V -" * O eo f •H <« * 4J *J « « w %. 0 t) U * C o e «r rs* — i •» m * 0» « * rtfC * s •0 — m iw1 si *j «H 1 • i- a » ft 1 — 1(3 fe 05 « M o fc x ft. «g H **" •a o * a: 5 *i «'& . x _ 6, *) W I * 3 e •J a £ * P ia u. rj « » *B Bi S _ 9 "~ X <-: »• 8 S e CS S B S- |Q**i££Q .-i -< 1 e 1 — o »a O O f) — ffi I m * V X «r B5 X e» u X M _ | 05 o, x U X «* in vX tee I U U WS_BORDER | WS TJVBSTOP I WS Ct WS BORDER 1 MS TABSTOP I WS Cf WS^BOROER | MS TABSTOP f WS Cl &. ee g- Q B M P K »9 U O - 1 o vs NS TABSTOP I NS Cf WS TUBSTOP 1 MS Cl US fftBSfOP | US Cl WSJTUBSTOP | WS_Ct !g. a< 0 "•"• I 1 | | °i8 w X US BORDER US BORDER US BORDER WS_BORDER X = SS_RrGHT 1 WS_CHII,0, If, 72, : SHBWTfON | US TUBSfOP | WS CHI1 S PWSHBOtfOH I US WBSfOP I MS 1 W! pi 9 * O e» 3 O >-* ss RIGHT | us cmvo, 21, s«, : s §g S H om i f- »w o as "g •» M1 g o , SS RIGHT | WS CHIID, li. It, , SS RIGHT I WS CHI«), 21, 36, S t* «* .* •" a O ^ j o oc a B a: a; 1-4 4J W BJ W JO « ••*»*»* » U U U W •K • »» « «r r* r<-i •* * 5 IIII -£55 1: —: *J i-> D I I » « O •> 6) hi i* O I- H §81 SC a* in X rt 1 X I U u s 1 """ a- as <c H S 9 I z 00 U u W 1 «. in ffi in ••« c i-* * I • O tn o 3x x' «v «- «I X O ~§ fct«' s X IB tn,! 1 c in * Ov e? is 0 *J w us X C u *•* 4J • X t" M H a •3 tn X O a I *-* »* « B 01 u X l «n X a. 8 w a. p P a CO f ( I- X X _ — o O B U g K1 s m in a. X 0 «P 2l M » a « i u o o -o u C 1 u E' H g' § % CM ffi *™« sstt . rt * 3 9 * 9 S .9 '"* l9*£g-* S .U|S 9 ' . f» XW> OX M£ u°in»x« a X «'»-Hg X g, X — O Mfr.* in •c g 1 M in in x »• t& tn % cs x H .in g 01 »' «' IS SS "iS a a. s «*" c O 1 S§ 4J 1 1 c J b] £ I U | H »*H » 5 *? ol O i H O *» !»•* 13 «' « w « *j *'f^«* OS tt "iJ « c B oo H 1- 117 1 u g tn *, U II t .— < oi .te'in m * t) * M» H It . • BJ S • t ** »« — 00 % « IT £J > rt 1.* 09 * r« of .!?»"* s s ~n ». X K a c -< O A; a S **i v> § * V g_ s u X 8 B. u g § £| X £ s it 1 0? H H ^ 9 » . «*> in > 1C 00 % m ** (B C* **. 8 en to in u | — «' X In ee a. i_ u _ o f*"l tn X B i1 tn 8 1 M 8 w tk % f X B W D to «n O H M a cC «r o 1 „ X _ u1 O X B 1 JJ, | » «••< IS OJ 1 "V 03 *^ in u. Cb u t- u iu * * w wl • *J 1 W 8? S (-. ~ S S x e* K B O Z B £ Si 10 1! Smoo H. t«^ *-* _ * s6 X H b. S S — r-* 3 £3 u U ex tt M i1" tn m « » ™" «| K rsj O 0 CD i 1 E K' 8* s IE tn IB g « i * s*' & O tn X 1 B g tn X Us X i X«n' g1 x' — C3 c C «' •* «' u JJ 9 X L> — c CM of C5 O 9 . a a 9 X uu1 X B U m ttin s o X tn X* H 1 t3 in" |M iX g o o o ooo o oo 9 • in x lullIIII s X , w t », t» 9 M i 10 >-. T3 >i « in X _ B U O •W 01 <H O £ « » M K *J 0 « o? 51 ol 4J «M W K iJ rH . fc> "B <M 5- g £> « | « in in rt 4J in rt R «-l • . " 1 01 5 X * Bl WO)* a • . "~ — M B 4J CONTROl 24, 14 12 CONTROl 12 i J£, COKTROI 32, 1! CONTROl 9 / CONTROl . «r %o »§ SB S CONTROl , 12 CONTROl 32, li CONTROl 32, It S P> 2 oTof tA •-i O » t-K X w cV o oo el** B 4J » e£ oe a fc fc H « * 4 9* " " E S S * x »'B £ fc u us, 1— X w | M — * M'M o 1 * «? m II I , j OB («. S i t •4 - se oc X o. O s* 0? of SC 1C g(» M1 1 OB W «, os oo £1 bl o X % oo - m •« m m __ 1 4-> u OB 00 * ~!e o in1ulu o ~ S t* m oo « w 1 fc — « jrS « <M f> x' C e 9 Sg < B W g g § 1 OS Os 9 * 2 p» f*i SC Os r» r» X TS I I -< » IM S SC w W 1C i ¥ ,' U t5 C t 1**I •* « U « «M . **> 0) * o X E S M' u a i :ig, u o 8 «' U C»< *-« w g £ • a? W — •*— i m •o * I B U Q B u. Id w-1 1 «*t4 Id in M S <C X _ m X **! g c- l»< g 3 a. O tsi r1 (S<* n u 00 Jt X IB u 1 !• !<M OS OB >C tn *- s u, U B tJ §«il 3 9 9* 9 X 9 o u u, 9 «' S* i Xu 9* X x 2 S o B H U. ! <H °t »pfo. t* -r O VH X % mW in «S «' I8 K U B! X iS 00 * X — *S £ O Sa* 2 3 M fH S •" •v S 9* s u u (D •B 1 w H £<»* r*1 •W a O 1- M 3 « OO o ce n « B K 1 < §gg i§g |MM U g tn X H § g ?' g g g i ug ugs! ^ s•J £ §. O a. O (tDX BO I(3 O <•< O O O (3 O O z: a B B K 1a: B K B T3 C fc 1 .. .. "B «> i Z! ? * aO S e —< S J3 a« a> Vj 3 S S •4 <4 ^ M C o * cc oa U U tn «-< > O ec 1 J£""" « *T <0 « * « i4 » « in * o u i* oo *j *M •• * * • 3 3 W B! *•« IH b3 *J tJ U. % I III "S 1 U. b. &,*.* ,* ° * 2 IS S « «™i r* 0 -1 »(»- r- » i-l « B K U IM «i « a tn » O s . »M * 1C fito o oe c ii* a *jm mtj H «' W • • u 4J U 4J 2 IV « »3 U' » « re J5 . . p> K •» * U u «0 X 9 1 * u u 5 ». «• t> « B B B A-J 5 in'w'ej' s « « t •*e» «n U JJ » X g i m n t-t M oj M m o « 4J «i M m BO: M 13 o 0 c •Q « * IB S S1C SS S *MiMi C 'i 15 K| i g —— g o o 1 *£ tH VI S S **! Ss ~ X fr^ X ""fcSfcX S UOU g €>«••« 1 «.* «'S s. «'* x S i §11 m ggs X S «' X O D X U,U, gB'9*99*B t t»4 1^ »"« ffl ~|xxx *s 9 -1 ** 9 S w iQ X »-* «** f* BE a 9 K M ^*SS5g' W 3«*.'» w 0s O O X »S S CONTROl .«» r> e %•> w 5 £ ** u I I »--* c; tn w B *-< tn w tn ww«*«* u u t tc »s t K 2 K K <e 00 ie o -~< *. S « ^ ^ L' >, » o *-* B W D- II M «j u > H' H' £ > 0 SM h hi O s l?l £ CONTROl 3 CONTROl 12 CONTROl 2, 12 CONTROt , 12 CONTROL r?S t*s;*| n oo m «? •n to» 4, i< 111 r- a «** ae 1C • » in in m CONTROl 11 *S • ~" r~..• «>.5Ou IB — SE X X •0 m -no 1 X CONTROl 7. T » CONTROl to CONTROl .2 B O D O O cc a: a K 118 i o ~< Stl ~l *; • I* t* VI <c 119 c fe « 4J 4J tfl 3 O C 1 re §1 1M O GraphPl ScopePi i8 ISy EXPORT! C I <M "S I . . if ..5 SJ2 U "• """*• C3 l -I hi v *J in « •M &i .±23 ! O •«•• < I — O U, s o ~K "^ U DC Z -i *J : * m e §3 fifi c o S i> O tol S> ~ O O •1 V 2 E U 'ob §- '-"' it •U « f> O .. I * I S « *< 2 I .. 3 fiI _< — — X ft) Ii o u u u u u u u 120 hi — « *J — ssl I •r fc * " I I II s\> — |3 a£ e> a. * « —• -• " - •• » ° •rt — « » Q •— £&< C Ck£ o a«e— i -•< 4j k|F — (J 4^p>4-} u C Q. Q *— XO.«« « E P k i S P 3 M -» M ij u c. W H I a a a. & ^ c -^—aEoiski -< —< i<a T* " I. t<f h< + fti • F• — «H m fi Q ft ~r a —i a + x: ^ « - -i 4J i iJ re i a u »i*««^Q,nj C fefi — 121 4J £ oo •B « i o- K • oT c w (-> 9 .a o oo ooo X z ill l-> w C *SRw^ w <** A « * •» ,> ^J % *+ 5 *r> ^pMN • O w ss a: ft- U) O U- 1 1 1 1 [ I p §H u c Hc 3 ^ ! eu §ac iCb I O 2 «J u, •c V 16 o kl c o u « &C&&&' U in « a- in eo •c b. V * c c c c * c * C •> w t5 T 0 e •o T0 •c x>c U K tt H * *> K U i v> e> "O o o o 1 ' H O 122 &3 {£ ^ H t-c (B M M S U. Hi z u W s 01 & UX ce w HZ MM 1C S " 6 O O O o £ £ £ ft. fc & fc.a,".fc.£,£ yy c c c c c c c c c c c c c c c c c c c c c c e c c c c c o a; a e o 123 2 OZ 2 O < K U £> t»|ia:uSu>4ffiua O w U o. H UWOOOOOO a a a a a K tMrvnv SEDMUOMHOC M D X- U U U U I I I I I I I I I Il-.t-.H,* HHH e c c c c c c c c c c c c c c c c c c c c c * * * i- •O co t« j- >~ >. BC C£ t«f-iXXOSB:»«i-> xxuwtfrzs? (•" f* X a Mu x >• u X Sw U _ x ,, >< . 1-,1-jjHH^aJ zzuuzzuyti:< »«»"4V)M»H»»tKftKftOU J J J J J J J J J o o oo o CJ O UOO W W W V) V) < o oo w tn w c c c e c c c c c c 124 ao B <w tn %p . «? o £2 w 2 3 9 s x X s u X u .1ft tc X X «•! »"c? «. f-^ .X S' .S3 3 *-<s O su s X u n ( 1— u lu t« w 1* X 2 X 05 X .w no-• f- g 1 i-> CO CO <c f« 1 w X H o a. EJ a, O a. g1 _ •ip s sID CS § B< H | O *« ee l£ ia w w w ten «n u X X m g § § e <n 1 in 1 "B « X » B * C * . **! 4J Id O * to «w* *C 1 NOUdW «: U, »* b, g *J •J O «» S B en »s 8, 'GU tt jj « ie e c O 6J fcS M « to v, O O 0 0 «' o £ >• 5 u « t- u * SCOPE_ SCOPE U U * * O X >» u m i! I/J 1 Hi W s I I-D w X § M 1 >4 O ±J >M u. a1 «' s ,* *» t> i* >r % I OS u o «'X ! t TJ * JH cc O!> f-< SK 3C * X 1 as w l 11 a «* * S 1 z gI/I M 1 u I u CL 1 g m I a. 8 8 8 i^ * fcrn *^ —« % o X »*. *. >H 1 8 w c I o 110 w X fc* M O O O O a a « Sa O! w» «' * X E C S( a B i I fc *" S I So i1 'sl c t* o s g *u u«! o u X 8E X E« Gu m m I S! o i u, « ft o: u u VI t * <j * . i1 ts . u u *u t- a: B) X en n 8) < X V) *~" U «w f» TMSTC 01 TABSTC U BO M O •o a, tv O! <M o a n a: p? i .g .8 * .8rf i iH * o rt V) ^ 125