Introduction

Population growth and the associated rise in the demand for food entail greater pressures on the planet’s resources. As a result, both energy and water consumption could increase by 40 % over the next twenty years. Irrigated agriculture, among other activities, plays an important role in securing food production. For this reason, the world area equipped for irrigation (287 M ha in 2005) is expected to increase by 32 M ha over the period 2005–2050 (Conforti 2011).

Agriculture is a sector with high water consumption. Water diverted for irrigation accounts for up to 90 % of the total water resources in arid developing countries (Brazilian et al. 2011). In Europe, irrigated agriculture uses around 33 % of total water used although this figure may reach over 80 % in countries of Southern Europe (EEA 2012). Spain has one-third of the irrigated area in Europe, and 73 % of its national freshwater is devoted to the irrigation sector (Instituto Nacional de Estadística (INE) 2014; MAGRAMA 2013). Nonetheless, the availability of water resources for irrigation is limited in most of the country’s regions.

Due to the shortage of irrigation water, the two National Irrigation Modernization Plans established that irrigated areas switch from open-channel systems to pressurized water distribution networks (MAPA 2001; MMA 2006). Because this modernization process has enhanced conveyance efficiency and increased the flexibility of the water supply, farmers have adopted more efficient on-farm irrigation systems, such as sprinkler or drip systems that have resulted in higher water productivity. In this line, Lecina et al. (2010) determined a 40 % increase in water productivity after sprinkler irrigation systems were adopted in the Riegos del Alto Aragón irrigation project (Spain). However, many authors have reported that after improving conveyance efficiency and adopting more efficient irrigation systems, consumptive water use has increased as a result of greater water use efficiency, higher productivity and increased evapotranspiration (Lecina et al. 2010; Dumont et al. 2013). Moreover, the energy demand has also risen considerably due to the pressure requirements of these new irrigation systems (Rodríguez Díaz et al. 2011).

In addition to higher energy consumption, the price of this input has also increased considerably over the past few years. In Spain, for example, the price of energy for irrigation has risen due to both the liberalization of the electricity market since 2003 and the elimination of special irrigation rates in 2008, thus leading to higher power and energy costs. In the liberalized electricity market, users (farmers or irrigation districts) can purchase energy directly in the daily market or obtain energy through a bilateral agreement with energy producers, which is the most frequent option (Rocamora et al. 2012). Due to this higher demand for energy and increased energy prices, Rodríguez Díaz et al. (2012a) found that management, operation and maintenance costs are almost fivefold higher after the network modernization of an irrigation district located in southern Spain. As a result, farmers’ profits are falling since they have to pay the amortization costs of the modernization of both their water distribution networks and on-farm irrigation systems (Rodríguez Díaz et al. 2012). Similar trends have also been observed in other countries such as South Africa, where electricity tariffs increased by 31 % from 2009 to 2010 and are expected to increase by 25 % over the next three consecutive years (Brazilian et al. 2011).

Several authors have noted these higher energy requirements and have proposed measures to reduce them. Some of these measures have been based on the implementation of energy audits in irrigation districts (Abadía et al. 2012), sectoring (Carrillo Cobo et al. 2011; Fernández García et al. 2013), critical points control (Rodríguez Díaz et al. 2012b), or the improved management of pumping stations (Moreno et al. 2007; Lamaddalena and Khila 2012).

Sectoring and critical points control strategies may lead to significant energy savings. When sectoring, farmers are organized into irrigation turns according to their energy demand. Taking into account the network operation by sectors, Carrillo Cobo et al. (2011) estimated an energy saving of 9 and 27 % in two case studies in southern Spain, while Jiménez-Bello et al. (2010) found potential energy savings of 36 % for a water user association located in Valencia (Spain). Regarding critical points control (hydrants with high energy requirements), Rodríguez Díaz et al. (2012b) reported energy savings of around 10 and 30 % in two irrigation districts located in southern Spain. To apply sectoring and critical points control strategies in irrigation networks with several supply points, Fernández García et al. (2013, 2014) developed methodologies based on heuristic techniques which led to energy savings of between 29 and 36 %.

The above studies, however, estimated energy costs assuming an average energy price but did not consider the electricity tariff structure. Until 2014, the electricity tariffs for high-voltage distribution in Spain were structured into 3 or 6 periods that varied according to the hour of the day and the day of the year. In July 2014, the 3-periods electricity tariff disappeared, leaving only the 6-periods tariff with some changes in the period distribution (BOE 2014). The electricity tariff includes two terms: one related to energy consumption and another that considers the power absorbed, with different prices according to the period. The average price of the power term alone increased by 288 % from 2008 to 2014 (MINETUR 2008, 2014), and its impact on the electricity bill continues to grow.

In this paper, we incorporate the electricity tariff in the sectoring and critical points control strategies developed by Fernández García et al. (2013, 2014). The aim is to analyze and compare possible network operation scenarios that take into account the electricity tariff in order to determine the minimum cost of electricity and ensure pressure requirements at hydrants.

Methodology

Study area

The study was conducted in the Palos de la Frontera irrigation district (PF) located in Huelva (southern Spain) (Fig. 1). The annual average rainfall in this area is 490 mm, and the average reference evapotranspiration is 1145 mm (Pérez Urrestarazu et al. 2009). Strawberry is the main crop and covers 75 % of the irrigated area (3343 ha). Coinciding with the period of maximum strawberry production, April and May are the most water-demanding months (Fig. 2). The PF irrigation network is a multi-source network consisting of 513 pipes and 227 hydrants fed by three pumping stations. Each hydrant is designed to supply 1.2 × 10−3 m3 s−1 ha−1 with a service pressure of 30 m. The maximum delivery capacity of each pumping station is 1584, 1056 and 1372 Ls−1 with a pressure head of 85, 45 and 55 m, respectively.

Fig. 1
figure 1

Location of PF irrigation district and schematic representation of PF irrigation network

Fig. 2
figure 2

Flow–Head histogram of the three sectors and monthly crop water requirements (IN)

The PF irrigation district contracts the 6-period electricity tariff at a cost of €287,724 per annum. The irrigation network is currently organized into three sectors: the pressure head for sector I operation is higher than for sectors II and III, although higher flows are supplied to these sectors than to sector I (Fig. 2). Sector I has one energy counter, while only one energy counter is available for sectors II and III. The total power installed in the three pumping stations is 4800 kW.

Water and energy use optimization combined with energy cost minimization

To optimize irrigation water use and energy cost and consumption, we have developed the Water, Energy and Cost Optimization (WECO) algorithm that incorporates a module comprising the electricity tariff into the Water and Energy Based Sectoring Operation for Multiple Supply Sources (WEBSOM) algorithm proposed by Fernández García et al. (2013) and the Water and Energy optimization by Critical Points control for Multiple supply sources (WECPM) algorithm (Fernández García et al. 2014). The WEBSOM algorithm aims at minimizing both energy consumption and pressure deficits at hydrants in pressurized multi-source irrigation networks considering operation by sectors. This algorithm enables determining the number of sectors to operate in each month and the optimal pressure head in the pumping stations according to the operating sector and month. The objectives pursued by WECPM are the same as those of WEBSOM (minimization of energy consumption and pressure deficit at hydrants). Unlike WEBSOM, however, WECPM takes into account critical points control. This methodology permits detecting critical points and identifying measures to improve the operation of these hydrants. The monthly optimal pressure head in the pumping stations is determined at a hydrant simultaneity rate of 100 %.

WECO therefore enables achieving the optimal operation of an irrigation network by taking into account the minimization of both energy costs and pressure deficits at hydrants, while ensuring crop water requirements.

Genetic algorithms (Goldberg 1989) are heuristic techniques which are widely applied to many optimization problems of water distribution systems (Montesinos et al. 1999; Reca et al. 2008; Jiménez-Bello et al. 2010; Fallah-Mehdipour et al. 2012). These algorithms provide a set of optimal solutions for a given optimization problem by optimizing a single objective function. However, many decision-making problems need to achieve several conflicting objectives (Savic 2007). In a multiobjective approach, the set of optimal solutions are known as the Pareto frontier, which provides solutions for two or three objectives. WEBSOM and WECPM were developed using the NSGA-II multiobjective algorithm (Non-dominated Sorting Genetic Algorithm) (Deb et al. 2002) because of its successful application in the optimization of this type of problem (Farmani et al. 2006; Consoli et al. 2008).

The WECO algorithm links WEBSOM and WECPM by means of the electricity tariff module to analyze and compare the following optimal network operation scenarios:

  • Scenario 1. Operation of the irrigation network by sectors, establishing monthly irrigation turns for each sector.

  • Scenario 2. Irrigation network operation without sectors, considering 100 % demand simultaneity.

  • Scenario 3. Operation of the irrigation network without sectors (100 % demand simultaneity) and considering improvement actions after identifying critical points.

  • Scenario 4. Implementation of improvement actions in the identified critical points and network operation by sectors.

Because WECO enables comparing and determining which operation scenario achieves the highest economic savings, these scenarios were established to offer feasible energy optimization strategies to irrigation district managers; WECO was implemented in MATLAB™ (Pratap 2010) using EPANET as a hydraulic simulator (Rossman 2000).

Electricity tariff module

Electricity tariff data are stored in the module in order to integrate the data into the network operation scenarios. The structure of the electricity tariff is strongly related to the electricity market and regulations of each country. Users are commonly offered two types of tariff schedules: one with a flat rate in which the same energy price is considered all day and another with different prices according to the time energy is consumed. These time-of-use tariffs consider different periods, each one with a specific energy price. The number and lengths of the periods can vary according to the day. Normally, peak demand periods result in higher electricity rates, while off-peak periods entail lower energy prices.

Irrigation districts often contract time-of-use tariffs. Thus, for a certain tariff, the annual electricity cost (€ year−1) is obtained by summing two terms: a fixed cost concerning the contracted power (ElCofix) and a variable cost linked to the energy consumption (ElCovar), both of which are related to the energy price in each period:

$${\text{ElCo}} = {\text{ElCo}}_{\text{fix}} + {\text{ElCo}}_{\text{var}}$$
(1)

ElCofix (Eq. 2) and ElCovar (Eq. 3) are determined as follows:

$${\text{ElCo}}_{\text{fix}} = \mathop \sum \limits_{p = 1}^{np} {\text{Power}}_{{{ \hbox{max} }p}} \cdot P{\text{power}}_{p}$$
(2)

where p is the period index, np is the number of periods, Powermaxp is the contracted power according to the maximum absorbed value in period p (kW year−1), and Ppower p is the power term price in period p (€ kW−1).

$${\text{ElCo}}_{\text{var}} = \frac{1}{1000} \cdot \frac{1}{\eta } \cdot \gamma \cdot \mathop \sum \limits_{d = 1}^{nd} \mathop \sum \limits_{w = 1}^{{n{\text{sect}}}} \mathop \sum \limits_{p = 1}^{np} t_{p} \cdot {\text{Pec}}_{p} \mathop \sum \limits_{i = 1}^{N} \left( {Q_{{i{\text{pwd}}}} \cdot H_{{i{\text{pwd}}}} } \right)$$
(3)

where d, w, and i are the day index, the sector index, and the pumping station index, respectively, nd is the number of operation days, n sect is the number of possible sectors (when the network is operated by sectors), N is the number of pumping stations, η is the global efficiency of pumps, γ is the water specific weight (9800 Nm−3), t p is the daily irrigation time (h) during period p, Pec p (€ kWh−1) is the energy price according to period p, and Q ipwd (m3 s−1) and H ipwd (m) are the pumped flow and the pressure head supplied by station i during period p when sector w operates during day d. In Eq. 3, all hydrants associated with a certain sector are operated simultaneously during the time required to satisfy crop irrigation needs (estimated by Allen et al. 1998).

Using this general tariff, the annual electricity cost can be obtained for a wide range of real cases.

Network operation scenarios

  • Scenario 1

This scenario is evaluated with WEBSOM linked to the electricity tariff module. Firstly, hydrants are grouped into sectors according to two dimensionless topological coordinates that relate hydrant elevation and distance from the pumping stations. Depending on the network topology, hydrants may be classified into 2 to n sect sectors. WEBSOM establishes an optimum sectoring calendar based on minimum energy costs and minimum irrigation and pressure deficits. Thus, the optimum number of irrigation sectors varies by month.

The customized NSGA-II proposed by Fernández García et al. (2013) was applied after including several modifications related to the generation of the initial population and the objective functions as follows:

Initial population

In this case, the number of variables of each chromosome, n v , was obtained as follows:

$$n_{v} = N \cdot n_{\text{sect}} \cdot n_{d}$$
(4)

Objective functions

The following objective functions, determined for each month of the irrigation season, were minimized:

$$F1_{\text{sce1}} = {\text{ElCo}}_{{{\text{var}}_{\text{norm}} }} + {\text{CID}}_{\text{norm}}$$
(5)
$$F2_{\text{sce1}} = { \hbox{max} }\left[ {a \cdot Pf_{w} + b \cdot {\text{CMPD}}_{\text{normw}} } \right]_{{{\text{w}} = 1}}^{\text{nsect}}$$
(6)

where ElCovarnorm is the normalized total energy cost, and CIDnorm is the normalized maximum irrigation deficit obtained from the daily difference between the theoretical crop irrigation requirements (estimated according to Allen et al. 1998) and the flow supplied by all pumping stations (Fernández García et al. 2013). Both terms were normalized by the distribution U (0.1) to perform their summation. ElCovarnorm and CIDnorm varied from 0 to 1. Therefore, the minimum and maximum values of F1 were 0 and 2, respectively.

In Eq. 6, Pf w is the pressure failure percentage which ranged from 0 (all hydrants get the service pressure) to 1 (all hydrants get a pressure lower than the service pressure), and CMPDnormw is the normalized term that evaluates the monthly magnitude of the pressure deficit (Fernández García et al. 2013). a and b are coefficients with values 0.5 and 1.5 to penalize solutions with an increased CMPD w term. In irrigation districts, slight pressure deficits in several hydrants can be easily assumed, whereas a significant pressure deficit in only one hydrant hinders the proper operation of the network. Pf w and CMPD w were calculated for all operating sectors on a given day. The value of F2sce1 was the maximum value obtained by summing these terms for each sector. The minimum and maximum values of F2sce1 were 0 and 2, respectively.

Given that the minimal value of the term ElCovar depends on the optimal combination of Q iwks, H iwks, and Pec p , in the first phase, the daily power demand of the operating sectors was determined. The sectors were then sorted in descending order of power demand, and the electricity tariff periods were sorted in increasing order of energy price (Pec np , Pec np−1, …, Pec1). Starting with the most power-demanding sector, if the daily time required to satisfy crop irrigation requirements (t rs ) was lower than the number of hours of the upper period (t np ), the energy cost of this sector was determined by multiplying its power demand by the term t rs and by Pec np . In contrast, if t np was lower than t rs , the energy cost in this period of the sector was calculated by multiplying its power demand by t np and by Pec np . The remaining hours (t rs t np ) were assigned to the next tariff period (np − 1), and the energy cost of this sector in this period was obtained by multiplying the power demand by (t s t np ) and by Pec np−1. Therefore, the energy cost of the aforementioned sector was the sum of the energy costs obtained in each period. The energy cost of the following operating sectors was calculated by the same procedure but starting in the tariff period in which the previous power-demanding sector finished. When t rs was greater than the water availability time according to sectoring option (t a ), the irrigation requirements were not fully satisfied (Fernández García et al. 2013).

  • Scenario 2

This scenario can be evaluated with the WECPM algorithm linked to the electricity tariff module to determine both the minimum energy cost and the pressure deficit. The crop water requirements were indirectly considered in the calculation of the energy cost since the pumped flow (Eq. 3) matched the volume of water required to satisfy crop irrigation needs. The optimal pressure heads in pumping stations when all hydrants operate simultaneously can be obtained with this algorithm. The NSGA-II algorithm has been adapted to the current problem:

Initial population

The number of variables of each chromosome, n v , was determined as follows:

$$n_{v} = N \cdot n_{d}$$
(7)

Objective functions

The objective functions stated in Eqs. 5 and 6 were minimized. In this case, however, the term CIDnorm was 0 in all cases because WECPM does not consider sectoring operation and the irrigation time required to meet crop water demand is always reached.

The electricity tariff module was integrated in this scenario as follows: On a given day, irrigation started in the period with the lowest energy price, np. If t rs was lower than t p , the daily energy cost of the network operation was obtained by multiplying the power demand by t rs and by Pec np . In contrast, when t rs was greater than t p , irrigation occurred over several tariff periods. Therefore, the energy cost in np period was calculated by multiplying the power demand by t p and by Pec np . The energy cost in the following tariff period, np − 1, was determined by multiplying the power demand by (t rs t p ) and by Pec np−1. Hence, the daily energy cost was the sum of the energy costs obtained in each period.

  • Scenario 3

In this case, the optimization process described in scenario 2 was applied but considering the proposed energy saving actions to control the critical points identified in the network (Fernández García et al. 2014). These improvement measures required changes in pipe sizes and the installation of booster pumps.

  • Scenario 4

The WECPM and WEBSOM algorithms were sequentially applied in combination with the tariff module to determine the minimum energy cost when the irrigation network was managed by sectors and the measures to improve the operation of critical points were implemented. The process to detect and control the critical points was carried out by WECPM followed by the application of WEBSOM.

Results and discussion

The proposed scenarios were evaluated in the PF irrigation network assuming a pumping efficiency of 0.8. In this case, we only analyzed how the electricity tariff affected the optimal number of operating sectors and energy consumption. However, the methodology can be easily adapted to include the real efficiency of the pumping stations and even the effects of installing variable speed drives. As strawberry (with the largest irrigated area) is a low water stress tolerant crop, the irrigation deficit term (CIDnorm) was 0 when there was no irrigation deficit and 1 when the flow supplied by all the pumping stations was 5 % lower than the theoretical crop irrigation requirements (Q req). Irrigation deficits higher than 5 % of Q req were penalized with values of 2 and 1.9 for the first (F1) and second objective functions, respectively. These values (2 and 1.9) were assumed since lower values could imply the removal of possible solutions to the optimization problem, while the value of 2 was assigned to unfeasible solutions that could be generated during the optimization process for both objective functions.

As regards the algorithm parameters, 50 individuals and 100 generations and crossover and mutation probabilities of 0.9 and 0.1, respectively, were established for the four scenarios. Table 1 shows the number of variables in each scenario. The values of the total head of the three pumping stations were 0 (the pumping stations were not operating) or a random number between 45 and 95 m, the operational range of the pumping stations.

Table 1 Number and value of variables of the optimization process for each scenario

Effects of the electricity tariff

The 6-periods Spanish tariff of 2009 was applied to the PF irrigation district since the contracted power exceeded 450 kW (Spanish Ministry of Economy 2001). The period distribution throughout the year followed the schedule established by the government before the current period distribution scheme published in July 2014 (BOE 2014). However, the methodology shown in this work can be easily adapted to different period distributions. Period 1 (P1) is the most expensive, and the price of both energy and power falls progressively until reaching P6, the lowest price period. Two different types of days, working days and weekends, are proposed in each month in this tariff except in June, in which three different types of days (first and second half and weekends) were considered. Hence, we optimized the annual cost (energy and power cost) taking into account two different types of days in every month (three in June). Weekends are charged according to P6 (Fig. 3).

Fig. 3
figure 3

Periods (colored cells indicate the periods) and energy and power price in the 6-period tariff (for the 2009 irrigation season) and scheduling of operating sectors (working days), from sector 1 to sector 4 (numbers in cells), in scenario 1

The electricity tariff structure particularly affected the network operation by sectors since irrigation in turns involved up to 19 h of operation (Table 2). Thus, irrigation in expensive hours could occur.

Table 2 Operation hours per day in each scenario

When the electricity tariff was included in the analysis, the optimal number of sectors differed from those obtained in the original WEBSOM model. Furthermore, two sectoring options per month (three in June), working days and weekends, were obtained after including the electricity tariff. Table 3 compares the optimal sectors operation calendar obtained by Fernández García et al. (2013) and the new calendar obtained for scenarios 1 and 4. Using WEBSOM without the energy tariff, five sectors could operate in June and October. When the electricity tariff was considered, the maximum number of operating sectors (working days) was four in scenario 1, and five (December) in scenario 4.

Table 3 Optimal sectors operation calendar obtained by the original WEBSOM (A), WECO scenario 1 (working days and weekends) (B), and WECO scenario 4 (working days and weekends) (C)

Moreover, the number of sectors operating on working days in the peak water demand months (greatest t rs ) of April and May was lower because the larger the number of operating sectors, the greater the irrigation time in expensive hours. Thus, energy costs can be higher if the number of operating sectors increases. To highlight how the electricity tariff influences energy consumption and operational costs, Table 4 shows the values associated with two possible solutions derived from scenario 1 in March, October, and November. Solution 1 showed energy consumptions lower than solution 2 in those months. However, the energy costs associated with solution 1 were higher than those of solution 2. This effect can be explained by observing the number of operating sectors (working days) in both solutions. The number of sectors was higher in solution 1 (the solution with the lowest energy consumption) than in solution 2, thus indicating that the network was operating during expensive hours and that the energy costs were higher. This seems to indicate that the electricity tariff structure does not reduce energy consumption.

Table 4 Energy consumption, EC (MWh month−1); energy cost, ElCo (€ month−1); and operating sectors (in working days) in two possible solutions obtained in scenario 1

Casado (2012) studied water and energy management in an irrigation district of southern Spain with a network that operated only in period P6 in the 2009/2010 irrigation season. He reported a reduction in energy costs in 2009/2010 over 2008/2009 (when there was no demand concentration in P6). However, energy consumption between both irrigation seasons increased because the hourly peak demand and higher pumped flows reduced the pumping efficiency and caused higher friction losses in pipes. In a similar line, Rocamora et al. (2012) reported that the proper selection of the energy contract may increase economic efficiency but not necessarily energy efficiency.

The incorporation of the electricity tariff module has permitted obtaining a realistic and optimum sectoring calendar which provides the scheduling and operation sequence of the sectors during the day according to their power demand and the energy cost (Fig. 3). When the network was managed without sectors (scenarios 2 and 3), the electricity tariff established an irrigation schedule that was concentrated in the lowest price periods.

Scenario comparison

Figure 4 shows the Pareto frontier obtained in each scenario for the peak water demand month (May). As expected, the lowest values of F1 were associated with the highest values of F2. In order to compare the scenarios, the minimum value of one of the objective functions was fixed in all scenarios and the values of the other objective function were then compared. In this case, we decided to fix the minimum value of F2 since the minimum value of F1 in scenarios 1, 2 and 4 involved unacceptable pressure deficits.

Fig. 4
figure 4

Pareto frontier: F1 (objective function 1) versus F2 (objective function 2) obtained for May in each scenario

In scenario 1, the adopted solution (square marker) had F1sce1 and F2sce1 values of 1.43 and 0.02, respectively. However, another solution (S2) in the Pareto frontier had F1sce1 and F2sce1 values of 0.60 and 0.06, respectively. A priori, S2 seemed to be better than the selected solution. Nevertheless, the terms ElCovarnorm and CIDnorm in the chosen solution were 0.53 and 0.91, while these terms were 0.59 and 0.01 in S2, thus implying higher energy demand (814 MWh and €59,027 compared to 728 MWh and €52,791 in the selected solution) but a similar quality of service.

Table 5 reports the values of energy cost, energy consumption, irrigation deficit, pressure in the critical hydrant and number of critical hydrants (hydrants with pressure lower than the service pressure) associated with each selected solution (square marker) of the Pareto frontier plotted in Fig. 4. The improvements in scenarios 3 and 4 consisted of replacing 442 m of pipes and installing three booster stations (one of them supplied two critical points) (Fernández García et al. 2014). The investment costs and energy cost of operating the booster pumps were also included in the analysis of these scenarios. The investment costs amounted to €13,951, while the annual cost (€1895) was determined considering a payback period of 10 years and an interest rate of 6 % (Table 6). Thus, the annual cost per hydrant was estimated at €8.35.

Table 5 Values associated with the selected Pareto frontier solution in May
Table 6 Energy consumption, energy cost (operation costs and amortization costs of improvement actions), contracted power and power cost in each scenario

Scenario 3 achieved the lowest energy consumption and cost although a slight pressure deficit (only 1 m) was observed in four hydrants on working days in May. However, this pressure deficit could be acceptable for farmers since a pressure of 29 m is sufficient for drip irrigation systems.

The highest energy consumption and operational costs were obtained in scenario 2 although it should be noted that this scenario determined the optimal pressure heads in the pumping stations and did not consider measures such as sectoring or critical points control. However, this scenario has wider applicability because investment costs and the establishment of irrigation turns are not necessary.

Comparing monthly energy consumption, scenario 1 achieved lower values than scenario 3 in January, February, July, August, October, November, and December. However, in March, April, May, June, and September, the months with the highest instantaneous water demand, scenario 3 was better (Fernández García et al. 2014). Likewise, scenario 3 achieved lower energy consumption than scenario 4 in April, May, and June. However, unlike scenario 1, scenario 4 performed better than scenario 3 in March and September.

As regards the cost of energy, scenario 3 achieved the lowest energy cost, which increased gradually in scenarios 4 (4 %), 1 (9 %) and 2 (11 %). However, scenarios 1 and 4 showed lower monthly energy costs than scenario 3 in off-peak months. On the other hand, considering that the actual energy cost in this irrigation district is €287,724, all scenarios achieved significant energy cost savings, from scenario 2 with an energy cost savings of 26 % to scenario 3 with an energy cost savings of 34 %.

Additional economic savings related to contracted power

The four scenarios analyzed by the WECO algorithm considered the simultaneous operation of hydrants, thus permitting the maximum power demand in each tariff period to be determined. This information is key to adjusting the fixed term in Eq. 1, the contracted power. In Spain, the contracted power must be at least equal to the maximum power demand in each tariff period to avoid cost penalties. For this reason, irrigation districts often contract a value of power that is higher than the strictly required value, therefore increasing the cost of power. WECO provided the optimized value of power demand, and hence the recommended values of the contracted power for the different periods. The maximum power requirements occurred in period P6: 2650, 2920, 2410, and 3460 kW in scenarios 1, 2, 3, and 4, respectively (Table 6). These values were significantly lower than the contracted power of 7522 kW indicated by Rodríguez Díaz et al. (2011) for this irrigation district in this tariff period. The annual power cost in each scenario is shown in Table 6. The lowest power cost was achieved in scenario 3, with this cost increasing gradually in scenarios 2, 4, and 1. Scenario 1 showed the highest cost since power was contracted in all periods, except in period P1. In scenario 4, power was contracted in periods P6, P5, and P4, while in scenarios 3 and 2 power was contracted in periods P6 and P5, the periods with the lowest power prices. In the tariff periods in which the irrigation network did not operate, a minimum power of 200 kW was contracted to maintain the facilities (Casado 2012).

These results suggest that the strategy that best minimizes electricity costs–both the energy cost (also the minimum energy consumption) and the power cost–could be a combination of scenarios 3 and 4 during the irrigation season. According to these results, measures to improve the critical hydrants should be taken so that all the hydrants can irrigate at the same time in April, May, June, and September, while the irrigation network should be operated in sectors in the remaining months. Thus, the annual energy consumption would be 2598 MWh and the energy cost €184,541. This would lead to an additional reduction of 100 MWh (3 %) in energy consumption as well as a €5743 (3 %) reduction in energy costs with respect to scenario 3 (the scenario with the lowest energy consumption and cost). The contracted power would be the same as that proposed in scenario 3, and the resulting power cost would be €16,647. Therefore, taking into account the energy and power cost and the amortization cost, the total electricity cost associated with this strategy would be €203,083.

Conclusions

The higher energy requirements in pressurized irrigation networks and the increase in energy prices have significantly reduced farm profits.

The WECO algorithm provides the optimal operation of irrigation networks by minimizing both energy costs and pressure deficits at hydrants according to different scenarios: All the hydrants in the network work simultaneously, or the network is operated by sectors with or without critical points control. The WECO algorithm upgrades the previous models (WEBSOM and WECPM) by including the electricity tariff structure to determine irrigation scheduling with the minimum total electricity cost according to the price of energy and power in each tariff period.

The algorithm has been applied to a real irrigation network. The minimum annual cost in the network was achieved for operation without sectoring that considers measures to improve the operation of critical points. However, if the energy cost analysis is carried out per month, the sectoring operation combined with measures to ameliorate the hydraulic behavior of the critical hydrants performs better in months with low irrigation requirements. Thus, if measures to control the critical points are assumed and two network operation strategies are adopted (all hydrants operating simultaneously in peak energy demand months and hydrants grouped into sectors in the others), an additional reduction in energy costs can be achieved.

Incorporating the electricity tariff module implies the optimization of energy costs but not necessarily the optimization of energy consumption, particularly when the network is managed by sectors. When this is the case, with more operating sectors the network operation time and the likelihood of irrigation in the most expensive hours augment. To fit the network operation to cheap energy periods, a lower number of irrigation turns is established, which involves higher energy consumption in some cases.

WECO also enables the optimization of the contracted power. This is the fixed term of the electricity tariff that can lead to significant economic savings when properly selected and provide optimal irrigation scheduling with the lowest electricity cost per year.

WECO is a decision-making support system that can analyze alternative irrigation network operation scenarios. Water managers and farmers can choose the scenario according to their preferences: from the simplest applicable scenario in which only the pressure heads in the pumping stations are optimized, thus involving small economic savings, to another scenario entailing improvements at critical points and irrigation scheduling in turns that can lead to the lowest operation and power costs.