Matching scheme determination method and device, storage medium and electronic equipment
By obtaining parameter information of photovoltaic modules and inverters, using dynamic programming algorithms and loss value calculations, we automatically determine the matching solution between inverters and strings, solving the problem of low matching efficiency between inverters and strings in photovoltaic power station design, and achieving efficient, economical and reliable system configuration.
Patent Information
- Application Number
- CN202510448954.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2025-07-11
AI Technical Summary
In the prior art, the matching method of photovoltaic modules and inverters is relatively low, which leads to the cumbersome and time-consuming design process of photovoltaic power stations, increasing project costs.
By obtaining the parameter information of candidate strings and inverters, using dynamic programming algorithms and loss value calculations, we automatically determine the matching scheme between the inverter and the strings, optimize the matching process, and reduce manual intervention and subjectivity.
It realizes efficient, economical and reliable system configuration of photovoltaic modules and inverters matching methods, reduces the time and cost of the matching process, and improves design speed and accuracy.
Smart Images

Figure CN120300928A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optoelectronics, and in particular, to a method and apparatus for determining a matching scheme, a storage medium, and an electronic device. Background Art
[0002] In the design and construction process of a photovoltaic power station, the matching between an inverter and a photovoltaic string is a key technical link, which directly affects the power generation efficiency and economy of the power station. Traditional photovoltaic power station design relies on the experience and intuition of engineers. Especially in the matching between an inverter and a photovoltaic string, this dependence is particularly significant. The matching process usually includes determining the number of strings, the number of photovoltaic modules in each string, and their connection methods to the inverter.
[0003] In related technologies, engineers mainly rely on personal experience during design. This experience is often based on successful cases in past projects or common practices in the industry. However, the process of manually matching an inverter with a string is cumbersome and time-consuming. For a 100MW photovoltaic power station project, engineers may need to spend 5 - 7 working days to complete the configuration of the inverter and the string. This process involves a large amount of data calculation and scheme comparison, and needs to be repeated many times when adjusting the scheme, seriously restricting the design speed and increasing the project cost.
[0004] In view of the problem of low efficiency in the matching method of photovoltaic modules and inverters in the prior art, no effective solution has been proposed yet.
[0005] Therefore, it is necessary to improve related technologies to overcome the above-mentioned defects in related technologies. Summary of the Invention
[0006] Embodiments of the present application provide a method and apparatus for determining a matching scheme, a storage medium, and an electronic device, so as to at least solve the problem of low efficiency in the matching method of photovoltaic modules and inverters in the prior art.
[0007] According to an embodiment of the present application, a method for determining a matching scheme is provided, including: obtaining first parameter information of each string in a candidate string set and second parameter information of each inverter in a candidate inverter set, where the first parameter information includes: string identification information, real-time capacity, and a first position, and the second parameter information includes: rated capacity, voltage range, and a second position; determining a plurality of matching schemes according to the first parameter information and the second parameter information, where the matching scheme is used to indicate the matching scheme between the inverter and the string; determining a loss value of each matching scheme, and determining a target matching scheme based on the loss value of each matching scheme.
[0008] In an exemplary embodiment, in the process of determining a plurality of matching schemes according to the first parameter information and the second parameter information, the method further includes: a first determination step: determining the Nth inverter with the Nth largest rated capacity in the candidate inverter set, and determining the spatial proximity between the Nth inverter and each string in the Nth candidate string set according to the second position of the Nth inverter and the first position of each string in the Nth candidate string set, where the Nth candidate string set is a subset of the candidate string set, or the Nth candidate string set is the same as the candidate string set, N is a positive integer, and N takes values of 1, 2, 3... in sequence; sorting each string in the Nth candidate string set according to the spatial proximity between the Nth inverter and each string to obtain an Nth sorting result, where the Nth sorting result is sorted in descending order of the spatial proximity between the Nth inverter and each string; determining a plurality of first strings in sequence in the Nth sorting result according to the dynamic programming algorithm to obtain a first matching scheme corresponding to the Nth inverter, and determining the matching degree between the Nth inverter and the plurality of first strings, where the first matching scheme is used to indicate the matching scheme between the Nth inverter and the plurality of first strings; a second determination step: determining the first matching scheme according to the matching degree between the Nth inverter and the plurality of first strings and the first determination step, where the plurality of matching schemes include the first matching scheme.
[0009] In an exemplary embodiment, determining the first matching scheme according to the matching degree between the Nth inverter and the plurality of first strings and the first determination step includes: in the case where the matching degree is greater than or equal to a preset threshold, updating the Nth candidate string set to obtain an (N + 1)th candidate string set, and circularly executing the first determination step until it is determined that each string in the candidate string set has a corresponding inverter, where the (N + 1)th candidate string set does not include the plurality of first strings; in the case where the matching degree is less than the preset threshold, circularly executing the first determination step until it is determined that each string in the candidate string set has a corresponding first inverter; determining the first matching scheme according to each string in the candidate string set and the first inverter corresponding to each string in the candidate string set.
[0010] In an exemplary embodiment, after determining the matching scheme according to each string in the candidate string set and the first inverter corresponding to each string in the candidate string set, the method further includes: updating the candidate string set, wherein the updated candidate string set does not include the first inverter; performing a target determination step to determine a second matching scheme according to each string in the candidate string set and the second inverter corresponding to each string in the candidate string set, wherein the target determination step includes: the first determination step and the second determination step, the second inverter is the inverter in the updated candidate string set, and the second matching scheme is included in the multiple matching schemes.
[0011] In an exemplary embodiment, determining the matching degree between the Nth inverter and the multiple first strings includes: determining the capacity matching degree between the Nth inverter and the multiple first strings according to the total real-time capacity of the multiple first strings and the rated capacity of the Nth inverter, and determining the spatial matching degree between the Nth inverter and the multiple first strings according to the second position of the Nth inverter and the first positions respectively corresponding to the multiple first strings, and determining the electrical compatibility degree between the Nth inverter and the multiple first strings according to the operating voltage of the multiple first strings and the voltage range of the Nth inverter; determining the matching degree according to the capacity matching degree, spatial matching degree and electrical compatibility degree between the Nth inverter and the multiple first strings.
[0012] In an exemplary embodiment, determining the loss value of each matching scheme includes: determining the power loss value of each matching scheme according to the total rated capacity of the inverters in each matching scheme and the total real-time capacity of the candidate string set, and determining the line loss value of each matching scheme according to the resistance and current of the lines in each matching scheme; determining the loss value according to the power loss value and the line loss value.
[0013] In an exemplary embodiment, determining the target matching scheme based on the loss value of each matching scheme includes: determining the third matching scheme with the smallest loss value according to the loss value of each matching scheme; determining the magnitude relationship between the loss value of the third matching scheme and a preset loss value; in the case where the magnitude relationship indicates that the loss value is greater than or equal to the preset loss value, optimizing the third matching scheme based on a target method to determine the target matching scheme, wherein the target method includes at least one of the following: gradient descent method and Pareto front screening method; in the case where the magnitude relationship indicates that the loss value is less than the preset loss value, determining the third matching scheme as the target matching scheme.
[0014] According to another embodiment of the present application, a device for determining a matching scheme is provided, including: an acquisition module, configured to acquire first parameter information of each string in a candidate string set and second parameter information of each inverter in a candidate inverter set, where the first parameter information includes: string identification information, real-time capacity, and a first position, and the second parameter information includes: rated capacity, voltage range, and a second position; a first determination module, configured to determine a plurality of matching schemes according to the first parameter information and the second parameter information, where the matching scheme is used to indicate a matching scheme between the inverter and the string; a second determination module, configured to determine a loss value of each matching scheme and determine a target matching scheme based on the loss value of each matching scheme.
[0015] According to yet another embodiment of the present application, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the steps in any one of the above method embodiments when running.
[0016] According to yet another embodiment of the present application, an electronic device is further provided, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0017] According to yet another embodiment of the present application, a computer program product is further provided, including a computer program, and the computer program implements the steps in any one of the above method embodiments when executed by a processor.
[0018] Through the present application, first parameter information of each string in a candidate string set and second parameter information of each inverter in a candidate inverter set are acquired, where the first parameter information includes: string identification information, real-time capacity, and a first position, and the second parameter information includes: rated capacity, voltage range, and a second position; a plurality of matching schemes are determined according to the first parameter information and the second parameter information, where the matching scheme is used to indicate a matching scheme between the inverter and the string; a loss value of each matching scheme is determined, and a target matching scheme is determined based on the loss value of each matching scheme. In the embodiment of the present application, through automated parameter collection, multi-scheme matching generation, and optimal scheme selection based on loss values, the optimization and upgrade of the matching method between photovoltaic modules and inverters are realized. This series of steps reduces the need for manual intervention, reduces subjectivity and uncertainty in the matching process, and at the same time calculates the matching loss through an algorithm to ensure an efficient, economical, and reliable system configuration. Therefore, the problem of low efficiency in the matching method between photovoltaic modules and inverters can be solved. Description of the Drawings
[0019] The accompanying drawings here are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with this application, and are used together with the specification to explain the principles of this application.
[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0021] Figure 1 is a hardware structure block diagram of a computer device for a method of determining a matching scheme according to an embodiment of this application;
[0022] Figure 2 is a flowchart of a method for determining a matching scheme according to an embodiment of this application;
[0023] Figure 3 is a structure block diagram of a device for determining a matching scheme according to an embodiment of this application. Detailed implementation manners
[0024] The embodiments of this application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0025] It should be noted that the terms "first", "second", etc. in the specification, claims and the above accompanying drawings of this application are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence.
[0026] The method embodiments provided in the embodiments of this application can be executed in a computer device or a similar computing device. Taking running on a computer device as an example, Figure 1 is a hardware structure block diagram of a computer device for a method of determining a matching scheme according to an embodiment of this application. As Figure 1 shown, the computer device may include one or more ( Figure 1 only one is shown in Figure 1 a processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Among them, the above computer device may also include a transmission device 106 for communication functions and an input / output device 108. Those of ordinary skill in the art can understand that Figure 1 the structure shown is only schematic and does not limit the structure of the above computer device. For example, the computer device may also include more or fewer components than Figure 1 shown, or have a different configuration from
[0027] The memory 104 can be used to store computer programs, such as software programs and modules of application software, such as the computer program corresponding to the method for determining the matching scheme in the embodiments of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implements the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some instances, the memory 104 may further include a memory remotely disposed relative to the processor 102, and these remote memories may be connected to the computer device through a network. Examples of the above networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0028] The transmission device 106 is used to receive or send data via a network. Specific examples of the above network may include a wireless network provided by a communication provider of the computer device. In one instance, the transmission device 106 includes a network adapter (Network Interface Controller, abbreviated as NIC), which can be connected to other network devices through a base station and thus can communicate with the Internet. In one instance, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0029] In this embodiment, a method for determining a matching scheme is provided. Figure 2 is a flowchart of the method for determining the matching scheme according to the embodiments of the present application, as Figure 2 shown, and the process includes the following steps:
[0030] Step S202, obtain the first parameter information of each string in the candidate string set and the second parameter information of each inverter in the candidate inverter set, where the first parameter information includes: string identification information, real-time capacity, first position, and the second parameter information includes: rated capacity, voltage range, second position;
[0031] It should be noted that the first parameter information further includes: temperature coefficient, azimuth angle, pitch angle, and the second parameter information further includes: inverter model, efficiency curve.
[0032] Among them, the first parameter information includes:
[0033] 1. String identification information, which is used to implement the digital identity management of the string, establish a binding relationship with GIS coordinates and electrical performance parameters. Support topological tracking and quickly locate the physical position of the string during dynamic adjustment (such as the priority adjustment of the string in the shadow occlusion area).
[0034] 2. Real-time capacity (P str , kW), which is used to characterize the current power generation capacity of the string. An example of the calculation formula: P str = N module × [P STC × (1 - η degradation ) × η soiling , where N module is the number of PV modules included in the string, P STC is the nominal power under the standard test conditions of the module, η degradation is the module attenuation coefficient (0.35 - 0.7% per year on average), η soiling is the occlusion coefficient (evaluated according to the facts, such as taking 0.85 - 0.98). The real-time capacity (P str , kW) is used as the main input variable of the matching algorithm and directly determines the capacity adaptability between the string and the inverter.
[0035] 3. Temperature coefficient (β, % / °C): Quantify the sensitivity of the string power to temperature changes. The correction formula: P temp = P str × [1 + β × (T actual - 25°C)], where β is the power temperature coefficient of the PV module, generally between -0.3% and -0.4%. T actual is the actual working temperature of the battery, generally between 30 and 60°C. Realize the refined modeling of temperature compensation to avoid the false matching of overestimated capacity caused by temperature rise in high-temperature areas.
[0036] 4. Azimuth (Azimuth, °) and tilt angle (Tilt, °).
[0037] Azimuth: The angle between the string orientation and the due south direction (negative for east deviation and positive for west deviation);
[0038] Tilt angle: The inclination angle between the string plane and the horizontal plane;
[0039] Among them, the azimuth and tilt angle are used to calculate the power generation efficiency loss caused by the azimuth and tilt angle. It can identify the power generation efficiency loss caused by the orientation difference and avoid connecting low-efficiency strings to the same inverter.
[0040] 5. The first position, GIS coordinates (longitude X, latitude Y, elevation Z), construct a 3D digital twin model of the power station to achieve:
[0041] Spatial proximity calculation: Among them, (x i , y i ) is the first position, and (x j , y j ) is the second position.
[0042] Among them, the second parameter information:
[0043] 1. Inverter model (model code), as the index key of the device database, associates all technical parameters of this model and supports model compatibility verification (such as the matching of the maximum power point voltage of the string and the MPPT range of the inverter).
[0044] 2. Rated capacity (P inv , kW), which defines the maximum DC input power of the inverter and determines the upper limit of the string capacity ratio.
[0045] For example, the constraint condition: ∑P str ≤P inv ×1.1, where ∑P str is the total real-time capacity of the string and is the core sorting basis of the hierarchical matching algorithm (DHMS).
[0046] 3. MPPT voltage range (V_min - V_max, V), which is used to verify whether the output voltage of the string is within the maximum power tracking range of the inverter.
[0047] Dynamic adjustment formula: V mppt =N module ×V oc ×[1 + β V ×(T - 25°C)], where V mppt is the maximum power point tracking, V oc is the open-circuit voltage of the component, Β v is the voltage temperature coefficient (usually -0.3% / °C), and T is the temperature.
[0048] 4. Efficiency curve (η = f(load factor)), which is used to describe the characteristic of the inverter conversion efficiency changing with the load factor (the typical curve is an inverted U shape).
[0049] Optimization objective function: where P load =∑P str , which guides the string capacity allocation to make the inverter work in the high-efficiency range (usually the load factor is 60 - 80%), where P load is the real-time load and P inv is the rated capacity of the inverter.
[0050] Step S204, determine multiple matching schemes according to the first parameter information and the second parameter information, where the matching scheme is used to indicate the matching scheme between the inverter and the string;
[0051] Step S204 generates multiple possible matching solutions based on real-time string capacity, the voltage range of the inverter, location information, etc. Compared with a single matching solution, the multi-solution strategy can provide more flexible choices and is more likely to find a solution with higher efficiency and lower losses, thus reducing the time and cost of manual trial and error.
[0052] In step S206, determine the loss value of each matching solution, and determine the target matching solution based on the loss value of each matching solution.
[0053] Step S206 quantifies the comprehensive cost-effectiveness of each matching solution, including power loss and line loss, by calculating a specific loss function. The sorting and selection based on the loss value ensure that the final matching solution selects the optimal result among all possible solutions. This method does not require engineers to repeatedly try different configuration combinations, but automatically calculates the best match through an algorithm, greatly improving the matching efficiency and accuracy.
[0054] Through the above steps, obtain the first parameter information of each string in the candidate string set and the second parameter information of each inverter in the candidate inverter set, where the first parameter information includes: string identification information, real-time capacity, first location, and the second parameter information includes: rated capacity, voltage range, second location; determine multiple matching solutions according to the first parameter information and the second parameter information, where the matching solution is used to indicate the matching solution of the inverter and the string; determine the loss value of each matching solution, and determine the target matching solution based on the loss value of each matching solution. In the embodiment of the present application, through automated parameter collection, multi-solution matching generation, and optimal solution selection based on loss values, the optimization and upgrade of the matching method for photovoltaic modules and inverters are realized. This series of steps reduces the need for manual intervention, reduces subjectivity and uncertainty in the matching process, and at the same time calculates the matching loss through an algorithm to ensure an efficient, economical, and reliable system configuration. Therefore, the problem of low efficiency in the matching method for photovoltaic modules and inverters can be solved.
[0055] In an exemplary embodiment, in the process of determining multiple matching schemes according to the first parameter information and the second parameter information, the method further includes: a first determination step: determining the Nth inverter with the Nth largest rated capacity in the candidate inverter set, and determining the spatial proximity between the Nth inverter and each string according to the second position of the Nth inverter and the first position of each string in the Nth candidate string set, where the Nth candidate string set is a subset of the candidate string set, or the Nth candidate string set is the same as the candidate string set, N is a positive integer, and N takes values of 1, 2, 3... in sequence; sorting each string according to the spatial proximity between the Nth inverter and each string to obtain the Nth sorting result, where the Nth sorting result is sorted from largest to smallest according to the spatial proximity between the Nth inverter and each string; determining multiple first strings in sequence in the Nth sorting result according to the dynamic programming algorithm to obtain the first matching scheme corresponding to the Nth inverter, and determining the matching degree between the Nth inverter and the multiple first strings, where the first matching scheme is used to indicate the matching scheme between the Nth inverter and multiple first strings; a second determination step: determining the first matching scheme according to the matching degree between the Nth inverter and the multiple first strings and the first determination step, where the multiple matching schemes include the first matching scheme.
[0056] In the embodiment of the present application, a sorting strategy for the rated capacity of the inverter is adopted, that is, starting from selecting the inverter with the largest rated capacity in the candidate inverter set, and then the second largest, and so on. This method ensures that high-capacity inverters are given priority in the matching process in order to achieve a higher overall system efficiency.
[0057] By comparing the relative positions of the inverter and the string (i.e., the second position and the first position), the spatial proximity between the two is calculated. The purpose of this step is to minimize the DC line loss inside the system, because the connection line between adjacent strings and inverters is shorter, thus reducing the power transmission loss.
[0058] Sort the strings in descending order of spatial proximity to form the Nth sorting result. The purpose of doing this is to give priority to the strings that are spatially closest to the inverter in the subsequent matching process to further optimize the line loss and the overall layout.
[0059] The dynamic programming algorithm is used to select multiple first strings that are most suitable for matching the current inverter from the sorted string set to form the first matching scheme. The dynamic programming algorithm can handle complex matching decisions, ensure optimal string selection under the capacity limit of the current inverter, and take into account the spatial proximity between the inverter and the string, making the overall matching more reasonable.
[0060] For each generated first matching scheme, calculate the matching degree between the inverter and the corresponding string set. This value comprehensively reflects the matching conditions in multiple aspects such as capacity ratio, electrical compatibility, and spatial proximity.
[0061] Based on the multiple matching schemes generated in the first determination step, further evaluate the matching degree between the inverter and multiple first strings. By calculating the matching degree, the advantages and disadvantages of each matching scheme can be quantitatively evaluated, so as to select the best first matching scheme from multiple candidate schemes.
[0062] Through the above two determination steps, the matching process is automated, reducing the need for manual intervention and lowering the subjectivity and uncertainty in the matching process. Secondly, by preferentially selecting high-capacity inverters and adjacent strings and combining with the dynamic programming algorithm, a more efficient system configuration is achieved, while minimizing line losses and improving the utilization rate of the inverter. Finally, by calculating the matching degree to optimize the matching scheme, the stability and economic benefits of the entire system during long-term operation are ensured.
[0063] In an exemplary embodiment, determining the first matching scheme according to the matching degree between the Nth inverter and the multiple first strings and the first determination step includes: when the matching degree is greater than or equal to a preset threshold, updating the Nth candidate string set to obtain the (N + 1)th candidate string set, and circularly executing the first determination step until it is determined that each string in the candidate string set has a corresponding inverter, where the (N + 1)th candidate string set does not include the multiple first strings; when the matching degree is less than the preset threshold, circularly executing the first determination step until it is determined that each string in the candidate string set has a corresponding first inverter; determining the first matching scheme according to each string in the candidate string set and the first inverter corresponding to each string in the candidate string set.
[0064] In the embodiment of the present application, this technical solution calculates the "matching degree" between them based on a series of parameters of the inverter and the string, such as voltage, capacity, position information, etc. The matching degree is an index that quantifies whether the inverter and the string are suitable. It comprehensively considers multiple factors such as electrical performance and spatial proximity to ensure that the matching is not only technically feasible but also economically reasonable.
[0065] The preset threshold is a key parameter used to judge whether the matching between the inverter and the string reaches an acceptable level. If the matching degree is greater than or equal to the preset threshold, it means that the current combination of the inverter and the string largely meets the matching requirements.
[0066] When the matching degree meets the preset threshold, the system will remove the successfully matched string sets from the candidate string set to form a new candidate string set, that is, the (N + 1)-th candidate string set. This process ensures the iterative optimization of the algorithm. In each loop, the remaining unmatched string sets will be processed specifically until all string sets are reasonably matched.
[0067] If the matching degree between the inverter and the string set is lower than the preset threshold, the system will continue to loop and execute the matching process to find a suitable inverter. That is, the algorithm has the ability of self-checking and correction and can keep trying until the most suitable inverter for each string set is found.
[0068] After the above iterative process, the system will finally determine a "first matching scheme" according to the matching results between each string set and its corresponding inverter. This scheme not only ensures that all string sets are matched, but also each match is the best choice based on the matching degree evaluation and dynamic adjustment, thus improving the efficiency and economy of the entire photovoltaic power station system.
[0069] The process described in this embodiment will continue to loop until all string sets in the candidate string set find their corresponding inverters. This means that the system will ensure that every component of the entire power station is considered, improving the comprehensiveness and coverage of the matching.
[0070] In summary, by dynamically adjusting the string set, inverter set, and loop matching mechanism in the matching process, the efficiency problem of inverter-string matching in photovoltaic power station design is effectively solved. It can not only quickly find the string sets that match the inverters, but also ensure the accuracy and economy of the matching, thus improving the operation efficiency and economic benefits of the photovoltaic power station.
[0071] In an exemplary embodiment, after determining the matching scheme according to each string set in the candidate string set and the first inverter corresponding to each string set in the candidate string set, the method further includes: updating the candidate string set, where the updated candidate string set does not include the first inverter; performing a target determination step to determine a second matching scheme according to each string set in the candidate string set and the second inverter corresponding to each string set in the candidate string set, where the target determination step includes: the first determination step and the second determination step, the second inverter is the inverter in the updated candidate string set, and the second matching scheme is included in the multiple matching schemes.
[0072] Once a matching scheme (i.e., the first matching scheme) between a string and an inverter is determined, the system removes all the strings bound to that inverter from the candidate string set. This means that those strings that have found the best-matching inverter will no longer participate in the subsequent matching process, avoiding repeated matching and improving efficiency.
[0073] After determining the first matching scheme, the system updates the candidate string set. At the same time, it also updates the candidate inverter set, removing the first inverter that has been used from the candidate inverter set.
[0074] Then, the system re-executes the target determination step, which includes the first determination step and the second determination step. In this round of determination steps, the system attempts to find a second matching scheme based on the updated candidate string set and inverter set. Here, the second inverter refers to the inverter that has not been matched in the updated set.
[0075] It should be noted that this process can continue until all inverters are matched or a preset number of matching schemes are generated. Each iteration will generate a matching scheme, and the quality of the scheme will be evaluated through loss value calculation (described in the previous problem). This means that multiple matching schemes will ultimately be generated, each corresponding to a different inverter-string configuration.
[0076] Through this series of iterations, the system can not only quickly process the matching of a large number of strings and inverters, but also generate a series of alternative schemes. Subsequently, the system can perform multi-objective optimization analysis based on the loss value of each scheme, so as to screen out the most economical, technically reasonable, and reliable matching scheme overall.
[0077] In an exemplary embodiment, determining the matching degree between the Nth inverter and the multiple first strings includes: determining the capacity matching degree between the Nth inverter and the multiple first strings according to the total real-time capacity of the multiple first strings and the rated capacity of the Nth inverter, and determining the spatial matching degree between the Nth inverter and the multiple first strings according to the second position of the Nth inverter and the respective first positions of the multiple first strings, and determining the electrical compatibility degree between the Nth inverter and the multiple first strings according to the operating voltages of the multiple first strings and the voltage range of the Nth inverter; determining the matching degree according to the capacity matching degree, spatial matching degree, and electrical compatibility degree between the Nth inverter and the multiple first strings.
[0078] The capacity matching degree evaluates the matching degree between the rated power of the inverter and the total real-time capacity of the connected strings. The rated capacity of the inverter should be slightly higher than the total real-time capacity of the strings, but not too high, otherwise it will lead to a decrease in the capacity utilization rate of the inverter.
[0079] The capacity matching degree can be expressed as the ratio of the rated capacity of the inverter to the total real-time capacity of the string. Ideally, this ratio should be close to 1 (but considering the stable operation of the inverter, a reasonable over-allocation coefficient is usually set, such as 1.1). Therefore, the capacity matching degree C score is calculated as follows:
[0080] (over-allocation coefficient 1.1), where P inv is the rated capacity of the Nth inverter, and ∑P str is the total real-time capacity of multiple first strings.
[0081] Correct capacity matching can ensure that the inverter is not overloaded, while also avoiding waste of the inverter capacity, optimizing the use efficiency of the inverter and the overall economic benefits of the photovoltaic power station.
[0082] The spatial proximity aims to measure the physical distance between the inverter and the string. The proximity of the physical distance can reduce the length of the DC cable, thereby reducing the line loss and the cable cost.
[0083] The spatial proximity is usually evaluated by calculating the Euclidean distance between the inverter and each string, and then applying a certain weight function (such as the Gaussian kernel function). The closer the distance, the higher the proximity of the string is preferably connected to the inverter. Therefore, the formula for calculating the spatial proximity D between the Nth inverter and any first string is: where (x i1 , y i1 ) is the first position of the first string, and (x jN , y jN ) is the second position of the Nth inverter.
[0084] The calculation method of the spatial matching degree w is: D is the spatial proximity, and σ is 1 / 3 of the radius of the power station area corresponding to the inverter.
[0085] The spatial matching degree between the Nth inverter and the multiple first strings is the average value of the spatial matching degrees between the Nth inverter and each first string.
[0086] The electrical compatibility ensures that the operating voltage of the string is consistent with the MPPT voltage range of the inverter. This is a prerequisite for the inverter to correctly track and convert the DC power generated by the photovoltaic string into AC power.
[0087] If the operating voltage of the string is within the MPPT voltage range of the inverter, the electrical compatibility is high, such as 1; conversely, if the voltage is mismatched, the electrical compatibility is low, such as 0.
[0088] Good electrical compatibility can ensure that the inverter operates in an optimal state, improve system efficiency, and avoid the risks of energy loss and equipment damage caused by voltage mismatch.
[0089] The matching degree is a comprehensive reflection of the evaluation results of these three dimensions and can be determined by the method of weighted average. The setting of weights should be adjusted according to the actual situation (such as the economic goals, technical requirements, and maintenance convenience of the power station) to achieve the optimal goal. For example, economic indicators (such as cost) may be given a higher weight, while technical and reliability indicators may be more important in certain scenarios.
[0090] This multi-index matching evaluation method ensures the comprehensive optimization of the inverter and the string matching scheme, taking into account efficiency, economy, and system stability, thus providing a scientific basis and guidance for the design of photovoltaic power stations.
[0091] In an exemplary embodiment, determining the loss value of each matching scheme includes: determining the power loss value of each matching scheme according to the total rated capacity of the inverter in each matching scheme and the total real-time capacity of the candidate string set, and determining the line loss value of each matching scheme according to the resistance and current of the line in each matching scheme; determining the loss value according to the power loss value and the line loss value.
[0092] The determination of the power loss value is mainly based on the difference between the total rated capacity of the inverter in the matching scheme and the total real-time capacity of the candidate string set. In a photovoltaic power station, if the rated capacity of the inverter and the real-time capacity of the photovoltaic string cannot be properly matched, it will lead to a reduction in power conversion and transmission efficiency, resulting in additional power loss. For example, if the rated capacity of the inverter is much larger than the real-time capacity of the string, the inverter will operate at a low efficiency for a long time, causing power waste; on the contrary, if the rated capacity of the inverter is too small, it may lead to a decrease in the operating efficiency of the inverter or even damage due to overload. Therefore, by calculating the power loss value, it is possible to evaluate whether the matching scheme is reasonable and whether the inverter is operating in the high-efficiency range.
[0093] The line loss value is obtained by calculating the resistance of the line in the matching scheme and the current flowing through the line. In a photovoltaic system, during the power transmission process from the photovoltaic panel to the inverter, the resistance of the wire will cause a certain amount of energy loss, which is usually referred to as line loss. The line loss not only depends on the resistance value of the wire itself but also on the magnitude of the current passing through the wire. The larger the current, the higher the line loss. By calculating the line loss value, it is possible to evaluate the power transmission efficiency under different matching schemes and find the schemes with higher line losses caused by longer transmission distances or larger currents, thus avoiding unnecessary power consumption.
[0094] The overall loss value is determined by combining the power loss value and the line loss value, plus their respective weight factors. This process quantifies the two losses into a comprehensive index, facilitating the unified evaluation of various matching schemes. The selection of the weight factors (such as α and β) reflects the degree of emphasis on the two loss types and can be adjusted according to the actual situation. For example, in some cases, more attention may be paid to reducing power loss, while in other cases, more focus may be on reducing the cost increase brought by line loss.
[0095] Based on the loss values of each matching scheme, those schemes that can ensure the inverter operates in the high-efficiency range and control the line loss within a reasonable range can be screened out. Then, these schemes are sorted according to the magnitude of the loss values, and the scheme with the lowest loss value is selected as the final target matching scheme. The purpose of doing this is to ensure that the photovoltaic power station can achieve an optimal balance among economic benefits, power conversion efficiency, and system stability.
[0096] In an exemplary embodiment, determining the target matching scheme based on the loss value of each matching scheme includes: determining a third matching scheme with the smallest loss value according to the loss value of each matching scheme; determining the magnitude relationship between the loss value of the third matching scheme and a preset loss value; in the case where the magnitude relationship indicates that the loss value is greater than or equal to the preset loss value, optimizing the third matching scheme based on a target method to determine the target matching scheme, where the target method includes at least one of the following: gradient descent method and Pareto front screening method; in the case where the magnitude relationship indicates that the loss value is less than the preset loss value, determining the third matching scheme as the target matching scheme.
[0097] First, calculate the loss values of all possible matching schemes, which comprehensively consider factors such as power loss and line loss. Then, select the third matching scheme with the smallest loss value from all the schemes. This step ensures that in the initial selection, the system already tends to select the configuration scheme with the highest efficiency and the lowest cost.
[0098] Compare the loss value of the third matching scheme with the preset loss value. The preset loss value is a benchmark or desired optimal loss standard, which can be set based on historical data, industry standards, or specific project requirements. This comparison helps to determine whether the third matching scheme meets the preset performance or economic indicators.
[0099] If the loss value is greater than or equal to the preset loss value, it means that the current matching scheme has not reached the desired optimization level. At this time, the system will adopt an optimization strategy to further improve the scheme, including the gradient descent method and the Pareto front screening method.
[0100] The gradient descent method is to gradually reduce the loss value by fine-tuning the parameters in the matching scheme, such as the connection method between the inverter and the string, the model selection of the inverter, etc., until a local or global optimal solution is reached.
[0101] The Pareto front screening method is to find the solution set in the context of multi-objective optimization where no other solutions can simultaneously improve or at least not deteriorate in multiple objectives (such as cost, efficiency, reliability). In this way, the system can select the best-performing solution in all key indicators when the loss value is close to the preset standard.
[0102] If the loss value is less than the preset loss value, it indicates that the third matching scheme has already been better than the set standard and no further optimization is required. At this time, the third matching scheme is directly determined as the target matching scheme for the final configuration of the inverter and the photovoltaic string.
[0103] To better understand the process of the above method for determining the matching scheme, the following will further illustrate the implementation method flow of the determination of the above matching scheme in combination with optional embodiments, but it is not used to limit the technical solutions of the embodiments of the present application.
[0104] In this embodiment, a method for determining a matching scheme is provided, specifically as follows:
[0105] Step 1: Dynamic data modeling.
[0106] Specifically: Establish a string dynamic parameter matrix: [string ID, real-time capacity, temperature coefficient, azimuth angle, pitch angle, location];
[0107] Establish an inverter feature vector: [model, rated voltage, voltage range, number of MPPT paths, efficiency curve].
[0108] Step 2: Perform hierarchical matching.
[0109]
[0110] Exclude the selected inverters and repeat the above algorithm until 3 matching schemes are completed.
[0111] It should be noted that the specific implementation method of dynamic programming solution: Use an improved 0-1 knapsack algorithm to achieve the optimal combination selection of strings:
[0112] 1. State definition:
[0113] dp[i] represents the maximum string utilization rate when the capacity is i (i ≤ 1.1 × the rated capacity of the inverter).
[0114] 2. Transfer equation:
[0115]
[0116] Backtracking solution:
[0117] Trace back from max(dp) to select the set of string IDs. Prioritize retaining strings with a spatial proximity > 0.8. Trigger the compensation algorithm when the capacity deviation > 5%.
[0118] The compensation algorithm means that when the deviation between the total capacity of the string combination and the rated capacity of the inverter exceeds a threshold (e.g., ±5%), through intelligent adjustment strategies:
[0119] - Add adjacent small-capacity strings to make up the difference;
[0120] - Or replace some strings to optimize the overall matching degree;
[0121] - On the premise of ensuring a spatial proximity > 0.8, make the final capacity fall within the MPPT high-efficiency range of the inverter (e.g., 90 - 110% of the rated value).
[0122] The proximity weight is a parameter that quantifies the spatial distance between the string and the target inverter, with a value range of [0, 1]: Calculation method: Euclidean distance based on GIS coordinates, converted through the Gaussian kernel function:
[0123] Among them, D is the spatial proximity, and σ is 1 / 3 of the radius of the power station area. Among them, the closer the distance, the higher the weight. When optimizing, preferentially select adjacent strings to reduce line loss.
[0124] The method for calculating the matching degree is as follows:
[0125] The matching degree is calculated by weighting parameters such as the capacity matching degree, proximity weight (equivalent to the spatial matching degree in the above embodiments), and electrical compatibility. For example, matching degree = capacity matching degree × 50% + proximity weight × 30% + electrical compatibility × 20%.
[0126] 1. Capacity matching degree: (Overmatching coefficient 1.1), where P inv is the rated capacity of the inverter, and ∑P str is the total real-time capacity of the strings.
[0127] 2. Proximity weight: Take the average proximity weight of the string combination (i.e., the result of Gaussian kernel calculation).
[0128] 3. Electrical compatibility:
[0129] Among them, [V min ,V max is the voltage range of the inverter.
[0130] For example, if the capacity matching is 0.95, the proximity weight is 0.9, and the voltage compliance is met, then the total matching degree = 0.95×0.5 + 0.9×0.3 + 1×0.2 = 91.5%.
[0131] Step 3: Multi-objective optimization.
[0132] Develop a backpropagation verification algorithm (BPVA), with the loss function:
[0133] Loss = α×(P inv - P str ) 2 + β×Line_loss, where α and β are the weights of power loss and line loss respectively, and are generally assigned values based on experience. For example, they can be taken as 0.8 and 0.2 respectively. P inv is the rated capacity of the inverter, P str is the total real-time capacity of the string, and Line_loss is the line loss.
[0134] The loss function in Step 3 is used to quantify the comprehensive performance of each matching scheme. Its core objective is to achieve multi-objective optimization of capacity matching and line loss by minimizing the loss value.
[0135] The multi-matching scheme selects the minimum loss value to complete the optimization.
[0136] If you hope to continue optimizing when the loss value is small, the strategy is as follows:
[0137] When the loss value reaches a local minimum, the following strategy is used for further optimization:
[0138] 1. Gradient descent fine-tuning:
[0139] - Make small adjustments to the current string combination and calculate the gradient of the loss function:
[0140] where L is used to indicate the line length.
[0141] The adjustment direction is:
[0142] Replace strings: Replace some units in the original combination with strings having a higher proximity or better capacity matching;
[0143] Add or subtract strings: Add small-capacity strings or remove redundant strings within the allowable capacity range.
[0144] 2. Pareto front screening method:
[0145] Retain the Top-K candidate schemes with similar loss values (e.g., K = 5) to construct a multi-objective optimization solution set.
[0146] Select through the NSGA-II algorithm: For example:
[0147] - Capacity deviation ≤ 3%;
[0148] - Line loss ≤ 1.5%;
[0149] - Non-dominated solutions with a spatial proximity ≥ 0.8 are used as the final optimization result.
[0150] Among them, the Pareto front construction method further optimizes the configuration strategy of the inverter and the PV string, ensuring the comprehensive balance of economy, technology, reliability, and line loss constraints. The following is a detailed description of this method:
[0151] 1. Definition of objective function:
[0152] Economy: Total cost of the inverter Fcost:
[0153] Fcost = ∑(Ninvi × Ci), where Ninvi is the number of the i-th inverter, and Ci is the unit price ($ / W) of the i-th inverter. The total cost of the inverter reflects the economic burden of the configuration plan. The goal is to reduce the total cost of the inverter to maximize economic benefits.
[0154] Technology: System efficiency Feff: Feff = ∑ηi × Pinvi / Ptotal, where ηi is the conversion efficiency of the i-th inverter, Pinvi is the rated input power of the i-th inverter, and Ptotal is the total real-time capacity of all strings. The goal of system efficiency is to maximize the power conversion efficiency, thereby improving the overall power generation performance of the system.
[0155] Reliability: Redundancy Fred: Fred = 1 - min(Ptotal / ∑Pinvi, 1), where Ptotal is the total real-time capacity of all strings, and ∑Pinvi is the total rated input power of all inverters. Redundancy reflects the coverage of the configuration plan of the total real-time capacity of the strings by the inverter capacity. The ideal redundancy ensures that the inverter can still handle the power output of all strings in case of system failure or performance degradation, enhancing the stability and reliability of the system.
[0156] Line loss constraint Floss: Floss = ∑I 2 RL, where I is the current flowing through the line, R is the resistance of the line, and L is the length of the circuit. The goal of the line loss constraint is to control the power loss caused by the cable resistance in the whole system, thereby reducing the operating cost and improving economic benefits.
[0157] 2. Multi-objective optimization process:
[0158] Use the NSGA-II algorithm to generate a candidate solution set. This algorithm can handle multiple objective functions simultaneously and generate a non-dominated solution set, that is, solutions that are superior in multiple objectives.
[0159] Non - dominated sorting to screen solutions:
[0160] Retain the configuration solutions that simultaneously meet the following conditions:
[0161] Fcost decreases, that is, the total cost of the inverter decreases;
[0162] Feff increases, that is, the system efficiency improves;
[0163] Solutions with Fred ≥ 0.2, that is, ensure that the configuration solution has a certain redundancy, enhancing the reliability of the system;
[0164] Floss ≤ 1.5%, control the line loss within a reasonable range, reducing the energy loss during power transmission.
[0165] Crowding degree calculation:
[0166] Through the crowding degree calculation, ensure that the non - dominated solution set is evenly distributed in the objective function space, avoiding the optimization result being too concentrated on a certain objective and ensuring the balance between multiple objectives.
[0167] 3. Decision output:
[0168] Extract the Pareto - optimal solution set, which contains all solutions that have no other solutions in the multi - objective space that can be better than it in all objectives simultaneously.
[0169] Provide a three - dimensional visualization interface of "cost - efficiency - redundancy", intuitively showing the performance of different configuration solutions in terms of economy, technology, and reliability. This interface helps decision - makers make manual interactive selections according to the specific project requirements, such as cost control, technical performance, or system stability.
[0170] Based on the decision - maker's selection (such as focusing on economy or technical performance), the system automatically outputs the final inverter and photovoltaic string configuration solution, realizing the combination of intelligent design and manual decision - making.
[0171] Step 4: Determine the optimal solution.
[0172] According to Step 3, determine the inverter type selection and the matching scheme between the inverter and the DC string.
[0173] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation manner. Based on such an understanding, the technical solution of the present application, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present application.
[0174] In this embodiment, a device for determining a matching scheme is further provided. This device is used to implement the above embodiments and preferred implementation manners, and those that have been described will not be repeated. As used hereinafter, the term "module" may be a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0175] Figure 3 is a structural block diagram of a device for determining a matching scheme according to an embodiment of the present application. As Figure 3 shown, the device includes:
[0176] An acquisition module 32, configured to acquire first parameter information of each string in a candidate string set and second parameter information of each inverter in a candidate inverter set, where the first parameter information includes: string identification information, real-time capacity, and a first position, and the second parameter information includes: rated capacity, voltage range, and a second position;
[0177] A first determination module 34, configured to determine a plurality of matching schemes according to the first parameter information and the second parameter information, where the matching scheme is used to indicate a matching scheme between the inverter and the string;
[0178] A second determination module 36, configured to determine a loss value of each matching scheme and determine a target matching scheme based on the loss value of each matching scheme.
[0179] Using the above device, obtain the first parameter information of each string in the candidate string set and the second parameter information of each inverter in the candidate inverter set. The first parameter information includes: string identification information, real-time capacity, and first position. The second parameter information includes: rated capacity, voltage range, and second position. Determine multiple matching schemes based on the first parameter information and the second parameter information. The matching scheme is used to indicate the matching scheme between the inverter and the string. Determine the loss value of each matching scheme, and determine the target matching scheme based on the loss value of each matching scheme. In the embodiments of the present application, through automated parameter collection, multi-scheme matching generation, and optimal scheme selection based on loss values, the optimization and upgrade of the matching method between photovoltaic modules and inverters are realized. This series of steps reduces the need for manual intervention, reduces subjectivity and uncertainty in the matching process, and at the same time calculates the matching loss through algorithms to ensure an efficient, economical, and reliable system configuration. Therefore, the problem of low efficiency in the matching method between photovoltaic modules and inverters can be solved.
[0180] In an exemplary embodiment, the first determination module 34 is configured to perform the first determination step: determine the Nth inverter with the Nth largest rated capacity in the candidate inverter set, and determine the spatial proximity between the Nth inverter and each string in the Nth candidate string set according to the second position of the Nth inverter and the first position of each string in the Nth candidate string set. The Nth candidate string set is a subset of the candidate string set, or the Nth candidate string set is the same as the candidate string set. N is a positive integer, and N takes values 1, 2, 3,... in sequence; sort each string according to the spatial proximity between the Nth inverter and each string to obtain the Nth sorting result, where the Nth sorting result is sorted from largest to smallest according to the spatial proximity between the Nth inverter and each string; determine multiple first strings in the Nth sorting result in sequence according to the dynamic programming algorithm to obtain the first matching scheme corresponding to the Nth inverter, and determine the matching degree between the Nth inverter and the multiple first strings. The first matching scheme is used to indicate the matching scheme between the Nth inverter and the multiple first strings; the second determination step: determine the first matching scheme according to the matching degree between the Nth inverter and the multiple first strings and the first determination step. The multiple matching schemes include the first matching scheme.
[0181] In an exemplary embodiment, a first determination module 34 is configured to, when the matching degree is greater than or equal to a preset threshold, update the Nth candidate string set to obtain an (N + 1)th candidate string set, and loop to execute the first determination step until it is determined that each string in the candidate string set has a corresponding inverter, where the (N + 1)th candidate string set does not include the plurality of first strings; when the matching degree is less than the preset threshold, loop to execute the first determination step until it is determined that each string in the candidate string set has a corresponding first inverter; and determine a first matching scheme according to each string in the candidate string set and the first inverter corresponding to each string in the candidate string set.
[0182] In an exemplary embodiment, a first determination module 34 is configured to update the candidate string set, where the updated candidate string set does not include the first inverter; execute a target determination step to determine a second matching scheme according to each string in the candidate string set and the second inverter corresponding to each string in the candidate string set, where the target determination step includes: the first determination step and the second determination step, the second inverter is the inverter in the updated candidate string set, and the second matching scheme is included in the plurality of matching schemes.
[0183] In an exemplary embodiment, a first determination module 34 is configured to determine a capacity matching degree between the Nth inverter and the plurality of first strings according to the total real-time capacity of the plurality of first strings and the rated capacity of the Nth inverter, determine a space matching degree between the Nth inverter and the plurality of first strings according to the second position of the Nth inverter and the first positions respectively corresponding to the plurality of first strings, and determine an electrical compatibility degree between the Nth inverter and the plurality of first strings according to the operating voltage of the plurality of first strings and the voltage range of the Nth inverter; and determine the matching degree according to the capacity matching degree, the space matching degree, and the electrical compatibility degree between the Nth inverter and the plurality of first strings.
[0184] In an exemplary embodiment, a second determination module 36 is configured to determine a power loss value of each matching scheme according to the total rated capacity of the inverters in each matching scheme and the total real-time capacity of the candidate string set, and determine a line loss value of each matching scheme according to the resistance and current of the lines in each matching scheme; and determine the loss value according to the power loss value and the line loss value.
[0185] In an exemplary embodiment, a second determination module 36 is configured to determine a third matching scheme with the smallest loss value according to the loss values of each matching scheme; determine the magnitude relationship between the loss value of the third matching scheme and a preset loss value; in the case where the magnitude relationship indicates that the loss value is greater than or equal to the preset loss value, optimize the third matching scheme based on a target manner to determine a target matching scheme, where the target manner includes at least one of the following: a gradient descent manner and a Pareto front screening manner; in the case where the magnitude relationship indicates that the loss value is less than the preset loss value, determine the third matching scheme as the target matching scheme.
[0186] It should be noted that the above-mentioned various modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited thereto: the above-mentioned modules are all located in the same processor; or, the above-mentioned various modules are respectively located in different processors in any combination form.
[0187] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
[0188] Optionally, in this embodiment, the above storage medium can be configured to store program codes for executing the following steps:
[0189] S1, obtain first parameter information of each string in a candidate string set, and second parameter information of each inverter in a candidate inverter set, where the first parameter information includes: string identification information, real-time capacity, and a first position, and the second parameter information includes: rated capacity, voltage range, and a second position;
[0190] S2, determine a plurality of matching schemes according to the first parameter information and the second parameter information, where the matching scheme is used to indicate a matching scheme between the inverter and the string;
[0191] S3, determine the loss value of each matching scheme, and determine a target matching scheme based on the loss value of each matching scheme.
[0192] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: a USB flash drive, a read-only memory (ROM for short), a random access memory (RAM for short), a mobile hard disk, a magnetic disk, or an optical disc, and other various media that can store computer programs.
[0193] An embodiment of the present application further provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0194] In an exemplary embodiment, the above electronic device may further include a transmission device and an input / output device. Among them, the transmission device is connected to the above processor, and the input / output device is connected to the above processor.
[0195] Optionally, in this embodiment, the above processor may be configured to execute the following steps through a computer program:
[0196] S1. Obtain the first parameter information of each string in the candidate string set and the second parameter information of each inverter in the candidate inverter set. Among them, the first parameter information includes: string identification information, real-time capacity, and first position, and the second parameter information includes: rated capacity, voltage range, and second position;
[0197] S2. Determine a plurality of matching schemes according to the first parameter information and the second parameter information, where the matching scheme is used to indicate the matching scheme between the inverter and the string;
[0198] S3. Determine the loss value of each matching scheme, and determine the target matching scheme based on the loss value of each matching scheme.
[0199] An embodiment of the present application further provides a computer program product. The above computer program product includes a computer program, and when the computer program is executed by a processor, it implements the steps in any one of the above method embodiments.
[0200] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the steps in any one of the above method embodiments.
[0201] An embodiment of the present application further provides a computer program. The computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in any one of the above method embodiments.
[0202] Optionally, in this embodiment, the above processor may be configured to execute the following steps through a computer program:
[0203] S1. Obtain the first parameter information of each string in the candidate string set and the second parameter information of each inverter in the candidate inverter set, where the first parameter information includes: string identification information, real-time capacity, and first location, and the second parameter information includes: rated capacity, voltage range, and second location;
[0204] S2. Determine multiple matching schemes according to the first parameter information and the second parameter information, where the matching scheme is used to indicate the matching scheme between the inverter and the string;
[0205] S3. Determine the loss value of each matching scheme, and determine the target matching scheme based on the loss value of each matching scheme.
[0206] For the specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details are not described herein again.
[0207] Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present application can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. They can be implemented by program codes executable by the computing device. Thus, they can be stored in a storage device and executed by the computing device. And in some cases, the steps shown or described can be executed in a different order than here, or they can be separately made into individual integrated circuit modules, or multiple modules or steps among them can be made into a single integrated circuit module to implement. In this way, the present application is not limited to any specific combination of hardware and software.
[0208] The above are only the preferred embodiments of the present application and are not used to limit the present application. For those skilled in the art, the present application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for determining a matching scheme, characterized in that Including: Obtaining first parameter information of each string in a candidate string set and second parameter information of each inverter in a candidate inverter set, where the first parameter information includes: string identification information, real-time capacity, and a first location, and the second parameter information includes: rated capacity, voltage range, and a second location; Determining a plurality of matching schemes according to the first parameter information and the second parameter information, where the matching scheme is used to indicate a matching scheme between the inverter and the string; Determining a loss value of each matching scheme and determining a target matching scheme based on the loss value of each matching scheme.
2. The method according to claim 1, wherein During the process of determining a plurality of matching schemes according to the first parameter information and the second parameter information, the method further includes: A first determination step: determining an Nth inverter with the Nth largest rated capacity in the candidate inverter set, and determining a spatial proximity between the Nth inverter and each string in an Nth candidate string set according to the second location of the Nth inverter and the first location of each string in the Nth candidate string set, where the Nth candidate string set is a subset of the candidate string set, or the Nth candidate string set is the same as the candidate string set, N is a positive integer, and N takes values 1, 2, 3,... in sequence; Sorting each string according to the spatial proximity between the Nth inverter and each string to obtain an Nth sorting result, where the Nth sorting result is sorted in descending order of the spatial proximity between the Nth inverter and each string; Successively determining a plurality of first strings in the Nth sorting result according to a dynamic programming algorithm to obtain a first matching scheme corresponding to the Nth inverter, and determining a matching degree between the Nth inverter and the plurality of first strings, where the first matching scheme is used to indicate a matching scheme between the Nth inverter and the plurality of first strings; A second determination step: determining the first matching scheme according to the matching degree between the Nth inverter and the plurality of first strings and the first determination step, where the first matching scheme is included in the plurality of matching schemes.
3. The method according to claim 2, characterized in that, Determining the first matching scheme according to the matching degree between the Nth inverter and the plurality of first strings and the first determination step includes: In the case where the matching degree is greater than or equal to a preset threshold, updating the Nth candidate string set to obtain an (N + 1)th candidate string set, and circularly executing the first determination step until it is determined that each string in the candidate string set has a corresponding inverter, where the (N + 1)th candidate string set does not include the plurality of first strings; In the case where the matching degree is less than the preset threshold, circularly executing the first determination step until it is determined that each string in the candidate string set has a corresponding first inverter; Determining the first matching scheme according to each string in the candidate string set and the first inverter corresponding to each string in the candidate string set.
4. The method according to claim 3, wherein After determining the matching scheme according to each string in the candidate string set and the first inverter corresponding to each string in the candidate string set, the method further includes: Updating the candidate string set, where the updated candidate string set does not include the first inverter; Performing a target determination step to determine a second matching scheme according to each string in the candidate string set and the second inverter corresponding to each string in the candidate string set, where the target determination step includes: the first determination step and the second determination step, the second inverter is the inverter in the updated candidate string set, and the second matching scheme is included in the multiple matching schemes.
5. The method according to claim 2, characterized in that Determining the matching degree between the Nth inverter and the multiple first strings includes: Determining the capacity matching degree between the Nth inverter and the multiple first strings according to the total real-time capacity of the multiple first strings and the rated capacity of the Nth inverter, and determining the space matching degree between the Nth inverter and the multiple first strings according to the second position of the Nth inverter and the first positions respectively corresponding to the multiple first strings, and determining the electrical compatibility degree between the Nth inverter and the multiple first strings according to the operating voltage of the multiple first strings and the voltage range of the Nth inverter; Determining the matching degree according to the capacity matching degree, space matching degree and electrical compatibility degree between the Nth inverter and the multiple first strings.
6. The method according to claim 1, characterized in that Determining the loss value of each matching scheme includes: Determining the power loss value of each matching scheme according to the total rated capacity of the inverters in each matching scheme and the total real-time capacity of the candidate string set, and determining the line loss value of each matching scheme according to the resistance and current of the lines in each matching scheme; Determining the loss value according to the power loss value and the line loss value.
7. The method according to claim 1, wherein Determining the target matching scheme based on the loss value of each matching scheme includes: Determining a third matching scheme with the smallest loss value according to the loss value of each matching scheme; Determining the magnitude relationship between the loss value of the third matching scheme and the preset loss value; In the case where the magnitude relationship indicates that the loss value is greater than or equal to the preset loss value, optimizing the third matching scheme based on a target method to determine the target matching scheme, where the target method includes at least one of the following: gradient descent method and Pareto front screening method; In the case where the magnitude relationship indicates that the loss value is less than the preset loss value, determining the third matching scheme as the target matching scheme.
8. A determining device for a matching scheme, characterized in that, Includes: An acquisition module, configured to acquire first parameter information of each string in the candidate string set and second parameter information of each inverter in the candidate inverter set, where the first parameter information includes: string identification information, real-time capacity, first position, and the second parameter information includes: rated capacity, voltage range, second position; A first determination module, configured to determine a plurality of matching schemes according to the first parameter information and the second parameter information, where the matching scheme is used to indicate a matching scheme between the inverter and the string. A second determination module, configured to determine a loss value of each matching scheme, and determine a target matching scheme based on the loss value of each matching scheme.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, where the program, when running, executes the method according to any one of claims 1 to 7.
10. An electronic device, comprising a memory and a processor, characterized in that, A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.