Method, system and equipment for determining installation position of environmental measurement instrument and medium
Through density-based clustering algorithm combined with the installation capacity and installation difficulty of photovoltaic power stations, the optimal installation location of environmental monitors is automatically determined, which solves the complexity and cost of the selection of environmental monitor installation locations in distributed photovoltaic power stations, and improves the Operation and maintenance monitoring level and resource allocation efficiency.
Patent Information
- Application Number
- CN202411109869.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-12-10
AI Technical Summary
The complex selection of installation locations for environmental monitors in distributed photovoltaic power plants has led to increased installation difficulty and cost, and it is difficult for the existing technology to effectively recommend the best installation location.
Density-based clustering algorithm (DBSCAN) is adopted, combining the installed capacity and installation difficulty of photovoltaic power stations, and the best installation location for environmental monitors is automatically determined. By sorting the number and distance of photovoltaic power stations in the cluster category, the most suitable installation location is recommended. .
It improves the operation and maintenance monitoring level of distributed photovoltaic power stations, maximizes the reuse of measured data, reduces installation and maintenance costs, and realizes efficient recommendation and flexible layout of environmental monitors.
Smart Images

Figure CN119104008A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of distributed photovoltaic power station operation and maintenance technology, and in particular to a method, system, device and medium for determining the installation position of an environmental measuring instrument. Background Art
[0002] Due to the dispersed geographical location of distributed photovoltaic power stations, the natural environmental conditions of each power station are significantly different. This difference directly affects the power generation efficiency and operation and maintenance management of photovoltaic power stations. In order to fully and accurately grasp the operating status of each power station, it is necessary to install environmental monitoring instruments to monitor key environmental parameters in real time, such as irradiance, ambient temperature, photovoltaic module backplane temperature and humidity. These environmental parameters provide important decision-making basis for operation and maintenance personnel, which helps to optimize the operation strategy of photovoltaic power stations and improve power generation efficiency.
[0003] However, the installation environment of photovoltaic modules in distributed photovoltaic power stations is complex and diverse, and may be located on building roofs, urban green spaces, carports or parking lots. This complexity brings many challenges to the installation of environmental monitors, including the selection of installation locations, the arrangement of power supply methods, and the stability of data transmission. In addition, from a cost perspective, it is unrealistic to install environmental monitors for every distributed photovoltaic power station, which will greatly increase operation and maintenance costs.
[0004] Therefore, how to find the most suitable installation location for environmental monitoring instruments in complex scenarios has become an urgent problem to be solved. Summary of the invention
[0005] Based on the above problems, the present application provides a method, system, device and medium for determining the installation position of an environmental monitoring instrument, which are used to determine the installation position of an environmental monitoring instrument.
[0006] To solve the above problems, the technical solutions provided in the embodiments of the present application are as follows:
[0007] The first aspect of the present application provides a method for determining an installation position of an environmental measuring instrument, comprising:
[0008] Obtain a list of first sites where the environmental tester has been installed, and a list of second sites where the environmental tester has not been installed;
[0009] For the coordinates in the first station list and the second station list, calculate the distance between the two coordinate points, and add the stations whose distance is greater than a first threshold to the set of stations to be clustered;
[0010] Clustering the set of stations to be clustered to obtain multiple cluster categories;
[0011] Each cluster category is traversed, and when the number of photovoltaic power stations in the cluster category is greater than or equal to a second threshold, the installation location of the environmental detector is determined based on the installed capacity of the photovoltaic power station and / or the difficulty of installation.
[0012] In a possible implementation, when the number of photovoltaic power stations in the cluster category is greater than or equal to a second threshold, determining the installation location of the environmental detector based on the installed capacity of the photovoltaic power station and / or the difficulty of installation includes:
[0013] When the number of photovoltaic power stations in the cluster category is greater than or equal to the second threshold, the sum of distances from each photovoltaic power station to all other power stations in the category to which the photovoltaic power station belongs is calculated, and the sum of distances in the same category are sorted from small to large to obtain a sorted list of photovoltaic power stations;
[0014] The sorted list of photovoltaic power stations is traversed, and when there is a photovoltaic power station in the sorted list of photovoltaic power stations with an installed capacity greater than the third threshold and an installation difficulty not greater than the fourth threshold, the photovoltaic power station is recommended as a photovoltaic power station for installing an environmental tester.
[0015] In a possible implementation, the method further includes:
[0016] When there is no photovoltaic power station in the sorted photovoltaic power station list whose installed capacity is greater than the third threshold and whose installation difficulty is not greater than the fourth threshold, the first photovoltaic power station in the sorted photovoltaic power station list is recommended as the photovoltaic power station for installing the environmental tester.
[0017] In a possible implementation, the method further includes:
[0018] If the number of PV power plants in the cluster category is less than the second threshold, it is not recommended to install the ring tester.
[0019] In a possible implementation, obtaining a first list of sites where an environmental detector has been installed and a second list of sites where an environmental detector has not been installed includes:
[0020] Acquire station information, where the station information is used to characterize station location information, whether an environmental detector is installed, and environmental detector installation information;
[0021] According to the site information, a first site list where the environmental tester has been installed and a second site list where the environmental tester has not been installed are determined.
[0022] In a possible implementation manner, clustering the set of sites to be clustered to obtain multiple cluster categories includes:
[0023] The set of stations to be clustered is clustered based on a clustering algorithm to obtain multiple clustering categories, the parameter eps of the clustering algorithm is set to the fifth threshold to ensure that the maximum distance between photovoltaic power stations in the same clustering category does not exceed the fifth threshold, and the parameter min_samples of the clustering algorithm is set to the sixth threshold to limit each photovoltaic power station to at least the sixth threshold number of neighbors to form a cluster.
[0024] In a possible implementation manner, clustering the set of sites to be clustered to obtain multiple cluster categories includes:
[0025] Selecting an unvisited photovoltaic power station in the set of stations to be clustered as a target power station, and when the number of photovoltaic power stations in the neighborhood of the target power station is not less than a sixth threshold, establishing a corresponding cluster with the target power station as a starting point;
[0026] Adding photovoltaic power plants in the neighborhood of the target power plant to a cluster, querying the neighborhood of the photovoltaic power plants added to the cluster, and repeatedly performing the query of the neighborhood of the photovoltaic power plants added to the cluster until the cluster is no longer expanded;
[0027] The step of selecting unvisited photovoltaic power stations in the set of stations to be clustered as target power stations is repeatedly performed until all photovoltaic power stations in the set of stations to be clustered are visited.
[0028] A second aspect of the present application provides a system for determining an installation position of an environmental measuring instrument, comprising:
[0029] A first acquisition unit is used to acquire a first station list where the environmental tester has been installed, and a second station list where the environmental tester has not been installed;
[0030] a calculation unit, configured to calculate the distance between two coordinate points in the first station list and the second station list, and add stations with a distance greater than a first threshold to the set of stations to be clustered;
[0031] A clustering unit, used for clustering the set of stations to be clustered to obtain a plurality of clustering categories;
[0032] The first determination unit is used to traverse each cluster category, and when the number of photovoltaic power stations in the cluster category is greater than a second threshold, determine the installation location of the environmental detector based on the installed capacity of the photovoltaic power station and / or the difficulty of installation.
[0033] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for determining the installation position of the environmental measuring instrument described in the first aspect is implemented.
[0034] The fourth aspect of the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the method for determining the installation position of the environmental measuring instrument as described in the first aspect above.
[0035] The method for determining the installation location of the environmental monitor provided in the present application recommends the optimal installation location of the environmental monitor based on the location distribution of the distributed power stations, combined with the installed capacity of the power stations, installation conditions, installation difficulty and location distribution. Thus, it fills the gap in the distributed photovoltaic scenario where the optimal installation location of the environmental monitor cannot be recommended, maximizes the reuse of the measured data of the environmental monitor, and improves the operation and maintenance monitoring level of distributed photovoltaics. In addition, by using a density-based clustering algorithm, there is no need to pre-specify the number of clusters, and the optimal installation location of the environmental monitor can be automatically provided. It has high flexibility and can achieve efficient recommendations for the installation location of the environmental monitor. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 A flowchart of a method for determining an installation position of an environmental detector provided in an embodiment of the present application;
[0038] Figure 2 A schematic diagram of a process for determining the installation position of an environmental detector provided in an embodiment of the present application;
[0039] Figure 3 A structural diagram of a system for determining the installation position of an environmental detector provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0041] To facilitate understanding of the technical solutions provided by the embodiments of the present application, the professional terms involved in the embodiments of the present application will be explained below.
[0042] DBSCAN (Density-Based Spatial Clustering of Applications with Noise) is a highly flexible clustering algorithm that is particularly suitable for processing data sets with complex shapes and effectively filtering out noise points. The core idea of the algorithm is to cluster based on the density of samples without pre-specifying the number of clusters, which enables it to automatically discover cluster structures in the data.
[0043] Two key parameters in the DBSCAN algorithm play a vital role in the clustering results:
[0044] eps: This is a distance threshold used to define the "neighborhood" relationship between two sample points. Specifically, if the distance between two sample points is less than or equal to eps, they are considered to be neighbors of each other. The choice of eps directly affects the granularity and tightness of clustering. Smaller eps values will result in more smaller clusters and more noise points, while larger eps values may merge multiple independent clusters into a large cluster, or include some points far from the center into the cluster.
[0045] min_samples: This parameter defines the minimum number of sample points (including the core point itself) required to form a dense region (i.e., cluster). In other words, for a point to become a core point, its ε-neighborhood must contain at least min_samples sample points. The choice of min_samples depends on the density of the data and the expected cluster size. Smaller min_samples values will make it easier for the algorithm to find small clusters and outliers, while larger values will cause the algorithm to ignore some smaller clusters and only focus on larger, dense clusters.
[0046] To facilitate understanding of the technical solutions provided by the embodiments of the present application, the background technology involved in the embodiments of the present application will be described below.
[0047] As mentioned above, distributed photovoltaic power stations are widely distributed geographically, and the natural conditions faced by each site are very different. This difference significantly affects the power generation efficiency and the complexity of operation and maintenance. In order to accurately grasp the real-time status of each site, it is particularly important to install environmental monitoring instruments to continuously monitor key indicators such as irradiance, ambient temperature, photovoltaic backplane temperature and humidity. These parameters are not only a key reference for operation and maintenance decisions, but also help optimize the power station operation strategy, thereby improving power generation efficiency.
[0048] However, the installation environment of photovoltaic modules is diverse, and may be spread across rooftops, green spaces, carports and even parking lots. This complexity poses multiple challenges to the deployment of environmental monitoring instruments, including location selection, power supply planning and data transmission stability. At the same time, from the perspective of economic benefits, it is not economically feasible to fully lay environmental monitoring instruments in every power station, which will significantly increase maintenance costs. At this stage, the domestic attention to the operation and maintenance of distributed photovoltaics is still not high enough. At the same time, due to procurement costs, there are few algorithms for recommending the installation location of environmental monitoring instruments.
[0049] In view of this, how to accurately locate the best installation position for environmental monitoring instruments in complex scenarios has become an important issue that needs to be tackled urgently.
[0050] In order to solve this problem, a method for determining the installation location of an environmental monitor is provided in an embodiment of the present application. Based on the location distribution of distributed power stations, combined with the installed capacity of the power stations, installation conditions, installation difficulty and location distribution, the optimal installation location of the environmental monitor is recommended. Thus, the problem of being unable to recommend the optimal installation location of the environmental monitor in distributed photovoltaic scenarios is filled, the measured data of the environmental monitor is reused to the maximum extent, and the operation and maintenance monitoring level of distributed photovoltaics is improved. In addition, by using a density-based clustering algorithm, there is no need to pre-specify the number of clusters, and the optimal installation location of the environmental monitor can be automatically provided. It has high flexibility and can achieve efficient recommendations for the installation location of the environmental monitor.
[0051] It should be noted that the installation position determination method, system, device and medium of the ring measuring instrument provided in the present application can be applied to the field of computer technology. The above is only an example, and the application field of the installation position determination method, system, device and medium of the ring measuring instrument provided in the present application is not limited. In addition, the embodiment of the present application may not limit the execution subject of the installation position determination of the ring measuring instrument. For example, the installation position determination method of the ring measuring instrument of the embodiment of the present application can be applied to data processing equipment such as terminal devices or servers. Among them, the terminal device can be an electronic device such as a computer, a personal digital assistant (PDA), a tablet computer, etc. The server can be a stand-alone server, a cloud server, or a cluster server composed of multiple servers.
[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0053] The following describes a method for determining the installation position of an environmental detector provided by the present application through an embodiment. Figure 1 ,Should Figure 1 A flowchart of a method for determining an installation position of an environmental detector provided in an embodiment of the present application, the method comprising:
[0054] S101, obtaining a first list of sites where an environmental tester has been installed, and a second list of sites where an environmental tester has not been installed.
[0055] In a possible implementation, obtaining a first list of sites where an environmental detector has been installed and a second list of sites where an environmental detector has not been installed includes:
[0056] Step A1: Acquire site information, wherein the site information is used to characterize site location information, whether an environmental detector is installed, and installation information of the environmental detector.
[0057] The information of all sites, namely the site information, is obtained from the data system of the distributed photovoltaic power station, including whether the environmental detector has been installed at each site, the geographical location (latitude and longitude), the installed capacity (kW) and the installation difficulty (high, medium and low). The parameters are shown in Table 1, which is a schematic table of site information.
[0058] Table 1. Basic information of the station
[0059]
[0060] Step A2: According to the station information, determine a first list of stations where an environmental tester has been installed and a second list of stations where an environmental tester has not been installed.
[0061] According to whether each station in the station information has installed an environmental detector, the stations are divided into two lists: a first station list L1 for stations that have installed an environmental detector and a second station list L2 for stations that have not installed an environmental detector.
[0062] S102: For the coordinates in the first station list and the second station list, calculate the distance between two coordinate points, and add stations with distances greater than a first threshold to a set of stations to be clustered.
[0063] The first station list includes stations with installed environmental detectors and their coordinates. The second station list includes stations without installed environmental detectors and their coordinates. A first threshold is defined according to actual needs to determine whether the distance between two stations is far enough so that their environmental parameter data cannot be effectively reused.
[0064] Traverse each station in the second station list, and for each station, traverse each station in the first station list to calculate the geographical distance between them. Since the coordinates of the station are expressed in longitude and latitude, a method suitable for calculating the distance between two points on the earth should be used, such as the Great-circle distance algorithm.
[0065] Exemplarily, the first threshold is set to 30km, and a cyclic judgment is performed on the list of sites L2 without the ring detector installed and all the coordinates L1 in the list of sites with the ring detector installed. Since the earth is an approximate sphere, the great-circle distance is used to calculate the physical distance between the two coordinate points. This application can calculate the physical distance dist between two coordinates through the great_circle function in the geopy library. If dist ≥ 30km, the site is added to the site set M to be clustered and the symmetric distance matrix D generated by the set is stored. ij , where the element in the i-th row and j-th column represents the distance between the i-th and j-th PV plants.
[0066] S103: Clustering the set of sites to be clustered to obtain multiple cluster categories.
[0067] Exemplarily, the clustering site set M can be clustered using the DBSCAN clustering algorithm in the scikit-learn library.
[0068] In a possible implementation, the parameter eps of the clustering algorithm is set to the fifth threshold to ensure that the maximum distance between photovoltaic power stations in the same clustering category does not exceed the fifth threshold, and the parameter min_samples of the clustering algorithm is set to the sixth threshold, and the sixth threshold is used to limit each photovoltaic power station to at least the sixth threshold number of neighbors to form a cluster.
[0069] eps (epsilon, ε): The maximum distance between two samples to be considered neighbors. This value can be selected based on actual conditions to ensure that the distance between stations in the same cluster category is close enough so that their environmental parameters can be reused.
[0070] min_samples: defines the minimum number of samples for a cluster. That is, the minimum number of stations that must be included in a cluster. This value also needs to be adjusted according to actual conditions to ensure the rationality of the clustering results.
[0071] In a possible implementation manner, clustering the set of sites to be clustered to obtain multiple cluster categories includes:
[0072] Step B1: selecting an unvisited photovoltaic power station in the set of stations to be clustered as a target power station, and when the number of photovoltaic power stations in the neighborhood of the target power station is not less than a sixth threshold, establishing a corresponding cluster with the target power station as a starting point.
[0073] First, select an unvisited point: select a point from the unvisited sites as the starting point, that is, a PV plant p.
[0074] Check the neighborhood: If the number of sites in the ε-neighborhood of the point (i.e. the set of points whose distance to the point is less than or equal to eps) is greater than or equal to min_samples, create a new cluster and add the point to it.
[0075] Step B2: adding the photovoltaic power plants in the neighborhood of the target power plant to the cluster, and querying the neighborhood of the photovoltaic power plants added to the cluster, and repeatedly performing the query of the neighborhood of the photovoltaic power plants added to the cluster until the cluster is no longer expanded.
[0076] Recursively add points: For each point in the cluster, check all points in its ε-neighborhood (including border points and other core points). If they are also unvisited and meet the conditions for joining the cluster (that is, their ε-neighborhood contains at least min_samples-1 other points in the cluster), then add them to the cluster. Continue to check the neighborhoods of these newly added core points, and repeat until the cluster no longer expands.
[0077] Mark the points that have been visited as processed to avoid repeated visits.
[0078] Step B3: repeatedly selecting the unvisited photovoltaic power stations in the set of stations to be clustered as target power stations until all the photovoltaic power stations in the set of stations to be clustered are visited.
[0079] Repeat the above steps until all points in the set of sites to be clustered have been visited. After DBSCAN clustering is completed, multiple cluster categories can be obtained, each of which contains a group of sites that are geographically close and whose environmental parameters can be reused.
[0080] S104, traversing each cluster category, when the number of photovoltaic power stations in the cluster category is greater than or equal to a second threshold, determining the installation location of the environmental detector based on the installed capacity of the photovoltaic power station and / or the difficulty of installation.
[0081] The second threshold is a preset numerical standard, which is used for comparison with the number of photovoltaic power stations in the cluster category. Based on the number of photovoltaic power stations in the cluster category, a clear judgment standard is provided for whether to recommend the installation of an environmental tester.
[0082] In a possible implementation, the method further includes:
[0083] If the number of PV power plants in the cluster category is less than the second threshold, it is not recommended to install the ring tester.
[0084] For example, the second threshold can be set to 5. Traverse each cluster category, if the PV power plant data in the category is less than 5, it is not recommended to install the ring tester. The cost of installing and maintaining the ring tester is higher than the value of the data obtained from a small number of power plants. Therefore, to ensure cost-effectiveness, if the number of PV power plants in the cluster category is less than the second threshold, it is not recommended to install the ring tester.
[0085] In a possible implementation, when the number of photovoltaic power stations in the cluster category is greater than or equal to a second threshold, determining the installation location of the environmental detector based on the installed capacity of the photovoltaic power station and / or the difficulty of installation includes:
[0086] Step C1: when the number of photovoltaic power stations in the cluster category is greater than or equal to a second threshold, the sum of distances from each photovoltaic power station to all other power stations in the category to which the power station belongs is calculated, and the sum of distances in the same category are sorted from small to large to obtain a sorted photovoltaic power station list.
[0087] When the number of photovoltaic power stations in the cluster category is greater than the second threshold, it means that the current cluster category meets the conditions for installing an environmental detector, and the subsequent calculation process for the distance and is performed.
[0088] Calculate the distance and d of each PV power station to all other power stations in the same category as the power station ki ,d ki represents the sum of the distances from the ith PV plant to the other PV plants in the same category k. ki The PV power stations are sorted from small to large, and the corresponding list after sorting is called D. For example, D can be expressed as [SZPV0002, SZPV0010, SZPV0100, …, SZPV0006].
[0089] It should be noted that when calculating the distance and, the GIS technology can be used to obtain accurate geographical location information, and the corresponding algorithm can be used to calculate the distance. If non-geographic factors (such as transportation, policies, etc.) are considered, these factors need to be incorporated into the calculation model of the distance and.
[0090] Step C2, traversing the sorted list of photovoltaic power stations, when there is a photovoltaic power station in the sorted list of photovoltaic power stations with an installed capacity greater than the third threshold and an installation difficulty not greater than the fourth threshold, the photovoltaic power station is recommended as a photovoltaic power station for installing an environmental tester.
[0091] Traverse each PV power station in the sorted PV power station list. If a PV power station that meets the conditions is found, mark it as a recommended location for installing an environmental tester and end the traversal.
[0092] The third threshold is used to measure the minimum installed capacity of the photovoltaic power station for the recommended installation of the environment tester. The fourth threshold is used to measure the difficulty of installing the environment tester. The fourth threshold can be a specific value obtained by scoring the installation difficulty, such as 80 points for installation difficulty; or it can be a difficulty level divided according to the installation difficulty, such as high difficulty, medium difficulty and low difficulty. These two conditions jointly determine whether the power station is suitable as the installation location of the environment tester.
[0093] It should be noted that the third and fourth thresholds should be set or adaptively adjusted according to actual conditions and specific needs. In actual application scenarios, they can also be determined based on historical data, expert opinions or cost-benefit analysis.
[0094] Exemplarily, the third threshold is set to 1000kW, the fourth threshold is set to medium installation difficulty, and the result set D is judged cyclically. If the installed capacity of the photovoltaic power station is greater than 1000kW and the installation difficulty is low or medium, the photovoltaic power station is taken as a photovoltaic power station recommended for installing an environmental tester, and the photovoltaic power station is marked. The evaluation of installation difficulty can be based on multiple factors, such as terrain conditions, existing infrastructure, local policy environment, etc. These factors can be quantified into specific difficulty levels by scoring or rating.
[0095] In a possible implementation, the method further includes:
[0096] When there is no photovoltaic power station in the sorted photovoltaic power station list whose installed capacity is greater than the third threshold and whose installation difficulty is not greater than the fourth threshold, the first photovoltaic power station in the sorted photovoltaic power station list is recommended as the photovoltaic power station for installing the environmental tester.
[0097] If no PV power station that meets the conditions is found after traversing the entire sorted PV power station list, the first PV power station in the sorted PV power station list (i.e., the station with the smallest distance and the smallest distance) is selected as the recommended location for installing the environmental tester according to the alternative plan.
[0098] After determining the recommended location for installing the environmental meter, you can also select the appropriate model and configuration of the environmental meter according to actual needs to ensure that the environmental parameters around the photovoltaic power station can be accurately monitored.
[0099] In actual application scenarios, a recommended table of installation locations for the environment meter can be generated based on the recommended photovoltaic power stations for installing the environment meter obtained above, which includes each site ID, the longitude and latitude corresponding to the site, whether the environment meter has been installed, and the installed capacity and installation difficulty of the current site. Finally, whether the installation of the environment meter is recommended. For specific contents, please refer to Table 2, which is a recommended table of installation locations for the environment meter.
[0100] Table 2. Recommended installation positions for environmental testers
[0101]
[0102] Below, through Figure 2 The above process is described in general. Figure 2 A flowchart of another method for determining the installation position of an environmental detector provided in an embodiment of the present application includes:
[0103] S201. Obtain station information.
[0104] S202: Determine whether to install an environmental tester.
[0105] Determine which sites have installed the environmental detector, so as to exclude these sites or perform special treatment in the subsequent steps. When the judgment result is yes, execute S203 and subsequent steps in sequence. When the judgment result is no, execute step S204 and subsequent steps.
[0106] S203: Determine whether there is an environmental detector within the first threshold.
[0107] This step aims to further screen the sites and ensure that the environmental detectors are reasonably distributed in a specific area (such as a geographical area, a power grid area, etc.) to avoid over-concentration or omission. Define the first threshold and check whether the sites within the threshold have installed environmental detectors.
[0108] S204, adding to the list to be clustered.
[0109] S205: Set clustering algorithm parameters.
[0110] Configure appropriate parameters for the clustering algorithm to ensure that the clustering results can accurately reflect the similarities or differences between stations. According to the type and characteristics of station information, select a suitable clustering algorithm (such as K-means, hierarchical clustering, etc.) and set corresponding parameters, such as the number of clusters, distance measurement method, etc.
[0111] S206: Cluster the list to be clustered.
[0112] The clustering algorithm is used to divide the stations in the list to be clustered into several groups. The stations in each group are similar to some extent. The clustering algorithm is executed to group the stations according to the set parameters. The clustering result is a group of groups containing station IDs or related information.
[0113] S207: Determine the installation location of the environmental detector based on the clustering result.
[0114] According to the clustering results, the most suitable site is selected for each group as the installation location of the environmental detector.
[0115] In each cluster group, one or more stations are selected as recommended locations for installing the environmental detector according to certain criteria (such as station installed capacity, geographical location centrality, installation difficulty, etc.). These criteria can be adaptively adjusted and set according to actual conditions.
[0116] In summary, the method provided by the present application has the following beneficial effects when determining the installation location of the ring meter in the photovoltaic power station by comprehensively considering multiple factors such as the number of photovoltaic power stations, installed capacity, installation difficulty, and relative position between power stations:
[0117] 1. Optimize resource allocation: By setting the second threshold to screen eligible cluster categories, ensure that the environmental detector is installed in areas with a large number of photovoltaic power stations, thereby avoiding wasting resources on a small number or isolated photovoltaic power stations. This targeted installation method helps to optimize resource allocation and improve the efficiency of capital use.
[0118] 2. In the selected cluster category, the installation location of the environmental detector is further determined according to the installed capacity and installation difficulty of the photovoltaic power station. Selecting photovoltaic power stations with large installed capacity and low installation difficulty as installation points can ensure that the environmental detector can cover more power generation capacity while reducing installation and maintenance costs. In addition, since these power stations usually have high economic value and importance, the monitoring of their environmental parameters is also more critical.
[0119] 3. By calculating the distance and distance from each photovoltaic power station to all other power stations in the same category and selecting the power station with the smallest distance and distance as the installation point, it can ensure that the environmental parameters monitored by the environmental detector are more representative. This layout method helps to reduce monitoring blind areas and improve the accuracy and reliability of data.
[0120] 4. When it is impossible to find a photovoltaic power station that meets all the conditions, this solution also provides an alternative solution, that is, the first photovoltaic power station in the sorted photovoltaic power station list is used as the recommended location for installing the environmental tester. This flexible processing method can ensure that environmental parameters can still be effectively monitored under special circumstances.
[0121] 5. Through the scientific and reasonable layout of environmental measuring instruments, the operation status and environmental impact of photovoltaic power stations can be more comprehensively understood, providing strong support for the sustainable development of the photovoltaic industry. At the same time, accurate environmental parameter monitoring can also help to timely discover and solve potential environmental problems and further protect the ecological environment.
[0122] The above are some specific implementations of the method for determining the installation position of the environment measuring instrument provided in the embodiment of the present application. Based on this, the present application also provides a corresponding system for determining the installation position of the environment measuring instrument. The system provided in the embodiment of the present application will be introduced from the perspective of functional modularization. Figure 3 A structural diagram of an installation position determination system for an environmental detector provided in an embodiment of the present application.
[0123] The system comprises:
[0124] The first acquisition unit 110 is used to acquire a first station list where the environmental tester has been installed, and a second station list where the environmental tester has not been installed;
[0125] A calculation unit 111 is used to calculate the distance between two coordinate points in the first station list and the second station list, and add stations with a distance greater than a first threshold to the set of stations to be clustered;
[0126] A clustering unit 112, configured to cluster the set of stations to be clustered to obtain a plurality of clustering categories;
[0127] The first determination unit 113 is used to traverse each cluster category, and when the number of photovoltaic power stations in the cluster category is greater than or equal to a second threshold, determine the installation location of the environmental detector based on the installed capacity of the photovoltaic power station and / or the difficulty of installation.
[0128] In a possible implementation manner, the first determining unit is specifically configured to:
[0129] When the number of photovoltaic power stations in the cluster category is greater than or equal to the second threshold, the sum of distances from each photovoltaic power station to all other power stations in the category to which the photovoltaic power station belongs is calculated, and the sum of distances in the same category are sorted from small to large to obtain a sorted list of photovoltaic power stations;
[0130] The sorted list of photovoltaic power stations is traversed, and when there is a photovoltaic power station in the sorted list of photovoltaic power stations with an installed capacity greater than the third threshold and an installation difficulty not greater than the fourth threshold, the photovoltaic power station is recommended as a photovoltaic power station for installing an environmental tester.
[0131] In a possible implementation, the system further includes:
[0132] The second determination unit is used to take the first photovoltaic power station in the sorted photovoltaic power station list as the photovoltaic power station recommended for installing the environmental tester when there is no photovoltaic power station in the sorted photovoltaic power station list whose installed capacity is greater than the third threshold and whose installation difficulty is not greater than the fourth threshold.
[0133] In a possible implementation, the method further includes:
[0134] The third determining unit is configured to not recommend installing the environmental detector if the number of photovoltaic power stations in the cluster category is less than a second threshold.
[0135] In a possible implementation manner, the first acquiring unit is specifically configured to:
[0136] Acquire station information, where the station information is used to characterize station location information, whether an environmental detector is installed, and environmental detector installation information;
[0137] According to the site information, a first site list where the environmental tester has been installed and a second site list where the environmental tester has not been installed are determined.
[0138] In a possible implementation manner, the clustering unit is specifically used to:
[0139] The set of stations to be clustered is clustered based on a clustering algorithm to obtain multiple clustering categories, the parameter eps of the clustering algorithm is set to the fifth threshold to ensure that the maximum distance between photovoltaic power stations in the same clustering category does not exceed the fifth threshold, and the parameter min_samples of the clustering algorithm is set to the sixth threshold to limit each photovoltaic power station to at least the sixth threshold number of neighbors to form a cluster.
[0140] In a possible implementation manner, the clustering unit is specifically used to:
[0141] Selecting an unvisited photovoltaic power station in the set of stations to be clustered as a target power station, and when the number of photovoltaic power stations in the neighborhood of the target power station is not less than a sixth threshold, establishing a corresponding cluster with the target power station as a starting point;
[0142] Adding photovoltaic power plants in the neighborhood of the target power plant to a cluster, querying the neighborhood of the photovoltaic power plants added to the cluster, and repeatedly performing the query of the neighborhood of the photovoltaic power plants added to the cluster until the cluster is no longer expanded;
[0143] The step of selecting unvisited photovoltaic power stations in the set of stations to be clustered as target power stations is repeatedly performed until all photovoltaic power stations in the set of stations to be clustered are visited.
[0144] The embodiment of the present application also provides corresponding equipment and computer storage media for implementing the method for determining the installation position of the environmental measuring instrument provided in the embodiment of the present application.
[0145] The device includes a memory and a processor, the memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the device executes the method for determining the installation position of the environmental measuring instrument described in any embodiment of the present application.
[0146] The computer storage medium stores codes, and when the codes are executed, the device executing the codes implements the method for determining the installation position of the environmental measuring instrument described in any embodiment of the present application.
[0147] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system or device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0148] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0149] It should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0150] It should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0151] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0152] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0153] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for determining the installation position of an environmental measuring instrument, characterized in that: include: Obtain a list of first sites where the environmental tester has been installed, and a list of second sites where the environmental tester has not been installed; For the coordinates in the first station list and the second station list, calculate the distance between the two coordinate points, and add the stations whose distance is greater than a first threshold to the set of stations to be clustered; Clustering the set of stations to be clustered to obtain multiple cluster categories; Each cluster category is traversed, and when the number of photovoltaic power stations in the cluster category is greater than or equal to a second threshold, the installation location of the environmental detector is determined based on the installed capacity of the photovoltaic power station and / or the difficulty of installation.
2. The method according to claim 1, characterized in that When the number of photovoltaic power stations in the cluster category is greater than or equal to a second threshold, determining the installation location of the environmental detector based on the installed capacity of the photovoltaic power station and / or the difficulty of installation, includes: When the number of photovoltaic power stations in the cluster category is greater than or equal to the second threshold, the sum of distances from each photovoltaic power station to all other power stations in the category to which the photovoltaic power station belongs is calculated, and the sum of distances in the same category are sorted from small to large to obtain a sorted list of photovoltaic power stations; The sorted list of photovoltaic power stations is traversed, and when there is a photovoltaic power station in the sorted list of photovoltaic power stations with an installed capacity greater than the third threshold and an installation difficulty not greater than the fourth threshold, the photovoltaic power station is recommended as a photovoltaic power station for installing an environmental tester.
3. The method according to claim 2, characterized in that The method further comprises: When there is no photovoltaic power station in the sorted photovoltaic power station list whose installed capacity is greater than the third threshold and whose installation difficulty is not greater than the fourth threshold, the first photovoltaic power station in the sorted photovoltaic power station list is recommended as the photovoltaic power station for installing the environmental tester.
4. The method according to claim 1, characterized in that: The method further comprises: If the number of PV power plants in the cluster category is less than the second threshold, it is not recommended to install the ring tester.
5. The method according to claim 1, characterized in that The obtaining of the first list of sites where the environmental tester has been installed and the second list of sites where the environmental tester has not been installed comprises: Acquire station information, where the station information is used to characterize station location information, whether an environmental detector is installed, and environmental detector installation information; According to the site information, a first site list where the environmental tester has been installed and a second site list where the environmental tester has not been installed are determined.
6. The method according to claim 1, characterized in that The clustering of the set of stations to be clustered to obtain a plurality of cluster categories includes: The set of stations to be clustered is clustered based on a clustering algorithm to obtain multiple clustering categories, the parameter eps of the clustering algorithm is set to the fifth threshold to ensure that the maximum distance between photovoltaic power stations in the same clustering category does not exceed the fifth threshold, and the parameter min_samples of the clustering algorithm is set to the sixth threshold to limit each photovoltaic power station to at least the sixth threshold number of neighbors to form a cluster.
7. The method according to claim 6, characterized in that The clustering of the set of stations to be clustered to obtain a plurality of cluster categories includes: Selecting an unvisited photovoltaic power station in the set of stations to be clustered as a target power station, and when the number of photovoltaic power stations in the neighborhood of the target power station is not less than a sixth threshold, establishing a corresponding cluster with the target power station as a starting point; Adding photovoltaic power plants in the neighborhood of the target power plant to a cluster, querying the neighborhood of the photovoltaic power plants added to the cluster, and repeatedly performing the query of the neighborhood of the photovoltaic power plants added to the cluster until the cluster is no longer expanded; The step of selecting unvisited photovoltaic power stations in the set of stations to be clustered as target power stations is repeatedly performed until all photovoltaic power stations in the set of stations to be clustered are visited.
8. A system for determining the installation position of an environmental measuring instrument, characterized in that: The system comprises: A first acquisition unit is used to acquire a first station list where the environmental tester has been installed, and a second station list where the environmental tester has not been installed; a calculation unit, configured to calculate the distance between two coordinate points in the first station list and the second station list, and add stations with a distance greater than a first threshold to the set of stations to be clustered; A clustering unit, used for clustering the set of stations to be clustered to obtain a plurality of clustering categories; The first determination unit is used to traverse each cluster category, and when the number of photovoltaic power stations in the cluster category is greater than a second threshold, determine the installation location of the environmental detector based on the installed capacity of the photovoltaic power station and / or the difficulty of installation.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for determining the installation position of the environmental measuring instrument as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the method for determining the installation position of an environmental measuring instrument according to any one of claims 1 to 7.
