ABSTRACT: CurvePivot 2.0 software was developed for the hydraulic design of central pivot irrigation systems for specific operating conditions. The programming language that was used was C # with a simple interface for the user. The program was based on a mathematical model that considers hydrogeological, hydraulic, edaphic, agronomic and economic variables, through which the design flow is obtained quickly and efficiently with the lowest investment and operation cost of the irrigation system. In addition, other parameters are determined like efficiency and depletion of the well, radius of influence of the well, parameters of the centrifugal pump, operating point of the system, rainfall at the end of the lateral, diameters and lengths of the pipes, working pressure, tower number and speed of the last tower. This tool has been used in several agricultural companies in the province of Ciego de Ávila, Cuba.
Keywords: programmingprogramming,waterwater,energyenergy.
RESUMEN: Se elaboró un software CurvePivot 2.0 para el diseño hidráulico de los sistemas de riego de pivote central para las condiciones específicas de operación. El lenguaje de programación que se utilizó fue C# con una interfaz sencilla para el usuario. El programa se fundamentó en un modelo matemático que considera variables hidrogeológicas, hidráulicas, edáficas, agronómicas y económicas, a través del cual, se obtiene de forma rápida y eficaz el caudal de diseño con el menor costo de inversión y operación del sistema de riego. Además se determina la eficiencia y abatimiento del pozo, radio de influencia del pozo, los parámetros de la bomba centrífuga, el punto de funcionamiento del sistema, la pluviosidad en el extremo del lateral, los diámetros y longitudes de las tuberías, presión de trabajo, número de torre y la velocidad de la última torre. Esta herramienta ha sido utilizada en varias empresas agrícolas de la provincia de Ciego de Ávila, Cuba.
Palabras clave: programación, agua, energía.
SOFTWARE
Software for the Hydraulic Design of Central Pivot Irrigation Systems
Software para el diseño hidráulico de los sistemas de riego de pivote central
Received: 02 June 2017
Accepted: 11 September 2018
Software in recent decades has become an effective tool in the designing and management of irrigation systems, with the aim of maximizing agricultural production with efficient use of natural resources, as a low-cost alternative, quick and easy to use (Kisekka et al. 2016, Ferreira and Assunção, 2015, Pinheiro and Alves, 2017).
In the Ministry of Agriculture of the Republic of Cuba, pressure irrigation systems are the ones with the highest consumption of electric power, between 18% and 20% (López et al. 2017a). Hence, it arises the need of analyzing the design, operation and evaluation of these systems. In Cuba, in the nineties, the software "PIVOT" was developed for the design of central pivot irrigation systems by hydraulic and electric drive, but this does not include the hydrogeological parameter, the hydraulic in all its extension and the economic ones ( López et al. 2017b).
There have been several authors who have developed methodologies and software for the design and evaluation of central pivot irrigation systems such as Allen (1991); Valin et al. (2012); Moreno et al. (2012); Irmak, (2015); Almedia et al. (2017); Camejo et al. (2017); but they have as limitations the analysis of the topography of the terrain, the hydraulics of well, the curves of the centrifugal pumps, the types of emitters in the lateral and economic aspects. For this reason, the importance of developing software based on optimal methodologies that integrate all the variables for the design of central pivot irrigation systems is inevitable, and thus contribute to increase the efficiency and productivity of irrigation.
In this sense, the objective of this work is to develop a software for the hydraulic design of central pivot irrigation systems under specific operating conditions that include the hydrogeological, hydraulic, soil, agronomic and economic variables to obtain the design flow.
The CurvePivot 2.0 software was implemented based on the mathematical model proposed by López et al. (2017b), attributing new working conditions, both for free and confined aquifers, considering a linear flow in a permanent regime in the well; as well as agronomic, operational and economic variables that determine the design of the central pivot as shown in flow diagram 1.

The general equation of the mathematical model that integrates the combination of the aquifer curve, the well, the centrifugal pump and the curve of the irrigation system is explained by the following expression:
(1)The economic diameter for the design flow was determined in the expression (1), from the analysis of the fixed and operation costs of the system, using the commercial diameters existing in the market for central pivot irrigation systems, the expression is shown by the following equation:
(2)
(3)The fixed costs in formula (2), are the sum of the costs of the pump, the impulsion pipe, the pivot, the lateral; as well as the type of emitter and pressure regulator. While the cost of the pump is a function of its power and the cost of the pivot depending on the diameter, according to studies by Montero et al. (2012), that are expressed by the equation:
(4)
(5)
(6)The variable costs of formula (2) depend on the operation of the irrigation system, which is defined as the sum of the cost of energy, the cost of maintenance and the cost of water that are expressed by the equation:
(7)
(8)
(9)
(10)
(11)The CurvePivot 2.0 software was developed. It allows the hydraulic design of central pivot irrigation systems for specific operating conditions, including hydrogeological, hydraulic, soil, agronomic and economic variables.
The program was designed with a simple interface that allows the user greater concentration on the content of the work. It was used as WPF technology contained in the Framework. Net in its version 4.0 and as a programming language C # was used in its version 5.0 and as Interface Development Enviroment Visual Estudio 2015, compatible with the Windows XP version onwards.
The user accesses in a logical and orderly manner indicated below from the information stored and entered as insert, select and import data from Microsoft Excel, remove and update data, diameters and materials of the pipes, types of towers, emitters and soils, sample of results, obtaining equations and curves of the system; sample of the point of operation of the system and runoff and print tables or figures. The software consists of three vital interfaces:
The first part, to the group of tabs which group the input fields (well, pump, pipe and central pivot) together with a result table, always visible to the user.
The second part is accessed through the run-off button on the navigation bar by entering the input fields for the runoff calculation and the result table.
The third part, the user accesses by the curved button of the navigation bar to access the curves generated by the pump and irrigation system.
The following figures show an example of the features and operation of the CurvePivot 2.0 Software for the design of the center pivot. Figure 2 shows the main screen of the computer system; while, in Figure 3, the screen to enter the exploitation data of the well and the aquifer is observed. Some of those data are transmissivity, storage coefficient and the coefficients of losses of the well according to the constructive characteristics, as well as the groundwater levels of the aquifer.


Figure 4 shows the data input screen of the centrifugal pump and agronomic variables. The pump curve, the operating time of the pump, number of impellers, irrigation number, maximum crop evapotranspiration, the coefficient of adjustment for variation of the price of fuel such as the K factor, among others are selected. Figure 5 shows the data entry screen of the discharge pipe.


Figure 6 shows the data entry screen of the central pivot, the characteristics of the lateral pipe and emitter are selected, as well as the efficiency of the system. Figure 7 shows the data screen of the type of soil and crop to be irrigated.


Figure 8 shows the results screen of the irrigation system, such as the depletion of the well, the operating parameters of the centrifugal pump, diameters and lengths of the pipes, working pressure, tower number, speed of the last tower and total cost of the irrigation system. This screen allows the most appropriate technical and economic selection to increase the efficiency of realization of irrigation projects with central pivots in real operating conditions. In this way, a reduction of expenses of material, human and energy resources and the time to perform the calculations and analysis is achieved, guaranteeing a greater technical and economic control of the design of the irrigation system with the minimum resources.


Figure 9 shows the curves of the operating point of the system (Hb v Q; η v Q and system curve), which facilitates the interpretation and visualization of the technical results for the increase in the useful life of the pump, from the stabilization of the operating point allowing lower maintenance cost due to the mechanical seals, bearings and less probability of misalignment of the shaft.
Figure 10 shows the results of the runoff at the end of the lateral. These values enable the appropriate selection of the emitter type to avoid runoff at the end of the lateral, depending on the type of emitter, which favours the rational use of water and energy in the irrigation system.

The CurvePivot 2.0 software was developed, which constitutes a technological innovation of utmost importance that allows realizing the optimal hydraulic design of central pivot irrigation systems for specific operating conditions.
The implementation of the CurvePivot 2.0 software allows the efficient elaboration of central pivot irrigation projects in less time, facilitates the interpretation and visualization of the economic technical results that have an impact on the increase of irrigation productivity; as well as the reduction of environmental impacts.
*Correspondence to autor: Maiquel López-Silva. e-mail: maiquel@unica.cu









