
 
Table 5: Best mathematical models, based on the error, number of variables and complexity. 
Complexity of the structure 
exp(sqrt(sqrt(5.1154277799651 * sqrt(exp(5.1154277799651 + 
6.8138162791729) + (5.1154277799651 * sqrt(exp(5.1154277799651 + 
6.8138162791729)) + (Frec_Hz + exp(6.59457715693861) + 
exp(6.59457715693861))))))) + Frec_Hz 
Frec_Hz + (Thp_Psi + Pwf_Psi + sqrt(Pwf_Psi)) 
 
5  CONCLUSIONS 
SAi2P is a closed loop of data analytical tasks, which 
allow integrating different analytical tasks in order to 
give an intelligent supervision of an oil process. This 
framework requires of complex data analytical task in 
order  to  improve  the  production  process.  In  this 
paper, we have studied one of them, to determine the 
model of production of a well, in order to define the 
model of optimization of its production.  
Genetic  Programming  has  been  the  intelligent 
technique  used,  and  it  has  been  an  appropriated 
approach to get the mathematical model from data of 
the process. We have carried out different tests, with 
different  data,  in order  to analyse  different criteria 
about  the  mathematical  equations  obtained.  These 
criteria  were  the  error,  number  of  variables  and 
complexity of the expression. 
The  mathematical  models  obtained  are  very 
interesting, because their quality are very different, 
according to the criteria used. Additionally, some of 
the models obtained can be used in the context of fault 
detection,  because  they  can  follow  the  normal 
behaviour  of  our  system.  When  the  real  system 
change  its  behaviour  due  to  a  failure,  a  detection 
system  based  on  our  mathematical  equations  can 
detect it (Araujo et al. 2003). 
With respect to previous works, in the literature 
(Patelli,  2011),  (Cerrada  et  al.,  2001)  have  been 
proposed  several  approaches  for  the  identification 
problem  using  genetic  programming.  The  main 
differences with our approach, it is that our approach 
can be used in real time, and it forms part of SAi2P, 
an autonomic loop of data analytical tasks that allows 
the intelligent supervision of an oil process. 
ACKNOWLEDGMENT 
Dr.  Aguilar  has  been  partially  supported  by  the 
Prometeo  Project  of  the  Ministry  of  Higher 
Education,  Science,  Technology  and  Innovation 
(SENESCYT) of the Republic of Ecuador.  
REFERENCES 
Aguilar, J. and Rivas, F. (2001) Introducción a las Técnicas 
de Computación Inteligente, Meritec. 
Aguilar  J.  Buendia O.,  Moreno K.,  Mosquera  D.  (2016) 
Autonomous Cycle of Data Analysis Tasks for Learning 
Processes, Technologies and Innovation (R. Valencia-
García, et al., Eds.),  Communications Computer and 
Information  Science  Series,  Vol.  658,  Springer,  pp. 
187-202. 
Araujo,  M.  Aponte,  H.  and  Aguilar  J.  (2003)  “Fault 
Detection System in Gas Lift Well based on Artificial 
Immune System”. Proceeding of the International Joint 
Conference on Neural Networks, pp. 1673-1677. 
Baieli, L. Daparo, D. and Pereyra, M (2006) “Experiencia 
con bombas electro sumergibles de bajo caudal”, Wood 
Group ESP. Argentina. 
Bermúdez, F. Carvajal, G Moricca, G. Dhar, J. and Adam 
F. (2014) “Fuzzy Logic Applications to Monitor and 
Predict Unexpected Behavior in Electric Submersible 
Pump.  Society  Petroleum  Engineers”.  SPE-167820-
MS.  
Camargo, E. and Aguilar, J. (2014) “Advanced Supervision 
of  Oil  Wells  based  on  soft  computing  Techniques”, 
Journal  of  Artificial  Intelligence  and  soft  computing 
research, Vol 4. Number 3, 215-225. 
Camargo,  E.  and  Aguilar,  J.  (2014)  “Hybrid  Intelligent 
Supervision Model of Oil Wells”, Proceedings of the 
IEEE World Congress on Computational Intelligence 
(IEEE WCCI), pp. 934 – 939. 
Cerrada M., and Aguilar, J. (2001) “Genetic Programming-
Based Approach for System Identification”, Advances 
in  Fuzzy  Systems  and  Evolutionary  Computation, 
Artificial  Intelligence  (Ed.  N.  Mastorakis),  World 
Scientific and Engineering Society Press, pp. 329-334. 
Flasch, O., Mersmann, O.,and Bartz-Beielstein, T. (2010). 
“RGP: An open source genetic programming system for 
the R environment”, In Proceedings of the 12th annual 
conference  companion  on  Genetic  and  evolutionary 
computation (pp. 2071-2072). ACM. 
Iba H., deGaris H., Sato M., (1995). A Numerical Approach 
to  Genetic  Programming  for  System  Identification. 
Evolutionary Computation, 3 (4): 417-452. 
Kötzing T., Neumann F., Spöhel R. (2011). PAC Learning 
and Genetic Programming, Genetic and  Evolutionary 
Computation Conference. 
Langdon,  W.  B.,  and  Poli,  R.  (2013). Foundations  of 
genetic  programming.  Springer  Science  &  Business 
Media. 
ICINCO 2017 - 14th International Conference on Informatics in Control, Automation and Robotics
236