Method, device and equipment for determining marginal unit, medium and product
By clustering historical bid curves and comparing the marginal electricity prices of nodes, the problem of long-term determination of marginal units in the existing technology is solved, and efficient determination of marginal units is achieved.
Patent Information
- Application Number
- CN202410944340.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-11-05
AI Technical Summary
The existing marginal unit determination method is difficult to obtain real-time unit quotation information, and the calculation amount is large, resulting in a longer time to determine the marginal unit.
By obtaining the bid curve set, the historical bid curve is clustered to determine the fuel type and compare it with the node marginal electricity price of the target power system. If there is an equal historical bid curve, the generator set is determined to be a marginal unit.
The efficiency of marginal unit determination is improved, real-time acquisition of marginal unit information is achieved, and the determination time is shortened.
Smart Images

Figure CN118899897A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power system planning, and in particular to a method, device, equipment, medium and product for determining marginal units. Background Art
[0002] A marginal unit in a power system is a generator that serves the next unit of incremental load. It sets the system-wide node marginal price (LMP) and influences the clearing price in the market. Identifying marginal units is crucial for developing effective demand response (DR) schemes and quantifying location marginal emissions (LME). However, current methods for identifying marginal units make it difficult to obtain real-time unit quotation information and require a large amount of computation, resulting in a long time to determine marginal units. Summary of the Invention
[0003] The purpose of this application is to provide a method, device, equipment, medium and product for determining marginal units, which can improve the efficiency of determining marginal units.
[0004] To achieve the above objectives, this application provides the following solutions:
[0005] In a first aspect, the present application provides a method for determining a marginal unit, comprising:
[0006] Obtaining a bid curve set; the bid curve set includes historical bid curves corresponding to each sample power plant;
[0007] Clustering each historical bidding curve in the bidding curve set to obtain the fuel type corresponding to each historical bidding curve;
[0008] Obtaining the node marginal electricity price of each generator set in the target power system;
[0009] For any generator set in the target power system, if there is at least one historical bidding curve among all historical bidding curves corresponding to the fuel type of the generator set that is equal to the node marginal electricity price of the generator set, then the generator set is a marginal unit.
[0010] In a second aspect, the present application provides a device for determining a marginal unit, comprising:
[0011] A bid curve acquisition module is used to acquire a bid curve set; the bid curve set includes historical bid curves corresponding to each sample power plant;
[0012] A clustering module, used to cluster the historical bid curves in the bid curve set to obtain the fuel type corresponding to each historical bid curve;
[0013] A node marginal electricity price acquisition module is used to obtain the node marginal electricity price of each generator set in the target power system;
[0014] The marginal unit determination module is used to determine, for any generator set in the target power system, that if there is at least one historical bidding curve among all historical bidding curves corresponding to the fuel type of the generator set that is equal to the node marginal electricity price of the generator set, the generator set is a marginal unit.
[0015] In a third aspect, the present application provides a computer device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the above-described marginal unit determination methods.
[0016] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-mentioned marginal unit determination methods.
[0017] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned marginal unit determination methods.
[0018] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0019] The present application provides a marginal unit determination method, device, equipment, medium and product. By utilizing historical bidding curves, it solves the problem of difficulty in obtaining real-time unit quotation information and achieves the technical effect of improving the efficiency of determining marginal units. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. 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 any creative work.
[0021] Figure 1 This is an application environment diagram of a marginal unit determination method in one embodiment of the present application;
[0022] Figure 2 A flowchart of a method for determining a marginal unit provided in one embodiment of the present application;
[0023] Figure 3 A detailed flowchart of a method for determining a marginal unit provided in one embodiment of the present application;
[0024] Figure 4A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0026] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0027] The marginal unit determination method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be set up separately, integrated on the server 104, or placed on the cloud or other servers. The terminal 102 can send the bidding curve set and the node marginal electricity price of each generator set in the target power system to the server 104. After the server 104 receives the above data, the server 104 clusters the historical bidding curves in the bidding curve set to obtain the fuel type corresponding to each historical bidding curve; if the node marginal electricity price of the generator set is equal to the target historical bid, the generator set is a marginal unit; the target historical bid is determined according to all historical bidding curves corresponding to the fuel type of the generator set. The server 104 can feedback the obtained marginal unit to the terminal 102. In addition, in some embodiments, the marginal unit determination method can also be implemented independently by the server 104 or the terminal 102. For example, the marginal unit can be determined by the terminal 102, or the server 104 can obtain the bidding curve set and the node marginal electricity price of each generator unit in the target power system from the data storage system, and process the obtained data to obtain the marginal unit.
[0028] Terminal 102 may include, but is not limited to, various desktop computers, laptops, smartphones, tablet computers, IoT devices, and portable wearable devices. IoT devices may include smart speakers, smart TVs, smart air conditioners, and smart car devices. Portable wearable devices may include smart watches, smart bracelets, and head-mounted devices. Server 104 may be implemented as a standalone server or a server cluster consisting of multiple servers, or may be a cloud server.
[0029] By analyzing the relationship between marginal units and node marginal electricity prices, this application found that it is impossible to determine the marginal generator based on the knowledge of LMP alone. Therefore, a simple data-driven elimination method is adopted. LMP, historical bidding prices, and annual data on power generation and fuel consumption are used to determine the marginal units through the connection between load curves and marginal units. The identification results based on historical data are used for determining marginal units, such as Figure 2 As shown, it specifically includes: Step A: Obtain the relationship between the node marginal electricity price and the marginal unit, propose that the node marginal electricity price within the system is a linear combination of the marginal unit bids, and prove that when the blocked line and power direction are constant, the system-wide node marginal electricity price has the same correlation coefficient. Step B: Propose a marginal unit determination method based on data-driven method, cluster the bid curves, and compare the node marginal electricity price with the bid price to determine the marginal unit. Among them, Step A specifically includes:
[0030] Step A1: Derive the node marginal price expression and obtain the relationship between the node marginal price and the marginal unit:
[0031] The typical node marginal electricity price model can be expressed as:
[0032]
[0033] Constraints:
[0034]
[0035] In the formula, min means taking the minimum value, N G is the total number of generating units included in the power system; p i is the active power output of the i-th generator set in the power system; C i () is the cost function of the i-th generator set in the power system; D j is the load of the jth node in the power system, N is the total number of nodes included in the power system; P loss is the power loss of the entire power system; F k is the transmission capacity of the kth transmission line in the power system, GSK k,i is the generation shift factor associated with the i-th generator unit in the power system and the k-th transmission line in the power system; is the minimum active output of the i-th generator set in the power system; is the maximum active output of the i-th generator set in the power system.
[0036] Construct the Lagrangian function of the objective function and assume that it is differentiable with respect to p. Then the optimal decision satisfies the KKT condition, and we can get:
[0037]
[0038] Where L is the Lagrangian function; p is the active output of the generator; Find the partial derivative of the Lagrangian function with respect to p; For p i The optimal solution, C i is the cost of the i-th generator set in the power system; λ is the Lagrange multiplier of the power balance constraint, λ * is the optimal solution of λ; μ k is the Lagrange multiplier for the transmission line capacity constraint; μ k The optimal solution of v i is the Lagrange multiplier for the generator output constraint; v i The optimal solution of , M represents the total number of transmission lines in the power system.
[0039] The optimal value of L is L * Taking partial derivatives for different busbar loads, we can get:
[0040]
[0041]
[0042] Where, LMP N j is the node marginal price of the jth node in the power system. If the kth transmission line is not congested, then the corresponding Lagrange multiplier is is zero.
[0043] Therefore, we can get:
[0044] The marginal price at the marginal node is equal to the quoted price of the node. If the i-th generator unit is a marginal unit, the corresponding multiplier is zero, in There is dC i / dp i =LMP NG i .
[0045] At a fully loaded node, the marginal price is greater than the quoted price of the node. Not positive, in There is dC i / dp i ≤LMP NG i .
[0046] At a node with the lightest load, the marginal price is less than the quoted price of the node. Non-negative, in There is dCi / dp i ≥LMP NG i .
[0047] Step A2: Ignoring line losses, propose that the system-wide node marginal price is a linear combination of the marginal unit bids:
[0048] Use π * Denotes the optimal total cost, we can get:
[0049]
[0050] According to the definition of node marginal price, the above expression can be rewritten as:
[0051]
[0052] If power loss is neglected, then because Only for marginal units, M U represents the total number of marginal units. Therefore, the system-wide node marginal price is a linear combination of the bids of the marginal units.
[0053] Step A3: Rewrite the node marginal price expression to show that in a lossless system, if different cases (specifically, different load demands and generation outputs) have the same blocked lines and power directions, they will have the same coefficients. This holds true even if these cases have different marginal units:
[0054] In the power system, the above node marginal price expression can be expressed as:
[0055]
[0056] Where, β i,j For LMP NG i (the node marginal price of the i-th generator in the power system) and LMP N j The correlation coefficient.
[0057] Since the set of blocked transmission lines is publicly available data in the day-ahead market and the real-time market, the inequality constraint of the line transmission constraint can be obtained by using the information of blocked transmission lines.
[0058]
[0059] Once the blocking line and its power flow direction are determined, both sides of the above equation are calculated with respect to D j Taking the derivative, we get the following equation:
[0060]
[0061] For ease of explanation, the subscripts ε and ε are used 1 to represent the variables in two different cases, which can be different load demands and power outputs. These two cases are arbitrarily chosen as long as they have the same blocked lines and each blocked line has the same power flow direction. In case ε, the equation can be rewritten as:
[0062]
[0063] Among them, LMP N j,ε is the node marginal electricity price of the jth node in case ε, LMP NG i,ε represents the node marginal electricity price of the i-th generator group in case ε, For case ε, find the partial derivative of the active output of the i-th generator set with respect to the load of the j-th node.
[0064] For the jth node, if the power loss cost is ignored, we can get:
[0065]
[0066] Therefore, in a lossless system, if different cases have the same congested transmission line and congestion direction, then the two cases will have the same coefficient β i,j , this holds true even though these cases have different marginal units.
[0067] Based on the above theory, in an exemplary embodiment, Figure 3 As shown, a method for determining a marginal unit is provided. The method is executed by a computer device, specifically, it can be executed by a computer device such as a terminal or a server alone, or it can be executed by a terminal and a server together. In the embodiment of the present application, the method is applied to Figure 1 The server 104 in the example is used as an example to illustrate the process, including the following steps 201 to 204.
[0068] Step 201: Acquire a bidding curve set; the bidding curve set includes historical bidding curves corresponding to each sample power plant.
[0069] Step 202: Cluster each historical bid curve in the bid curve set to determine the fuel type corresponding to each historical bid curve. Step 202 clusters each power plant into separate groups based on its historical bid curves, with each group corresponding to a specific fuel type. Clustering bid curves into different groups reduces the possibility of misidentification and narrows the search scope. For each power plant, bid curves are recorded on a daily basis. Clustering bid curves essentially involves grouping power generation units.
[0070] Step 203: Obtain the node marginal electricity price of each generator set in the target power system.
[0071] Step 204: For any generator set in the target power system, if at least one historical bid curve, among all historical bid curves corresponding to the generator set's fuel type, is equal to the generator set's node marginal price, then the generator set is considered a marginal unit. Step 204 compares the node marginal price under the current load with the bid price (target historical bid) for the same fuel type to determine the marginal unit. For each generator set in the target power system, the node marginal price of the generator set is calculated using known techniques. The historical bids (target historical bids) of the clusters with the same fuel type as the generator set are compared to see if they are equal to the calculated node marginal price. If no bid price equal to the node marginal price can be found, the generator set is determined not to be a marginal unit. This ensures more accurate selection of marginal units based on actual market conditions and fuel prices, maintaining market stability and efficient operation. By excluding mismatched generator sets, the actual market situation can be better reflected and scheduling accuracy can be improved.
[0072] This application makes it feasible to extend historical identification results to real-time and future identification. Due to temporal fluctuations in fuel costs and bidding strategies, different sets of marginal units may exist despite the same system-wide node marginal price configuration. Therefore, it is necessary to use quantities and relationships that are unaffected by fuel costs and bidding strategies to provide reliable detection of current marginal units. In this way, marginal conditions in the current system can be more accurately captured, leading to more efficient management and operation of the power system.
[0073] The generation dispatch priority order is assumed to remain constant throughout history and at the future timeframe we wish to predict. An example is a scenario where coal plants consistently bid lower prices than natural gas plants. Although their bid prices may fluctuate, the dispatch order remains unchanged. Under this assumption, the optimal decision remains unchanged. This observation suggests that the mapping from load curves to marginal units is fixed. Furthermore, the number of possible combinations of marginal units is likely much smaller than the number of random permutations of generators. This fact helps to rule out some incorrect assignments.
[0074] For the case where the dispatch priority is assumed to remain unchanged, the mapping between the load curve and the marginal unit does not depend on the bidding strategy and fuel cost. It is assumed that the dispatch priority remains unchanged during the study period. Under this assumption, regardless of how the power supplier's bid price changes, the geographical distribution pattern of the load and the marginal unit set has a fixed mapping relationship. This mapping relationship can be revealed through historical data. Then, the current marginal unit set can be determined based on the historical mapping relationship and the current load pattern. In summary, the marginal unit determination method proposed in this application is feasible.
[0075] Implementing the above steps 201 to 204 can improve the efficiency of determining the marginal unit.
[0076] In practical applications, clustering is performed on each historical bid curve in the bid curve set to obtain the fuel type corresponding to each historical bid curve, specifically:
[0077] Based on the characteristics of each historical bid curve in the bid curve set, each historical bid curve in the bid curve set is clustered to obtain the fuel type corresponding to each historical bid curve; the characteristics are median output power, minimum bid price, median bid price, number of bid curve segments, or cold start cost. The bid curves of each power plant in a particular month are obtained and then extracted to obtain the characteristics of the bid curves of each power plant in that month. For each curve, the median or minimum value refers to its inflection point. Because bid curves vary very little within a month, all features are averaged over the month.
[0078] In practical applications, clustering is performed on each historical bid curve in the bid curve set according to the characteristics of each historical bid curve in the bid curve set to obtain the fuel type corresponding to each historical bid curve, specifically including:
[0079] A hierarchical clustering method is used to cluster the historical bidding curves in the bidding curve set according to the characteristics of each historical bidding curve in the bidding curve set to obtain the fuel type corresponding to each historical bidding curve.
[0080] This application first derives the node marginal price (LMP) expression based on the market clearing model to obtain the relationship between the node marginal price and the marginal unit; on this basis, it is proposed that when line losses are ignored, the system-wide node marginal price is a linear combination of the marginal unit bids. Secondly, it is proved that in a lossless system, when the blocking line and power direction are constant, the system-wide node marginal price has the same correlation coefficient. Finally, a marginal unit determination method based on a data-driven method is proposed, in which the bid curves are clustered so that each group corresponds to the corresponding fuel type, and the node marginal price under the current load is compared with the bid price in the same fuel type to determine the marginal unit. The method proposed in this application can not only determine the marginal unit, but also provide a basis for calculating marginal emissions.
[0081] The present application also provides an application scenario, which applies the above-mentioned marginal unit determination method. Specifically: the marginal unit determination method provided in this embodiment can be applied in the quantitative location marginal emission scenario. The quantitative location marginal emission scenario includes a power generation data collection link, a marginal unit determination link and a marginal emission calculation link. First, the power generation data is collected through the power generation data collection link, including load demand, power generation, fuel type and other information. Then, in the marginal unit determination link, the marginal power generation unit that operates when the load changes within a specific time period is determined based on the power generation data. Finally, the power generation of the marginal unit is calculated using the emission factor to obtain the emission of each pollutant. The marginal unit determination method provided in this embodiment belongs to the marginal unit determination link. Specifically, in the marginal unit determination link, the marginal unit can be determined based on the bidding curve set and the node marginal electricity price of the power generation unit.
[0082] In an exemplary embodiment, the marginal unit determination method proposed in this application is used to conduct a simulation study on an IEEE 118-node system to verify the feasibility and accuracy of the method.
[0083] The simulation study was conducted using an IEEE 118-node test system, which was augmented by assigning a fuel-type-specific bid curve to each generator.
[0084] First, we clustered bid data from the PJM market in July 2017. K-means and hierarchical clustering are two of the most well-known clustering methods. In K-means clustering, observations are divided into a pre-specified number of groups. Hierarchical clustering, on the other hand, uses a tree-like visualization, allowing us to visualize the clustering results for each possible number of groups. Because the number of clusters for power plants is less clear, we used hierarchical clustering to cluster the 832 units in the PJM market. Clustering the 832 records using only the median bid price revealed that 7 records were above $449.2 / MWh, 56 records had bids between $257.3 and $449.2 / MWh, and 771 records were below $ / MWh. All features obtained from each bid curve were considered for the clustering of the 771 observations. If the tree clustering is divided into 20 groups, the resulting characteristics are shown in Table 1, which shows the clustering results and the estimated fuel type, where HYC represents hydrogen, NUC represents nuclear power, SW represents solar power, COL represents coal, NG represents natural gas, HPS represents hydropower, DFO represents fuel oil, and NG1 represents large-scale natural gas. The power plant types in Table 1 are roughly estimated based on marginal cost information, the counts in each group, price levels, output levels, and empirical knowledge, because for power plants that have been in operation for many years, the marginal cost will be close to the bid price.
[0085] The following simulation study is conducted on the IEEE 118-bus test system. The IEEE 118-bus system consists of 54 generators, whose fuel type distribution is shown in Table 2. For each generator in the test model, its bid curve is randomly selected from the group with the same fuel type in Table 1.
[0086] A careful examination of the raw bid dataset for hourly bid curves reveals that bid curves rarely change within a single day. Therefore, it is possible to explore combinations of marginal units and load profiles within a single day while maintaining a constant bid curve. For reasons of generality, the system is divided into four regions, and the dispatch priorities are assumed to remain constant.
[0087] Assuming that the dispatch priority does not change, we only need to observe the relationship between the load curve and marginal units on July 1, and we expect that this relationship will remain unchanged while the dispatch priority and system structure remain unchanged.
[0088] Tables 3 to 11 show the statistics of system LMP, blocked lines, corresponding marginal units, and marginal units estimated by the proposed method under different load conditions. The total load increases in the order of the tables.
[0089] When the system is not heavily loaded, the range of LMP values is smaller than under "heavy load" conditions. In this case, the LMP hyperplane passes through a relatively dense area with many breakpoints in the bid curves. Therefore, it is likely that at some point, the solution hyperplane passes through a number that does not belong to the power plant's bid curve. Therefore, the estimated marginal unit set may be larger than the actual number. As shown in Table 3, when the system is lightly loaded and only transmission lines 65 to 68 are congested, the estimated marginal unit set includes 13 units, of which only the generators at nodes 61 and 89 are truly marginal units. The accuracy is 0.15 (2 / 13), which is quite low.
[0090] A comparison of Tables 3-6 and 7-11 shows that the number of false detections of marginal units generally decreases as the system load increases. The average accuracy for the first four cases was only 0.32, while the average accuracy for the last five cases was 0.73. Generally speaking, the number of false detections of marginal units decreases as the system load increases. In this case, the system's LMP is more dispersed, and the probability that the hyperplane crosses a bid price that does not belong to the actual bid curve decreases. The probability that the hyperplane crosses a bid price that does not belong to the actual bid curve decreases. Table 10 shows that the detected marginal unit is exactly the actual marginal unit, while Table 11 shows a case with only one false detection.
[0091] The feasibility of the proposed marginal unit identification method was verified through simulation studies on an IEEE 118-node test system. The simulation results confirmed that the proposed method has a reasonable level of accuracy in identifying marginal units. Furthermore, the simulation results show that the accuracy is relatively high when the system is heavily loaded, compared to when simulating lower load levels.
[0092] Table 1 Clustering results and estimated fuel types
[0093]
[0094]
[0095] Table 2 Experimental data under load case 1
[0096] Fuel type NUC HYC COL NG NG1 DFO SW HPS quantity 2 1 10 13 1 12 14 1
[0097] Table 3 Experimental data under load case 2
[0098]
[0099]
[0100] Table 4 Experimental data under load case 3
[0101]
[0102] Table 5 Experimental data under load case 4
[0103]
[0104] Table 6 Experimental data under load case 5
[0105]
[0106] Table 7 Experimental data under load case 6
[0107]
[0108]
[0109] Table 8 Experimental data under load condition 7
[0110]
[0111] Table 9 Experimental data under load condition 8
[0112]
[0113] Table 10 Experimental data under load condition 9
[0114]
[0115] Table 11 Experimental data under load case 10
[0116]
[0117]
[0118] Based on the same inventive concept, embodiments of the present application further provide a marginal unit determination device for implementing the marginal unit determination method described above. The implementation solution provided by this device is similar to the implementation solution described in the above method. Therefore, the specific limitations of one or more marginal unit determination device embodiments provided below can be found in the limitations of the marginal unit determination method described above and will not be repeated here.
[0119] In an exemplary embodiment, a marginal unit determination device is provided, comprising: a bid curve acquisition module, configured to acquire a bid curve set; the bid curve set includes historical bid curves corresponding to each sample power plant.
[0120] The clustering module is used to cluster the historical bidding curves in the bidding curve set to obtain the fuel type corresponding to each historical bidding curve.
[0121] The node marginal electricity price acquisition module is used to obtain the node marginal electricity price of each generator set in the target power system.
[0122] The marginal unit determination module is used to determine, for any generator set in the target power system, that if there is at least one historical bidding curve among all historical bidding curves corresponding to the fuel type of the generator set that is equal to the node marginal electricity price of the generator set, the generator set is a marginal unit.
[0123] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, an input / output interface (I / O) and a communication interface. The processor, memory and input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store marginal unit determination data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a marginal unit determination method is implemented.
[0124] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0125] In an exemplary embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.
[0126] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0127] In an exemplary embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0128] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0129] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0130] The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may include, but are not limited to, general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic units, data processing logic units based on quantum computing, and the like.
[0131] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0132] This document uses specific examples to illustrate the principles and implementation methods of this application. The description of the above examples is only intended to help understand the method and core concept of this application. At the same time, for those skilled in the art, based on the concept of this application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for determining a marginal unit, characterized in that: The marginal unit determination method comprises: Acquire a bid curve set; the bid curve set includes historical bid curves corresponding to each sample power plant; Clustering each historical bidding curve in the bidding curve set to obtain the fuel type corresponding to each historical bidding curve; Obtaining the node marginal electricity price of each generator set in the target power system; For any generator set in the target power system, if there is at least one historical bidding curve among all historical bidding curves corresponding to the fuel type of the generator set that is equal to the node marginal electricity price of the generator set, then the generator set is a marginal unit.
2. The method for determining a marginal unit according to claim 1, characterized in that: Clustering the historical bid curves in the bid curve set obtains the fuel type corresponding to each historical bid curve, specifically: According to the characteristics of each historical bidding curve in the bidding curve set, each historical bidding curve in the bidding curve set is clustered to obtain the fuel type corresponding to each historical bidding curve; the characteristics are median output power, minimum bid price, median bid price, number of bidding curve segments or cold start cost.
3. The method for determining a marginal unit according to claim 2, characterized in that: According to the characteristics of each historical bid curve in the bid curve set, each historical bid curve in the bid curve set is clustered to obtain the fuel type corresponding to each historical bid curve, specifically including: A hierarchical clustering method is used to cluster the historical bidding curves in the bidding curve set according to the characteristics of each historical bidding curve in the bidding curve set to obtain the fuel type corresponding to each historical bidding curve.
4. A device for determining a marginal unit, characterized in that: The marginal unit determining device comprises: A bidding curve acquisition module is used to acquire a bidding curve set; the bidding curve set includes historical bidding curves corresponding to each sample power plant; A clustering module, used for clustering the historical bidding curves in the bidding curve set to obtain the fuel type corresponding to each historical bidding curve; A node marginal electricity price acquisition module is used to acquire the node marginal electricity price of each generator set in the target power system; The marginal unit determination module is used to determine that, for any generator set in the target power system, if there is at least one historical bidding curve among all historical bidding curves corresponding to the fuel type of the generator set that is equal to the node marginal electricity price of the generator set, the generator set is a marginal unit.
5. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the marginal unit determination method described in any one of claims 1 to 3.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the marginal unit determination method described in any one of claims 1 to 3 is implemented.
7. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the marginal unit determination method described in any one of claims 1 to 3 is implemented.
