Next Article in Journal / Special Issue
Sensorless Speed Tracking of a Brushless DC Motor Using a Neural Network
Previous Article in Journal / Special Issue
Analysis and Comparison of Fuzzy Models and Observers for DC-DC Converters Applied to a Distillation Column Heating Actuator
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Simultaneous Optimal Estimation of Roughness and Minor Loss Coefficients in a Pipeline

by
Ildeberto Santos-Ruiz
1,2,*,
Francisco-Ronay López-Estrada
1,
Vicenç Puig
2 and
Guillermo Valencia-Palomo
3
1
TURIX-Dynamics Diagnosis and Control Group, Tecnológico Nacional de México, IT Tuxtla Gutiérrez, Carretera Panamericana Km 1080, Tuxtla Gutiérrez, Chiapas C.P. 29050, Mexico
2
Institut de Robòtica i Informàtica Industrial, CSIC-UPC, Universitat Politècnica de Catalunya, C/. Llorens i Artigas 4-6, 08028 Barcelona, Spain
3
Tecnológico Nacional de México, IT Hermosillo, Ave. Tecnológico y Periférico Poniente S/N, Hermosillo, Sonora C.P. 83170, Mexico
*
Author to whom correspondence should be addressed.
Math. Comput. Appl. 2020, 25(3), 56; https://doi.org/10.3390/mca25030056
Submission received: 7 August 2020 / Revised: 29 August 2020 / Accepted: 31 August 2020 / Published: 1 September 2020

Abstract

:
This paper presents a proposal to estimate simultaneously, through nonlinear optimization, the roughness and head loss coefficients in a non-straight pipeline. With the proposed technique, the calculation of friction is optimized by minimizing the fitting error in the Colebrook–White equation for an operating interval of the pipeline from the flow and pressure measurements at the pipe ends. The proposed method has been implemented in MATLAB and validated in a serpentine-shaped experimental pipeline by contrasting the theoretical friction for the estimated coefficients obtained from the Darcy–Weisbach equation for a set of steady-state measurements.

1. Introduction

Pipelines are one of the most economical means of transporting liquids. They are widely used to carry water, fuels, and other substances in the process industries. Pipeline monitoring generally consists of measuring pressures and flow rates at some strategic points in the pipeline, frequently including the ends of the line. The changes in the hydraulic variables, mainly the pressures, make it possible to identify disturbances and faults in the system, e.g., blockages and leaks, as well as the implementation of control loops that allow regulating or changing the operating point [1]. Since many of the diagnosis/control algorithms are based on a mathematical model of the hydraulic system, fine-tuning such algorithms requires precise knowledge of their parameters [2,3]. For example, to diagnose leaks through pressure variations, it is essential to know how much pressure variation is caused by a reasonable pressure drop due to friction in the pipeline, which is only possible if the roughness and head loss coefficients of the pipe are known [4,5].
The Colebrook–White equation is the primary reference for calculating the friction factor in pressurized pipes. Since there are no known explicit solutions to this nonlinear equation in terms of elementary functions, many works have focused on studying its numerical solution [6,7] or by proposing different explicit approaches with varying degrees of accuracy [8,9,10,11,12].
Since many pipelines operate with turbulent flow, most publications focus on the study of friction for this regime. However, there are some works in which explicit formulas have been proposed to calculate the friction factor for the three regimes: laminar, transitional, and turbulent, considering both smooth and rough pipes [13]. There are also works where only friction in smooth pipes is studied, neglecting the roughness [14], and others where pipes with ribs are considered [15].
Then, by considering the importance of friction in head losses, it could be said that the reports on the investigation of physical measurements and mathematical modeling of pipe roughness are scarce in the technical literature [16]. Direct measurement of roughness is not a simple process. However, current developments in profilometry and surface engineering have achieved accurate measures of a pipe’s internal roughness, but only in a laboratory setting, usually with new pipes. In this way, Farshad and Pesecreta evaluated the roughness of different pipes’ rough surfaces using linear surface profilometers [17]. However, Kang and Lansey point out that, in practice, the roughness of the pipe cannot be measured in the field, so it must be estimated indirectly [18]. In this context, the research in [19] addresses the estimation of roughness in a straight water supply pipe from flow measurements and head losses measured by piezometric pipes. Since the experimental pipe they used in this work is approximately straight, the minor head losses due to the fittings were not considered.
The works above focus on calculating the friction factor, which is the critical element in determining head losses in long-distance pipelines. Fittings and valves contribute very little to the total pressure drop in the pipeline. Therefore, in such cases, pressure losses through fittings, valves, and other restrictions are generally classified as “minor losses” and are neglected. However, in shorter pipelines, the pressure loss in valves, fittings, etc., can be a substantial part of the total pressure loss, so these must be included for correct engineering calculations [16]. Therefore, it is necessary to know the head loss coefficients (for local losses, accessories, and valves), and the roughness coefficients related to friction (for distributed losses, in the entire pipeline).
During the design of the piping system, it may be sufficient to know the nominal value of the roughness and head loss coefficients provided by the manufacturer. The calculations consider a safety factor that guarantees the operation of the system with an oversized pumping power [17]. However, during system operation, the implementation of model-based monitoring and diagnosis algorithms require an accurate estimate of both roughness and head loss coefficients. It should be considered that, even under the same pumping pressure, the head losses change over time because, with continuous use, the pipelines show natural wear and aging. Particles can also accumulate on the pipe walls, changing the roughness and effective diameter of the pipes [18,19]. Therefore, a periodic recalibration is necessary to update the parameter values.
Recently, in [20], both major losses (due to roughness) and minor losses (due to fittings) are independently studied. However, as will be explained in Section 3, when these are calculated separately, a small overestimate in one of them leads to an overestimate in the other one, and vice versa. This article proposes a procedure to simultaneously estimate the roughness and minor loss coefficients in a pipeline based on these considerations. The proposed calculation requires some measurements of flow and pressure at the pipeline ends.
This work’s main contribution is the simultaneous computation of the coefficients of both components of the pressure loss: the major losses associated with roughness and the minor losses related to the fittings in the pipeline. In this proposal, it is possible to jointly estimate both coefficients assuming the minor losses as equivalent pipe lengths and looking for the coefficients that minimize the fitting error in the Colebrook–White equation. In order to demonstrate the applicability of the proposed technique, a series of tests on a prototype pipeline is described.

2. Background on Turbulent Flow in Pipelines

There is a general assumption that the head loss ( h f ) due to friction depends on the inner diameter (D) of the pipe, the length ( L ) in which the head loss is measured, the average flow velocity (V), the absolute roughness of the pipe wall ( k s ), the gravity acceleration (g), and the density and the viscosity of the fluid. Through force balance and dimensional analysis, it is possible to determine the head losses due to friction as [21,22]:
h f = L D V 2 2 g f ( ε , Re ) ,
where Re is the Reynolds number, which measures flow turbulence as a function of viscosity and velocity, and ε = k s / D is the so-called relative roughness coefficient. The expression f ( ε , Re ) in (1) is the “friction factor”, and is abbreviated hereinafter with the shortcut f : = f ( ε , Re ) . In this way, Equation (1) is represented in the following simplified form called the Darcy–Weisbach equation [21,23]:
h f = f L D V 2 2 g = f 8 L g π 2 D 5 Q 2 ,
where Q is the volumetric flow rate in the pipeline. Compared to other formulas for calculating friction losses, Equation (2) has the advantage of being a dimensionally homogeneous equation, so that the friction factor f is a dimensionless number consistent with any system of units [21]. There are works where some variants of the Darcy–Weisbach equation are considered. For example, [24] suggests an improvement in the calculation of the friction factor by assuming a periodicity of the roughness in the longitudinal direction of the pipe. However, in this work only the classical form (2) is considered.
In general, the friction factor depends on the flow turbulence (measured with Re) and also on the physical characteristics of the pipe (diameter and roughness of the interior walls). However, when the flow is laminar, at low velocity, the friction factor depends only on the Reynolds number, and is given by f = 64 / Re for Re 2000 . Instead, at high speeds where the flow is turbulent ( Re 4000 ), the friction factor also depends on the roughness of the pipe walls. In the interval, 2000 < Re < 4000 , after the laminar regime and before the turbulent regime, the values of the friction factor are not very predictable. Therefore this transitional regime will not be considered in this work.
One of the most widely accepted models for expressing the relationship between friction, turbulence, and roughness in pressurized flows is the Colebrook–White equation:
1 f + 2 log 10 ε 3.7 + 2.51 Re f = 0 ,
where the Reynolds number given by
Re = D Q A ν
measures flow turbulence in terms of kinematic viscosity ν and flow rate Q, while the friction factor
f = g π 2 D 5 h f 8 L Q 2
is expressed in terms of the head loss h f ( = H in H out ) along the pipe.
Explicit solutions for f of the DW equation using elementary functions are not known, because due to their nonlinearity, it is impossible to isolate f in terms of ε and Re. However, it is possible to find approximate solutions using iterative numerical methods. For this, the DW equation is rewritten as:
ϕ ( f ) : = 1 f + 2 log 10 ε 3.7 + 2.51 Re f = 0 .
The problem is then reduced to iteratively find the zero of ϕ ( f ) or, equivalently, the minimum of ϕ 2 ( f ) . Figure 1 shows the numerical solution of (6) obtained using the Colebrook MATLAB-routine, which can be consulted in [20]. It is also possible to estimate the solution of the CW equation, with different percentages of error, using explicit non-iterative approximations, such as those proposed by [25,26,27], among others. The surface plot in Figure 1 shows the general behavior that friction factor increases with roughness and decreases with the Reynolds number. However, for high turbulence (very large Re) the friction factor depends only on the roughness.
On the other hand, in addition to the pressure losses due to friction, which are distributed throughout the pipeline, the pressure losses due to flow disturbance caused by elbows, valves, and other fittings must be quantified. These are not distributed losses, but rather local losses that can be located in a well-defined position. Head losses due to singularities or fittings are commonly called “minor losses” because, for very long pipes, their value can be neglected compared to that due to friction. However, their effect can be significant for short pipes [28].
Equation (2) only predicts major losses due to fluid friction on the pipe wall and due to the effects of fluid viscosity and does not include minor losses on inputs, elbows, and other fittings. Minor losses in accessories are defined in terms of a loss coefficient K, by
h m = K V 2 2 g ,
which has some similarity with Equation (2) used for friction losses. There are some empirical formulas to estimate the minor loss coefficient (K) for valves, elbows, and other fittings [16]. In practice, the values obtained in this way can differ considerably from the true values, so it is convenient to determine them experimentally. For example, for 90° elbows, the minor loss coefficient is typically in the interval 0.9 K 1.5 , according to [29]; on the other hand, in [16] it is suggested to use the empirical formula K = 30 f T , where f T is the turbulent friction factor. In general, the minor loss coefficient is a function of both the fitting geometry and the Reynolds number. However, when Re is large enough, K can be assumed as a function of the fitting geometry only.
Given the similarity between Equations (2) and (7), in some applications it has been proposed to combine distributed losses with local losses, expressing the latter as if they were friction losses in an additional length of pipe. The “equivalent length” of pipe associated with a local head loss is the length of pipe that would produce a friction head loss equal to the corresponding local head loss. By matching Equations (2) and (7), the equivalent length L eq can be obtained as
K V 2 2 g = f L eq D V 2 2 g L eq = K D f ,
so, if the additional length of pipe that would equal the local losses is known, the minor loss coefficient is given by
K = f L eq D .
The above equations are the basis for addressing the problem under study. Formally, the problem whose solution is proposed in the next section can be expressed as follows: “Given a list of flow-rate and pressure measurements at pipeline ends, find simultaneously the roughness coefficient ε and the minor loss coefficient K—as equivalent length—so that for the friction factor values obtained experimentally, via the Darcy–Weisbach equation, the fitting error in the Colebrook–White equation is minimized”.

3. Proposed Methodology

Consider the simultaneous estimation of the roughness coefficient and the minor loss coefficient. The strategy used to integrate the minor losses together with the friction (major losses) is to assume them as an additional length of pipe, so that the total length used in the calculations is a “computational length” that integrates both the physical length of the pipeline as the equivalent length of the fittings.
If the pipe length L is assumed to be known, the friction factor f can be determined by measuring the flow rate Q and the head loss h f between the pipeline ends and substituting these values (5). Then, the roughness can be obtained by substituting f in the nonlinear Equation (3) and solving for ε . However, when starting from an underestimated length, if the roughness is overestimated, then the pipeline appears to be rougher when its length is shortened for a given friction factor.
Additionally, in practice, the roughness ε obtained by the numerical solution of (3) is sensitive to variations in the computed value of f due to measurement noise on Q and h f . Therefore, a single value of ε does not completely satisfy (3) for different measurements, even if they correspond to the same operating point. Consequently, for each measurement, the right side of (3) is not exactly zero, but there is a residual or fitting error δ . However, if we consider a length-dependent friction factor, f ( L ) , it is possible to minimize the error δ by adjusting the parameters ε and L in (3). In this way, the Colebrook–White equation expresses the friction factor in terms of flow rate and head loss but is parameterized by the roughness coefficient and the total length of the pipeline.
Thus, for each value of flow rate and head loss (for each operating point), there is a fitting error
δ k ( ε , L ) : = 1 f k ( L ) + 2 log 10 ε 3.7 + 2.51 Re k f k ( L ) ,
where Re k and f k are calculated as specified in (4) and (5), using the flow rate and head loss measurements in the k-th operating point.
Considering a nonlinear least squares optimization problem, with N measurements ( N 2 ), the optimal roughness and total length estimates have been defined as follows:
ε ^ , L ^ : = arg min ε , L k = 1 N δ k ( ε , L ) 2 = arg min ε , L δ δ ,
where δ = δ 1 ( ε , L ) , δ 2 ( ε , L ) , , δ N ( ε , L ) is the vector of fitting errors in the Colebrook–White equation. One way to solve the optimization problem (11), the one proposed in this work, is through the Levenberg–Marquardt (LM) method [30,31].
In the context of curve fitting, the LM method, also known as the damped least squares (DLS) method, is formulated as follows: Given a set of N pairs of empirical data ( x k , y k ) of independent and dependent variables, find the parameters β of the model ϕ ( x , β ) so that the sum of the squares of the deviations is minimized:
β ^ = arg min β k = 1 N y k ϕ ( x k , β ) 2 .
There is a correspondence between the optimization form (12) and the problem of calculating the roughness and length in (11), assuming the following equivalence:
β [ ε , L ] , y k 0 , ϕ ( x k , β ) δ k ( ε , L ) .
In order to find the optimal value of β , the LM algorithm iterates from an initial approximation β 0 . In each iteration, the parameter vector, β , is replaced by a new estimate, β + Δ . The increment Δ is calculated, according to [32], by solving
J J + λ diag J J Δ = J y ϕ ( β ) ,
where J = ϕ ( x k , β ) / β is the Jacobian matrix, ϕ ( β ) = ϕ ( x k , β ) , y = y k , and λ is a damping factor updated at each iteration. The iterations start with an empirical value λ = 0.01 . Then if the sum in (12) decreases fast, a smaller value λ λ / 10 is used in the subsequent iteration. When the step size, Δ , or the decrease in the sum of squares for the last parameter vector, β + Δ , falls below predefined limits, the iteration stops, and the last parameter vector β is considered the solution. The box in Figure 2 summarizes the complete calculation procedure.
The solution to the problem (11), using the LM method as described in Figure 2, was coded into a MATLAB subroutine. This subroutine, named Pipeline Parameter Calibration (PPC), receives inlet and outlet pressures, flow rate, and viscosity measurements at each operating point of the pipeline, and returns the estimated optimal values for ε and L. The head loss coefficient K can be obtained from the excess length of L ^ over the straight length using (9). In slightly turbulent flows, measurements should be taken over a small operating interval, because the minor loss coefficient could vary significantly between widely separated operating points. However, for completely turbulent flows the minor loss coefficient remains approximately constant. The range of Re in the test measurements described in the next section corresponds to a sufficiently high turbulence.

4. Experimental Setup

The procedure described in the preceding section has been tested on a prototype serpentine-shaped pipeline [33] (see Figure 3). This experimental pipeline is part of the Hydroinformatics Laboratory of the National Institute of Technology of Mexico, located in Tuxtla Gutiérrez. This pipeline has a straight length of 84.58 m and uses 90° elbows to give it a serpentine shape, as shown in Figure 4. The flow is driven from a 2500 l tank using a 5 hp centrifugal pump whose power is controlled by a frequency inverter. Pressure and flow sensors/transmitters are available at the pipeline ends. Although the prototype pipeline has two flow sensors, only one of them is used to obtain the flow-rate measurements required by the algorithm, because the measurements are made in a steady state with no leaks. There are no pressure sensors before and after each change in flow direction, so it is not possible to calculate the head loss on each direction change individually. In order to change the operating point of the pipeline, the frequency inverter was driven at the following working frequencies: 30 Hz , 35 Hz , 40 Hz , 45 Hz , 50 Hz and 55 Hz . Other parameters of the experimental pipeline used in calculations are D = 0.0486   m , and g = 9.79   m / s 2 .
Table 1 shows the first dataset containing the pressure and flow measurements used to estimate the roughness and equivalent length of the prototype pipe. The kinematic viscosity in the fourth column was calculated from the measured water temperature by spline interpolation using the NIST Standard Reference Data, according to [34]. Pressure and flow measurements at each operating point were obtained by averaging the sensor signals over a time interval (1000 samples, corresponding to 10 s) to minimize the effect of measurement noise. In order to test the Algorithm of Figure 2, five datasets with the same structure as Table 1 were built, named pipeline_data_1 : pipeline_data_5. Each dataset contains measurements at six operating points within the typical working range in the prototype pipeline, limited by the available pumping power. In practice, in other pipelines, the measurements used should consider their specific operating region, provided that it corresponds to the turbulent regime because the Colebrook–White equation does not correctly represent the laminar and transitional regimes.

5. Results and Discussion

The box in Figure 5 shows the result of running the PPC subroutine with the measurements reported in Table 1. The best fit of the measurements to the Colebrook–White equation was obtained for a roughness coefficient ε ^ = 3.4652 × 10 4 and a total length L ^ = 112.2238   m . This result corresponds to an excess length of 27.6438 m , compared to the physical length, due to minor losses. Figure 6 graphically shows the existence of the minimum, evidencing the behavior of the cost function in the neighborhood of the optimal estimate β ^ = ( ε ^ , L ^ ) . Starting from the initial approximation β 0 = ( 1 × 10 4 , 100 ) , the LM procedure converges to the optimal value in eight iterations, when the norm of the increment, Δ , reaches the value of 5.1559 × 10−9.
The PPC subroutine was run in each of the five available datasets; the results are summarized in Table 2. It can be seen that the roughness estimate was more sensitive than the length estimate concerning the change in pressure and flow-rate measurements. This is evidenced by the fact that the roughness varies from the third significant digit between different datasets, while the length only varies from the fourth significant digit. More precisely, the root-mean-square deviation (RMSD) was 1.929 × 10−6 (0.56%) for roughness, and 0.0456 m (0.04%) for length.
The variation in the results obtained with different datasets could be attributed, at least partially, to the measurement error of the sensors, which is between 0.01% and 0.04% (maximum) according to the manufacturer’s datasheets. This has the consequence that the computation of the friction factor, based on an inaccurate estimate of the roughness coefficient, is also inaccurate. Sensitivity analysis in the working region of the prototype pipeline showed that
( Δ f ) / f = 0.092 ( Δ ε ) / ε , ( Δ f ) / f = 0.156 ( Δ Re ) / Re ,
where ( Δ Re ) / Re can be taken approximately equal to the flow-rate measurement error, ( Δ Q ) / Q , considering the relationship (4). These results show that the friction factor calculation is considerably sensitive to flow measurement errors.
The final estimates of ε and L were obtained by averaging the estimates from the five experiments on the prototype pipeline, resulting in ε ^ = 3.4743 × 10 4 and L ^ = 112.21   m . On the Moody chart in Figure 7, the interval of the friction factor in the prototype pipeline has been represented in red, according to the calculated roughness coefficient. This can be considered as the “working region” of the pipeline. The solid orange line in Figure 7 is the theoretical curve according to the estimated roughness ε ^ , while the discrete red points represent the specific values of Re and f obtained from the measurements (via Equations (4) and (5), respectively), confirming a good parameterization of the Colebrook–White equation to fit the data.
In the prototype pipeline, minor losses are primarily due to the elbows used to give it the serpentine shape, so that the equivalent length of each elbow is determined by
L elbow = ( L total L physical ) / n = 112.21   m 84.58   m / 18 = 1.535   m ,
where n is the number of elbows, and L physical is the true length, also termed “straight length” of the pipeline.
Finally, the minor loss coefficient for each elbow can be obtained from (9). As noted in Section 2, the K values change slightly with the operating point. For example, for the fifth operating point in Table 1 (corresponding to Re = 92881 ) it was obtained:
K elbow = f L elbow D = 0.629 .
These K values obtained for the elbows of the prototype pipeline are close to those obtained with the empirical formula in [16] and fall outside the interval suggested by [29]. Due to the proximity between each elbows pair, it might be desirable to assign combined loss coefficients in pairs, since possibly the energy loss at the inlet elbow is different from the energy loss at the outlet elbow. In this case, the combined loss coefficient for each flow return, K return , is twice that calculated by (17), since the number of elbows doubles the number of return bends.

6. Conclusions

A technique for simultaneously estimating the roughness and minor loss coefficients in non-straight pipelines has been presented and tested. The results show that, within the accuracy conditioned by the sensors’ measurement uncertainty, the proposed methodology produces a reasonable estimate of both coefficients. In this regard, the roughness coefficient estimate is more sensitive to measurement noise than the minor loss coefficient estimate by almost one order of magnitude.
In support of this calculation proposal, it should be mentioned that the described technique to compute the roughness and the equivalent length has been used in multiple tests to locate leaks using extended Kalman filters, reaching a location accuracy of close to 2% of the pipeline length. The leak location procedure is not described here but can be found published in [5].
The main limitation of the proposed technique is that it only allows the estimation of minor loss coefficients for a single type of fitting. When the pipeline presents considerable head losses in more than one type of fitting, it does not determine what fraction of the minor loss is attributed to each one. As future work, it is intended to modify or extend the proposed technique to allow the calculation of roughness and minor loss coefficients in branched pipelines, also considering valves and other fittings such as tees and wyes.

Author Contributions

Conceptualization, I.S.-R., F.-R.L.-E. and V.P.; methodology, I.S.-R.; software, I.S.-R.; validation, F.-R.L.-E., V.P. and G.V.-P.; formal analysis, G.V.-P.; data curation, I.S.-R.; writing—original draft preparation, I.S.-R.; writing—review and editing, F.-R.L.-E., V.P. and G.V.-P.; supervision, F.-R.L.-E. and V.P.; project administration, F.-R.L.-E. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Council for Science and Technology (CONACYT) of Mexico, under the program Atención a Problemas Nacionales, grant number PN-2016/3595.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  1. Timashev, S.; Bushinskaya, A. Diagnostics and Reliability of Pipeline Systems; Springer: New York, NY, USA, 2016. [Google Scholar]
  2. Puig, V.; Ocampo-Martínez, C.; Pérez, R.; Cembrano, G.; Quevedo, J.; Escobet, T. Real-Time Monitoring and Operational Control of Drinking-Water Systems; Springer International Publishing: New York, NY, USA, 2017. [Google Scholar]
  3. Verde, C.; Torres, L. Modeling and Monitoring of Pipelines and Networks; Springer: New York, NY, USA, 2017. [Google Scholar]
  4. Delgado-Aguiñaga, J.; Besancon, G.; Begovich, O.; Carvajal, J. Multi-Leak Diagnosis in Pipelines Based on Extended Kalman Filter. Control Eng. Pract. 2016, 49, 139–148. [Google Scholar] [CrossRef]
  5. Santos-Ruiz, I.; Bermúdez, J.; López-Estrada, F.; Puig, V.; Torres, L.; Delgado-Aguiñaga, J. Online leak diagnosis in pipelines using an EKF-based and steady-state mixed approach. Control Eng. Pract. 2018, 81, 55–64. [Google Scholar] [CrossRef]
  6. Sonnad, J.R.; Goudar, C.T. Turbulent flow friction factor calculation using a mathematically exact alternative to the Colebrook–White equation. J. Hydraul. Eng. 2006, 132, 863–867. [Google Scholar] [CrossRef]
  7. Samadianfard, S. Gene expression programming analysis of implicit Colebrook–White equation in turbulent flow friction factor calculation. J. Pet. Sci. Eng. 2012, 92, 48–55. [Google Scholar] [CrossRef]
  8. Brkić, D. New explicit correlations for turbulent flow friction factor. Nucl. Eng. Des. 2011, 241, 4055–4059. [Google Scholar] [CrossRef] [Green Version]
  9. Winning, H.K.; Coole, T. Explicit friction factor accuracy and computational efficiency for turbulent flow in pipes. Flow Turbul. Combust. 2013, 90, 1–27. [Google Scholar] [CrossRef]
  10. Zeghadnia, L.; Robert, J.L.; Achour, B. Explicit solutions for turbulent flow friction factor: A review, assessment and approaches classification. Ain Shams Eng. J. 2019, 10, 243–252. [Google Scholar] [CrossRef]
  11. Azizi, N.; Homayoon, R.; Hojjati, M.R. Predicting the Colebrook–White friction factor in the pipe flow by new explicit correlations. J. Fluids Eng. 2019, 141. [Google Scholar] [CrossRef]
  12. Pérez-Pupo, J.; Navarro-Ojeda, M.; Pérez-Guerrero, J.; Batista-Zaldívar, M. On the explicit expressions for the determination of the friction factor in turbulent regime. Revista Mexicana de Ingeniería Química 2020, 19, 313–334. [Google Scholar] [CrossRef] [Green Version]
  13. Avci, A.; Karagoz, I. A new explicit friction factor formula for laminar, transition and turbulent flows in smooth and rough pipes. Eur. J. Mech. B Fluids 2019, 78, 182–187. [Google Scholar] [CrossRef]
  14. Taler, D. Determining velocity and friction factor for turbulent flow in smooth tubes. Int. J. Therm. Sci. 2016, 105, 109–122. [Google Scholar] [CrossRef]
  15. Popov, I.; Skrypnik, A.; Schelchkov, A. Generalized correlations for predicting heat transfer and friction factor of turbulent flow in tubes with inner helical ribs. J. Phys. Conf. Ser. 2019, 1382, 012032. [Google Scholar] [CrossRef]
  16. Valve, C. Flow of Fluids Through Valves, Fittings, and Pipe; Vervante: Springville, UT, USA, 2013. [Google Scholar]
  17. Menon, E.S. Transmission Pipeline Calculations and Simulations Manual; Gulf Professional Publishing: London, UK, 2015. [Google Scholar]
  18. Gong, J.; Erkelens, M.; Lambert, M.F.; Forward, P. Experimental Study of Dynamic Effects of Iron Bacteria–Formed Biofilms on Pipeline Head Loss and Roughness. J. Water Resour. Plan. Manag. 2019, 145, 04019038. [Google Scholar] [CrossRef]
  19. Wéber, R.; Hős, C. Efficient technique for pipe roughness calibration and sensor placement for water distribution systems. J. Water Resour. Plan. Manag. 2020, 146, 04019070. [Google Scholar] [CrossRef]
  20. Santos-Ruiz, I. Colebrook Equation. Available online: https://zenodo.org/record/3348254#.X02dR4sRVPY (accessed on 31 August 2020).
  21. Brown, G.O. The History of the Darcy–Weisbach equation for pipe flow resistance. In Environmental and Water Resources History; American Society of Civil Engineers: Reston, VA, USA, 2002; pp. 34–43. [Google Scholar]
  22. Saldarriaga, J. Hidráulica de Tuberías, 3rd ed.; Alfaomega: Bogotá, CO, USA, 2016. [Google Scholar]
  23. Weisbach, J. Lehrbuch der ingenieur-und maschinen. Mechanik 1845, 1, 434. [Google Scholar]
  24. Marušić-Paloka, E.; Pažanin, I. Effects of boundary roughness and inertia on the fluid flow through a corrugated pipe and the formula for the Darcy–Weisbach friction coefficient. Int. J. Eng. Sci. 2020, 152, 103293. [Google Scholar] [CrossRef]
  25. Swamee, P.K.; Jain, A.K. Explicit equations for pipe-flow problems. J. Hydraul. Div. 1976, 102, 657–664. [Google Scholar]
  26. Haaland, S.E. Simple and explicit formulas for the friction factor in turbulent pipe flow. J. Fluids Eng. 1983, 105, 89–90. [Google Scholar] [CrossRef]
  27. Serghides, T.K. Estimate friction factor accurately. Chem. Eng. 1984, 91, 63–64. [Google Scholar]
  28. Lahiouel, Y.; Lahiouel, R. Evaluation of energy losses in pipes. Am. J. Mech. Eng. 2015, 3, 32–37. [Google Scholar]
  29. Chin, D.A. Fluid Mechanics for Engineers in SI Units; Pearson: New York, NY, USA, 2017. [Google Scholar]
  30. Levenberg, K. A method for the solution of certain non-linear problems in least squares. Q. Appl. Math. 1944, 2, 164–168. [Google Scholar] [CrossRef] [Green Version]
  31. Marquardt, D. A method for the solution of certain problems in least squares. J. Soc. Ind. Appl. Math. 1963, 11, 431–441. [Google Scholar] [CrossRef]
  32. Fletcher, R. A modified Marquardt Subroutine for Non-Linear Least Squares. Available online: https://epubs.stfc.ac.uk/manifestation/6683/AERE_R_6799.pdf (accessed on 31 August 2020).
  33. Bermúdez, J.R.; López-Estrada, F.R.; Besançon, G.; Valencia-Palomo, G.; Torres, L.; Hernández, H.R. Modeling and Simulation of a Hydraulic Network for Leak Diagnosis. Math. Comput. Appl. 2018, 23, 70. [Google Scholar] [CrossRef] [Green Version]
  34. Santos-Ruiz, I.; López-Estrada, F.R.; Puig, V. Estimation of Some Physical Properties of Water as a Function of Temperature. Available online: https://zenodo.org/record/2595273#.X02fLtozZPY (accessed on 31 August 2020).
Figure 1. Variation of friction factor with roughness and Reynolds number in turbulent regime.
Figure 1. Variation of friction factor with roughness and Reynolds number in turbulent regime.
Mca 25 00056 g001
Figure 2. Algorithm to compute the optimal estimates of the roughness and minor loss coefficients.
Figure 2. Algorithm to compute the optimal estimates of the roughness and minor loss coefficients.
Mca 25 00056 g002
Figure 3. Prototype pipeline in the National Institute of Technology of Mexico, at Tuxtla Gutiérrez.
Figure 3. Prototype pipeline in the National Institute of Technology of Mexico, at Tuxtla Gutiérrez.
Mca 25 00056 g003
Figure 4. Top view of the prototype pipeline.
Figure 4. Top view of the prototype pipeline.
Mca 25 00056 g004
Figure 5. MATLAB output of the Pipeline Parameter Calibration (PPC) subroutine for the measurements in Table 1.
Figure 5. MATLAB output of the Pipeline Parameter Calibration (PPC) subroutine for the measurements in Table 1.
Mca 25 00056 g005
Figure 6. Behavior of the cost function in the neighborhood of the optimal estimate.
Figure 6. Behavior of the cost function in the neighborhood of the optimal estimate.
Mca 25 00056 g006
Figure 7. Moody chart with the parameters computed in the prototype pipeline.
Figure 7. Moody chart with the parameters computed in the prototype pipeline.
Mca 25 00056 g007
Table 1. Dataset with measurements at six operating points.
Table 1. Dataset with measurements at six operating points.
H in [m] H out [m]Q [m 3 /s] ν [m 2 /s]
3.75281.60630.00169038.4116 × 10−7
4.74611.79600.00201668.3951 × 10−7
5.85502.00330.00233468.3713 × 10−7
7.09082.23990.00264528.3513 × 10−7
8.44422.49410.00295318.3296 × 10−7
9.89622.76630.00325628.3061 × 10−7
Table 2. Roughness and length estimates from different datasets.
Table 2. Roughness and length estimates from different datasets.
Dataset ε ^ L ^ [m]
pipeline_data_10.00034652112.2238
pipeline_data_20.00034982112.1517
pipeline_data_30.00034473112.2626
pipeline_data_40.00034662112.2395
pipeline_data_50.00034946112.1530

Share and Cite

MDPI and ACS Style

Santos-Ruiz, I.; López-Estrada, F.-R.; Puig, V.; Valencia-Palomo, G. Simultaneous Optimal Estimation of Roughness and Minor Loss Coefficients in a Pipeline. Math. Comput. Appl. 2020, 25, 56. https://doi.org/10.3390/mca25030056

AMA Style

Santos-Ruiz I, López-Estrada F-R, Puig V, Valencia-Palomo G. Simultaneous Optimal Estimation of Roughness and Minor Loss Coefficients in a Pipeline. Mathematical and Computational Applications. 2020; 25(3):56. https://doi.org/10.3390/mca25030056

Chicago/Turabian Style

Santos-Ruiz, Ildeberto, Francisco-Ronay López-Estrada, Vicenç Puig, and Guillermo Valencia-Palomo. 2020. "Simultaneous Optimal Estimation of Roughness and Minor Loss Coefficients in a Pipeline" Mathematical and Computational Applications 25, no. 3: 56. https://doi.org/10.3390/mca25030056

APA Style

Santos-Ruiz, I., López-Estrada, F. -R., Puig, V., & Valencia-Palomo, G. (2020). Simultaneous Optimal Estimation of Roughness and Minor Loss Coefficients in a Pipeline. Mathematical and Computational Applications, 25(3), 56. https://doi.org/10.3390/mca25030056

Article Metrics

Back to TopTop