A fuzzy expert system for controlling safety and shutoff valves in gas pressure reduction stations under uncertain conditions

Document Type : Research Paper


1 Department of Industrial Engineering, South Tehran Branch, Islamic Azad University, Tehran, Iran

2 Department of Industrial Engineering, Faculty of Engineering, Shahed University, Tehran, Iran


Given the increasing use of gas energy and the dependence of large segments of industries and domestic, commercial, and administrative customers on gas energy, the need for sustained monitoring and the avoidance of any interruptions in the provision of gas services is essential and inevitable. One of the vital parts of the gas industry is gas pressure reduction stations, namely CGSs. In this research, a new fuzzy expert system is designed to troubleshoot and control safety and shutoff valves, which are regarded as main elements in controls of the safety of stations. In the presented expert system, the knowledge about the control of the safety and shutoff valves has been obtained from experts and has been entered in a knowledge-base as "if ... then ... else", and CLIPS language has been used for the system implementation. In this system, 164 rules have been utilized. The expert system is designed to be able to make deductions in both certain and uncertain conditions. Decision trees and control flowcharts have been applied in certain conditions. Fuzzy logic and certainty factors have been employed to implement uncertainty conditions in a case study. Concerning the importance of appropriate control of the safety and shutoff valves, increased responsiveness, increased reliability, increased availability, reduced accidents, reduced costs, reduced natural gas loss, and improved safety of the CGSs are expected by the implementation of the fuzzy expert system.


Main Subjects

Afgan, N.H., Carvalho, M.G., Pilavachi, P.A., Tourlidakis, A., Olkhonski, G.G. and Martins, N., (2006). An expert system concept for diagnosis and monitoring of gas turbine combustion chambers. Applied Thermal Engineering, 26(7), pp.766-771.
Aramesh, A., Montazerin, N. and Ahmadi, A., (2014). A general neural and fuzzy-neural algorithm for natural gas flow prediction in city gate stations. Energy and Buildings, 72, pp.73-79.
Azadeh, A., Fam, I.M., Khoshnoud, M. and Nikafrouz, M., (2008). Design and implementation of a fuzzy expert system for performance assessment of an integrated health, safety, environment (HSE) and ergonomics system: The case of a gas refinery. Information Sciences, 178(22), pp.4280-4300.
Babichev, S.A., Bychkov, E.V. and Kryukov, O.V., (2010). Analysis of technical condition and safety of gas-pumping units. Russian Electrical Engineering, 81(9), pp.489-494.
Bělohlávek, R., Dauben, J.W. and Klir, G.J., (2017). Fuzzy logic and mathematics: a historical perspective. Oxford University Press.
Chahal, R.K. and Singh, S., (2017). Fuzzy rule-based expert system for determining trustworthiness of cloud service providers. International Journal of Fuzzy Systems, 19(2), pp.338-354.
Chojnacki, E., Plumecocq, W. and Audouin, L., (2019). An expert system based on a Bayesian network for fire safety analysis in nuclear area. Fire Safety Journal, 105, pp.28-40.
De Aguiar, J., Scalice, R.K. and Bond, D., (2018). Using fuzzy logic to reduce risk uncertainty in failure modes and effects analysis. Journal of the Brazilian Society of Mechanical Sciences and Engineering, 40(11), pp.516-527.
Ebersbach, S. and Peng, Z., (2008). Expert system development for vibration analysis in machine condition monitoring. Expert systems with applications, 34(1), pp.291-299.
El-Abbasy, M.S., Senouci, A., Zayed, T., Mirahadi, F. and Parvizsedghy, L., (2014). Artificial neural network models for predicting condition of offshore oil and gas pipelines. Automation in Construction, 45, pp.50-65.
Gholizad, A., Ahmadi, L., Hassannayebi, E., Memarpour, M. and Shakibayifar, M., (2017). A system dynamics model for the analysis of the deregulation in electricity market. International Journal of System Dynamics Applications, 6(2), pp.1-30.
Hettiarachchi, C., Do, H. and Choi, B., (2016). Risk-based test case prioritization using a fuzzy expert system. Information and Software Technology, 69, pp.1-15.
Iqbal, A., He, N., Li, L. and Dar, N.U., (2007). A fuzzy expert system for optimizing parameters and predicting performance measures in hard-milling process. Expert Systems with Applications, 32(4), pp.1020-1027.
Jang, J.S., (1993). ANFIS: adaptive-network-based fuzzy inference system. IEEE transactions on systems, man, and cybernetics, 23(3), pp.665-685.
Kim, D., Lin, Y., Lee, S., Kang, B.H. and Han, S.C., (2017). A hybrid failure diagnosis and prediction using natural language-based process map and rule-based expert system. International Journal of Computer, Communications and Control, 13(2), pp.175-191.
Krichene, N., (2002). World crude oil and natural gas: a demand and supply model. Energy economics, 24(6), pp.557-576.
Kryukov, O.V., (2012). Methodology and tools for neuro-fuzzy prediction of the status of electric drives of gas-compressor units. Russian Electrical Engineering, 83(9), pp.516-520.
Li, J., Zhang, G., & Ying, Y. (2018). Gas Turbine Gas Path Fault Diagnosis Based on Adaptive ‎Nonlinear Steady-state Thermodynamic Model. International Journal of Performability Engineering, ‎‎14(4), pp. 751-764.‎
Liao, Y. and Lee, J.B., (2004). A fuzzy-expert system for classifying power quality disturbances. International journal of electrical power & energy systems, 26(3), pp.199-205.
Noor, N.M., Yahaya, N., Ozman, N.A.N. and Othman, S.R., (2010). The forecasting residual life of corroding pipeline based on semi-probabilistic method. Journal of Civil Engineering, Science and Technology, 1(2), pp.1-6.
Polat, K. and Güneş, S., (2007). Classification of epileptiform EEG using a hybrid system based on decision tree classifier and fast Fourier transform. Applied Mathematics and Computation, 187(2), pp.1017-1026.
Poli, J.P. and Boudet, L., (2018). A fuzzy expert system architecture for data and event stream processing. Fuzzy Sets and Systems, 343, pp.20-34.
Poživil, J., (2004). Use of expansion turbines in natural gas pressure reduction stations. Acta Montanistica Slovaca, 3(9), pp.258-260.
Ratnayake, R.C., (2014). KBE development for criticality classification of mechanical equipment: a fuzzy expert system. International journal of disaster risk reduction, 9, pp.84-98.
Ross, T.J., (2010). Classical Sets and Fuzzy Sets. Fuzzy Logic with Engineering Applications, pp.25-47.
Rostami-Hosseinkhani, H., Esmaeilzadeh, F. and Mowla, D., (2014). Application of expert systems for accurate determination of dew-point pressure of gas condensate reservoirs. Journal of Natural Gas Science and Engineering, 18, pp.296-303.
Rostami-Hosseinkhani, H., Esmaeilzadeh, F. and Mowla, D., (2014). Application of expert systems for accurate determination of dew-point pressure of gas condensate reservoirs. Journal of Natural Gas Science and Engineering, 18, pp.296-303.
Safarian, S., Saboohi, Y. and Kateb, M., (2013). Evaluation of energy recovery and potential of hydrogen production in Iranian natural gas transmission network. Energy Policy, 61, pp.65-77.
Shafeek, H.I., Gadelmawla, E.S., Abdel-Shafy, A.A. and Elewa, I.M., (2004). Automatic inspection of gas pipeline welding defects using an expert vision system. NDT & E International, 37(4), pp.301-307.
Sukharev, M.G., Kosova, K.O. and Popov, R.V., (2018). Mathematical and computer models for identification and optimal control of large-scale gas supply systems. Energy, (Article in press), DOI: 10.1016/j.energy.2018.02.131.
Sun, X., Zimmermann, C.M., Jackson, G.P., Bunker, C.E. and Harrington, P.B., (2011). Classification of jet fuels by fuzzy rule-building expert systems applied to three-way data by fast gas chromatography—fast scanning quadrupole ion trap mass spectrometry. Talanta, 83(4), pp.1260-1268.
Tang, K.H.D., Dawal, S.Z.M. and Olugu, E.U., (2018). Integrating fuzzy expert system and scoring system for safety performance evaluation of offshore oil and gas platforms in Malaysia. Journal of Loss Prevention in the Process Industries, 56, pp.32-45.
Tatar, A., Yassin, M.R., Rezaee, M., Aghajafari, A.H. and Shokrollahi, A., (2014). Applying a robust solution based on expert systems and GA evolutionary algorithm for prognosticating residual gas saturation in water drive gas reservoirs. Journal of Natural Gas Science and Engineering, 21, pp.79-94.
Thaker, S. and Nagori, V., (2018). Analysis of Fuzzification Process in Fuzzy Expert System. Procedia computer science, 132, pp.1308-1316.
Wagner, W.P., (2017). Trends in expert system development: A longitudinal content analysis of over thirty years of expert system case studies. Expert systems with applications, 76, pp.85-96.
Wang, M., Yang, Z., Su, X., Zhang, B., Wu, X. and Shi, Y., (2013). Simulation and experimental research of engine rotary speed for gas engine heat pump based on expert control. Energy and Buildings, 64, pp.95-102.
Wang, Y.M. and Elhag, T.M., (2008). An adaptive neuro-fuzzy inference system for bridge risk assessment. Expert systems with applications, 34(4), pp.3099-3106.
Yazdi, M., Hafezi, P., & Abbassi, R. (2019). A methodology for enhancing the reliability of expert ‎system applications in probabilistic risk assessment. Journal of Loss Prevention in the Process ‎Industries, 58, pp.51-59.‎
Zabihi, A. and Taghizadeh, M., (2015). New energy-saving temperature controller for heater at natural gas gate station. Journal of Natural Gas Science and Engineering, 27, pp.1043-1049.
Zadeh, L.A., (1983). The role of fuzzy logic in the management of uncertainty in expert systems. Fuzzy sets and systems, 11(1-3), pp.199-227.
Zadeh, L.A., (1988). Fuzzy logic. Computer, 21(4), pp. 83-93.
Zarei, E., Azadeh, A., Khakzad, N., Aliabadi, M.M. and Mohammadfam, I.,(2017). Dynamic safety assessment of natural gas stations using Bayesian network. Journal of hazardous materials, 321, pp.830-840.
Zemenkov, Y.D., Shalay, V.V. and Zemenkova, M.Y., (2015). Expert systems of multivariable predictive control of oil and gas facilities reliability. Procedia Engineering, 113, pp.312-315.
Zheng, X.B. and Chen, G.M., (2005). Research on fuzzy comprehensive evaluation method for oil & gas pipeline failure based on fault tree analysis. Systems Engineering-theory & Practice, 2, pp.139-144.
Zimmermann, H.J., (2012). Fuzzy sets, decision making, and expert systems (Vol. 10). Springer Science & Business Media.