<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Applying Soft Computing to Estimation of Resources' Price in Oil and Gas Industry</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sholpan Mirseidova</string-name>
          <email>s.mirseidova@gmail.com</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Atsushi Inoue</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Lyazzat Atymtayeva</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Almaty</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kazakhstan</string-name>
        </contrib>
        <contrib contrib-type="editor">
          <string-name>Kazakh-British Technical University</string-name>
        </contrib>
      </contrib-group>
      <abstract>
        <p>The oil and gas industry is highly risky capital-intensive field of business. Many companies are working hard to perform projects on a global scale in order to get, produce and deliver their final products. No matter the economic conditions, it is vital for organizations to efficiently manage their capitals projects, which facilitates to control expenditure, handle priorities and mineral resources, and make assets productive as quickly as possible. It is also critical to efficiently and safely maintain and improve these assets. Probably the most volatile item of the project cost in oil and gas industry is the market price of resources or assets. Both sides (stakeholders) seek for efficient profitable price for selling and buying final product. This paper provides the description of application developed for fair oil price estimation using Fuzzy Sets and Logic approach of Soft Computing and FRIL inference language with its environment installed on UNIX virtual machine.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Managing the complexity and profit of major projects in
today’s oil and gas landscape has never been more critical.
Against the backdrop of a decline in both global economic
conditions and corporate revenues, stakeholders are
demanding improved return on investment (ROI), reduced
risk and exposure and greater transparency. Since capital
construction projects in the upstream oil and gas industry
comprise a significant percentage of company spend, there
must be a particular focus on predictability, transparency
and reliability, including estimation of profit, controlling
and reducing the costs associated with these projects. The
best opportunity to make a positive impact on the life cycle
of capital project in this industry is during early planning,
even before the capital outlay occurs. In order to control
planning it is useful to develop an integrated cost
management function that aligns all cost-related processes
and functions and incorporates data developed or
maintained in other processes. Emphasis should be placed
on budget control, approved corporate budget changes and
project management internal budget transfers.[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] As the
prices of oil and gas fluctuate every day this is the most
difficult part of budget control, because even slight
changes in the value has a huge impact on overall financial
situation of project. That’s why it will be very convenient
to use Fuzzy Logic methodology of Soft Computing to
make certain calculations in order to estimate the total
profit of the project and remove the uncertainty of non
clear boundaries of oil price.
      </p>
      <p>
        In the direction of application of fuzzy logic to similar
economic problems, the following research was made: the
problem of developing automated system of technical –
economic estimation in oil and gas fields was considered
by Yu.G. Bogatkina [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], and The Fuzzy Logic Framework
was build on investigation of risk-based inspection
planning of oil and gas pipes [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. The first one describes
economic estimation of oil and gas investment projects
witnesses’ necessity of taking into account a great number
of uncertainty factors. Uncertainty factors influence on
investment project can bring about unexpected negative
results for the projects, which were initially recognized
economically expedient for investments. Negative
scenarios of development, which were not taken into
consideration in investment projects, can occur and prevent
realization of investment project. Especially important is
accounting of information uncertainty, which directly
depends on mathematical apparatus choice, defined by
mathematical theory, and provides for formalization of
uncertainty, appearing during control over investment
flows. The second framework emphasizes attention on
important feature of plant operation – availability of a
considerable amount of information as qualitative and
imprecise knowledge. Risk-based inspection schedule was
developed for oil and gas topside equipment with
supporting fuzzy logic models.
      </p>
      <p>No study was made in Kazakhstan connected with
problems of uncertainty in oil prices and project costs in
terms of the principles of fuzzy logic, which could give a
more complete picture of price changes and their influence
on the general economic situation in the country, which
allows forecasting of rising inflation and determining the
most optimal range of prices taking into account various
economic factors.</p>
    </sec>
    <sec id="sec-2">
      <title>Problem Solving</title>
      <p>The given application offers solution to the problem of
the project profit estimation considering the price of oil as a
fuzzy set. Such types of applications are developed for
project managers in oil and gas industry to make
evaluation of project profit for the future decision. Also all
investors and financial institutions of this industry could be
interested in using the given tool.</p>
      <p>The total profit of the project could be generally
expressed as follows:</p>
      <p>
        P= Oil_price * Supply_scope
According to the research [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] there are three main
standards for the formation of market prices for
Kazakhstan's oil exports: prices of Brent dtd type of oil,
Urals (REBKO) and a mixture of CPC. The prices are
usually published by Platts organization (see table 1). The
price of Kazakhstan’s oil is calculated according to the
formula:
      </p>
      <p>Price=Brent_Price (or Urals_Price)
+/</p>
      <p>Market_Differential
Key benchmarks ($/bbl)</p>
      <p>Data code
PCAAT00
PCAAU00
PCAAV00
AAWSA00
AAWSB00
AAWSC00
AAJMS00
PCAAS00</p>
      <p>AAOFD00
Dubai (SEP)
Dubai (OCT)
Dubai (NOV)
MEC (SEP)
MEC (OCT)
MEC (NOV)
Brent/Dubai
Brent (Dated)
Dated North
Sea Light
Brent (AUG)
Brent (SEP)
Brent (OCT)
Sulfur
Deescalator
WTI (AUG)
WTI (SEP)
WTI (OCT)
ACM AUG)*
ACM (SEP)*
ACM
(OCT)*</p>
      <p>PCAAP00
PCAAQ00
PCAAR00
AAUXL00
PCACG00
PCACH00
AAGIT00
AAQHN00
AAQHO00
AAQHP00</p>
      <p>Usually traders make an agreement for the value of
market differential. Market price construction for
Kazakhstani oil depends on CIF August’s (CIF stands for
cost, insurance, freight) market differential.</p>
      <p>The main idea is to consider these two parameters (the
price of Brent dtd. oil and market differential) as fuzzy
sets, because the former changes every day, and the second
is a result of contract between traders.</p>
      <p>
        The research is based on the theory of fuzzy sets and
logic. Fuzzy sets were initially offered by Lotfi A. Zadeh
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] in 1965 as an extension of the classical notion of set. In
classical set theory, the membership of elements in a set is
assessed in binary terms according to a bivalent condition
— particular element either belongs or does not belong to
the set (crisp set). In opposite, fuzzy set theory allows the
gradual assessment of the membership of elements in a set.
According to the definition, a fuzzy subset of a set U is
defined by means of a membership function µ : U → [
        <xref ref-type="bibr" rid="ref1">0 , 1</xref>
        ].
And a membership of an element x in (crisp) set U is
determined by an indicator (characteristic) function µ : U
→ {0, 1}[
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>Using fuzzy sets in estimation of oil price gives
opportunity to remove straight principles of crisp sets. For
example, in the case of crisp sets we should take only three
exact numbers for oil price and market differential and
calculate assessment for the worst, standard, and the best
cases. In opposite, with the help of fuzzy sets it is possible
to take into account the variation of price in time, in other
words statistical or historical changes. Another significance
of fuzzy sets is in possibility to manage uncertainty. It
means that we can more precisely define which numbers
that represent the price of oil can be called normal or
higher/lower than that and with which membership degree.</p>
      <p>Concerning all of conditions described above three
universal sets can be defined:</p>
      <p>UX1 = [80, 140] – price of Brent dtd.</p>
      <p>
        UX2 = [
        <xref ref-type="bibr" rid="ref5">-5, 5</xref>
        ] – market differential
      </p>
      <p>UY = [50, 160] – oil price</p>
      <p>
        The approximate values of borders of sets are taken from
statistical values of mentioned parameters for the previous
year [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] (see fig.2 for the set of Brent dtd. price). So there
are 2 Inputs and 1 Output in the system.
      </p>
      <p>Also fuzzy sets on inputs X1 and X2 and output Y were
created with membership values as follows:</p>
      <p>Fuzzy sets on X1(for the price of Brent dtd. see fig.1):
‘less than usual’ = {1/80, 0.8/90, 0.7/100, 0.5/110, 0.2/113,
0.1/115, 0/118, 0/120, 0/130, 0/140}
‘more than usual’ = {0/80, 0/90, 0/100,
0/110,0.2/113,0.4/115,0.5/118,0.7/120,0.9/130, 1/140}</p>
      <p>
        The given sets were constructed following principle: as
the price for Brent dtd. has changed between 80 and 140
(according to statistics [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and fig.2), then element 80
belongs to the set ‘less than usual’ with higher membership
which equal s to 1 than 140 belongs to this set
(membership equals to 0), and the rest members own
steadily decreasing membership degrees. Similarly the set
‘more than usual’ can be explained.
      </p>
      <p>($/barrel)</p>
      <p>Fuzzy sets on X2 (for the value of market differential
see fig.3)
‘significantly high’={1/-5, 0.8/-4, 0.5/-3, 0.2/-2, 0/-1, 0/0,
0.1/0.1, 0.2/1, 0.4/2, 0.6/3, 0.9/4, 1/5}
‘significantly low’={0/-5, 0.2/-4, 0.4/-3,0.7/-2, 0.8/-1, 1/0,
0.9/0.1, 0.8/1, 0.6/2, 0.3/3, 0.1/4, 0/5}
The most frequently used market differentials vary
from -5 to 5 as was mentioned in the list of universal sets
for three parameters. The higher the value of market
differential (without sign) the more significant influence it
has to the final price of resource, so that the members -5
and 5 have the highest membership degree in the set
‘significantly high’. Other members of this universal set,
which are close to 0, have higher degree in the set
‘significantly low’ respectively.</p>
      <p>Finally, the resulting universal set for oil price was
divided into three approximate subsets: cheap, normal or
optimal, and expensive. The membership degrees of the
elements were assigned following the same principle
described above.</p>
      <p>Fuzzy sets on Y (for the resulting value of oil price
see fig.4):
‘cheap’={1/50, 0.9/60, 0.8/70, 0.7/80, 0.6/90, 0.4/100,
0.2/110,0/115, 0/120,0/140,0/160}</p>
    </sec>
    <sec id="sec-3">
      <title>Development Technologies</title>
      <p>The given application was developed using FRIL. With
the help of FRIL method of inference number of cases can
be calculated.</p>
      <p>FRIL was initially an acronym for "Fuzzy Relational
Inference Language", which was the predecessor of the
current FRIL language, which was developed in the late
1970's following Jim Baldwin's work on fuzzy relations.</p>
      <p>FRIL is an uncertainty logic programming language
which not only comprises Prolog as one part of the
language, but also allows working with probabilistic
uncertainties and fuzzy sets as well.</p>
      <p>The theory of mass assignments developed by J.F.
Baldwin in the Artificial Intelligence group of the
Department became a foundation to FRIL language. A
fuzzy set is defined as a possibility distribution which is
equivalent to a family of probability distributions. FRIL
supports both continuous and discrete fuzzy sets.</p>
      <p>
        FRIL gives opportunity to express uncertainty in data,
facts and rules with the help of fuzzy sets and support
pairs. There are three special types of uncertainty rule
besides the Prolog rule. They are: the basic rule, the
extended rule, and the evidential logic rule. The second,
extended, rule is widely used for causal net type
applications, and the evidential logic rule is appropriate to
case-based and analogical reasoning. Every rule can have
related conditional support pairs, and the method of
inference from these rules is based on Jeffrey's rule which
is connected with the theorem of total probability. Fuzzy
sets can be used to represent semantic terms in FRIL
clauses. In addition, a process of partial matching of fuzzy
terms like this, which is called semantic unification, gives
support for FRIL goals [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
    </sec>
    <sec id="sec-4">
      <title>Analysis of Results</title>
      <p>For instance, if the price of Brent dtd equals to 120
(which belong to the set ‘more than usual’) and CIF
market differential is -3 the application outputs
defuzzyfied value equal to 116.199. If we apply initially
described formula to this data, we will get 120 – 3 = 117.
So, the result, which was received by fuzzy sets
application, is close to the output of calculations following
formula. However, there is a difference in 1 dollar per
barrel that can considerably affect the final project cost.
More results for the values of the Brent dtd. price and
market differential from different sets are listed in
appendix below.</p>
      <p>The application gives the fair price to the sellers’ side,
so that the price by contract, that is lower than this, is not
profitable, and the price that higher than this, is not
competitive on the market. On the other side, buyer takes
the reasonable price for the product, which correspond
reality with taking into account situation in the market.</p>
      <p>Finally, the project profit can be obtained by
multiplication of output value to whatever value of the
supply scope following the volume in the contract.</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusion</title>
      <p>As a result let us notice that Fuzzy Sets and Logic can be
successfully applied to estimate project profit by assuming
several parameters as fuzzy sets, constructing those sets
and applying fuzzy logic to them in order to reduce
uncertainty. There are still many opportunities to improve
the precision of calculations.</p>
      <p>
        The market price of Kazakhstani oil depends on several
fundamental factors, which can be divided into fixed and
variable. Variable factors, such as the level of
consumption of petroleum and petroleum products in a
specific period of time, the amount of energy resource
available on the market, conditions of delivery, the number
of traders, significantly affect on the fluctuation of oil
prices. Moreover, the quality of exported oil (density,
content of sulfur and wax, etc.), maintenance of quality,
stable production and supply, and the cost of oil production
in a particular region have an impact on market price [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>Yet another example, oil price in Kazakhstan also
depends on dollar variation. So, additional fuzzy set
representing the value of dollar in Kazakhstani tenge can
be added and application will calculate it without any
problems. In addition, the application can be easily
customized to calculate the price of gas and prices of other
mineral resources.</p>
    </sec>
    <sec id="sec-6">
      <title>Appendix</title>
      <p>Source Code
%% oil-price.frl
%% NOTE: we use FRIL method of inference
%% (different from Mamudani, Sugeno,etc.)
% estimate the price of oil depending on Brent dtd. and
market differential
% INPUTS: price of Brent, market differential
% OUTPUT: oil price
%% universe of diccourse
set (dom-brent 80 140)
set (dom-market_dif -5 5)
set (dom-oil_price 50 160)
%% fuzzy sets on Brent dtd.
(less_than_usual [80:1 90:0.8 100:0.7 110:0.5 113:0.2
115:0.1 118:0 120:0 130:0 140:0] dom-brent)
(more_than_usual [80:0 90:0 100:0 110:0 113:0.2
115:0.4 118:0.5 120:0.7 130:0.9 140:1] dom-brent)
%% fuzzy sets on market differential
(significantly_high [-5:1 -4:0.8 -3:0.5 -2:0.2 -1:0 0:0
0.1:0.1 1:0.2 2:0.4 3:0.6 4:0.9 5:1] dom-market_dif)
(significantly_low [-5:0 -4:0.2 -3:0.4 -2:0.7 -1:0.8 0:1
0.1:0.9 1:0.8 2:0.6 3:0.3 4:0.1 5:0 ] dom-market_dif)
%% fuzzy sets on oil price
(cheap [50:1 60:0.9 70:0.8 80:0.7 90:0.6 100:0.4
110:0.2 115:0 120:0 140:0 160:0] dom-oil_price)
(normal [50:0 60:0 70:0.1 80:0.3 90:0.5 100:0.7
110:0.9 115:1 120:0.5 140:0 160:0] dom-oil_price)
(expensive [50:0 60:0 70:0 80:0 90:0 100:0 110:0
115:0 120:0.7 140:0.9 160:1] dom-oil_price)
%% Fuzzy Associative Matrix (FAM)
%
% b\d | L | H |
%
-------------% L | C | N |
% M | N | E |
%
%% fuzzy rules based on FAM
((price cheap)</p>
      <p>(brent
significantly_low))
((price normal)</p>
      <p>(brent
significantly_high))
((price normal)</p>
      <p>(brent
significantly_low))
((price expensive)</p>
      <p>(brent
significantly_high))
more_than_usual)(market_dif
more_than_usual)(market_dif
((simulation-v B D)
(addcl ((brent B)))
(addcl ((market_dif D)))
(p 'Price of Brent:' B ', ' 'Market differetial:'
D)(pp)
(qsv ((price X)))
(delcl ((brent B)))
(delcl ((market_dif D))))
%% eof %%</p>
    </sec>
    <sec id="sec-7">
      <title>Execution Results</title>
      <sec id="sec-7-1">
        <title>Fril &gt;?((simulation-v 80 1))</title>
        <p>Price of Brent: 80 , Market differetial: 1
((price 76.9223)) : (1 1)
Fuzzy set [49.9978:0 50:0.8 60:0.8 70:0.82
71.6666:0.826667 90:0.68 110:0.36 115:0.2 ]
defuzzifies to 76.9223 over sub-domain (50 140)
no (more) solutions
yes
Fril &gt;?((simulation-v 120 -3))
Price of Brent: 120 , Market differetial: -3
((price 116.199)) : (1 1)
Fuzzy set [115:0.65 119.545:0.872727 120:0.86
140:0.72 160:0.72 160.011:0] defuzzifies to 116.199
over sub-domain (60 160)
less_than_usual)(market_dif
less_than_usual)(market_dif
no (more) solutions
no (more) solutions
yes</p>
      </sec>
      <sec id="sec-7-2">
        <title>Fril &gt;?((simulation-v 90 -1))</title>
        <p>Price of Brent: 90 , Market differetial: -1
yes</p>
      </sec>
      <sec id="sec-7-3">
        <title>Fril &gt;?((simulation-v 140 5))</title>
        <p>Price of Brent: 140 , Market differetial: 5
((price 142.216)) : (1 1)
Fuzzy set [115:0 120:0.7 140:0.9 160:1 160.011:0]
defuzzifies to 142.216 over sub-domain (115 160)
no (more) solutions
yes</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Ernst &amp; Young. 2011</surname>
          </string-name>
          <article-title>Capital projects life cycle management</article-title>
          .
          <source>Oil and Gas</source>
          ., pp.
          <volume>1</volume>
          ,
          <issue>6</issue>
          . EYG No.
          <volume>DW0085</volume>
          <fpage>1103</fpage>
          -
          <lpage>1237776</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <article-title>"APPLICATION OF THEORY OF FUZZY SET IN AUTOMATED SYSTEM OF TECHNICALECONOMIC ESTIMATION OF OIL AND</article-title>
          GAS FIELDS.
          <article-title>" by Yu</article-title>
          .G. Bogatkina,,
          <article-title>Institute of Oil and Gas Problems of the Russian Academy of Sciences, 2010</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <article-title>Risk-based Inspection Planning of Oil and Gas Pipes - The Fuzzy Logic Framework in EXPLORATION &amp; PRODUCTION - Oil and Gas review Volume 8 Issue 2</article-title>
          , p.
          <fpage>26</fpage>
          -
          <lpage>27</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>RFCA</given-names>
            <surname>RATINNGS Rating</surname>
          </string-name>
          <article-title>Agency</article-title>
          . Almaty,
          <year>2010</year>
          .
          <article-title>АНАЛИЗ НЕФТЕДОБЫВАЮЩЕЙ ОТРАСЛИ РК</article-title>
          ., pp.
          <fpage>32</fpage>
          -
          <lpage>37</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>L. A.</given-names>
            <surname>Zadeh</surname>
          </string-name>
          ,
          <year>1965</year>
          ,
          <article-title>"Fuzzy sets"</article-title>
          .
          <source>Information and Control</source>
          <volume>8</volume>
          (
          <issue>3</issue>
          )
          <fpage>338</fpage>
          -
          <lpage>353</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Page</given-names>
            <surname>Ranking</surname>
          </string-name>
          <article-title>Refinement Using Fuzzy Sets and Logic</article-title>
          .,
          <string-name>
            <surname>Inoue</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Laughlin</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olson</surname>
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simpson</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <year>2011</year>
          , Eastern Washington University, USA
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7. platts.
          <source>com Value</source>
          <volume>32</volume>
          ,
          <string-name>
            <surname>Issue</surname>
            <given-names>134</given-names>
          </string-name>
          ,
          <string-name>
            <surname>July</surname>
            <given-names>11</given-names>
          </string-name>
          ,
          <year>2011</year>
          . Crude Oil Marketwire., pp.
          <fpage>1</fpage>
          -
          <lpage>13</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Fril</given-names>
            <surname>Systems Ltd</surname>
          </string-name>
          (
          <year>1999</year>
          ). Fril - Online
          <string-name>
            <surname>Reference</surname>
          </string-name>
          Manual - Preliminary
          <string-name>
            <surname>Version</surname>
          </string-name>
          (incomplete).
          <source>Retrieved October 20</source>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Pilsworth</surname>
            ,
            <given-names>B. W.</given-names>
          </string-name>
          (n.d.).
          <source>The Programming Language Fril. Retrieved October 18</source>
          ,
          <year>2005</year>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>