Upgrade to Pro — share decks privately, control downloads, hide ads and more …

OpenServer variables explained

Avatar for AlfonsoRReyes AlfonsoRReyes
December 05, 2018
82

OpenServer variables explained

Avatar for AlfonsoRReyes

AlfonsoRReyes

December 05, 2018
Tweet

Transcript

  1. Production Enhancement and Surveillance Well Modeling KL 2015 2 Characteristics

    of OpenServer variables o They can be read from any programming language that uses COM o They can be invoked from within a Petex application with Ctrl and right-click of the mouse o The index of the variables can be used for iteration o They are -most of the times-, returned as strings, array of strings o There are few special characters that can be used as wildcards. Example: the dollar sign $
  2. Production Enhancement and Surveillance Well Modeling KL 2015 3 Reading

    OpenServer variables o Sometimes variables are named as scalars. PROSPER.SIN.IPR.Single.MLayDp[1].PRESSURE PROSPER.PVT.Table.Data[0][0][11] PROSPER.OUT.VIM.Correlations[8].Test[2]. DifOilRate o There are different type of arrays o 1D, 2D and 3D arrays o Arrays and variable names can be combined o Other times, they are indexed as in the case of GOR. PROSPER.PVT.Table.Data[0][0][17] PROSPER.PVT.Match.Data[0][2][11] PROSPER.ANL.VMT.Data[0].IPRs[8] PROSPER.OUT.VIM.Correlations[8].Test[2]. IPRpres[3]
  3. Production Enhancement and Surveillance Well Modeling KL 2015 4 The

    index in OpenServer variables o The index count starts at zero for the rows and also for the arrays elements o VLP correlations are identified by an index o Well Tests are identified by an index o PVT tables are also identified by an index. There are 50 PVT tables, indexed from 0 to 49
  4. Production Enhancement and Surveillance Well Modeling Alfonso R. Reyes, KL

    2015 5 • Prosper variables o Layer pressure for layer #2. o The non-perforated layer or blank also is counted. Prosper variables PROSPER.SIN.IPR.Single.MLayDp[1].PRESSURE Layer 1 Layer 2 Layer 3 index=1, layer #2 variable 1D arrays – Multi Layer screen
  5. Production Enhancement and Surveillance Well Modeling Alfonso R. Reyes, KL

    2015 6 This is the difference in solution oil rate (DifOilRate) for test #3 and VLP #9 Prosper variables 2D arrays – Match VLP screen PROSPER.OUT.VIM.Correlations[8].Test[2].DifOilRate Correlation # 9 Test #3 variable test correlation
  6. Production Enhancement and Surveillance Well Modeling Alfonso R. Reyes, KL

    2015 7 2D arrays – IPR adjust screen • Prosper variables IPR pressure for well test #1 Prosper variables PROSPER.ANL.VMT.Data[0].IPRs[8] test #1 point 8 = row 9 This corresponds to the IPR pressure at row 9 of the test #1 Test #1
  7. Production Enhancement and Surveillance Well Modeling Alfonso R. Reyes, KL

    2015 8 3D arrays – Match VLP This is the IPR pressure for row #4 of VLP curve #9 of well test #3. Prosper variables PROSPER.OUT.VIM.Correlations[8].Test[2].IPRpres[3] correlation IPR Pressure index=3, row 4 well test index=2, row 3 index=3, row 4
  8. Production Enhancement and Surveillance Well Modeling Alfonso R. Reyes, KL

    2015 9 3D arrays – PVT Matching screen PROSPER.PVT.Match.Data[0][2][11] Prosper variables GOR (variable #11) for point #2 in table #0. table #1 Index=2, row #3 PVT variable #11: GOR o Pressure is variable #3; Oil FVF is #4; Oil viscosity is #5; GOR is #11 o Tables are numbered from 1 to 50 but their indexes are [0:49]
  9. Production Enhancement and Surveillance Well Modeling Alfonso R. Reyes, KL

    2015 10 3D arrays – PVT Lookup Table Prosper variables The variable corresponds to the first row of the first table for variable #11, GOR This other variable corresponds to oil compressibility, #17 PROSPER.PVT.Table.Data[0][0][11] Index=0, row #1 PVT variable: GOR Index=0, table #1 This is the lookup table for PVT matching. PROSPER.PVT.Table.Data[0][0][17] point #0 = row #1 PVT variable: oil compressibility table #1