Acessibilidade / Reportar erro

Technology 4.0 with 0.0 costs: fuzzy model of lettuce productivity with magnetized water

ABSTRACT.

In agriculture with 4.0 technologies, developing a decision model with a 0.0 cost is attractive to small farmers. In water management, if this approach could be used to promote sustainability and optimization, it could become a pathway to reach the sustainable development goal in 2030. The core of this work is the development of a 4.0 mathematical model (based on fuzzy concepts) to verify the benefits of the production of lettuce irrigated with magnetically treated water at different replacement rates. This approach is achieved using computational 4.0 software and manual methods. The aim of mathematical modeling is to understand or explain a natural phenomenon associated with a given area of knowledge, and fuzzy-rule-based systems have been widely used in different types of in-depth research.

Keywords:
fuzzy model; agriculture 4.0; elementary math; horticulture; magnetized water.

Introduction

In all facets of life, the importance of water is indubitable because water is one of the most essential resources. There is tremendous concern regarding the main forms of the optimization of water use in numerous aspects of human society, e.g., in agricultural production.

In 4.0 technologies such as the Internet of Things (IoT), additive manufacturing, big data, cloud computing, and artificial intelligence, the discussion, design, and implementation are being used for agriculture 4.0, particularly in the areas of irrigation and sustainable water use.

Among the various technologies mentioned above, we highlight irrigation with magnetically treated water (MTW) as a prominent agricultural practice. This approach uses the expertise of conventional one-touch irrigation 4.0, and water is subjected to an external static magnetic field to promote the induction of proton transfer in the hydrogen bridge with the available molecules (Lopes, Kroetz, Alves, & Smiderle, 2007Lopes, G. N., Kroetz, V. J., Alves, J. M. A., & Smiderle, O. J. (2007). Irrigação magnética. Revista Agro@mbiente On-Line, 1(1), 1-8. DOI: 10.18227/1982-8470ragro.v1i1.137
https://doi.org/10.18227/1982-8470ragro....
).

A range of research has elucidated significant and optimized results regarding production for magnetically treated water irrigation systems, as exhibited in the cultivation of celery, pod crops, and peas (Maheshwari & Grewal, 2009Maheshwari, B. L., & Grewal, H. S. (2009). Magnetic treatment of irrigation water: Its effects on vegetable crop yield and water productivity. Agricultural Water Management, 96(8), 1229-1236. DOI: 10.1016/j.agwat.2009.03.016
https://doi.org/10.1016/j.agwat.2009.03....
) and in the continued production of wheat tobacco (Aladjadjiyan & Ylieva, 2003Aladjadjiyan, A., & Ylieva, T. (2014). Influence of stationary magnetic field on the early stages of the development of tobacco seeds. Journal of Central European Agriculture, 4(2), 1-8.), Jatropha (Lopes et al., 2007Lopes, G. N., Kroetz, V. J., Alves, J. M. A., & Smiderle, O. J. (2007). Irrigação magnética. Revista Agro@mbiente On-Line, 1(1), 1-8. DOI: 10.18227/1982-8470ragro.v1i1.137
https://doi.org/10.18227/1982-8470ragro....
), (Hozayn & Qados, 2010Hozayn, M., & Qados, A. M. S. A. (2010). Irriga tion with magnetized water enhances growth, chemical constituent and yield of chickpea (Cicer arietinum L.). Agriculture and Biology Journal of North America, 1(5), 671-676.), corn (Aoda & Fattah, 2011Aoda, M. I. É., & Fattah, M. A. (2011). The interactive effects of water magnetic treatment and deficit irrigation on plant productivity and water use efficiency of corn (Zea mays L.). The Iraqi Journal of Agricultural Sciences, 42(Special Issue), 164-179.), tomatoes (Souza, Gárcia, Sueiro, Liceal, & Porras, 2005Souza, A., Gárcia, D., Sueiro, L., Licea, L., & Porras, E. (2005). Pre-sowing magnetic treatment of tomato seeds: effects on the growth and yield of plants cultivated late on the season. Spanish Journal of Agricultural Research, 3(1), 113-122. DOI: 10.5424/sjar/2005031-131
https://doi.org/10.5424/sjar/2005031-131...
; Selim & El-Nady, 2011Selim, A. F. H., & El-Nady, M. F. (2011) Physio-anatomical responses of drought stressed tomato plants to magnetic field. Acta Astronautica, 69(7-8), 387-396. DOI: 10.1016/j.actaastro.2011.05.025
https://doi.org/10.1016/j.actaastro.2011...
), and peppers (Rawabdeh, Shiyab, & Shibl, 2014Rawabdeh, H., Shiyab, S., & Shibl, R. (2014). The effect of irrigation by magnetically water on chlorophyll and macroelements uptake of pepper (Capsicum annuum L.). Jordan Journal of Agricultural Sciences, 10(2), 205-214.), among others.

It is conjectured that this increase in production is a consequence of a set of changes caused by water magnetization, such as variations in the absorption value, pH, conductivity, and soil hardness (Ozeki, Miyamoto, Ono, Wakai, & Watanabe, 1996Ozeki, S., Miyamoto, J., Ono, S., Wakai, C., & Watanabe, T. (1996) Water-solid interactions under steady magnetic fields: magnetic-field-induced adsorption and desorption of water. Journal of Physical Chemistry, 100(10), 4205-4212. DOI: 10.1021/jp9528774
https://doi.org/10.1021/jp9528774...
; Nasher, 2008Nasher, S. H. (2008). The effect of magnetic water on growth of chick-pea seeds. Engineering and Technology, 26(9), 1-4.; Khoshravesh, Mostafazadeh-Fard, Mousavi, & Kiani, 2011Khoshravesh, M., Mostafazadeh-Fard, B., Mousavi, S. F., & Kiani, A. R. (2011). Effects of magnetized water on the distribution pattern of soil water with respect to time in trickle irrigation. Soil Use Management, 27(4), 515-522. DOI: 10.1111/j.1475-2743.2011.00358.x
https://doi.org/10.1111/j.1475-2743.2011...
; Lyn & Yotavat, 1990Lyn, J., & Yotvat, J. (1990). Exposure of irrigation and drinking water to a magnetic field with controlled power and direction. Journal of Magnetism and Magnetic Materials, 83(1-3), 525-526. DOI: 10.1016/0304-8853(90)90611-S
https://doi.org/10.1016/0304-8853(90)906...
). From the perspective of providing a detailed analysis of the effects of different technologies applied in agriculture, fuzzy mathematical models are being proposed as efficient and alternative methodologies for decision making, as illustrated by Gabriel Filho, Pigatto, and Lourenzani (2015GabrielFilho, L. R. A., Pigatto, G. A. S., & Lourenzani, A. E. B. S. (2015). Fuzzy rule-based system for evaluation of uncertainty in cassava chain. Engenharia Agrícola , 35(2), 350-367. DOI: 10.1590/1809-4430-Eng.Agric.v35n2p350-367/2015
https://doi.org/10.1590/1809-4430-Eng.Ag...
), Pereira, Bighi, Gabriel Filho, and Cremasco (2008Pereira, D. F., Bighi, C. A., Gabriel Filho, L. R. A., & Cremasco, C. P. C. (2008). Sistema fuzzy para estimativa do bem-estar de matrizes pesadas. Engenharia Agrícola , 28(4), 624-633. DOI: 10.1590/S0100-69162008000400002
https://doi.org/10.1590/S0100-6916200800...
), Putti, Gabriel Filho, Silva, Ludwig, and Cremasco (2014Putti, F. F., Gabriel Filho, L. R. A., Silva, A. O., Ludwig, R., & Cremasco, C. P. (2014). Fuzzy logic to evaluate vitality of Catasetum fimbiratum species (Orchidacea). Irriga , 19(3), 405-413. DOI: 10.15809/irriga.2014v19n3p405
https://doi.org/10.15809/irriga.2014v19n...
), and Putti et al. (2017Putti, F. F., Gabriel Filho, L. R. A., Cremasco, C. P., Bonini Neto, A., Bonini, C. S. B., & Reis, A. R. (2017a). A Fuzzy mathematical model to estimate the effects of global warming on the vitality of Laelia purpurata orchids. Mathematical Biosciences, 288, 124-129. DOI: 10.1016/j.mbs.2017.03.005
https://doi.org/10.1016/j.mbs.2017.03.00...
a).

Implementing a 4.0 technology in remote farming locations is not typically a reality for small farmers because of its high cost and energy efficiency issues. In this context, the objective of the present work is to develop a new model based on fuzzy modeling for the evaluation of the aerial green weight of lettuce irrigated with magnetically treated water. The objectives are to maximize the production and verify the methodology of the model for use by researchers in different areas.

Material and methods

Method for the elaboration of the fuzzy system

Developed with the purpose of modeling scenarios that are consistent with human reality, fuzzy sets and consequently fuzzy logic introduce flexibility and efficiency into decision-making algorithms. The option of working with models with semantic values that range between the classic 0 and 1, in addition to the aforementioned characteristics, enables the inclusion of the knowledge of experts in a given approach (Carneiro et al., 2018Carneiro, V. Q, Prado, A. L., Cruz, C. D., Carneiro, P. C. S., Nascimento, M., & Carneiro, J. E. S. (2018). Fuzzy control systems for decision-making in cultivars recommendation. Acta Scientiarum. Agronomy, 40(1), 2-8. DOI: 10.4025/actasciagron.v40i1.39314
https://doi.org/10.4025/actasciagron.v40...
).

The concept of automation underlying most 4.0 devices is based on the triad of input, processing, and output. The highlight of the process is the instrument used as the processing tool, which can be a programmable logic controller (PLC), widely used in equipment for factory floors, or a microcontroller, which in addition to having a small integrated circuit, combines the functions of intelligence, memory, and control, thereby providing a low-cost system with high programming power. Alternatively, a fuzzy controller commanded by natural language terms can be used, resulting in a much more intuitive human-machine interface than those used by most classic processors.

In classical methods, the evaluation of a variable is performed based on a function of the universe of the discourse for the Z2 field. A fuzzy evaluation fiber is a linguistic variable with values contained in fuzzy sets.

With the application of fuzzy logic, we developed a mathematical system suitable for the evaluation of lettuce crop productivity based on the analysis of two input variables: irrigation depth and water type. These variables were controlled by a set of language rules processed in a fuzzy inference method, thus generating a real number as a model response (Barros & Bassanezi, 2010Barros, L. C., & Bassanezi, R. C. (2010). Tópicos de lógica fuzzy e biomatemática. Campinas, SP: Instituto de Matemática, Estatística e Computação Científica da Universidade Estadual de Campinas.). The developed system in the present study is shown in Figure 1, where the output variable returns culture productivity.

Figure 1. Input
and output variables of the fuzzy rule-based system developed for the evaluation of lettuce crop productivity.

With “irrigation depth” and “water type” data, the system determines the value of lettuce productivity with decision rules based on fuzzy concepts. As a starting point, we translated the above input data into fuzzy variables.

The fuzzy sets constructed for the input variables, irrigation depth Li and water type can be seen in Table 1 and Figure 2.

Table 1.
Definition of the membership functions of the input variable, “irrigation depth”, and quartiles represented by Q1, Q2, Q3, Q4, and Q5.

Figure 2. Fuzzy
sets for the irrigation depth variable.

In the absence of the software required to automatically determine the membership functions, the corresponding analytical expressions are developed by the traditional methodology (manually adjusted) for each partition Qi, where 0 ≤ i ≤ 5, as follows:

For the lines with positive slope coefficients,

(a)y= x-Q1Q2-Q1x-Q2(c)y= 1Q3-Q4x-Q4

(b)y= 1Q2-Q3x-Q3 (d)y= 1Q4-Q5x-Q5

in general,

y n = 1 Q n - Q n + 1 x - Q n + 1

For the lines with negative slope coefficients,

(I)y= -x-Q2Q2-Q1x-Q1(III)y= -1Q3-Q4x-Q3

(II)y= -1Q2-Q3x-Q2(IV)y= -1Q4-Q5x-Q4

in general,

y ' n = 1 Q n - Q n + 1 x - Q n

Regarding the type of water, magnetically treated (MTW) or conventional (CW), we can establish the definitions in Table 2 and Figure 3.

Table 2.
Membership function definitions for the fuzzy sets of the input variable “water type”.

Figure 3. Membership
functions of fuzzy sets for the water type variable.

The functions (membership functions) representing the fuzzy sets of the water type are described as:

y1=-2x+1(1)

y2=-2x+1(2)

From the input data, the fuzzy rule-based system (FRBS) will determine the output values of the system by a set of rules based on a method that considers the percentiles of data sets, thus not requiring the knowledge of the experts (Figure 4). This method that relates the percentiles of data sets was adopted and used by Cremasco, Gabriel Filho, and Cataneo (2010Cremasco, C. P., Gabriel Filho, L. R. A., & Cataneo, A. (2010). Metodologia de determinação de funções de pertinência de controladores fuzzy para a avaliação energética de empresas de avicultura de postura. Energia na Agricultura, 25(1), 21-39. DOI: 10.17224/EnergAgric.2010v25n1p21-39
https://doi.org/10.17224/EnergAgric.2010...
), Gabriel Filho, Cremasco, Putti, and Chacur (2011Gabriel Filho, L. R. A., Cremasco, C. P., Putti, F. F., & Chacur, M. G. M. (2011). Application of fuzzy logic for the evaluation of livestock slaughtering. Engenharia Agrícola, 31(4), 813-825. DOI: 10.1590/S0100-69162011000400019
https://doi.org/10.1590/S0100-6916201100...
), Gabriel Filho et al. (2016GabrielFilho, L. R. A., Putti, F. F., Cremasco, C. P., Bordin, D., Chacur, M. G. M., & Gabriel, L. R. A. (2016). Software to assess beef cattle body mass through the fuzzy body mass index. Engenharia Agrícola , 36(1), 179-193. DOI: 10.1590/1809-4430-Eng.Agric.v36n1p179-193/2016
https://doi.org/10.1590/1809-4430-Eng.Ag...
), Putti, Kummer, Grassi Filho, Gabriel Filho, and Cremasco (2017Putti, F. F., Kummer, A. C. B., Grassi Filho, H., GabrielFilho,L. R. A., & Cremasco, C. P. (2017b). Fuzzy modeling on wheat productivity under different doses of sludge and sewage effluent. Engenharia Agrícola , 37(6), 1103-1115. DOI: 10.1590/1809-4430-eng.agric.v37n6p1103-1115/2017
https://doi.org/10.1590/1809-4430-eng.ag...
b), Viais Neto et al. (2019Viais Neto, D. S., Cremasco, C. P., Bordin, D., Putti, F. F., Silva Junior, J. F., & Gabriel Filho, L. R. A. (2019a). Fuzzy modeling of the effects of irrigation and water salinity in harvest point of tomato crop. Part I: description of the method. Engenharia Agrícola , 39(3), 294-304. DOI: 10.1590/1809-4430-eng.agric.v39n3p294-304/2019
https://doi.org/10.1590/1809-4430-eng.ag...
a; 2019Viais Neto, D. S., Cremasco, C. P., Bordin, D., Putti, F. F., Silva Junior, J. F., & Gabriel Filho, L. R. A. (2019b). Fuzzy modeling of the effects of irrigation and water salinity in harvest point of tomato crop. Part II: application and interpretation. Engenharia Agrícola , 39(3), 305-314. DOI: 10.1590/1809-4430-eng.agric.v39n3p305-314/2019
https://doi.org/10.1590/1809-4430-eng.ag...
b), and Martínez et al. (2020Martínez, M. P., Cremasco, C. P., Gabriel Filho, L. R. A., Braga Junior, S. S., Bednaski, A. V., Quevedo-Silva, F., ... Padgett, R. C. M. L. (2020). Fuzzy inference system to study the behavior of the green consumer facing the perception of greenwashing. Journal of Cleaner Production, 242(1), 116064. DOI: 10.1016/j.jclepro.2019.03.060
https://doi.org/10.1016/j.jclepro.2019.0...
).

Figure 4. Fuzzy
rule-based system with 2 inputs, 1 output and 10 rules.

Table 3 provides the behavior of lettuce for different irrigation depths and water types, and all possibilities are considered.

Table 3.
Production structure as a function of the depth and type of water.

The FRBS implements the decision process via a set of rules formalized, in general, based on the expertise of the subject to be modeled. The rules elaborated follow the scheme given below.

Ri: If the irrigation depth is Li and the water type is MTW, then the productivity is P 1-i ;

Rj+4: If the irrigation depth is Lj and the water type is CW, then the productivity is P 2-j , with i = 1,2,3,4, and j = 1,2,3,4.

For the construction of the fuzzy-rule-based output pertinence sets, the methodology developed by Cremasco et al. (2010Cremasco, C. P., Gabriel Filho, L. R. A., & Cataneo, A. (2010). Metodologia de determinação de funções de pertinência de controladores fuzzy para a avaliação energética de empresas de avicultura de postura. Energia na Agricultura, 25(1), 21-39. DOI: 10.17224/EnergAgric.2010v25n1p21-39
https://doi.org/10.17224/EnergAgric.2010...
) was followed. First, a descriptive statistical analysis was performed, which was used to obtain a measure for each group to analyze the median of repetitions (n = 5). Furthermore, the partitions (P i , 0 ≤ i ≤ 5) were determined, and therefore, it was possible to elaborate the expected productivity pertinence sets, as we can see in Figure 5 and Table 4. Thus, P k-s (k=1,2, s=1,2,3,4) will be equal to some P i (0 ≤ i ≤ 5).

Figure 5. Fuzzy
sets of the output variable “productivity.”

The analytical functions for output functions (I), (II), (III), (IV), (a), (b), (c), and (d) are analogous to those calculated for the irrigation depth.

Table 4.
Membership function definitions of the fuzzy set of the input variable.

For the defuzzification of the system, we considered the center of mass or centroid method, which averages the areas of all the figures representing the pertinence degrees of the treated fuzzy subsets. This approach is as follows:

z = μ u u d u μ u d u

To validate the analytical development of the Mamdani inference method used in this work, an experiment with magnetically treated water and a lettuce crop, as described in 4.1, was performed.

Description of the experiment

The experiment was conducted at the Experimental Lageado Farm and the Rural Engineering Department, both of the School of Agriculture of São Paulo State University (UNESP), Botucatu, São Paulo State, Brazil, at geographic coordinates 22° 51' south latitude and 48° 26' west longitude, with an average altitude of 786 m. According to the Köppen classification, the climate of the region is of Cfa type: a humid warm (mesothermal) temperate climate. The average temperature in the hottest months is over 22°C, and the average annual rainfall is 945.15 mm (Cunha & Martins, 2009Cunha, A. R., & Martins, D. (2009). Classificação climática para os municípios de Botucatu e São Manuel, SP. Irriga, 14(1), 1-11. DOI: 10.15809/irriga.2009v14n1p1-11
https://doi.org/10.15809/irriga.2009v14n...
).

The soil of the greenhouse was classified, according to Santos et al. (2018Santos, H. G., Jacomine, P. K. T., Anjos, L. H. C., Oliveira, V. A., Lumbreras, J. F., Coelho, M. R., ... Cunha, T. J. F. (2018). Sistema Brasileiro de Classificação de Solos. Brasília, DF: Embrapa.), as dystrophic red latosol with a moderate medium/clay structure. For this research, the soil used had the following chemical characteristics: pH (CaCl2) = 5.9, M.O. = 24 g dm(3, P (resina) = 191 mg dm(3, K = 4.8 mmolc dm(3, Ca = 68 mmolc dm(3, Mg = 25 mmolc dm(3, H + Al = 17 mmolc dm(3, SB = 67 mmolc dm(3, B = 0.51 mmolc dm(3, Cu = 4.8 mmolc dm(3, Fe = 20 mmolc dm(3, Mn = 10.10 mmolc dm(3, Zn = 8 mmolc dm(3, CTC = 114 mmolc dm(3, and V = 85%.

The temperature and humidity parameters were recorded by an automatic weather station (Table 5).

Table 5.
Climatic parameters collected during the experiment.

The experiment was established with a randomized block design in a 2 × 5 factorial scheme, and the following parameters were evaluated: two types of irrigation water (magnetically treated water (MTW) and conventional water (CW)) and five irrigation depths (L i , 1 ≤ i ≤ 5) from the reference evapotranspiration, ETo (0.25 ETo, 0.50 ETo, 0.75 ETo, 1 ETo, and 1.25 from ETo), totaling ten treatments with five repetitions. The magnetizer used was Sylocimol Rural.

Irrigation and the reading of the class A tank were performed daily at 8:00 am, and the time required was calculated as follows:

T i = 6000 . K c . K p . E c a . S l . S g . T R E i . V g ,

where: T i is the irrigation time, Kc is the crop coefficient, Kp is the tank coefficient, Eca is the evaporation of tank “class A” (mm day(1), Sl is the spacing between the sides (m), Sg is the drip spacing (m), Ei is the irrigation efficiency (%), and e Vg is the drip flow (L h(1).

To calculate the total irrigation depth to be applied, we used the method proposed by Snyder (1992Snyder, R. L. (1992). Equation for evaporation pan to evapotranspiration conversions. Journal of Irriga tion and Drainage Engineering, 118(6), 977-980. DOI: 10.1061/(ASCE)0733-9437(1992)118:6(977)
https://doi.org/10.1061/(ASCE)0733-9437(...
) based on evaporation (Kp) and defined as

k p = 0,0482 + 0,024 ln B - 0,00376 . V + 0,0045 . R

where: Kp is the coefficient of the tank, B is the boundary of the vegetation area around the tank (m), V é is the wind speed at a height of 2 m (m s(1), and UR is the average relative humidity (%).

The Kc values used followed the guidelines of FAO 56 (Allen, Pereira, Raes, & Smith, 1998Allen, R. G., Pereira, L. S., Raes, D., & Smith, M. (1998). Crop evapotranspiration - Guidelines for computing crop water requirements. FAO Irrigation and drainage paper No. 56. Rome, IT: FAO.), including 0.7 at the beginning of the growing season, 1 at mid-season, and 0.95 at the end.

Results and discussion

Analytical results

Fuzzification module

To make the resolutions simpler and more intuitive, we opted to work only with triangular membership functions, considering one of the inputs (the water type) with a model that always has a membership degree of 1 (crisp input). This relation is expressed as

µ(CW) = 0 if the water is conventional type; and

µ(MTW) = 1 if the water is magnetized.

The inference method chosen for this case study was the Mamdani inference method, and all the inputs and outputs of the fuzzy variables of the system were assigned a triangular-type membership function. This relation set was given by the following analytical expression:

μ x = 0 , i f x a , x - a u - a , i f a < x u x - b u - b , i f u < x b , 0 , i f x > b

Thus, it was possible to obtain the equations with the formulas, specifically, given points (u, 1) and (a, 0), as represented in Figure 6.

Figure 6. Analytic
functions for the membership calculation.

For abscissa values x less than or equal to a, the equation of the line in this range is given by y = 0. Because the value of y denotes the degree of relevance, µ(x) = 0 when xa. Similarly, we have µ(x) = 0 when xb.

For the equation of the line in Figure 6, denoted by (I), we have points (a, 0) and (u, 1), which when applied to the formula above, make it possible to obtain the calculation of the angular coefficient, m, as follows:

m = y - y 0 x - x 0 = 1 u - a

therefore,

y - y 0 = m x - x 0 y - 0 = 1 u - a ( x - a ) y = x - a u - a , a < x u

Similarly, one can calculate values for points (u, 1) and (b, 0).

Rules and fuzzy inference

As the title suggests, the central concept of this module is to mathematically translate the relationships that constitute expert knowledge. From the developments of Boole algebra, Frege logicism, and Cantor's set theory, we can translate the formal logical system into algebraic terms, sets, or norms. Thus, we have the following relations:

A a n d B A B A . B A B min A , B

A o r B A B A + B A B max A , B

In terms of the rules of inferences, the Mamdani method is based on the max-min composition of each rule. Specifically, for each R rule of the system, the conditionals of type “A B C” are modeled by the following process:

The calculation of the minimum value of the degree of pertinence of the variables based on the “and” connective is adopted;

For the “or” connective, the calculation is performed using the maximum value;

The conditional is also modeled by the minimal application, but with one important detail: the lowest degrees of pertinence of A and B are transposed in an area in C.

It is important to note that if two or more rules are triggered in decision making, then union operations between the partial outputs of each rule are applied, i.e., the maximum region within the rules is used.

For the application of this construction, a system with entries characterized as follows was considered: depths L i , where 1 ≤ i ≤ 5; membership degrees equal to 1; and the magnetization water type. The objective was to obtain the productivity level achieved.

As a case study, we examine the L1 depth and formulas for calculating all the productivities in the list of choices of the expert. To make the calculations intuitive, we represent the depths based on Li instead of Qi. Figure 7 shows the first of the fifth cases considered in this the analytical description of the case study.

One-degree case: If L1 and WTM, then P1.

Figure 7. Fuzzy
rule for depth L1, magnetized treatment water, and P1 productivity. One-degree case: If L1 and MTW, then P1.

The productivity value, z, is calculated by:

z = P 1 P 2 1 P 1 - P 2 x - P 2 x d x P 1 P 2 1 P 1 - P 2 x - P 2 d x

Consider, in the above scenario, that L1 = 0 and H20 = MTW; specifically, µ(MTW), and productivity is P1. For P2 = (0.25; 0),

z = 0 0.25 1 0 - 4 x - 0.25 x d x 0 0.25 1 0 - 4 x - 0.25 d x = 0 0.25 - 4 x - 0.25 x d x 0 0.25 - 4 x - 0.25 d x = 0 0.25 ( - 4 x 2 + x ) d x 0 0.25 ( - 4 x + 1 ) d x = 0.01041 0.125 = 0.08

Two-degree case: If L1 and WTM, then P2 (Figure 8).

Figure 8
Fuzzy rule for the L1 depth, magnetized water, and P2 productivity. Não citada no corpo do texto

in this case, we have:

z = P 1 P 2 - 1 P 1 - P 2 x - P 1 x d x + P 2 P 3 1 P 2 - P 3 x - P 3 x d x P 1 P 2 - 1 P 1 - P 2 x - P 1 d x + P 2 P 3 1 P 2 - P 3 x - P 3 d x

It is considered that P1 = (0; 0), P2 = (0.25; 1), and P3 = (0.5; 0). Therefore,

z = 0 0.25 ( 4 x 2 ) d x + 0.25 0.5 ( - 4 x 2 + 2 x ) d x 0 0.25 ( 4 x ) d x + 0.25 0.5 ( - 4 x + 2 ) d x = 0.02084 + 0.04166 0.125 + 0.125 = 0.0625 0.25 = 0.25

For all other scenarios, the methodology is analogous to that described above.

Three-degree case: If L1 and MTW, then P3.

z = P 2 P 3 - 1 P 2 - P 3 x - P 3 x d x + P 3 P 4 1 P 3 - P 4 x - P 4 x d x P 2 P 3 - 1 P 2 - P 3 x - P 3 d x + P 3 P 4 1 P 3 - P 4 x - P 4 d x

Four-degree case: If L1 and MTW, then P4.

z = P 3 P 4 - 1 P 3 - P 4 x - P 4 x d x + P 4 P 5 1 P 4 - P 5 x - P 5 x d x P 3 P 4 - 1 P 3 - P 4 x - P 4 d x + P 4 P 5 1 P 4 - P 5 x - P 5 d x

Five-degree case: If L1 and MTW, then P5.

z = P 4 P 5 - 1 P 4 - P 5 x - P 5 x d x P 4 P 5 - 1 P 4 - P 5 x - P 5 d x

From the five cases described, it can be seen that in the systems in which the pertinence values of the inputs are equal to 1, the calculation of the output reduces to the determination of the centroid of the area, which is delimited by the consequence of the rule, with the integration interval associated with the domain scope of the rule itself.

For the cases in which 0 <µ Li > 1, where 1 ≤ i ≤ 5, the resulting integral is reduced to a sum of partial integrals arising from each rule that satisfies the conditions set forth by the expert. For the modulated system in this study, each output depends exclusively on two intercepted regions, as illustrated in Figure 9.

Figure 9. Intersecting
regions of the rules.

In the analysis of this case study, it is considered that x ( (I), i.e., x is between L1 and L2. Thus, we have degrees of pertinence, µ L1 and µ L2 , associated with each depth that forms the intersection region, as shown in Figure 10.

These degrees associated with the other components of the rule by an “e” operator create a region within the domain of the rule, such that each depth is associated with:

Ri: L1 and WTM/CW ( Pk ( max(min(µ L1 , µ AM/AC )) ( max(min(µ L1 , 1)) ( max(µ L1 ), para 1 ≤ i ≤ 10 e 1 ≤ k ≤ 5

Rj: L2 and WTM/CW ( Pk ( max(min(µ L2 , µ AM/AC )) ( max(min(µ L2 , 1)) ( max(µ L2 ), 1 ≤ j ≤ 10 e 1 ≤ k' ≤ 5

Figure 10. Levels
of membership associated with the variable x.

Similarly, we have the same correlations for intervals (II), (III), and (IV).

Considering the rules (Figure 11), for the values of the productivity and depth already selected and x ( [L1, L2],

R1: L1 and WTM ( P3

R2: L2 and WTM ( P2

Figure 11. Study
of the rules with the inference method of Mamdani.

The output, z, for the lettuce productivity is the sum of the integrals defined below regions (a), (b), (c), (e), and (f), as delimited by the following linear equations:

y= -1P1-P2(x-P1);

y = μ L 2 ;

y= -1P2-P3x-P3;

y= μL1, and

y = - 1 P 3 - P 4 ( x - P 4 )

therefore,

z = P 1 x _ 1 ( a ) x d x + x _ 1 x _ 2 ( b ) x d x + x _ 2 x _ 3 ( c ) x d x + x _ 3 x _ 4 ( e ) x d x + x _ 4 x _ 5 f x d x P 1 x _ 1 a d x + x _ 1 x _ 2 b d x + x _ 2 x _ 3 ( c ) d x + x _ 3 x _ 4 e d x + x _ 4 x _ 5 f d x

As an example, consider x = 0.2 and y = 1. The productivity of lettuce is determined considering the partitions of the depth and production subdivided into 25% intervals. In this case, it is necessary to calculate the degrees of relevance of the depth at x = 0.2. Because the functions are triangular (Figure 12), we have.

Figure 12. Membership
functions in subdivisions of 25%.

For x = 0.2, the depth functions for determining the degrees are considered as follows: L1: y=-4x +1, and L2: y=4x. By substituting the value of x = 0.2 into both functions, we have µ L1 = 0.2 and µ L2 = 0.8 (Figure 13).

Figure 13. Pertinence
degrees associated with the variable x = 0.2.

For the lettuce yield case, the rules that model the result for depth x = 0.2 and magnetized water y = 1 are:

R1: L1 and MTW ( P3

R2: L2 and MTW ( P2

Since µ L1 = 0.2, µ MTW = 1, and µ L2 = 0.8, by applying the Mamdani methodology (Figure 14), we have:

R1: max(min(0.2; 1)) ( max(0.2);

R2: max(min(0.8; 1)) ( max(0.8).

Graphically, we have Figure 14.

Figure 14. Application
of the Mamdani method to x = 0.2 and y = 1 with the union of the areas in the resulting region.

In detail, the area of integration is given by Figure 15.

Figure 15. Integration
area of the union region of the triggered rules.

Some values of x were calculated by substituting the pertinence degrees, y = 0.2 and y = 0.8, into the respective functions.

Finally, the result is obtained by the sum of the integrals:

z = 0 0.2 4 x x d x + 0.2 0.3 0.8 x d x + 0.3 0.5 - 4 x + 2 x d x + 0.45 0.5 2 - - 4 x + 2 x d x + 0 0.2 4 x d x + 0.2 0.3 0.8 d x + 0.3 0.5 - 4 x + 2 d x + 0.45 0.5 2 - - 4 x + 2 d x +

+ 0.5 0.7 0.2 x d x + 0.7 0.75 - 4 x + 3 x d x 0.5 0.7 0.2 d x + 0.7 0.75 - 4 x + 3 d x

z = 0.01068 + 0.02 + 0.02932 + 0.00243 + 0.024 + 0.00357 0.08 + 0.08 + 0.08 + 0.005 + 0.04 + 0.005 = 0.09 0.29 = 0.31

The manipulation of the data in MATLAB is shown in Figure 16.

Figure 16. Rule
base generated by MATLAB software.

Similarly, the process is repeated for all the values of variable x based on the irrigation depth and type of water to be used.

Results of a practical application

Based on a descriptive analysis of the data collected in the experiment, relevant significant differences were observed for different types of water and irrigation depths, as listed in Table 6.

Table 6.
Summary of the descriptive statistical analysis of the lettuce yield.

After the descriptive analysis, we proceeded to perform, automatically and manually, the fuzzy modeling of the output variable, “Green weight = Productivity”, as shown in Figure 17 and Table 7.

Table 7.
Pertinence sets of the output variable.

Figure 17. Fuzzy
sets for the output variable “production”.

At this point, it was possible to obtain the rule base of the system by associating the value of the highest degree of pertinence with the matched pair, as listed in Table 8.

Table 8.
Fuzzy system rule base.

According to the data modeled, MATLAB software performed all the mathematical operations required to produce the output. Our goal in this study is to perform the same computations manually, i.e., by performing calculations by hand.

The importance of this approach is manifested in scenarios with computational problems or a lack of resources, as experienced by a researcher. In such cases involving various diverse areas of knowledge, efficient and simple problem modeling mechanisms are required. This approach provides simple theoretical subsidies for the development of mobile apps and free software.

For the evaluation of a specific case, lamina L1 and treatment with magnetized water were selected for consideration (Figure 18).

Figure 18. Depth
and water type chosen.

By rule R1, if L1 and AM, then P3, and a triangle is generated, as shown in Figure 19.

Figure 19. Triangle
generated.

The line defined in (I) is given by

y = 1 34.9 x - 6

In (II), we have:

y = - x 61.7 + 306 61.7

In this context, the value of productivity is determined by:

z = 209.4 244.3 1 34.9 x - 6 x d x + 244.3 306 - 1 61.7 x + 306 61.7 x d x 209.4 244.3 1 34.9 x - 6 d x + 244.3 306 - 1 61.7 x + 306 61.7 d x =

4060.03 + 8171.13 17.45 + 30.85 253.23

Currently, the main tool for implementing fuzzy logic is MATLAB software. Developed by the American company MathWorks, which specializes in developing computational and mathematical solutions, MATLAB is used in conjunction with Simulink, another software to perform various types of work in mathematics and engineering.

This work explicitly analyzes the relevant inference mechanisms to demonstrate the excellence of the method used. We compare the fuzzy modeling results with those of experiments performed in the field according to the methodology and analytical results presented. Table 9 lists the values of the observed variables and those modeled by the fuzzy system.

Table 9.
Comparison of the fuzzy-rule-based model results with the expected values based on a regression equation.

From the above data, the values of the fuzzy model and fresh weight in air observed in the experiment are strongly correlated with those for the irrigation treatments, with a CW value of 0.95 and an MTW value of 0.98, reflecting insignificant differences.

Conclusion

The focus of this study was to use a 0.0 (no-cost methodology that uses only elementary math) methodology to model a 4.0 cost system. In a world where time and technology are fundamental, exploring and explaining the theoretical foundations inherent to a method embedded in high-cost software can be an alternative to understanding complex models and reducing costs and power consumption.

In this article, we highlight only one application of fuzzy modeling in agrarian science, but the method can be applied over a wider range by various researchers. Moreover, in numerous remote locations, there is a shortage of electricity, highlighting the relevance of this work.

In agricultural terms, irrigation performed with magnetized water yields positive results by increasing the aerial green weight, thereby enabling the proposed method to be used to estimate production under other management conditions.

In this way, the present model helps to determine the best lettuce harvesting time depending on the type of irrigation water and irrigation depth, thus optimizing production.

Acknowledgements

This work was supported by the National Council for Scientific and Technological Development (CNPq) (Grant numbers: 421782/2016-1, 303923/2018-0, 313570/2017-5 and 315228/2020-2)

References

  • Aladjadjiyan, A., & Ylieva, T. (2014). Influence of stationary magnetic field on the early stages of the development of tobacco seeds. Journal of Central European Agriculture, 4(2), 1-8.
  • Allen, R. G., Pereira, L. S., Raes, D., & Smith, M. (1998). Crop evapotranspiration - Guidelines for computing crop water requirements FAO Irrigation and drainage paper No. 56. Rome, IT: FAO.
  • Aoda, M. I. É., & Fattah, M. A. (2011). The interactive effects of water magnetic treatment and deficit irrigation on plant productivity and water use efficiency of corn (Zea mays L.). The Iraqi Journal of Agricultural Sciences, 42(Special Issue), 164-179.
  • Barros, L. C., & Bassanezi, R. C. (2010). Tópicos de lógica fuzzy e biomatemática Campinas, SP: Instituto de Matemática, Estatística e Computação Científica da Universidade Estadual de Campinas.
  • Carneiro, V. Q, Prado, A. L., Cruz, C. D., Carneiro, P. C. S., Nascimento, M., & Carneiro, J. E. S. (2018). Fuzzy control systems for decision-making in cultivars recommendation. Acta Scientiarum. Agronomy, 40(1), 2-8. DOI: 10.4025/actasciagron.v40i1.39314
    » https://doi.org/10.4025/actasciagron.v40i1.39314
  • Cremasco, C. P., Gabriel Filho, L. R. A., & Cataneo, A. (2010). Metodologia de determinação de funções de pertinência de controladores fuzzy para a avaliação energética de empresas de avicultura de postura. Energia na Agricultura, 25(1), 21-39. DOI: 10.17224/EnergAgric.2010v25n1p21-39
    » https://doi.org/10.17224/EnergAgric.2010v25n1p21-39
  • Cunha, A. R., & Martins, D. (2009). Classificação climática para os municípios de Botucatu e São Manuel, SP. Irriga, 14(1), 1-11. DOI: 10.15809/irriga.2009v14n1p1-11
    » https://doi.org/10.15809/irriga.2009v14n1p1-11
  • Gabriel Filho, L. R. A., Cremasco, C. P., Putti, F. F., & Chacur, M. G. M. (2011). Application of fuzzy logic for the evaluation of livestock slaughtering. Engenharia Agrícola, 31(4), 813-825. DOI: 10.1590/S0100-69162011000400019
    » https://doi.org/10.1590/S0100-69162011000400019
  • GabrielFilho, L. R. A., Pigatto, G. A. S., & Lourenzani, A. E. B. S. (2015). Fuzzy rule-based system for evaluation of uncertainty in cassava chain. Engenharia Agrícola , 35(2), 350-367. DOI: 10.1590/1809-4430-Eng.Agric.v35n2p350-367/2015
    » https://doi.org/10.1590/1809-4430-Eng.Agric.v35n2p350-367/2015
  • GabrielFilho, L. R. A., Putti, F. F., Cremasco, C. P., Bordin, D., Chacur, M. G. M., & Gabriel, L. R. A. (2016). Software to assess beef cattle body mass through the fuzzy body mass index. Engenharia Agrícola , 36(1), 179-193. DOI: 10.1590/1809-4430-Eng.Agric.v36n1p179-193/2016
    » https://doi.org/10.1590/1809-4430-Eng.Agric.v36n1p179-193/2016
  • Hozayn, M., & Qados, A. M. S. A. (2010). Irriga tion with magnetized water enhances growth, chemical constituent and yield of chickpea (Cicer arietinum L.). Agriculture and Biology Journal of North America, 1(5), 671-676.
  • Khoshravesh, M., Mostafazadeh-Fard, B., Mousavi, S. F., & Kiani, A. R. (2011). Effects of magnetized water on the distribution pattern of soil water with respect to time in trickle irrigation. Soil Use Management, 27(4), 515-522. DOI: 10.1111/j.1475-2743.2011.00358.x
    » https://doi.org/10.1111/j.1475-2743.2011.00358.x
  • Lopes, G. N., Kroetz, V. J., Alves, J. M. A., & Smiderle, O. J. (2007). Irrigação magnética. Revista Agro@mbiente On-Line, 1(1), 1-8. DOI: 10.18227/1982-8470ragro.v1i1.137
    » https://doi.org/10.18227/1982-8470ragro.v1i1.137
  • Lyn, J., & Yotvat, J. (1990). Exposure of irrigation and drinking water to a magnetic field with controlled power and direction. Journal of Magnetism and Magnetic Materials, 83(1-3), 525-526. DOI: 10.1016/0304-8853(90)90611-S
    » https://doi.org/10.1016/0304-8853(90)90611-S
  • Maheshwari, B. L., & Grewal, H. S. (2009). Magnetic treatment of irrigation water: Its effects on vegetable crop yield and water productivity. Agricultural Water Management, 96(8), 1229-1236. DOI: 10.1016/j.agwat.2009.03.016
    » https://doi.org/10.1016/j.agwat.2009.03.016
  • Martínez, M. P., Cremasco, C. P., Gabriel Filho, L. R. A., Braga Junior, S. S., Bednaski, A. V., Quevedo-Silva, F., ... Padgett, R. C. M. L. (2020). Fuzzy inference system to study the behavior of the green consumer facing the perception of greenwashing. Journal of Cleaner Production, 242(1), 116064. DOI: 10.1016/j.jclepro.2019.03.060
    » https://doi.org/10.1016/j.jclepro.2019.03.060
  • Nasher, S. H. (2008). The effect of magnetic water on growth of chick-pea seeds. Engineering and Technology, 26(9), 1-4.
  • Ozeki, S., Miyamoto, J., Ono, S., Wakai, C., & Watanabe, T. (1996) Water-solid interactions under steady magnetic fields: magnetic-field-induced adsorption and desorption of water. Journal of Physical Chemistry, 100(10), 4205-4212. DOI: 10.1021/jp9528774
    » https://doi.org/10.1021/jp9528774
  • Pereira, D. F., Bighi, C. A., Gabriel Filho, L. R. A., & Cremasco, C. P. C. (2008). Sistema fuzzy para estimativa do bem-estar de matrizes pesadas. Engenharia Agrícola , 28(4), 624-633. DOI: 10.1590/S0100-69162008000400002
    » https://doi.org/10.1590/S0100-69162008000400002
  • Putti, F. F., Gabriel Filho, L. R. A., Cremasco, C. P., Bonini Neto, A., Bonini, C. S. B., & Reis, A. R. (2017a). A Fuzzy mathematical model to estimate the effects of global warming on the vitality of Laelia purpurata orchids. Mathematical Biosciences, 288, 124-129. DOI: 10.1016/j.mbs.2017.03.005
    » https://doi.org/10.1016/j.mbs.2017.03.005
  • Putti, F. F., Gabriel Filho, L. R. A., Silva, A. O., Ludwig, R., & Cremasco, C. P. (2014). Fuzzy logic to evaluate vitality of Catasetum fimbiratum species (Orchidacea). Irriga , 19(3), 405-413. DOI: 10.15809/irriga.2014v19n3p405
    » https://doi.org/10.15809/irriga.2014v19n3p405
  • Putti, F. F., Kummer, A. C. B., Grassi Filho, H., GabrielFilho,L. R. A., & Cremasco, C. P. (2017b). Fuzzy modeling on wheat productivity under different doses of sludge and sewage effluent. Engenharia Agrícola , 37(6), 1103-1115. DOI: 10.1590/1809-4430-eng.agric.v37n6p1103-1115/2017
    » https://doi.org/10.1590/1809-4430-eng.agric.v37n6p1103-1115/2017
  • Rawabdeh, H., Shiyab, S., & Shibl, R. (2014). The effect of irrigation by magnetically water on chlorophyll and macroelements uptake of pepper (Capsicum annuum L.). Jordan Journal of Agricultural Sciences, 10(2), 205-214.
  • Santos, H. G., Jacomine, P. K. T., Anjos, L. H. C., Oliveira, V. A., Lumbreras, J. F., Coelho, M. R., ... Cunha, T. J. F. (2018). Sistema Brasileiro de Classificação de Solos Brasília, DF: Embrapa.
  • Selim, A. F. H., & El-Nady, M. F. (2011) Physio-anatomical responses of drought stressed tomato plants to magnetic field. Acta Astronautica, 69(7-8), 387-396. DOI: 10.1016/j.actaastro.2011.05.025
    » https://doi.org/10.1016/j.actaastro.2011.05.025
  • Snyder, R. L. (1992). Equation for evaporation pan to evapotranspiration conversions. Journal of Irriga tion and Drainage Engineering, 118(6), 977-980. DOI: 10.1061/(ASCE)0733-9437(1992)118:6(977)
    » https://doi.org/10.1061/(ASCE)0733-9437(1992)118:6(977)
  • Souza, A., Gárcia, D., Sueiro, L., Licea, L., & Porras, E. (2005). Pre-sowing magnetic treatment of tomato seeds: effects on the growth and yield of plants cultivated late on the season. Spanish Journal of Agricultural Research, 3(1), 113-122. DOI: 10.5424/sjar/2005031-131
    » https://doi.org/10.5424/sjar/2005031-131
  • Viais Neto, D. S., Cremasco, C. P., Bordin, D., Putti, F. F., Silva Junior, J. F., & Gabriel Filho, L. R. A. (2019a). Fuzzy modeling of the effects of irrigation and water salinity in harvest point of tomato crop. Part I: description of the method. Engenharia Agrícola , 39(3), 294-304. DOI: 10.1590/1809-4430-eng.agric.v39n3p294-304/2019
    » https://doi.org/10.1590/1809-4430-eng.agric.v39n3p294-304/2019
  • Viais Neto, D. S., Cremasco, C. P., Bordin, D., Putti, F. F., Silva Junior, J. F., & Gabriel Filho, L. R. A. (2019b). Fuzzy modeling of the effects of irrigation and water salinity in harvest point of tomato crop. Part II: application and interpretation. Engenharia Agrícola , 39(3), 305-314. DOI: 10.1590/1809-4430-eng.agric.v39n3p305-314/2019
    » https://doi.org/10.1590/1809-4430-eng.agric.v39n3p305-314/2019

Publication Dates

  • Publication in this collection
    28 May 2021
  • Date of issue
    2021

History

  • Received
    10 Dec 2019
  • Accepted
    11 May 2020
Editora da Universidade Estadual de Maringá - EDUEM Av. Colombo, 5790, bloco 40, 87020-900 - Maringá PR/ Brasil, Tel.: (55 44) 3011-4253, Fax: (55 44) 3011-1392 - Maringá - PR - Brazil
E-mail: actaagron@uem.br