Senior Lecturer Andijan Machine-Building Institute, Republic of Uzbekistan
Аpplication of fuzzy logic in the gas transportation control system
ABSTRACT
The article deals with the problem of automating the control of technological parameters of gas transportation using fuzzy logic. An information model and a system of differential equations for the flow of natural gas through a pipeline are presented. To simplify calculations, it is proposed to use a triangular membership function, for all fuzzy values
АННОТАЦИЯ
В статье рассматривается задача автоматизации управления технологическими параметрами транспортировки газа с применением нечеткой логики. Приведены информационная модель и система дифференциальных уравнений течение природного газа по трубопроводу. Для упрощения вычислений предложено применение треугольной функции принадлежности, для всех нечетких значений
Keywords: hydraulic resistance, gas transmission system, natural gas, membership function, transportation.
Ключевые слова: гидравлическое сопротивление, газотранспортная система, природный газ, функция принадлежности, транспортировка.
Introduction
In the global gas industry, in particular, in the field of storage and transportation of gas, research is being carried out to improve existing technologies, increase production efficiency and the capacity of technological units. Much attention is paid to the solution of theoretical problems of parametric identification and adaptive control of technological processes in conditions of uncertainty and their practical application in various fields [1].
Currently, the Republic of Uzbekistan pays great attention to automation and control of technological processes and industries, including the creation of advanced control systems that save energy and resources in the automation and management of gas storage and transportation [1].
The complexity of technologies for storage, transportation and treatment of gas and gas condensate requires the development of highly efficient methods and algorithms for controlling technological processes in conditions of uncertainty using the achievements of modern information technologies and technical means. In this regard, it is necessary to develop a control system with computer technologies for the preparation, storage and transportation of natural gas, which will allow analyzing technological solutions at a qualitatively new level and monitoring the main indicators of production, storage and transportation of gas and gas condensate [2].
Research Methods and the Received Results
Mathematical modeling of the processes of trunk transportation of natural gas is significantly complicated due to the presence of uncertainties in the initial data.
The uncertainty of the initial data can be taken into account in mathematical models using two types - probabilistic models, as well as taking into account the methods of the theory of fuzzy sets [2].
The uncertainty of some parameters of gas production systems is rather ambiguous from the point of view of probability and, accordingly, can be described in the form of fuzzy sets, which are also called fuzzy numbers. The actual drag coefficients of gravity pipes are usually close to the design values, but both also differ from them due to the error in calculating the impact and gravity resistance on the inner walls [3].
The most important task of developing an intelligent control system is not only the collection of relevant information, but also the selection or creation of effective models for demonstrating knowledge, which will allow it to be effectively processed in the decision-making process. This task is directly related to the development of highly efficient algorithms for modeling, predicting and adapting the parameters of the control system operating under conditions of uncertainty to create an appropriate knowledge base that includes the necessary information about the problem area and decision-making methods in this area.
The tasks of mathematical modeling of the processes of storage and transportation of natural gas are significantly complicated by the presence of uncertainty in the initial data.
To simulate the processes of storage and transportation of gas, one has to use fuzzy information about the state and characteristics of wells, pipelines and electrical equipment [3].
The information model is shown in Fig. 1.
Figure 1. Information model of the gas transportation system
Natural gas flow is described by the following system of differential equations:
where P is the pressure in the gas pipeline; T – gas temperature, r – gas density; u – gas flow rate;
x – the coordinate of the length of the gas pipeline; t – time; d – is the inner diameter of the pipe;
l – coefficient of hydraulic resistance; a – the angle of rotation of the gas pipeline in relation to the horizon; H – the height of the gas pipeline relative to sea level; e – comparative gas resistance,
h – is the comparative enthalpy of the gas, that is, the function of the state of the thermodynamic system H is equal to the sum of the internal energy U and the derivative of pressure P and volume V. H = U + PV. g – the acceleration of gravity, Ttm – the ambient temperature, K – the coefficient of heat release into the environment [4].
Problems of mathematical modeling of the main transportation of natural gas. The main initial indicators when planning long-term operating modes of the gas transmission system (GTS) are the volumes of gas production and consumption. Depending on factors that are very difficult to predict, gas demand can lead to significant changes. Firstly, this is the weather conditions - natural gas, compared to the cold winter time, is significantly reduced in hot seasons [4].
Secondly, it is the rate of economic growth of countries with different economic and political-economic conditions, for example, the rate of economic growth of countries consuming energy resources. A certain degree of unreliability of the condition of pipes and power equipment plays an important role in the planning of medium and short-term modes.
Let us consider the system of main gas transportation in which some parameters are not unreliable, we will use a fuzzy expression for these parameters. The following is not known for certain:
- gas consumption at the inlet and outlet of the system;
- coefficients of hydraulic resistance of pipes;
-maximum compressor power;
- production rate of wells.
All these values can be designated as fuzzy numbers, the membership functions of which are determined by expert methods. Simplifying calculations only without loss of generality, we use triangular membership functions for all fuzzy values:
At the inlet of the GTS, the flow rate is indicated as a fuzzy number (x, mq (x;p)). The variable p is taken as a parameter: we will assume that for each p there corresponds a fuzzy flow rate. The computational module converts the membership function (MF) of the flow rate (x, mq (x;p)) into the MF of the flow rate (x, mq- (x;p-)) at the output. The intersection of fuzzy sets is determined by the formula , using the operator mq (x;p) ® mq- (x;p-) taking into account that the coefficient of hydraulic resistance (x, mN (x,p)) and
( x, mN (x,p-)) fuzzy variables.
The p-value in KC is expressed as follows:
(1)
and on transmission lines according to the following formula:
(2)
p-on the transmission line is calculated exactly, and in the CS it is chosen by the optimal method, since the CS power N is a variable of the control action [5].
The solution was found by the ordered search method (dynamic programming). In the process of dynamic application, the inlet pressure given to the outlet flow rate (x, mq- (x; p-) MF is determined to ensure the maximum level of membership in this inlet pressure:
, (3)
in addition, in the operation of obtaining the maximum (3), p, N, p – values must be related by relation (1).
In practice, the situation is complicated even by the lack of partial or complete information on the statistical characteristics of the noise. Therefore, to solve the estimation problem it is proposed to use the theory of fuzzy sets.
Consider a nonlinear dynamic system with discrete time:
(4)
for this system, its size and state are interrelated:
(5)
In these equations, the index k corresponds to the k -moment of time;
- k -nonlinear functions of suitable arguments;
- dynamic state of the system;
is a fuzzy disturbance defined for each time instant k of the MF μ(
);
– measurement error with a known membership function μ(
).
To determine the best estimate of the state at time k for a given expression for the MF
, we use the formula:
In the presence of some conditional MF , the optimal point estimate of the current state of the system for the moment (k+1) can be determined as follows:
For fuzzy constraints characterized by the MF
a control action u_k is introduced at each time instant k and it is assumed that the initial state
is given. Let's say there is a fuzzy goal
(x) that needs to be achieved in time N [5].
Conclusion
Optimally known control actions can be defined, [54]:
, (6)
, (7)
here the function can be considered as the MF at time N-1, which is induced by the final goal
at time N.
Thus, it is possible to find an effective exact control at an arbitrary time instant k knowing the current nonlinear state
, the nonlinear constraint
, and the induced nonlinear target
based on (6) , (7).
References:
- Gostev V.I. Nechetkie regulyatori v sistemax avtomaticheskogo upravleniya / V.I. Gostev – K.: «Radiomator», 2008. – 972 s.
- Dmitriev V.M., Gandja T.V., Istigecheva Ye.V., Klepak I.Ya. Intellektualizatsiya upravleniya texnologicheskimi protsessami na uglevodorodnix mestorojdeniyax. Tomsk: V-Spektr, 2012. - 212 s.
- Kulik V.S. Optimizatsiya rejimov transportirovki prirodnogo gaza po sistemam magistralnix gazoprovodov v usloviyax neopredelyonnosti isxodnix dannix: Dissertatsiya kandidata texnicheskix nauk: 05-13-18. – M., 2015
- Siddikov I.X., Shomirzaev B. U. Gas Pressure and Flow Control Algorithm in Main Gas Pipelines Using the Fuzzy Logic Apparatus // International journal of advanced research in science, Engineering and technology. India 2019, Vol. 6, Issue 8,
- Zibert G.K., Sedix A.D., i dr. Podgotovka i pererabotka uglevodorodnыx gazov i kondensata. Texnologii i oborudovanie. Spravochnoe posobiem- M.: OAO "Nedra-Biznessentr", 2001. - 316 s.