Monitoring station positioning method and device for agricultural irrigation motor-pumped well by changing electricity into water, and storage medium
Patent Information
- Application Number
- CN202411823499.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-12-12
Smart Images

Figure CN119337157A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of converting electricity into water for agricultural irrigation, and in particular to a method, equipment and storage medium for locating a monitoring station for converting electricity into water for agricultural irrigation wells. Background Art
[0002] "Electricity-to-water conversion" is a method of analyzing the hydropower conversion coefficient by studying the relationship between electricity consumption and water intake, and then calculating the water intake by calculating electricity consumption and the hydropower conversion coefficient. Currently, most electricity-to-water conversion methods determine the conversion coefficient based on historical statistical data, and then determine the irrigation water volume based on electricity consumption. The advantage of this method is that the algorithm is simple, but the problem it brings is that the data deviation is large.
[0003] As an improvement to the electricity-to-water method, some technologies have proposed building a large model based on historical data, trying to obtain the irrigation water volume after inputting the relevant parameters and electricity consumption data of agricultural irrigation wells. The starting point of this method is to collect all the data related to the factors that affect the electricity-to-water method. The difficulty is that it requires a large amount of data, a complex modeling process and a large amount of data calculation, which makes the promotion and implementation encounter many obstacles.
[0004] Some other technologies propose to use monitoring stations to count electricity and water consumption. The agricultural irrigation wells around the monitoring stations use the monitoring stations as a reference to determine the water consumption, or build a small model based on the situation of the monitoring stations to determine the irrigation water volume of the surrounding agricultural irrigation wells. The site setting should be in line with the characteristics of local water and electricity consumption. For the setting of the site, if it is set blindly, some areas will not be able to accurately reflect the relationship between water and electricity. When the density of monitoring sites is high, the equipment construction is highly repetitive, and excessive resource investment will cause waste of resources.
[0005] Based on this, it is necessary to develop and design a method for locating agricultural irrigation wells using electricity to convert water into monitoring stations. Summary of the invention
[0006] The embodiments of the present invention provide a method, device and storage medium for locating monitoring stations of agricultural irrigation wells by using electricity to convert water into electricity, which are used to solve the problem in the prior art of lack of reasonable configuration of monitoring stations so as to complete more accurate irrigation water statistics with less resource investment.
[0007] In a first aspect, an embodiment of the present invention provides a method for locating a monitoring station of an agricultural irrigation well by using electricity to convert water into electricity, comprising: Acquire multiple irrigation history data sets, wherein the irrigation history data sets represent data on agricultural irrigation well parameters, electricity consumption, and irrigation characteristics; Constructing a plurality of electricity-to-water feature vectors according to the plurality of irrigation history data sets, clustering the plurality of electricity-to-water feature vectors to obtain a plurality of clustering results, wherein each electricity-to-water feature vector corresponds to an agricultural irrigation well, and the electricity-to-water feature vector characterizes the characteristics of the electricity-to-water feature vector of the agricultural irrigation well; The irrigation area is determined according to the location of the agricultural irrigation well corresponding to the electricity-to-water feature vector that exceeds the threshold in each clustering result; Based on the electricity-to-water characteristics of the agricultural irrigation wells in the zoning area, the electricity-to-water monitoring sites for the agricultural irrigation wells are determined.
[0008] In a possible implementation, the irrigation history data set includes: irrigation equipment parameters, irrigation electricity data, irrigation area and irrigation duration, and multiple electricity-to-water feature vectors are constructed based on the multiple irrigation history data sets, and the multiple electricity-to-water feature vectors are clustered to obtain multiple clustering results, including: According to the correspondence with the agricultural irrigation wells, the plurality of irrigation history data sets are grouped into a plurality of well data groups, wherein each agricultural irrigation well corresponds to one well data group; For each irrigation history data set, the quotient of the irrigation area and the irrigation duration is calculated, and the obtained result is used as the irrigation flow index of the irrigation history data set; Constructing the first equation that represents the relationship between irrigation equipment parameters and irrigation electricity data and irrigation flow index; According to the plurality of well data groups and the first equation, a plurality of equation groups are constructed, and according to the plurality of equation groups, a plurality of characteristic equations of electricity-to-water conversion are constructed, wherein each characteristic equation of electricity-to-water conversion corresponds to an agricultural irrigation well; Constructing multiple coefficients of each electricity-to-water characteristic equation into electricity-to-water characteristic vectors, thereby obtaining multiple electricity-to-water characteristic vectors; The multiple electricity-to-water feature vectors are clustered to obtain multiple clustering results.
[0009] In a possible implementation, constructing multiple equation groups based on the multiple pumped well data groups and the first equation, and constructing multiple electricity-to-water characteristic equations based on the multiple equation groups, including: For each well data group, perform the following steps: Substituting the irrigation equipment parameters, irrigation electricity data and irrigation flow index of each irrigation history data set into the first equation, thereby obtaining a plurality of intermediate equations, wherein each intermediate equation corresponds to one irrigation history data set; The plurality of intermediate equations are combined to obtain an equation system; Obtaining a plurality of coefficient solutions of the first equation according to the set of equations; Substituting the multiple coefficient solutions into the first equation, a characteristic equation of electricity-to-water conversion is obtained.
[0010] In a possible implementation, the first equation is:
[0011] In the formula, is the irrigation flow index, For the The first coefficient, For the historical data set parameters, is the total number of parameter data in the historical data set, is the total number of exponentials, is the first constant.
[0012] In a possible implementation, each clustering result corresponds to an agricultural irrigation well class, each agricultural irrigation well class includes a plurality of electricity-to-water feature vectors, and the electricity-to-water feature vectors characterize the characteristics of the agricultural irrigation wells in terms of electricity-to-water. The method of determining the irrigation zoning area according to the positions of the agricultural irrigation wells corresponding to the electricity-to-water feature vectors whose proportion in each clustering result exceeds a proportion threshold comprises: For each agricultural irrigation well type, perform the following steps: Determine multiple agricultural irrigation well locations according to multiple agricultural irrigation wells corresponding to the characteristic vectors of electricity-converted water, wherein each agricultural irrigation well location corresponds to a characteristic vector of electricity-converted water; For each agricultural irrigation well location, find the closest location from the multiple agricultural irrigation well locations as a first target location, and use the distance to the first target location as a reference distance, thereby obtaining multiple reference distances; Randomly select a location from the multiple agricultural irrigation well locations as a second target location and add it to the location set; Searching for a position from the plurality of agricultural irrigation well positions whose distance from the second target position is less than a search distance, wherein the search distance is determined in proportion to an average of the plurality of reference distances; If there is a position whose distance from the second target position is less than the search distance, the position whose distance from the second target position is less than the search distance is taken as the second target position and added to the position set, and the process jumps to the step of searching for a position whose distance from the second target position is less than the search distance from the multiple agricultural irrigation well positions; Otherwise, the ratio of the number of agricultural irrigation well positions that are not added to the position set to the total number of the plurality of agricultural irrigation well positions is used as the first ratio; If the first ratio is less than the proportion threshold, the irrigation area is delineated according to the location of the agricultural irrigation wells in the location concentration.
[0013] In a possible implementation, each agricultural irrigation well in the slicing area corresponds to a characteristic vector of electricity-to-water conversion, and the characteristic vector of electricity-to-water conversion characterizes the characteristics of the agricultural irrigation well in electricity-to-water conversion. The method of determining the monitoring station of electricity-to-water conversion for the agricultural irrigation well according to the characteristics of electricity-to-water conversion for the agricultural irrigation well in the slicing area includes: Extracting the electricity-to-water characteristic vectors of the plurality of agricultural irrigation wells in the slicing area as a plurality of first vectors; Extracting a mean vector of the plurality of first vectors; Calculate the Euclidean distance and the cosine distance of each first vector to the mean vector respectively, and obtain a plurality of Euclidean distances and a plurality of cosine distances; Determine a plurality of comprehensive distance indexes according to the plurality of Euclidean distances and the plurality of cosine distances, wherein the comprehensive distance index characterizes the typicality of converting electricity into water in the agricultural irrigation well; An agricultural irrigation well is selected from a plurality of agricultural irrigation wells as an electricity-to-water monitoring site according to the plurality of comprehensive distance indexes.
[0014] In a possible implementation manner, determining a plurality of comprehensive distance indexes according to the plurality of Euclidean distances and the plurality of cosine distances includes: According to the third formula, the multiple Euclidean distances and the multiple cosine distances, multiple comprehensive distance indexes are determined, wherein each comprehensive distance index corresponds to an agricultural irrigation well, and the third formula is:
[0015] In the formula, For the The comprehensive distance index of agricultural irrigation wells, For the The Euclidean distance between the irrigation wells, is the maximum Euclidean distance, For the The cosine distance of an agricultural irrigation well, is the second coefficient, is the third coefficient.
[0016] In a second aspect, an embodiment of the present invention provides a device for locating a monitoring station for water conversion by electricity in an agricultural irrigation well, which is used to implement the method for locating a monitoring station for water conversion by electricity in an agricultural irrigation well as described in the first aspect or any possible implementation of the first aspect, and the device for locating a monitoring station for water conversion by electricity in an agricultural irrigation well includes: A historical data acquisition module is used to acquire multiple irrigation history data sets, wherein the irrigation history data sets represent data on agricultural irrigation well parameters, electricity consumption, and irrigation characteristics; A feature extraction and clustering module, for constructing a plurality of electricity-to-water feature vectors according to the plurality of irrigation history data sets, clustering the plurality of electricity-to-water feature vectors, and obtaining a plurality of clustering results, wherein each electricity-to-water feature vector corresponds to an agricultural irrigation well, and the electricity-to-water feature vector characterizes the characteristics of the electricity-to-water feature of the agricultural irrigation well; The irrigation area division module is used to determine the irrigation division area according to the location of the agricultural irrigation well corresponding to the electricity-to-water feature vector in each clustering result that exceeds the threshold; as well as, The monitoring site positioning module is used to determine the electricity-to-water conversion monitoring sites of the agricultural irrigation wells according to the electricity-to-water conversion characteristics of the agricultural irrigation wells in the zoning area.
[0017] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, it implements the steps of the method described in the first aspect or any possible implementation method of the first aspect.
[0018] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect or any possible implementation of the first aspect are implemented.
[0019] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: The embodiment of the present invention discloses a method for locating a monitoring station for converting electricity into water for an agricultural irrigation well. The method first obtains a plurality of irrigation history data sets, wherein the irrigation history data sets represent the data of the parameters, electricity consumption and irrigation characteristics of the agricultural irrigation well; then, a plurality of characteristic vectors for converting electricity into water are constructed according to the plurality of irrigation history data sets, and the plurality of characteristic vectors for converting electricity into water are clustered to obtain a plurality of clustering results, wherein each characteristic vector for converting electricity into water corresponds to an agricultural irrigation well, and the characteristic vector for converting electricity into water represents the characteristic of converting electricity into water for the agricultural irrigation well; then, according to the position of the agricultural irrigation well corresponding to the characteristic vector for converting electricity into water that exceeds the threshold value in each clustering result, the irrigation zoning area is determined; finally, according to the characteristic of converting electricity into water for the agricultural irrigation well in the zoning area, the monitoring station for converting electricity into water for the agricultural irrigation well is determined. The embodiment of the present invention analyzes the basic characteristic of converting electricity into water for the agricultural irrigation well according to the irrigation history data set and clusters the agricultural irrigation well according to the basic characteristic, so that the agricultural irrigation wells clustered into one category have similar characteristic of converting electricity into water. The implementation mode of the present invention divides the irrigation area into sections based on agricultural irrigation wells with similar electricity-to-water characteristics, and selects typical agricultural irrigation wells as monitoring sites based on the regional division. The selected sites are typical, and the site settings should be in line with the characteristics of local water and electricity consumption, ensuring the accuracy of electricity-to-water monitoring calculation while reducing the construction of unnecessary sites. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0021] Figure 1 It is a flow chart of a method for locating a monitoring station of an agricultural irrigation well by using electricity to convert water into electricity provided by an embodiment of the present invention; Figure 2 It is a schematic diagram of the irrigation zone demarcation process provided by an embodiment of the present invention; Figure 3 It is a functional block diagram of a device for monitoring a site for locating an agricultural irrigation well by converting electricity into water, provided in an embodiment of the present invention; Figure 4 It is a functional block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0022] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, and methods are omitted so as not to obscure the description of the present invention with unnecessary details.
[0023] In order to make the purpose, technical solutions and advantages of the present invention more clear, a specific implementation method will be described below in conjunction with the accompanying drawings.
[0024] The following is a detailed description of an embodiment of the present invention. This example is implemented based on the technical solution of the present invention, and provides a detailed implementation method and a specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0025] Figure 1 A flow chart of a method for locating monitoring stations of agricultural irrigation wells using electricity to convert water into electricity provided in an embodiment of the present invention.
[0026] like Figure 1 As shown, it shows a flowchart of the method for locating the monitoring station of the agricultural irrigation well by using electricity to convert water into electricity provided by the embodiment of the present invention, which is described in detail as follows: In step 101, a plurality of irrigation history data sets are obtained, wherein the irrigation history data sets represent data on agricultural irrigation well parameters, electricity consumption, and irrigation characteristics.
[0027] In step 102, a plurality of electricity-to-water feature vectors are constructed based on the plurality of irrigation history data sets, and the plurality of electricity-to-water feature vectors are clustered to obtain a plurality of clustering results, wherein each electricity-to-water feature vector corresponds to an agricultural irrigation well, and the electricity-to-water feature vector characterizes the characteristics of the electricity-to-water feature vector of the agricultural irrigation well.
[0028] In some implementations, the irrigation history data set includes: irrigation equipment parameters, irrigation electricity data, irrigation area, and irrigation duration, and the multiple electricity-to-water feature vectors are constructed based on the multiple irrigation history data sets, and the multiple electricity-to-water feature vectors are clustered to obtain multiple clustering results, including: According to the correspondence with the agricultural irrigation wells, the plurality of irrigation history data sets are grouped into a plurality of well data groups, wherein each agricultural irrigation well corresponds to one well data group; For each irrigation history data set, the quotient of the irrigation area and the irrigation duration is calculated, and the obtained result is used as the irrigation flow index of the irrigation history data set; Constructing the first equation that represents the relationship between irrigation equipment parameters and irrigation electricity data and irrigation flow index; According to the plurality of well data groups and the first equation, a plurality of equation groups are constructed, and according to the plurality of equation groups, a plurality of characteristic equations of electricity-to-water conversion are constructed, wherein each characteristic equation of electricity-to-water conversion corresponds to an agricultural irrigation well; Constructing multiple coefficients of each electricity-to-water characteristic equation into electricity-to-water characteristic vectors, thereby obtaining multiple electricity-to-water characteristic vectors; The multiple electricity-to-water feature vectors are clustered to obtain multiple clustering results.
[0029] In some embodiments, constructing a plurality of equation groups according to the plurality of well data groups and the first equation, and constructing a plurality of electricity-to-water characteristic equations according to the plurality of equation groups includes: For each well data group, perform the following steps: Substituting the irrigation equipment parameters, irrigation electricity data and irrigation flow index of each irrigation history data set into the first equation, thereby obtaining a plurality of intermediate equations, wherein each intermediate equation corresponds to one irrigation history data set; The plurality of intermediate equations are combined to obtain an equation system; Obtaining a plurality of coefficient solutions of the first equation according to the set of equations; Substituting the multiple coefficient solutions into the first equation, a characteristic equation of electricity-to-water conversion is obtained.
[0030] In some embodiments, the first equation is:
[0031] In the formula, is the irrigation flow index, For the The first coefficient, For the historical data set parameters, is the total number of parameter data in the historical data set, is the total number of exponentials, is the first constant.
[0032] Exemplarily, an embodiment of the present invention constructs a feature vector of electricity-to-water conversion based on a historical data set, clusters agricultural irrigation wells based on the feature vector of electricity-to-water conversion, delineates irrigation zoning areas based on the clustering results, and determines a typical monitoring site and irrigation land from the irrigation zoning areas. It should be noted that the feature vector of electricity-to-water conversion is a vector that reflects the relationship between irrigation equipment parameters, electricity consumption data and irrigation water flow, and characterizes the characteristics of electricity-to-water conversion. The meaning of the clustering result is to group agricultural irrigation wells with similar characteristics of electricity-to-water conversion together, and finally divide the irrigation area and determine the monitoring site based on the feature vector of electricity-to-water conversion combined with the position of the agricultural irrigation wells. Among them, the historical data set includes irrigation equipment parameters, irrigation electricity consumption data, irrigation area and irrigation time, that is, the historical data set is a statistical collection of irrigation data of a certain agricultural irrigation well in a certain period of time. Irrigation equipment parameters may include: water pump rated power, head, flow, rated voltage, rated current and structural form; electricity consumption data may include: voltage, total active power and total reactive power; and because the irrigation water flow cannot be directly obtained before the monitoring site is established, the embodiment of the present invention uses the ratio of irrigation area to irrigation time as the irrigation flow index to characterize the irrigation water flow.
[0033] To achieve the above purpose, the embodiment of the present invention first constructs a first equation that characterizes the relationship between irrigation equipment parameters and irrigation electricity data and irrigation flow index:
[0034] In the formula, is the irrigation flow index, For the The first coefficient, For the historical data set parameters, is the total number of parameter data in the historical data set, is the total number of exponentials, is the first constant.
[0035] Then, for each agricultural irrigation well, extract the data set corresponding to the agricultural irrigation well from the historical data set, substitute these data sets into the above first equation, and solve them simultaneously to obtain the solutions of multiple coefficients of the above first equation. We can know that the solutions of multiple coefficients of the above first equation are the key to reflecting the relationship between irrigation equipment parameters and irrigation electricity data and irrigation water flow. Therefore, the embodiment of the present invention arranges multiple solutions in the above first equation in a predetermined order to construct a characteristic vector of electricity-to-water conversion, that is, each agricultural irrigation well corresponds to a vector of electricity-to-water conversion, and the electricity-to-water conversion vector represents the characteristics of electricity-to-water conversion.
[0036] By clustering multiple electricity-to-water vectors, the electricity-to-water vectors in each cluster obtained have high consistency, and the corresponding agricultural irrigation wells also have similar electricity-to-water characteristics.
[0037] The clustering method can be DBSCAN or kmeans clustering algorithm.
[0038] In step 103, the irrigation zone is determined according to the location of the agricultural irrigation well corresponding to the electricity-to-water feature vector whose proportion exceeds the proportion threshold in each clustering result.
[0039] In some embodiments, each clustering result corresponds to an agricultural irrigation well class, each agricultural irrigation well class includes a plurality of electricity-to-water feature vectors, and the electricity-to-water feature vectors characterize the characteristics of the agricultural irrigation wells in terms of electricity-to-water. The method of determining the irrigation zoning area according to the positions of the agricultural irrigation wells corresponding to the electricity-to-water feature vectors whose proportion in each clustering result exceeds a proportion threshold comprises: For each agricultural irrigation well type, perform the following steps: Determine multiple agricultural irrigation well locations according to multiple agricultural irrigation wells corresponding to the characteristic vectors of electricity-converted water, wherein each agricultural irrigation well location corresponds to a characteristic vector of electricity-converted water; For each agricultural irrigation well location, find the closest location from the multiple agricultural irrigation well locations as a first target location, and use the distance to the first target location as a reference distance, thereby obtaining multiple reference distances; Randomly select a location from the multiple agricultural irrigation well locations as a second target location and add it to the location set; Searching for a position from the plurality of agricultural irrigation well positions whose distance from the second target position is less than a search distance, wherein the search distance is determined in proportion to an average of the plurality of reference distances; If there is a position whose distance from the second target position is less than the search distance, the position whose distance from the second target position is less than the search distance is taken as the second target position and added to the position set, and the process jumps to the step of searching for a position whose distance from the second target position is less than the search distance from the multiple agricultural irrigation well positions; Otherwise, the ratio of the number of agricultural irrigation well positions that are not added to the position set to the total number of the plurality of agricultural irrigation well positions is used as the first ratio; If the first ratio is less than the proportion threshold, the irrigation area is delineated according to the location of the agricultural irrigation wells in the location concentration.
[0040] For example, the wells corresponding to the electricity-to-water vector in the class obtained by the above steps are closely distributed in geographical location, in other words, they are concentrated in a continuous area. In fact, since the first equation model is a simple model that expresses the relationship between electricity and water, the location of the wells obtained may not be compact enough, and some of the wells may even be far away from other wells. We should verify the clustering results through geographical location and delineate the irrigation zoning area based on the verification.
[0041] Based on the above analysis, the embodiment of the present invention determines a distance parameter according to the distance from each well to the nearest well, for example, taking 1.5 to 2 times the average value of the distance to the nearest well, and then, Figure 2 As shown, a well location 201 is randomly selected from these well locations 201 as the collection location target (the black filled circle in the figure), and the well location 201 whose distance from the collection location target is less than the distance parameter is found. When found, the found well location 201 is added to the well location set, and the found well location is used as the trajectory location target again. Repeat the above operation. After repetition, we find that some well locations 201 may not be added to the well location set. If the proportion of this part is small, at this time, the irrigation demarcation area is delineated based on the location of the well location set. Otherwise, the clustering method of the above steps needs to be readjusted.
[0042] In this way, the implementation method of the present invention completes the demarcation of irrigation areas based on the electricity-to-water characteristics and geographical location, which is convenient for determining the water intake situation with the monitoring site as a reference, or building a small model based on the situation of the monitoring site to determine the irrigation water volume of the surrounding agricultural irrigation wells.
[0043] In step 104, based on the electricity-to-water conversion characteristics of the agricultural irrigation wells in the stratified area, the electricity-to-water conversion monitoring sites for the agricultural irrigation wells are determined.
[0044] In some embodiments, each agricultural irrigation well in the slicing area corresponds to a characteristic vector of electricity-to-water conversion, and the characteristic vector of electricity-to-water conversion characterizes the characteristics of the agricultural irrigation well in electricity-to-water conversion. The method of determining the monitoring station of electricity-to-water conversion of the agricultural irrigation well according to the characteristics of electricity-to-water conversion of the agricultural irrigation well in the slicing area includes: Extracting the electricity-to-water characteristic vectors of the plurality of agricultural irrigation wells in the slicing area as a plurality of first vectors; Extracting a mean vector of the plurality of first vectors; Calculate the Euclidean distance and the cosine distance of each first vector to the mean vector respectively, and obtain a plurality of Euclidean distances and a plurality of cosine distances; Determine a plurality of comprehensive distance indexes according to the plurality of Euclidean distances and the plurality of cosine distances, wherein the comprehensive distance index characterizes the typicality of converting electricity into water in the agricultural irrigation well; An agricultural irrigation well is selected from a plurality of agricultural irrigation wells as an electricity-to-water monitoring site according to the plurality of comprehensive distance indexes.
[0045] In some implementations, determining a plurality of comprehensive distance indexes according to the plurality of Euclidean distances and the plurality of cosine distances comprises: According to the third formula, the multiple Euclidean distances and the multiple cosine distances, multiple comprehensive distance indexes are determined, wherein each comprehensive distance index corresponds to an agricultural irrigation well, and the third formula is:
[0046] In the formula, For the The comprehensive distance index of agricultural irrigation wells, For the The Euclidean distance between the irrigation wells, is the maximum Euclidean distance, For the The cosine distance of an agricultural irrigation well, is the second coefficient, is the third coefficient.
[0047] Exemplarily, in terms of determining electricity-to-water conversion monitoring sites for agricultural irrigation wells based on the electricity-to-water conversion characteristics of the agricultural irrigation wells in the sliced area, an embodiment of the present invention extracts the electricity-to-water conversion vectors of the agricultural irrigation wells in the sliced area, and performs averaging calculations based on these vectors to obtain a mean vector.
[0048] Then calculate the Euclidean distance and cosine distance from the mean vector to each electricity-reduced water vector. The Euclidean distance represents the distance between vectors in space, while the cosine distance represents the similarity of vectors in the spatial direction. In fact, both play an important role in determining typical sites. The implementation method of the present invention adopts the third formula to assign a comprehensive distance index to each agricultural irrigation well:
[0049] In the formula, For the The comprehensive distance index of agricultural irrigation wells, For the The Euclidean distance between the irrigation wells, is the maximum Euclidean distance, For the The cosine distance of an agricultural irrigation well, is the second coefficient, is the third coefficient.
[0050] It should be noted that the smaller this index is, the more suitable it is as a typical site. That is to say, the comprehensive distance index obtained by the third formula is applied, and the agricultural irrigation well corresponding to the smallest comprehensive distance index is selected as the agricultural irrigation well electricity-to-water monitoring site.
[0051] The present invention provides an implementation method for locating monitoring sites for electricity-to-water conversion for agricultural irrigation wells. The method first obtains multiple irrigation history data sets, wherein the irrigation history data sets represent data on agricultural irrigation well parameters, electricity consumption, and irrigation characteristics; then, multiple electricity-to-water conversion feature vectors are constructed based on the multiple irrigation history data sets, and the multiple electricity-to-water conversion feature vectors are clustered to obtain multiple clustering results, wherein each electricity-to-water conversion feature vector corresponds to an agricultural irrigation well, and the electricity-to-water conversion feature vector represents the characteristics of electricity-to-water conversion for agricultural irrigation wells; then, the irrigation zoning area is determined based on the location of the agricultural irrigation wells corresponding to the electricity-to-water conversion feature vectors whose proportion exceeds the proportion threshold in each clustering result; finally, the agricultural irrigation wells electricity-to-water conversion monitoring sites are determined based on the electricity-to-water conversion characteristics of the agricultural irrigation wells in the zoning area. The implementation method of the present invention analyzes the basic characteristics of electricity-to-water conversion for agricultural irrigation wells based on the irrigation history data sets and clusters the agricultural irrigation wells based on the basic characteristics, so that the agricultural irrigation wells clustered into one category have similar electricity-to-water conversion characteristics. The implementation mode of the present invention divides the irrigation area into sections based on agricultural irrigation wells with similar electricity-to-water characteristics, and selects typical agricultural irrigation wells as monitoring sites based on the regional division. The selected sites are typical, and the site settings should be in line with the characteristics of local water and electricity consumption, ensuring the accuracy of electricity-to-water monitoring calculation while reducing the construction of unnecessary sites.
[0052] It should be understood that the size of the serial numbers of the steps in the above implementation does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the implementation method of the present invention.
[0053] The following is an implementation of the device of the present invention. For details not described in detail, reference may be made to the corresponding method implementation described above.
[0054] Figure 3 This is a functional block diagram of a device for monitoring a location of an agricultural irrigation well using electricity to convert water into electricity, provided in accordance with an embodiment of the present invention. Figure 3 The device for monitoring site positioning of agricultural irrigation wells with electricity-to-water conversion includes: a historical data acquisition module, a feature extraction and clustering module, an irrigation area division module and a monitoring site positioning module, wherein: The historical data acquisition module 301 is used to acquire a plurality of irrigation history data sets, wherein the irrigation history data sets represent data on agricultural irrigation well parameters, electricity consumption, and irrigation characteristics; The feature extraction and clustering module 302 is used to construct a plurality of electricity-to-water feature vectors according to the plurality of irrigation history data sets, cluster the plurality of electricity-to-water feature vectors, and obtain a plurality of clustering results, wherein each electricity-to-water feature vector corresponds to an agricultural irrigation well, and the electricity-to-water feature vector characterizes the characteristics of the agricultural irrigation well in terms of electricity-to-water. The irrigation area division module 303 is used to determine the irrigation division area according to the location of the agricultural irrigation well corresponding to the electricity-to-water feature vector in each clustering result that exceeds the threshold value; The monitoring site positioning module 304 is used to determine the monitoring sites of the agricultural irrigation wells based on the electricity-to-water conversion characteristics of the agricultural irrigation wells in the segmented area.
[0055] Figure 4 is a functional block diagram of an electronic device provided by an embodiment of the present invention. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 400 and a memory 401, wherein the memory 401 stores a computer program 402 that can be run on the processor 400. When the processor 400 executes the computer program 402, the steps in the above-mentioned method for locating each agricultural irrigation well by using electricity to deduct water from the monitoring station and the implementation method are implemented, for example Figure 1 Steps 101 to 104 are shown.
[0056] Exemplarily, the computer program 402 may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 401 and executed by the processor 400 to implement the present invention.
[0057] The electronic device 4 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device 4 may include, but is not limited to, a processor 400 and a memory 401. Those skilled in the art will appreciate that Figure 4 It is only an example of the electronic device 4 and does not constitute a limitation of the electronic device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 4 may also include input and output devices, network access devices, buses, etc.
[0058] The processor 400 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0059] The memory 401 may be an internal storage unit of the electronic device 4, such as a hard disk or memory of the electronic device 4. The memory 401 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. Further, the memory 401 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 401 is used to store the computer program 402 and other programs and data required by the electronic device 4. The memory 401 may also be used to temporarily store data that has been output or is to be output.
[0060] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the implementation method can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method implementation method, which will not be repeated here.
[0061] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0062] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0063] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0064] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0065] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0066] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned implementation method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various methods and device implementation methods can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium.
[0067] The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for locating monitoring stations of agricultural irrigation wells by using electricity to convert water into electricity, characterized in that: include: Acquire multiple irrigation history data sets, wherein the irrigation history data sets represent data on agricultural irrigation well parameters, electricity consumption, and irrigation characteristics; Constructing a plurality of electricity-to-water feature vectors according to the plurality of irrigation history data sets, clustering the plurality of electricity-to-water feature vectors to obtain a plurality of clustering results, wherein each electricity-to-water feature vector corresponds to an agricultural irrigation well, and the electricity-to-water feature vector characterizes the characteristics of the electricity-to-water feature vector of the agricultural irrigation well; The irrigation area is determined according to the location of the agricultural irrigation well corresponding to the electricity-to-water feature vector that exceeds the threshold in each clustering result; Based on the electricity-to-water characteristics of the agricultural irrigation wells in the zoning area, the electricity-to-water monitoring sites for the agricultural irrigation wells are determined.
2. The method for locating monitoring stations of agricultural irrigation wells by using electricity to convert water into electricity according to claim 1 is characterized in that: The irrigation history data set includes: irrigation equipment parameters, irrigation electricity data, irrigation area and irrigation duration. The multiple electricity-to-water feature vectors are constructed based on the multiple irrigation history data sets, and the multiple electricity-to-water feature vectors are clustered to obtain multiple clustering results, including: According to the correspondence with the agricultural irrigation wells, the plurality of irrigation history data sets are grouped into a plurality of well data groups, wherein each agricultural irrigation well corresponds to one well data group; For each irrigation history data set, the quotient of the irrigation area and the irrigation duration is calculated, and the obtained result is used as the irrigation flow index of the irrigation history data set; Constructing the first equation that represents the relationship between irrigation equipment parameters and irrigation electricity data and irrigation flow index; According to the plurality of well data groups and the first equation, a plurality of equation groups are constructed, and according to the plurality of equation groups, a plurality of characteristic equations of electricity-to-water conversion are constructed, wherein each characteristic equation of electricity-to-water conversion corresponds to an agricultural irrigation well; Constructing multiple coefficients of each electricity-to-water characteristic equation into electricity-to-water characteristic vectors, thereby obtaining multiple electricity-to-water characteristic vectors; The multiple electricity-to-water feature vectors are clustered to obtain multiple clustering results.
3. The method for locating monitoring stations of agricultural irrigation wells by using electricity to convert water into electricity according to claim 2 is characterized in that: The step of constructing a plurality of equation groups according to the plurality of pumped well data groups and the first equation, and constructing a plurality of electricity-to-water characteristic equations according to the plurality of equation groups, comprises: For each well data group, perform the following steps: Substituting the irrigation equipment parameters, irrigation electricity data and irrigation flow index of each irrigation history data set into the first equation, thereby obtaining a plurality of intermediate equations, wherein each intermediate equation corresponds to one irrigation history data set; The plurality of intermediate equations are combined to obtain an equation system; Obtaining a plurality of coefficient solutions of the first equation according to the set of equations; Substituting the multiple coefficient solutions into the first equation, a characteristic equation of electricity-to-water conversion is obtained.
4. The method for locating monitoring stations of agricultural irrigation wells by using electricity to convert water into electricity according to claim 2, characterized in that: The first equation is: In the formula, is the irrigation flow index, For the The first coefficient, For the historical data set parameters, is the total number of parameter data in the historical data set, is the total number of exponentials, is the first constant.
5. The method for locating monitoring stations of agricultural irrigation wells by using electricity to convert water into electricity according to claim 1, characterized in that: Each clustering result corresponds to an agricultural irrigation well class, and each agricultural irrigation well class includes multiple electricity-to-water feature vectors, and the electricity-to-water feature vectors characterize the characteristics of the agricultural irrigation wells in terms of electricity-to-water. The method determines the irrigation zoning area according to the positions of the agricultural irrigation wells corresponding to the electricity-to-water feature vectors whose proportion in each clustering result exceeds a proportion threshold, including: For each agricultural irrigation well type, perform the following steps: Determine multiple agricultural irrigation well locations according to multiple agricultural irrigation wells corresponding to the characteristic vectors of electricity-converted water, wherein each agricultural irrigation well location corresponds to a characteristic vector of electricity-converted water; For each agricultural irrigation well location, find the closest location from the multiple agricultural irrigation well locations as a first target location, and use the distance to the first target location as a reference distance, thereby obtaining multiple reference distances; Randomly select a location from the multiple agricultural irrigation well locations as a second target location and add it to the location set; Searching for a position from the plurality of agricultural irrigation well positions whose distance from the second target position is less than a search distance, wherein the search distance is determined in proportion to an average of the plurality of reference distances; If there is a position whose distance from the second target position is less than the search distance, the position whose distance from the second target position is less than the search distance is taken as the second target position and added to the position set, and the process jumps to the step of searching for a position whose distance from the second target position is less than the search distance from the multiple agricultural irrigation well positions; Otherwise, the ratio of the number of agricultural irrigation well positions that are not added to the position set to the total number of the plurality of agricultural irrigation well positions is used as the first ratio; If the first ratio is less than the proportion threshold, the irrigation area is delineated according to the location of the agricultural irrigation wells in the location concentration.
6. The method for locating monitoring stations of agricultural irrigation wells by using electricity to convert water into electricity according to any one of claims 1 to 5, characterized in that: Each agricultural irrigation well in the slicing area corresponds to a characteristic vector of electricity-to-water conversion, and the characteristic vector of electricity-to-water conversion characterizes the characteristics of the agricultural irrigation wells in electricity-to-water conversion. The method of determining the monitoring station of electricity-to-water conversion of agricultural irrigation wells according to the characteristics of electricity-to-water conversion of agricultural irrigation wells in the slicing area includes: Extracting the electricity-to-water characteristic vectors of the plurality of agricultural irrigation wells in the slicing area as a plurality of first vectors; Extracting a mean vector of the plurality of first vectors; Calculate the Euclidean distance and the cosine distance of each first vector to the mean vector respectively, and obtain a plurality of Euclidean distances and a plurality of cosine distances; Determine a plurality of comprehensive distance indexes according to the plurality of Euclidean distances and the plurality of cosine distances, wherein the comprehensive distance index characterizes the typicality of converting electricity into water in the agricultural irrigation well; An agricultural irrigation well is selected from a plurality of agricultural irrigation wells as an electricity-to-water monitoring site according to the plurality of comprehensive distance indexes.
7. The method for locating monitoring stations of agricultural irrigation wells by using electricity to convert water into electricity according to claim 6 is characterized in that: Determining a plurality of comprehensive distance indexes according to the plurality of Euclidean distances and the plurality of cosine distances comprises: According to the third formula, the multiple Euclidean distances and the multiple cosine distances, multiple comprehensive distance indexes are determined, wherein each comprehensive distance index corresponds to an agricultural irrigation well, and the third formula is: In the formula, For the The comprehensive distance index of agricultural irrigation wells, For the The Euclidean distance between the irrigation wells, is the maximum Euclidean distance, For the The cosine distance of an agricultural irrigation well, is the second coefficient, is the third coefficient.
8. A device for locating monitoring stations for agricultural irrigation wells by using electricity to convert water into electricity, characterized in that: Used to implement the method for locating a monitoring station for agricultural irrigation wells by using electricity to convert water as described in any one of claims 1 to 7, the agricultural irrigation well monitoring station locating device by using electricity to convert water comprises: A historical data acquisition module is used to acquire multiple irrigation history data sets, wherein the irrigation history data sets represent data on agricultural irrigation well parameters, electricity consumption, and irrigation characteristics; A feature extraction and clustering module, for constructing a plurality of electricity-to-water feature vectors according to the plurality of irrigation history data sets, clustering the plurality of electricity-to-water feature vectors, and obtaining a plurality of clustering results, wherein each electricity-to-water feature vector corresponds to an agricultural irrigation well, and the electricity-to-water feature vector characterizes the characteristics of the electricity-to-water feature of the agricultural irrigation well; The irrigation area division module is used to determine the irrigation division area according to the location of the agricultural irrigation well corresponding to the electricity-to-water feature vector in each clustering result that exceeds the threshold; as well as, The monitoring site positioning module is used to determine the electricity-to-water conversion monitoring sites of the agricultural irrigation wells according to the electricity-to-water conversion characteristics of the agricultural irrigation wells in the zoning area.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method as claimed in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Agricultural underground water exploitation quantity measuring method based on dynamic measurement and calculation of electricity-water conversion coefficient
CN113432666A
Electricity-to-water coefficient determination method and device, electronic equipment and storage medium
CN118094263A
Pumped storage station recommendation method, device and equipment based on clustering algorithm
CN118820721A
Agricultural irrigation model construction method and device, equipment and storage medium
CN119046803A