831
Views
1
CrossRef citations to date
0
Altmetric
Research Article

Fuzzy Interpretation of the Discharge Coefficient for the Orifice Plate of Automated Flow Rate Measuring Systems

ORCID Icon &
Pages 1128-1146 | Received 18 Jul 2020, Accepted 27 Aug 2021, Published online: 09 Sep 2021

ABSTRACT

Differential pressure flowmeters play a key role in the organization of flow rate measurements of liquids and gases in various industries. Therefore, the tasks related to improving their accuracy and the convenience of forming various dependencies between the values on which the accuracy of flow rate measurement depends are very important. One of the main characteristics that determines the correct and accurate operation of differential pressure flowmeters is the discharge coefficient. In this paper, the authors present a methodology that allows us to present this coefficient as a fuzzy model. The paper presents an original method for modeling the existing discharge coefficient in the form of a fuzzy model that is able to change the existing classical equation. A comparative analysis of the fuzzy and classical models is performed for this discharge coefficient. The article analyzes the errors of the fuzzy model for the discharge coefficient, discusses ways how to reduce the error of the fuzzy model. The proposed methodology describes the application of the fuzzy model for this coefficient within the existing limits for the Reynolds number and diameter ratio. It is shown that for a more accurate approximation of the characteristics, it is necessary to add more fuzzy sets. The present method is feasible for diameter ratio 0,2β0,75 and Reynolds number greater than 5000. The article also discusses the possibilities of using fuzzy models to improve the characteristics of differential pressure flow meters.

Introduction

The problem of saving water resources and energy carriers is becoming more significant and acute in many countries of the world every year. Methods and systems of energy accounting play a special role in solving this problem. Ways to improve their accuracy and reliability also play an important role in this issue. Without reliable and accurate flow rate measuring systems of energy resources, this problem cannot be solved. Lack of accounting is the lack of control over an expensive energy carrier, which leads to its irrational use and losses. As a result, this leads to unstable and unreliable relationships between consumers and energy suppliers, overpayment for under-supplied resources, and distortion of economic indicators. Therefore, improving the means and systems for measuring the flow rate and quantity of liquids and gases is an important task in ensuring energy efficiency. There are a huge number of methods and techniques for measuring the flow and quantity of substances that implement solutions to the existing problem of organizing accurate and reliable accounting. Among a large number of methods for measuring the flow rate and quantity of liquids and gases, a special role is played by differential pressure flowmeters (Ahmed and Ghanem Citation2020; Baker, Lau, and Tawackolian Citation2013; Dayev et al. Citation2021; Farsi et al. Citation2021; Gallagher Citation2007; LaNasa and Upp Citation2014). The most common application of this method is in the gas industry. This method is often used for commercial accounting quantity of natural gas (ISO Citation5167–1 2003; Kremlevsky Citation2002).

The organization of the process of measuring the flow rate of liquids and gases with differential pressure flowmeters is described in detail in the sources (Dayev et al. Citation2021; ISO Citation5167–1 2003; Kremlevsky Citation2002; Reader-Harris Citation2015). The flow rate of a gas or liquid is highly dependent on a characteristic called the discharge coefficient. The discharge coefficient of orifice plate is calculated by the following formula (Gallagher Citation2007; Reader-Harris Citation2015):

(1) Cd=Q1β4Fε2Δpρ,(1)

where Q actual gas mass flow rate, β diameter ratio, F the cross-sectional area of the orifice plate, ε expansion coefficient, Δp differential pressure on the flow transducer, ρ gas density. EquationEquation (1) is not used to calculate the discharge coefficient, because there are limitations and errors for its application. Therefore, this coefficient is calculated separately by empirical equations for various types of flow transducers.

For calculation of the expansion coefficient in Equationequation (1), the following formula is used for all permitted types of pressure tapping (ISO Citation5167–1 2003; Pistun and Lesovoi Citation2005; Reader-Harris Citation2015):

ε=1(0,351+0,256β4+0,93β8)11Δpp1γ,

where γ adiabatic coefficient. The last equation is applied when the previous conditions are met for Reynolds number, diameter ratio, pipe and orifice plate diameters and the following ratio, which takes into account the compressibility of the medium:

Δp/p0,25.

The importance of the discharge coefficient in the organization of flow rate measurement is confirmed by a large number of publications. Historically, the first equation to calculate the discharge coefficient was published in (Stolz Citation1978). Further, this work was continued in work (Cristancho et al. Citation2010). The last equation was obtained by Reader–Harris and Gallagher. In accordance with (Cristancho et al. Citation2010), the values of the discharge coefficient are calculated using the following formula:

(2) Cd=0,5961+0,0261β20,216β8+0,000521106βRe0.7++0,0188+0,0063Aβ3,5106Re0,3+0,043+0,08e10L10,123e7L1××10,11Aβ41β40,031M20,8M21,1β1,3+M3,(2)

where A=19000βRe0,8, M2=2L21β,

M3=0,D0,071120,0110,75β2,8D0,0254,D<0,07112
,

Re Reynolds number, D inner diameter of pipe, the values of the coefficients L1 and L2 are calculated depending on the method of pressure selection (ISO Citation5167–1 2003). The graphical representation of Equationequation (2) is shown in .

Figure 1. Dependence of the discharge coefficient on the number of Re

Figure 1. Dependence of the discharge coefficient on the number of Re

There are limitations to the application of Equationequation (2), which is used to calculate the discharge coefficient. In accordance with the studies (Cristancho et al. Citation2010; Pistun and Lesovoi Citation2005; Reader-Harris Citation2015; Reader-Harris, Sattary, and Spearman Citation1995) and the regulatory document (ISO Citation5167–1 2003), the following limitations are adopted for the orifice plates. The orifice plates with angular and three-radius pressure tapping can be used under the following conditions:

d0,0125(m);0,05(m)D1,0(m);0,1β0,75;Re5000,β0,56;Re16000β2,β>0,56.

The orifice plates with flanged pressure tapping can be used under the following conditions:

d0,0125(m);0,05(m)D1,0(m);0,1β0,75;Re5000,Re>1,7105β2D.

An alternative representation of the discharge coefficient and the continuation of research in this area have been proposed in the works (Baker, Lau, and Tawackolian Citation2013; Cristancho et al. Citation2010; Daev Citation2015; Reader-Harris, Barton, and Hodges Citation2012; Reader-Harris and Sattary Citation1990; Reader-Harris, Sattary, and Spearman Citation1995; Reader-Harris, Sattary, and Spearman Citation1992a; Reader-Harris, Sattary, and Spearman Citation1992b). As can be seen from Equationequation (2), the discharge coefficient is an equation of two variables Re and β, so in order to improve the methods of representation and calculation of this coefficient, other methods are being used to calculate it.

For example, in (Daev Citation2016; Daev and Kairakbaev Citation2017), the authors show the possibility of changing this coefficient under other operating conditions of differential pressure flowmeters. In (Daev and Kairakbaev Citation2017), the effect of straightening jets on the calculation of this coefficient is shown, and in (Daev Citation2016) it is shown that the presence of pulsations in the flow leads to the appearance of an additional variable in the form of the Strouhal number. In research (Dayev Citation2020; Dayev and Yuluyev Citation2019), one of the authors shows the possibility of representing this coefficient in the form of an artificial neural network, which can also be implemented in flow computers.

Taking into account that this coefficient in normal operation of variable differential pressure flow meters is a function of two variables in accordance with formula (2), in this article the authors aim to present a fuzzy interpretation of this coefficient. The authors hope that a fuzzy representation of the flow rate in the future will allow us to achieve simpler and better ways to model it in order to improve the differential pressure flowmeters accuracy. The analysis of expression (2) shows that this equation is nonlinear and quite complex for perception, therefore, according to the authors, the application of soft calculations such as fuzzy logic and modeling methods, would contribute in the future to obtain simpler and accurate methods of modeling and representation of the discharge coefficient. The importance of using fuzzy methods for modeling such characteristics of flowmeters is due to the fact that fuzzy methods are able to approximate almost any curves with very simple techniques (Kosko Citation1994; Piegat Citation2010; Yarushkina Citation2009). The application of new approaches expands the search for simpler methods of describing the characteristics of flowmeters, as well as contributes to the development of systems for measuring the flow rate of liquids and gas in General.

Analysis of the discharge coefficient

EquationEquation (2) is a function of two variables. On the other hand, Equationequation (2) is a strongly nonlinear dependence in order to represent it by fuzzy modeling methods. To solve such a problem, Equationequation (2) must be represented as a simple dependence of two separate independent functions, each of which depends on only one variable. To build a successful fuzzy model for this coefficient, we need to obtain simpler dependencies. These dependencies should reflect the relationship between the variables in the form of separate equations with one variable. In this case, we will be able to build a simple and effective model in the form of a MIMO-system. Therefore, it is necessary to divide Equationequation (2) by separate functions of one variable, multiplication of which gives the result in the form of the value of the discharge coefficient.

The latter problem is easily solved if we present the discharge coefficient as a dot product of the following two vectors:

(3) Cd=f(β)g(Re),(3)

where each of the vectors, is a five-dimensional vector with coordinates in the form of functional expressions from each variable. This application of the dot product allows us not only to simplify Equationequation (2), but also to perform a detailed analysis of this equation. The latter opens up more opportunities for us to study the properties of the discharge coefficient, as well as to find simpler and more productive models that are based on modern techniques.

A five-dimensional vector representing the dependence of the coefficient on the diameter ratio is as follows:

f(β)=f1(β)f2(β)f3(β)f4(β)f5(β),

where

f2(β)=101,3β3,5;

f3(β)=0,000521104,2β0,7; f4(β)=0,11190000,80,043+0,08e10L10,123e7L1β4,81β4;

f5(β)=101,3β4,3.

A five-dimensional vector representing the dependence of the coefficient on the Reynolds number is as follows:

g(Re)=g1(Re)g2(Re)g3(Re)g4(Re)g5(Re)T,

where

g1(Re)=1;
g2(Re)=0,0188100,5Re0,3;
g3(Re)=Re0,7;
g4(Re)=Re0,8;
g5(Re)=0,0063100,5190000,8Re1,1.

The decomposition of Equationequation (2) as the dot product of two vectors (3) facilitates the analysis, and makes it possible to present the expression for the discharge coefficient as a fuzzy model. shows graphs of functions that make up the vector that depends on the diameter ratio of the orifice plate. The graphs in allow us to perform a detailed analysis of the dependence of the discharge coefficient on the relative diameter. The graphs clearly show that the function f1(β) is linear, and all functions except the function f3(β) have the same character, and have zero values in the range 0<β0,2. The analysis of the obtained equations, which are included in the five-dimensional vector, shows the nature of changes in the range 0,2β0,5. The analysis shows that in this range the obtained dependencies can be represented as lines. The latter allows us to replace the functions with linear lines (although this is not essential), which reflect the nature of the change in a certain part of the range. The latter allows us to introduce fuzzy sets on these ranges.

Figure 2. Functions that depend on β, the components of Equationequation (3)

Figure 2. Functions that depend on β, the components of Equationequation (3)(3) Cd=f(β)→⋅g(Re)→,(3)

Similarly, one can construct graphs for a vector consisting of functions that reflect the dependence of the discharge coefficient on the Reynolds number. In these graphs, you can also see the hidden properties of Equationequation (2) for entering fuzzy sets and performing modeling under new conditions.

In the graphs from , it can also be seen that in the Reynolds number range 0Re104, all the curves in the figure can be replaced by monotonically decreasing straight lines. In the area of range 104Re3104, where the curves are transient, they can also be replaced by straight lines, which also decrease. In the remaining sections of Reynolds numbers all the features of the vector are of linear character, which can also be replaced by straight lines.

Figure 3. Functions dependent on Re in Equationequation (3)

Figure 3. Functions dependent on Re in Equationequation (3)(3) Cd=f(β)→⋅g(Re)→,(3)

This separation of the components, and the representation of straight lines in separate areas of the variables that are included in Equationequation (2), allows us to introduce a fuzzy system that can completely replace Equationequation (2). Below we consider the implementation of the model in the form of a fuzzy system that performs the calculation of the discharge coefficients of the orifice plates.

Fuzzy representation of the discharge coefficient

Computational algorithms based on fuzzy models allow developing solutions that are more efficient and simple compared to systems based on traditional clear models (Piegat Citation2010; Yarushkina Citation2009). To solve this problem, it is necessary to implement a MIMO-type system (Mac et al. Citation2016; Postlethwaite and Edgar Citation2000). To implement a fuzzy system, it is necessary to input linguistic variables. These linguistic variables are directly related to the variables in Equationequation (2). After that, the calculation results will be generated at the output of the resulting system in the form of values of the discharge coefficient. Thus, the system must form a relationship between the output value, i.e. the discharge coefficient and Re and β input variables.

To do this, the linguistic variable «Orifice plate diameter ratio» is fed to the input of the system by several fuzzy sets in the form of terms of sets of the variable. Fuzzy sets for a linguistic variable can be represented as follows:

A1=β,μA1(β) Range of small diameter ratio values (0<β0,2);

A2=β,μA2(β) Range of average of diameter ratio values (0,2β0,5);

A3=β,μA3(β) Range of large diameter ratio values (0,5β0,75),

where μ(β) membership function. Such a division into fuzzy sets is made based on the analysis of functions in , where the nature of their change is clearly visible.

In accordance with the analysis and recommendations in (Piegat Citation2010) as accessory functions for systems based on the Takagi – Sugeno model, it is necessary to use functions with a finite carrier that take a zero value at points corresponding to the modal values of membership functions.

Such functions can be trapezoidal functions. The authors choose trapezoidal membership functions because they allow us to cover more values of the linguistic variable. Although the authors do not exclude using of other types of functions, but in this case the number of rules can seriously increase when we build a fuzzy rule base. Fuzzy sets of a linguistic variable are shown in .

Figure 4. Fuzzy sets for the variable «Orifice plate diameter ratio»

Figure 4. Fuzzy sets for the variable «Orifice plate diameter ratio»

As the second variable necessary to calculate the coefficient, the Reynolds number is needed. For this variable, we introduce the linguistic variable «Reynolds Number» with the corresponding fuzzy sets:

B1=Re,μB1(Re) Conventionally, the laminar flow of the gas (0Re104);

B2=Re,μB2(Re) Transient gas flow (104Re3104);

B3=Re,μB3(Re) Turbulent gas flow (Re>3104).

Graphs of functions and corresponding fuzzy sets are shown in .

Figure 5. Fuzzy sets for the variable «Reynolds Number»

Figure 5. Fuzzy sets for the variable «Reynolds Number»

Now, in accordance with the required task, it is necessary to form a rule base for the system of calculating the discharge coefficient. At the output of the system, the equations of lines will be formed to calculate the values of the discharge coefficient in certain areas of linguistic variables. In this case, a rule base will be formed based on the Takagi-Sugeno algorithm (Piegat Citation2010; Yarushkina Citation2009).

The structure of the fuzzy system that will represent the discharge coefficient is shown in . In it, the input variables undergo a Fuzzification operation in the Fuzzier block, then the selection and calculation of the necessary functions from Equationequation (3) using a fuzzy rule base is realized, and the calculation of the discharge coefficient based on the selected functions.

Figure 6. The structure of the fuzzy system

Figure 6. The structure of the fuzzy system

After introducing fuzzy sets and approximating the values on individual fuzzy sets with straight lines, we get the rule base.

It is necessary to describe this rule base depending on the combination of input fuzzy sets. Now we will write down the rule base, which provides the calculation of the values of the discharge coefficient. Part of the base will do the selection of fuzzy sets for the diameter ratio, and the other part will do the selection of sets for the Reynolds number:

The applied AND operations are performed using s-norms and t-norms, which are given in (Piegat Citation2010; Yarushkina Citation2009). After executing the fuzzy rule base, formula (3) will be implemented. In the case of such a system, the components of the discharge coefficient depending on the diameter ratio will have a dependence, which is shown in .

Figure 7. Functions depending on the diameter ratio included in Equationequation (3) after the fuzzy rule base

Figure 7. Functions depending on the diameter ratio included in Equationequation (3)(3) Cd=f(β)→⋅g(Re)→,(3) after the fuzzy rule base

In the fuzzy rule base, some function values were not taken into account because their value, according to the graphs in and respectively, for the first fuzzy set is zero. Although in the construction of a fuzzy rule base, the use of straight lines is not essential, and straight lines in some areas can be represented by more complex dependencies. In the case of our problem, such accuracy as will be shown below is not fundamental.

The dependence of the discharge coefficient on the Reynolds number in the form of four functions on the Reynolds number prepared for the fuzzy rule base will look like in .

Figure 8. Functions dependent on the number Re, included in Equationequation (3) after the fuzzy rule base

Figure 8. Functions dependent on the number Re, included in Equationequation (3)(3) Cd=f(β)→⋅g(Re)→,(3) after the fuzzy rule base

Below we carry out a comparative analysis of the obtained result of the fuzzy model of the discharge coefficient with the existing dependence in the form of Equationequation (2).

Results and discussion

The purpose of representing the orifice plate discharge coefficient as a fuzzy model was to represent this characteristic in simpler and more accurate ways. In this section, we will try to compare the results obtained using a fuzzy model of the discharge coefficient with the true values of this coefficient using the formula (2). In this case, a simple method was proposed, which is based on fuzzy modeling algorithms.

It is necessary to estimate the results of calculating the coefficient in the form of a fuzzy model. shows the results of determining the relative error of determining the discharge coefficient by the following formula:

(4) δCd=Cdeq(2)Cdeq(3)Cdeq(2)100%,(4)

Figure 9. The relative error of determination of fuzzy discharge coefficient with various values of β

Figure 9. The relative error of determination of fuzzy discharge coefficient with various values of β

where Cdeq(2) the discharge coefficient determined by the formula (2), Cdeq(3) the discharge coefficient determined by the formula (3) taking into account the operation of the fuzzy rule base. represents the dependence of the relative error on the Reynolds number at different β values.

The results in are obtained with the presence of fuzzy sets. It can be considered that the introduction of one fuzzy set B1 in the Reynolds number range 0Re104, makes the model in this area quite rough, as can be seen from the graph in . On the other hand, the linear nature of the remaining curves on the other two introduced fuzzy sets, gives almost zero error. The dependence in shows that in the region of large values of the Reynolds number, we have almost linear dependencies that are well approximated by linear equations in fuzzy model. Such a linear dependence for high values of the Reynolds numbers allows us to obtain very accurate data for the discharge coefficient using the fuzzy model.

Such an error on the first fuzzy set is reduced by introducing additional fuzzy sets on the Reynolds number range 0Re104 .

We introduce an additional fuzzy set B0=Re,μB0(Re) laminar gas flow, which will be determined by the trapezoidal membership function in the range 0Re2500, and the fuzzy set B1 will be shifted to the right, as shown in .

Figure 10. Additional fuzzy set for the variable «Reynolds Number»

Figure 10. Additional fuzzy set for the variable «Reynolds Number»

The introduction of an additional fuzzy set B0 significantly reduces the error defined by Equationequation (4), and more accurately approximates the curves in . The behavior of functions included in the Reynolds number-dependent vector after the introduction of an additional fuzzy set is shown in .

Figure 11. Functions dependent on Reynolds number in the Equationequation (3) after introduction of additional fuzzy set

Figure 11. Functions dependent on Reynolds number in the Equationequation (3)(3) Cd=f(β)→⋅g(Re)→,(3) after introduction of additional fuzzy set

As can be seen from , the dependence on the Reynolds number becomes more accurate, so the errors of the discharge coefficient in the form of a fuzzy model are significantly reduced. The latter can be seen from the graphs in .

Figure 12. Relative error of determination of fuzzy discharge coefficient after introduction of additional fuzzy set

Figure 12. Relative error of determination of fuzzy discharge coefficient after introduction of additional fuzzy set

Such introduction of an additional fuzzy set requires modification of rule R4 and addition of the fuzzy rule base with a new rule R7 in the following form:

It should be noted that in gas flows the value of the Reynolds number is quite high. Therefore, we can assume that the presented model fully meets the requirements for the organization of systems for measuring the flow rate and quantity of natural gas.

The versatility of approximation methods using fuzzy models allows us to completely replace the usual representation of individual physical quantities in the form of equations of type (2). Also, fuzzy methods for these quantities allow us to simplify the processing of measurement results, which is the main advantage compared to traditional methods. Therefore, fuzzy methods offer great opportunities for modeling the parameters of flow measurement systems. Fuzzy models allow approximating not only the value of the discharge coefficient; such models can be represented by other equations in the document (ISO Citation5167–1 2003).

The results have presented in shows that the fuzzy model of the discharge coefficient approximates the previously obtained model of the discharge coefficient in the form of Equationequation (2) fairly well over a wide range of Reynolds numbers (2500Re). Now, let’s compare the fuzzy discharge coefficient with the coefficient, which is represented as an artificial neural network (ANN) from (Dayev Citation2020).

For example, the proposed comparison of results is feasible for the case when β=0,2 and the range of Reynolds numbers is 5000Re230000. This relationship is shown in .

Figure 13. Comparison of different models of the discharge coefficient

Figure 13. Comparison of different models of the discharge coefficient

The graphs in show that both methods approximate the original relationship ambiguously. The ANN model of the discharge coefficient is more linear as the Reynolds number increases, as opposed to the fuzzy model of this coefficient. But the fuzzy model of the discharge coefficient, despite its non-linear nature in certain sections of the Reynolds numbers, better repeats the original Equationequation (2). A particularly fuzzy model better approximates the original equation on small values of Reynolds numbers, as can be seen from the graph in .

Now it is necessary to compare models by considering their relative errors, which can also be calculated using the Equationequation (4). Comparing the graphs in , we can conclude that the fuzzy model has higher accuracy over the entire range of Reynolds numbers.

Figure 14. Comparison of relative errors in the discharge coefficient of the present model with two previous models

Figure 14. Comparison of relative errors in the discharge coefficient of the present model with two previous models

The work (Dayev Citation2020) showed that the simulation of the discharge coefficient in the form of an artificial neural network requires a large amount of data that provides reliable calculation of the coefficient values. On the other hand, as it is shown above, fuzzy modeling requires getting more different equations that describe the behavior of this coefficient on different sections of linguistic variables. And as shown above, more fuzzy sets are required for a more accurate approximation of the characteristics, although this work used linear sections on individual fuzzy sets. In the case of neural networks, such problems are excluded, where the accuracy of the models depends on the setting of synaptic weights of neurons.

However, it can be noted that both approaches open up new possibilities for obtaining better and more accurate characteristics of the flow transducers. On the other hand, we can combine both methods and organize neuro-fuzzy models of the discharge coefficient. Perhaps a combination of both methods will produce a model that combines the advantages of both neural networks and fuzzy systems.

Conclusions

Thus, within the framework of this article the problem of realization of characteristics of flow measurement systems by fuzzy sets is solved. The article analyzes the current equation of the discharge coefficient, the structure of the fuzzy system, which plays the role of this coefficient, is proposed. The article provides information about the input fuzzy sets, the construction of a fuzzy rule base in accordance with which the calculation of the discharge coefficient is performed. The graphs of errors between the actual discharge coefficients and their fuzzy analogues depending on Reynolds numbers at different values of diameter ratios are presented. It is established that the magnitude of these errors is very small, which also confirms the prospect of using fuzzy models as separate characteristics of measuring systems of flow rate and quantity. It is shown that for a more accurate approximation of the characteristics, it is necessary to add more fuzzy sets. A comparison of the operation of a fuzzy system with an artificial neural network was performed, which showed the behavior of the error in determining the discharge coefficient. The results obtained are applicable in the case when β=0,2 and the range of Reynolds numbers is 5000Re230000. The present method is feasible for diameter ratio 0,2β0,75 and Reynolds number greater than 5000.

Disclosure statement

No potential conflict of interest was reported by the author(s).

References

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.