A method for determining virtual power plant ancillary service responsiveness

By determining the peak-shaving margin and output prediction uncertainty of the virtual power plant cluster, and combining the response reliability margin and mutual constraint, the responsive power of ancillary services is optimized, which solves the problem of insufficient response reliability in virtual power plants and improves resource utilization efficiency and market competitiveness.

CN123183991APending Publication Date: 2026-11-27HUANENG CLEAN ENERGY RES INST +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611559158.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-09
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies in virtual power plant ancillary services cannot simultaneously take into account the real-time physical constraints of energy storage, the ability of cluster mutual assistance, market benefits and the risk of non-performance, resulting in the declared power exceeding the actual response capacity of the equipment or idle and wasted resources, and insufficient response reliability.

Method used

By acquiring the resource operation parameters and prediction parameters of the virtual power plant cluster, the peak-shaving margin is determined. Combining the uncertainty of output prediction and the constraint of response reliability margin, an optimization objective function is constructed to determine the responsive power of ancillary services. The expected non-performance risk cost is introduced to achieve mutual assistance between clusters and physical feasibility constraints, thereby optimizing the determination of responsive power.

Benefits of technology

It improves the reliability of actual power response when ancillary services are invoked, enhances the efficiency of multi-cluster resource utilization, avoids insufficient response or resource waste, and achieves synergistic optimization of technical indicators and economic goals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123183991A_ABST
    Figure CN123183991A_ABST
Patent Text Reader

Abstract

The application provides a method for determining virtual power plant auxiliary service responsive power, and relates to the technical field of power system dispatching and control. The method comprises the following steps: acquiring resource operation data, prediction data and constraint parameters of multiple clusters in a virtual power plant; determining the reliability boundary of the auxiliary service power component of each cluster based on the available discharge power of the energy storage of each cluster and the response reliability margin coefficient; determining the mutual support boundary of the auxiliary service power component of each cluster based on the peak regulation margin of each cluster and the transferable power capacity between clusters; and determining the auxiliary service responsive power of the virtual power plant based on the auxiliary service income and the expected non-performance risk cost. The application improves the actual power response reliability when the auxiliary service is called and improves the utilization efficiency of the multi-cluster resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power system dispatching and control, and more specifically, to a method for determining the responsive power of ancillary services in a virtual power plant. Background Technology

[0002] In the electricity ancillary services market, virtual power plants participate in peak shaving and other services by aggregating distributed photovoltaic (PV) and energy storage resources. Most existing solutions use fixed reduction factors to handle energy storage capacity, failing to dynamically update the cluster's discharge capacity based on the real-time state of charge of the energy storage. Most solutions calculate the responsive power of each cluster as an independent unit; even those that consider cluster mutual assistance are prone to over-reliance on external cluster support during the bidding stage, weakening the independent performance capability of individual clusters. Simultaneously, existing technologies lack sufficient means to quantify the risk of uncertainties in PV output forecasting, either overly conservatively compressing the declared power or completely ignoring the default risk caused by forecast deviations, lacking a quantitative risk-cost balancing mechanism based on the statistical characteristics of output error. Existing technologies struggle to simultaneously consider energy storage physical constraints, cluster mutual assistance capabilities, market returns, and default risks, easily leading to declared power exceeding the actual response capacity of equipment, or the practical problem of idle and wasted adjustment resources.

[0003] In summary, existing technologies tend to fall into two extremes: either the declared responsive power is too high, resulting in insufficient response during actual deployment, leading to hefty penalties and damage to market credibility; or the declared power is too conservative, preventing a large number of distributed adjustable resources from participating in ancillary services, resulting in resource waste. Existing technologies struggle to simultaneously address real-time physical constraints of energy storage, the potential for cluster mutual assistance scheduling, market returns, and the risk of non-compliance. The industry urgently needs a technological approach that can consider the real-time physical state of energy storage, maintain the independent compliance baseline of individual clusters, fully explore the potential for cluster mutual assistance, and quantify default risk based on the statistical characteristics of output prediction. This would achieve a synergistic improvement in compliance reliability and resource utilization efficiency, overcoming the aforementioned shortcomings of existing technologies. Summary of the Invention

[0004] To address the issues of low accuracy and insufficient reliability in determining the responsive power of virtual power plant ancillary services in existing technologies, this application proposes a method for determining the responsive power of virtual power plant ancillary services, thereby improving the reliability of the actual power response during ancillary service invocation and enhancing the utilization efficiency of multi-cluster resources.

[0005] Firstly, a method for determining the responsive power of ancillary services in a virtual power plant is provided, the method including: Obtain resource operation parameters, prediction parameters, and constraint parameters of multiple clusters in a virtual power plant; Based on the resource operation parameters and prediction parameters, determine the peak shaving margin for each cluster in each time period; Based on the relationship between the peak-shaving margin of each cluster and the uncertainty of output forecast, the expected non-performance risk cost for each period is determined. An optimization objective is constructed using ancillary service revenue and the expected non-performance risk cost. Under the constraints of response reliability margin and inter-cluster power mutual assistance, the ancillary service responsive power of the virtual power plant is determined. The response reliability margin constraint limits the upper limit of the ancillary service power component of each cluster based on the available discharge power of energy storage in each cluster and the response reliability margin coefficient.

[0006] In one possible implementation, the auxiliary service power component of any cluster is no greater than the dischargeable power of the energy storage available discharge power after being reduced by the response reliability margin coefficient.

[0007] In one possible implementation, the auxiliary service power component of any cluster is determined based on the peak shaving margin and the received transferable power. The output transferable power is limited by the self-sufficiency capacity of the corresponding cluster after satisfying the auxiliary service power component, and the output transferable power is constrained by the upper limit of the inter-cluster transmission capacity.

[0008] In one possible implementation, the ancillary service revenue is determined based on the ancillary service electricity price, the probability of invocation, and the responsive power of the ancillary service; The expected non-performance risk cost is determined based on the call probability, output prediction uncertainty, and insufficient response.

[0009] In one possible implementation, the available discharge power of the energy storage is determined based on the rated maximum discharge power and available charge ratio of each energy storage unit in the cluster, wherein the available charge ratio is the difference between the current charge and the minimum charge of each energy storage unit divided by the difference between the maximum charge and the minimum charge. The charging and discharging power of each energy storage unit is constrained by the rated maximum charging power and the rated maximum discharging power, and the charge of each energy storage unit is constrained by the minimum charge and the maximum charge. At the end of the scheduling cycle, the current charge of each energy storage unit is not less than the initial charge.

[0010] In one possible implementation, the output transferable power is limited by the inherent redundancy of the corresponding cluster after satisfying the auxiliary service power component, and the output transferable power is constrained by the upper limit of inter-cluster transmission capacity, including: The auxiliary service power component of the first cluster does not exceed the sum of the peak-shaving margin of the first cluster and the transferable power received from the second cluster. The transferable power output by the second cluster to the first cluster does not exceed the second cluster's own surplus capacity after deducting the auxiliary service power component of the second cluster from its peak-shaving margin, and does not exceed the upper limit of inter-cluster transmission capacity. The net power of the first cluster is determined based on the photovoltaic output forecast, the net charge and discharge power of energy storage, the load forecast, and the received transferable power, and the net power of the first cluster does not exceed the upper limit of the transformer capacity of the first cluster.

[0011] In one possible implementation, the insufficient response amount is determined based on a comparison between the total output prediction error of each cluster and the available power margin, wherein the available power margin is the difference between the sum of the peak shaving margins of each cluster and the responsive power of the auxiliary services. When the total output prediction error is greater than the available power margin, the response insufficiency is the non-negative excess of the total output prediction error and the available power margin. The expected non-performance risk cost is determined based on the non-performance penalty parameter, the call probability, the insufficient response amount, and the scheduling period length; The revenue from ancillary services is determined based on the ancillary service electricity price, the call probability, the responsive power of the ancillary service, and the length of the scheduling period.

[0012] In one possible implementation, the peak-shaving margin of any cluster is determined based on the cluster's photovoltaic output forecast, net energy storage charge and discharge power, load forecast, and spot market winning bid volume.

[0013] In a second aspect, an electronic device is provided, which includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When a processor executes a program stored in memory, it implements any of the steps described in the first aspect above.

[0014] Thirdly, a computer-readable storage medium is provided, wherein a computer program is stored therein, and when executed by a processor, the computer program implements any of the steps of the method described in the first aspect above.

[0015] The method for determining the responsive power of virtual power plant ancillary services provided in this application determines the reliability boundary of the cluster ancillary service power component by introducing a response reliability margin coefficient to reduce the available discharge power of energy storage. This makes the determination of responsive power no longer solely dependent on the rated capacity or nominal dispatchable capacity of the equipment, but rather limited by the actual physical discharge capacity and reserved safety margin of the energy storage under its current state of charge. This avoids the risk of response failure due to insufficient energy storage or power fluctuations at the source, ensuring the actual performance capability of the virtual power plant during the ancillary service call process.

[0016] By constructing a mutual support boundary based on peak-shaving margin and inter-cluster transferable power capacity, the limitations of treating each cluster as an isolated individual in traditional methods are broken. This allows clusters with surplus output to provide power support to clusters with insufficient output through tie lines or virtual allocation. Under the premise of meeting the constraints of its own ancillary service power components and transmission capacity, the originally idle distributed resource adjustment capacity is transformed into plant-wide effective responsive power, which significantly improves the complementary utilization efficiency of multi-cluster distributed resources and the overall reportable power level.

[0017] By incorporating the expected non-performance risk cost into the determination of responsive power, a quantitative trade-off mechanism between ancillary service revenue and response risk is established. This enables responsive power to adaptively adjust according to the uncertainty of photovoltaic output forecasts, historical call-up probabilities, and available power margins at different times. When the forecast error is large or the margin is small, the responsive power is automatically reduced to lower the default risk. When the risk is controllable, the adjustment capacity is fully released to obtain revenue. This achieves synergistic optimization of technical indicators and economic goals, avoiding the defect of simply pursuing maximum revenue while ignoring the physical feasibility of execution. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 A flowchart illustrating a method for determining the responsive power of ancillary services in a virtual power plant, as provided in an embodiment of this application. Figure 2 A schematic diagram of a device for determining the responsive power of ancillary services in a virtual power plant, provided as an embodiment of this application; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0020] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0021] In the electricity ancillary services market, virtual power plants participate in services such as peak shaving by aggregating distributed photovoltaic and energy storage resources. Existing technologies, when determining the responsive power for ancillary services, typically treat each cluster as an independent entity, simply summing and subtracting the spot market winning bids for the remaining dispatchable capacity as the declared value, or optimizing solely with the goal of maximizing revenue. However, this approach fails to adequately consider the constraints of dynamic changes in the state of charge of energy storage on actual discharge capacity, leading to a determined responsive power that may exceed the actual response capacity of the physical equipment. Furthermore, existing methods neglect the spatiotemporal complementarity of output between geographically dispersed clusters. In addition, the sole pursuit of revenue maximization without quantitative consideration of output prediction uncertainties and non-performance risks can easily lead to default risks due to insufficient response during actual deployment.

[0022] Therefore, in view of the problems of low accuracy and insufficient reliability in determining the respondable power of virtual power plant ancillary services in the existing technology, this application improves the reliability of actual power response when ancillary services are called and enhances the utilization efficiency of multi-cluster resources by proposing a method for determining the respondable power of virtual power plant ancillary services.

[0023] The preferred embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit this application. Furthermore, the embodiments and features in the embodiments of this application can be combined with each other without conflict.

[0024] like Figure 1 As shown, this embodiment provides a method for determining the responsive power of a virtual power plant in the ancillary services market. This method determines the power value that a virtual power plant can reliably commit to in the ancillary services market by comprehensively considering the actual response capabilities of physical equipment, the power exchange potential between clusters, and the economic risks of market dispatch. Specifically, the method includes the following steps: Step S110: Obtain the resource operation parameters, prediction parameters, and constraint parameters of multiple clusters in the virtual power plant.

[0025] Specifically, resource operation parameters include, but are not limited to, information reflecting the current physical condition of the equipment, such as the current state of charge, rated charge / discharge power, charge / discharge efficiency, and real-time operating status of the energy storage units within each cluster. Prediction parameters mainly include time-varying data affecting net regulation capacity, such as predicted photovoltaic output, predicted load, and spot market winning bids for each cluster during future scheduling periods. Constraint parameters cover external boundary conditions such as upper and lower limits of energy storage load, upper limits of transformer capacity, upper limits of inter-cluster tie-line transmission capacity, and the probability of ancillary service market access and penalty prices for non-compliance. These parameters constitute the basic input for subsequently determining the responsive power, ensuring that the decision-making process is based on a true and comprehensive system state.

[0026] Step S120: Based on the resource operation parameters and prediction parameters, determine the peak-shaving margin for each cluster in each time period.

[0027] This step quantifies the remaining regulation capacity of each cluster after satisfying its own load and spot market obligations. Peak-shaving margin reflects the net output capacity of a cluster available for ancillary service responses within a specific time period. Specifically, the peak-shaving margin of each cluster is determined based on its forecasted photovoltaic output, net energy storage charge / discharge power, forecasted load, and spot market winning bids, and can be expressed by the following formula:

[0028] in, Indicates the first The cluster in the th Peak shaving capacity for each time period; Indicates the first The first cluster Forecast values ​​of photovoltaic power output for each time period; and Representing the number of nodes within the cluster Taiwan energy storage unit in the first Discharge power and charging power for each time period; Indicates the first The first cluster Load forecast values ​​for each time period; Indicates the first The first cluster The amount of contracts won in the spot market during each time period. A positive peak-shaving margin indicates that the cluster has surplus output capacity during that time period, while a negative value indicates insufficient output. This intermediate value provides a key input for subsequent calculation of the expected non-performance risk cost and optimization solution.

[0029] Step S130: Based on the relationship between the peak shaving margin of each cluster and the uncertainty of power output prediction, determine the expected non-performance risk cost for each period.

[0030] After determining the peak-shaving margin for each cluster, the risk of non-performance due to photovoltaic output forecasting errors is further assessed. Since the actual output on the following day cannot be predicted during the ancillary services bidding stage, the standard error of photovoltaic forecasting for each cluster is used to quantify the risk of non-performance. Specifically, the expected cost of non-performance risk is determined based on the relationship between the peak-shaving margin of each cluster and the uncertainty of output forecasting, and can be expressed by the following formula:

[0031] in, Indicates the first The expected non-performance risk cost for each time period; Indicates the unit price as a penalty for non-compliance; Indicates the first Historical peak shaving call probability for each time period; Indicates the first The first cluster Standard error of photovoltaic forecast for each time period; Indicates the first The first cluster Peak shaving capacity for each time period; Indicates the first The response power of ancillary services during a given time period; This indicates the length of the scheduling period. In other words, when the total standard error of the photovoltaic forecast for the entire plant exceeds the margin between the peak-shaving capacity and the responsive power, there is a risk of non-performance. The expected penalty is calculated by multiplying the excess by the penalty unit price and the dispatch probability. The larger the margin, the lower the risk of non-performance; the larger the responsive power, the smaller the margin, and the higher the risk of non-performance.

[0032] It should be noted that output prediction uncertainty is a risk phenomenon characterized by a deviation between the actual output of a photovoltaic cluster and the predicted output value. This is a qualitative risk source, representing the possibility of inaccurate output forecasts, and it does not directly participate in the numerical calculations of the formula. Output prediction error is a random variable, referring to the true deviation obtained by subtracting the predicted output value from the actual output of the photovoltaic cluster under a specific operating scenario; the total output prediction error is obtained by summing the output prediction errors of all clusters. During the day-ahead bidding optimization phase, the output prediction error is an unknown random quantity, and its true value cannot be directly obtained; only after the actual scheduling operation is completed can the actual value of the output prediction error corresponding to that scheduling be obtained. The photovoltaic prediction standard error is a statistical characteristic parameter obtained from historical operating data (i.e., the standard deviation of the output prediction error), used to quantitatively describe the strength of the output prediction uncertainty, and is the input parameter of the optimization model in this application; the larger the photovoltaic prediction standard error value, the higher the degree of fluctuation and dispersion of the output prediction error, and the higher the probability of a large output deviation. In optimizing the calculation of expected non-performance risk costs, this application does not use the actual output prediction error that can only be known after operation, but instead uses the photovoltaic prediction standard error obtained from historical statistics to characterize the statistical fluctuation level of the output prediction error, thereby quantitatively assessing the expected non-performance risk caused by the uncertainty of output prediction.

[0033] Step S140: Construct an optimization objective based on ancillary service revenue and expected non-performance risk cost, and determine the ancillary service responsive power of the virtual power plant under the constraints of response reliability margin and inter-cluster power mutual assistance.

[0034] Among them, the response reliability margin constraint limits the upper limit of the ancillary service power component of each cluster based on the available discharge power of energy storage and the response reliability margin coefficient of each cluster.

[0035] Specifically, the optimal responsive power is determined by solving the following objective function:

[0036] in, Indicates the first Ancillary service electricity price forecast for each scheduling period (unit: yuan / MWh); Indicates the first The historical peak-shaving call probability for each time period reflects the likelihood that the market will actually issue a call command. Indicates the first The ancillary service responsive power (unit: kW) of the virtual power plant in each time period is the decision variable of this method; This represents the length of a single scheduling period (in hours). In some embodiments, it can be 0.25, corresponding to a 15-minute scheduling interval. Indicates the first Expected non-performance penalty cost for each time period (unit: yuan). The first term of the formula... This represents the expected peak-shaving return after considering the probability of invocation, where This is a unit conversion factor used to convert kW to MW to match electricity price units, avoiding inflated revenue estimates based on 100% utilization rate; the second item... This represents the expected economic loss when the actual response is lower than the responsive power due to fluctuations in photovoltaic output or insufficient energy storage capacity. By maximizing this objective function, the system can automatically reduce the responsive power during high-risk periods to avoid penalties and fully release capacity to generate revenue during low-risk periods, achieving adaptive synergy between technical indicators and economic goals.

[0037] Meanwhile, the following decomposition constraints are satisfied between the ancillary service response power of the entire plant and the power components of each cluster:

[0038] in, Indicates the first The cluster in the th Ancillary service power components for each time period; This represents the total number of clusters contained in the virtual power plant. The formula indicates that the overall responsive power declared by the virtual power plant is equal to the algebraic sum of the power components of each internal cluster. This constraint ensures that the optimization results at the plant-wide level can be accurately decomposed and implemented in each physical cluster, guaranteeing the traceability and operability of dispatch command execution.

[0039] The above optimization solution needs to satisfy two types of core constraints: the first is the response reliability margin constraint, which limits the upper limit of the auxiliary service power component of each cluster based on the available discharge power of energy storage and the response reliability margin coefficient of each cluster, to ensure that each cluster has the physical basis for independent performance; the second is the inter-cluster power mutual assistance constraint, which allows clusters with surplus output to provide power support to clusters with insufficient output, and achieves cross-cluster collaboration under the premise of satisfying their own power component and transmission capacity constraints.

[0040] Through steps S110 to S140 above, this embodiment constructs a framework for determining responsive power, including parameter acquisition, peak-shaving margin determination, risk cost quantification, and optimization solution. Compared with existing technologies, the responsive power determined by this method is neither a purely economic price detached from physical reality nor an overly conservative fixed capacity reduction, but rather a technical result that deeply integrates physical feasibility and economic optimality. This significantly improves the responsiveness and long-term competitiveness of virtual power plants participating in the ancillary services market.

[0041] Example 2: Building upon Example 1, the mechanism for determining the response reliability margin constraint is further explained in detail. As one implementation method, the ancillary service power component of any cluster is no greater than the dischargeable power of the energy storage after reduction by the response reliability margin coefficient. This constraint establishes the physical safety baseline for cluster participation in ancillary services; that is, the power component committed by the cluster must undergo double verification: firstly, the actual power output capability of the energy storage equipment under the current state; and secondly, the power buffer reserved to address uncertainty risks. It is important to emphasize that this response reliability margin constraint is a hard constraint that is independent for each cluster and cannot be replaced by mutual assistance. Its core design principle is that the ancillary service power component allocated to a cluster must be independently supported by the available discharge power calculated by that cluster based on its current state of charge, and cannot rely on other clusters to fulfill the obligation in advance. Inter-cluster power mutual assistance is a supplementary adjustment mechanism for subsequent deviations in actual response, used to address power gaps caused by prediction errors or equipment fluctuations during the operation phase, but it cannot replace the verification of the independent response capability of each cluster during the bidding phase. In other words, even if a cluster can obtain power support from other clusters through mutual assistance, the power component allocated to that cluster during the bidding stage must still meet the aforementioned reliability margin constraints to ensure that it has the physical basis for independent performance when called upon. The response reliability margin coefficient here is not a static empirical value, but rather a technical parameter characterizing the system's tolerance to uncertainties such as photovoltaic output prediction deviations, equipment response delays, and performance fluctuations. For example, when the response reliability margin coefficient is set to 1.2, it means that the available discharge power of the energy storage must be at least 1.2 times the ancillary service power component. The extra 20% power space is forcibly reserved as a safety margin to absorb various disturbances in actual operation, thereby ensuring that the cluster has a very high degree of confidence in its performance when called upon by the market. Specifically, the aforementioned response reliability margin constraint can be expressed by the following formula:

[0042] in, It is the first The sum of the available discharge power of all energy storage in the cluster (calculated based on the current state of charge percentage). It is the ancillary service power component Multiples. Response reliability margin factor Greater than 1, for example when When the power ratio is 1.2, the available power must be at least 120% of the power component, with a 20% power margin reserved to account for prediction deviations and equipment fluctuations. To accurately quantify the available discharge power of the energy storage, this application dynamically binds it to the real-time state of charge of the energy storage unit. Specifically, the available discharge power is determined based on the rated maximum discharge power of each energy storage unit within the cluster and the available charge ratio. The available charge ratio is the difference between the current charge and the minimum charge of each energy storage unit divided by the difference between the maximum charge and the minimum charge. This calculation logic can be expressed by the following formula:

[0043] in, Indicates the first The cluster in the th Available discharge power for each time period; Indicates the number within the cluster The rated maximum discharge power of the energy storage unit is determined by the equipment parameters; Indicates the first Taiwan energy storage unit in the first Current charge level for each time period; and They represent the first The formula defines the minimum and maximum allowable charge levels for the energy storage unit. The fractional term in the formula represents the available charge ratio, reflecting the energy sufficiency of the energy storage unit relative to its effective regulation range at the current moment. It should be understood that the linear conversion model used here is a preferred implementation method. In other embodiments, a nonlinear mapping function can also be used to determine the available charge ratio based on the discharge characteristic curve of the energy storage battery, as long as it reflects the constraint relationship between the current state of charge and the discharge capacity.

[0044] In addition, to ensure the safe and stable operation of the energy storage units throughout the entire dispatch cycle, a series of physical constraints must be met. Among these constraints, the charging and discharging power of each energy storage unit is limited by the rated maximum charging power and the rated maximum discharging power, the charge capacity of each energy storage unit is limited by the minimum charge capacity and the maximum charge capacity, and the current charge capacity of each energy storage unit is not less than the initial charge capacity at the end of the dispatch cycle.

[0045] These constraints together constitute the feasible operating domain of the energy storage unit, which can be expressed by the following formula:

[0046]

[0047]

[0048]

[0049]

[0050] in, Indicates the first Taiwan energy storage unit in the first The charge level at the end of each time period; This represents the charge level at the end of the previous time period; For the first The charging and discharging efficiency of the energy storage unit; This represents the length of the scheduling period. It describes the dynamic evolution trajectory of charge during the charging and discharging process; The safe operating range for the charge capacity is defined; and It defines the physical boundaries of charging and discharging power; The end-of-day load regression constraint is defined as follows: T is the total number of scheduling periods throughout the day. In this embodiment, T=96, which corresponds to 96 15-minute scheduling periods per day. For the first The initial charge of the energy storage unit must be such that the remaining energy at the end of the dispatch cycle is not less than the initial energy. This ensures that the virtual power plant has sufficient energy reserves after participating in the day's ancillary services to meet the possible dispatch needs of the next day, and avoids the degradation of cross-day response capability due to overdrafting of energy storage capacity.

[0051] Through the above mechanism, this embodiment achieves real-time linkage between ancillary service power components and the physical state of energy storage. For example, if the current charge of an energy storage unit in a cluster is low during a certain period, resulting in a decrease in the available charge ratio, the available discharge power of the energy storage calculated according to the formula will decrease accordingly. With the response reliability margin coefficient remaining unchanged, the upper limit of the ancillary service power component that the cluster is allowed to undertake will also automatically shrink. Conversely, when the energy storage capacity is abundant, the available discharge power increases, and the cluster can undertake more power components. This dynamic adaptive adjustment mechanism effectively differs from the existing approach of using fixed capacity or fixed safety factors. It avoids the risk of non-performance due to blindly reporting high power during low-power periods, and prevents the waste of adjustment capacity due to excessive conservatism during high-power periods, thereby maximizing resource utilization efficiency while ensuring physical safety.

[0052] Example 3: Building upon Examples 1 and 2, this example further details the mechanism for determining the inter-cluster power mutual assistance constraint in step S140. As one implementation method, the peak-shaving margin of any cluster is determined based on the cluster's predicted photovoltaic output, net energy storage charging and discharging power, predicted load, and spot market winning bid volume. The peak-shaving margin represents the remaining power space available for participating in ancillary service regulation after the cluster has prioritized meeting its own load supply and fulfilling its spot market winning bid obligations. Only when the peak-shaving margin is positive does the cluster possess the physical prerequisite to provide regulation capabilities externally or provide mutual assistance support to other clusters.

[0053] Based on the aforementioned peak-shaving margin, this application constructs a cross-cluster power mutual assistance mechanism. As one implementation method, the ancillary service power component of any cluster is determined based on the peak-shaving margin and the received transferable power; wherein, the output transferable power of a cluster that outputs transferable power is limited by its own surplus capacity after satisfying the ancillary service power component, and the output transferable power is constrained by the upper limit of inter-cluster transmission capacity. This mechanism breaks the limitation of treating each cluster as an isolated entity in traditional methods, allowing clusters with surplus output to provide power support to clusters with insufficient output through tie lines, thereby improving the overall responsive power level. It should be understood that the transferable power here includes not only the power actually transmitted through physical tie lines, but also, within the limits allowed by the virtual power plant's internal settlement or energy management system, virtual dispatch or day-ahead energy pre-allocation, as long as it can achieve complementarity in the adjustment capabilities between clusters.

[0054] To ensure the safety and physical feasibility of the mutual assistance process, this embodiment introduces strict constraints. As one implementation, the auxiliary service power component of the first cluster does not exceed the sum of the peak-shaving margin of the first cluster and the transferable power received from the second cluster. This constraint can be expressed by the following formula:

[0055] in, Indicates the first cluster (i.e., the first...) The auxiliary service power component of (a cluster); For its own peak-shaving margin; This indicates that from the second cluster (i.e., the...) The formula shows that the power component committed by the first cluster can be supported by its own regulation capabilities as well as by the power transferred from other clusters, thus breaking through the ceiling of the physical output of a single cluster. It is important to note that inter-cluster power sharing and response reliability margin constraints are two independent constraint mechanisms; sharing cannot replace reliability constraints. The response reliability margin constraint requires that the power component of each cluster must be independently supported by its own available discharge power based on its current state of charge—a hard verification during the bidding phase. Inter-cluster power sharing constraints, on the other hand, allow clusters to increase the overall responsive power through power transfer, provided that reliability constraints are met; this is a supplementary regulation mechanism during the operation phase. The synergistic effect of both ensures the independent performance capability of each cluster while fully utilizing the complementary potential between clusters.

[0056] Meanwhile, to prevent the supporting cluster from over-outputting and thus incurring its own performance risks, the transferable power output from the second cluster to the first cluster cannot exceed the second cluster's own surplus capacity after deducting the ancillary service power component from its peak-shaving margin, and also cannot exceed the upper limit of inter-cluster transmission capacity. This involves two constraints: firstly, the physical limitation of the transmission channel, meaning the transferable power from the second cluster to the first cluster must not exceed the upper limit of inter-cluster transmission capacity. This upper limit is determined by the thermal stability limit of the tie line or the power grid dispatching agreement, as shown in the following formula:

[0057] Secondly, there is the constraint of supply capacity conservation, meaning that the total mutual assistance power output by the second cluster must be limited to its remaining capacity after satisfying its own ancillary service power components. This ensures that mutual assistance behavior does not come at the expense of the provider's own reliability. This constraint can be expressed by the following formula:

[0058] in, For the first The total mutual power provided by each cluster to the outside world This is the cluster's own surplus capacity (peak shaving margin) Subtract its own auxiliary service power component In addition to the mutual power obtained from other clusters ); Furthermore, the flow of mutual power must undergo a safety verification of the transformer capacity. As one implementation, the net power of the first cluster is determined based on the photovoltaic output forecast, the net charge / discharge power of energy storage, the load forecast, and the received transferable power, and the net power of the first cluster does not exceed the upper limit of the transformer capacity of the first cluster. This means that even if the tie line allows for the transmission of greater power, if the received power causes the total power at the grid connection point of the first cluster to exceed the rated capacity of its transformers, the mutual power transfer scheme is not feasible.

[0059] This constraint strictly limits the mutual assistance behavior to the safe operating domain of the power distribution equipment, ensuring the safety of the technical solution during engineering implementation. This transformer capacity constraint can be expressed by the following formula:

[0060] in, The net power of the i-th cluster includes photovoltaic output, net energy storage charging and discharging power, input mutual assistance power, output mutual assistance power, and load. This represents the upper limit of the transformer capacity for the i-th cluster.

[0061] Through the synergistic effect of the above multiple constraints, the cluster mutual assistance realized in this embodiment is no longer a simple economic optimization means, but a physical safety process limited by line thermal stability, transformer capacity and its own surplus capacity, thereby improving resource utilization efficiency while ensuring the overall robustness of the virtual power plant operation.

[0062] Example 4: Building upon Examples 1 to 3, this example further details the collaborative optimization mechanism for determining responsive power based on ancillary service revenue and expected non-compliance risk cost. As one implementation, ancillary service revenue is determined based on ancillary service electricity price, call probability, and ancillary service responsive power; expected non-compliance risk cost is determined based on call probability, output forecast uncertainty, and response insufficiency. This mechanism tightly couples economic objectives with technical risks, ensuring that the final determined responsive power is no longer simply a result of maximizing revenue, but rather seeks the optimal technical balance point for expected net revenue within the physically feasible domain. Here, expected non-compliance risk cost should not be simply understood as an economic penalty under market rules; it is essentially a technical risk metric based on the statistical characteristics of forecast error, used to quantify the confidence level of the system's ability to maintain power commitments when facing dual uncertainties in source and load.

[0063] Specifically, to accurately quantify the aforementioned risk-reward trade-off, this application introduces a comparison logic between available power margin and total output forecast error. As one implementation, the response shortfall is determined based on the comparison between the total output forecast error of each cluster and the available power margin. The available power margin is the difference between the sum of the peak-shaving margins of each cluster and the responsive power of ancillary services. When the total output forecast error exceeds the available power margin, the response shortfall is the non-negative excess of the total output forecast error over the available power margin. Here, the available power margin characterizes the remaining physical adjustment buffer space within the system after the virtual power plant has undertaken the predetermined responsive power of ancillary services, which can be used to absorb forecast deviations. The total output forecast error reflects the statistical fluctuation range of the photovoltaic output forecast value of each cluster deviating from the actual value. When the statistical range of forecast fluctuation exceeds the system's physical buffer space, it means that the system has a technical gap that cannot fully cover uncertainties at the current committed level; this gap is the response shortfall. This comparative logic based on physical margin and statistical error constitutes the core negative feedback mechanism for the optimization model to automatically adjust the responsive power: when the uncertainty of photovoltaic forecasting increases or the system's remaining adjustment capacity decreases during a certain period, the insufficient response increases, thereby increasing the risk cost and forcing the optimization algorithm to actively reduce the responsive power in exchange for higher performance reliability; conversely, during periods of high forecast accuracy or sufficient system margin, the risk cost approaches zero, and the algorithm tends to release more responsive power to obtain benefits.

[0064] Based on the above-mentioned logic for determining insufficient response, the quantitative calculation of the expected cost of non-performance risk is detailed in Example 1. Ancillary service revenue can be quantitatively calculated using the following formula: For details on calculating ancillary service revenue, please refer to the revenue term of the objective function in Example 1. This will not be elaborated upon here.

[0065] It is particularly important to note the probability of invocation. It plays a crucial role in correcting the expected value in the objective function. Because the invocation instructions in the ancillary services market are random, the responsive power declared by the virtual power plant may not necessarily be fully utilized. Statistical analysis based on historical operating data reveals the actual frequency of demand for peak-shaving services from the power grid within a specific time period. Introducing this data into the revenue and risk cost terms of the objective function allows the optimization model to focus on the expected net benefit in the long-term operational context, rather than the extreme cases of a single call. For example, although a large photovoltaic prediction error may lead to high potential risk costs during a certain period, if the historical call probability for that period is extremely low, the expected risk cost remains controllable, and the system does not need to excessively conservatively reduce the responsive power. Conversely, during periods of high call probability, even small prediction deviations can be amplified into significant expected losses, prompting the system to more cautiously determine the responsive power. This weighted processing based on historical statistical attributes effectively avoids resource waste caused by excessive defense against occasional high-risk periods, achieving a synergistic improvement in risk management accuracy and resource utilization efficiency.

[0066] Furthermore, it should be understood that although this embodiment uses the standard error of photovoltaic power output prediction as a quantification method for power output prediction uncertainty, this is only a preferred implementation method. In other embodiments, methods such as scenario analysis, probability distribution fitting, or conditional value at risk (CVaR) can also be used to assess power output prediction uncertainty and response shortfall, as long as they can reflect the potential impact of prediction deviation on the system's performance capability. Similarly, the non-performance penalty parameter... It can correspond to the explicit penalty unit price in market rules, or it can be the internal risk discount factor set according to the virtual power plant's own credit management strategy. This application does not make strict limitations on this.

[0067] The above description represents a preferred embodiment. Other equivalent technical means can also be used to achieve the core idea of ​​this application. Regarding reliability constraints, in addition to using constraints based on the power margin of the energy storage SOC, constraints based on energy margin can also be used, that is, requiring the available energy of the energy storage to be κ times the bid amount; or probabilistic reliability constraints can be used, requiring the system peak-shaving response success probability to be no less than a preset threshold.

[0068] At the level of cluster mutual assistance, in addition to the scheme of using day-ahead optimization to obtain power mutual assistance, the method of pre-allocating energy storage power between clusters in the day-ahead stage can also be adopted; or a virtual mutual assistance mode can be adopted, that is, without actually transmitting physical power, only the capacity allocation at the settlement level is carried out within the virtual power plant.

[0069] In terms of estimating expected non-performance costs, in addition to using the analytical calculation method of photovoltaic prediction standard error, the scenario analysis method can also be used. By enumerating multiple photovoltaic power output scenarios, calculating the non-performance costs under each scenario, and then obtaining the mathematical expectation, the expected non-performance penalty cost can be obtained.

[0070] The optimization solution program corresponding to this method can be deployed in an x86 architecture Linux server environment. The overall model is a linear programming model, and the solution time can reach the second level, which can meet the timeliness requirements of day-ahead bidding. To more clearly illustrate the practical application effect of the technical solution of this application and its progress compared with the prior art, this embodiment provides a comprehensive application scenario of a dual-cluster virtual power plant participating in the ancillary services market, and compares and verifies the determination method provided by this application with the traditional fixed margin method. It should be understood that the specific values ​​in this embodiment are only illustrative examples and are not intended to limit the scope of protection of this application.

[0071] In this application scenario, the virtual power plant is configured with two geographically dispersed clusters, namely Cluster 1 and Cluster 2. During a certain daytime scheduling period... Within the cluster, the predicted photovoltaic output of cluster 1 was reduced due to cloud cover. Low, and its own load Higher, excluding the volume won in the spot market. Subsequently, its self-regulation capacity became strained; while Cluster 2 received ample sunlight, and its photovoltaic output was projected to be high. The load is relatively high and light, with significant power surplus. The two clusters are connected via a single line with rated transmission capacity. For the 50kW interconnection line connection, the upper limit of the transformer capacity of each cluster is... Both are 200kW. Energy storage unit parameters and charge / discharge efficiency. Non-compliance penalty parameters and historical call probability All basic data has been obtained in advance.

[0072] Based on the above scenario, the specific calculation process for determining the responsive power of the ancillary services during this time period using the method provided in this application is as follows: First, calculate the peak-shaving margin for each cluster. Calculations show that the peak-shaving margin of Cluster 1 is... With a capacity of only 30kW, it indicates that after fulfilling its own obligations, it has only 30kW of independent regulation capacity remaining; while the peak-shaving margin of Cluster 2 is... With a capacity of 80kW, it has ample potential for external support.

[0073] Secondly, apply response reliability margin constraints. This is combined with the current state of charge of each energy storage unit. and response reliability margin coefficient (Using 1.2 in this example), the calculated available discharge power of cluster 1 at the current SOC level is 40kW, and that of cluster 2 is 90kW. This means that, without considering mutual assistance, the auxiliary service power component of cluster 1... The upper limit is limited to 33.3kW (40 / 1.2), and the upper limit for cluster 2 is 75kW. At the same time, the system verifies the charging and discharging power of the energy storage units and the SOC evolution trajectory to ensure energy balance and safe operation throughout the entire scheduling cycle.

[0074] Next, the cluster mutual assistance mechanism is triggered to overcome the single-cluster capacity bottleneck. Given that Cluster 1's capacity is insufficient but Cluster 2 has surplus capacity, the system initiates power reallocation. Optimization results show that Cluster 2 transferred 20kW of transferable power to Cluster 1. At this point, the effective support capacity of Cluster 1 increases to 50kW (30kW of its own capacity + 20kW of received power), which is sufficient to handle higher power components. Simultaneously, the transformer capacity is verified, confirming that the net power of Cluster 1 after receiving 20kW of mutual power does not exceed the 200kW upper limit, and the 20kW mutual power does not exceed the 50kW upper limit of the tie line transmission capacity, indicating that the solution is physically feasible.

[0075] Finally, the final responsive power is determined based on a synergistic optimization of returns and risks. The standard error of the photovoltaic forecast for this period is then calculated. Calculate the expected non-performance risk cost under different power declaration levels. By iteratively optimizing the objective function, the system determines the optimal auxiliary service response power for the entire plant during the specified period after weighing the expected benefits of peak shaving against potential penalty costs. The total power is 90kW, which is decomposed into a 50kW component of cluster 1 and a 40kW component of cluster 2. This result makes full use of the spare capacity and mutual assistance channels of cluster 2, and controls the total power within the safe confidence interval through the risk cost term.

[0076] As a comparative example, the fixed margin method, commonly used in existing technologies, was employed to process data for the same scenario. This method does not consider real-time SOC status, mutual assistance capabilities, or prediction uncertainties, and directly multiplies the nominal maximum adjustable capacity of each cluster by a fixed safety factor of 0.8 to obtain the responsive power. In the comparative example, due to the failure to identify the real-time power gap of cluster 1 and the mutual assistance potential of cluster 2, the calculated total responsive power for the entire plant was only 70kW (cluster 1 was severely constrained, and the capacity of cluster 2 was not activated). More importantly, in another set of high-risk period tests with large photovoltaic prediction errors, the fixed margin method, lacking a risk feedback mechanism, mechanically reported a higher power using a factor of 0.8, resulting in significant non-compliance due to output deviations during actual operation, leading to a surge in expected penalty costs. In contrast, the method in this application, during the same high-risk period, sensed that the available power margin was being swallowed up by prediction errors and automatically reduced the responsive power by 15%. Although this sacrificed some theoretical benefits, it successfully avoided high default penalties, resulting in an expected net benefit of 22% higher than the comparative example during that period.

[0077] The above comparative verification demonstrates that the determination method provided in this application is not a simple replacement of numerical calculation rules, but rather establishes an adaptive decision-making mechanism based on physical state perception and dynamic risk feedback. Compared to the static and fixed empirical coefficient method, this application can increase the responsive power by approximately 28% (from 70kW to 90kW); simultaneously, it safeguards the bottom line through negative feedback of risk costs during high-risk periods, effectively reducing the risk of non-performance. This differentiated and intelligent adjustment capability exhibited under different operating conditions fully demonstrates the substantial technological progress of this application's technical solution in improving the reliability of virtual power plant ancillary service response and resource utilization efficiency.

[0078] The method for determining the responsive power of virtual power plant ancillary services provided in this application determines the reliability boundary of the cluster ancillary service power component by introducing a response reliability margin coefficient to reduce the available discharge power of energy storage. This makes the determination of responsive power no longer solely dependent on the rated capacity or nominal dispatchable capacity of the equipment, but rather limited by the actual physical discharge capacity and reserved safety margin of the energy storage under its current state of charge. This avoids the risk of response failure due to insufficient energy storage or power fluctuations at the source, ensuring the actual performance capability of the virtual power plant during the ancillary service call process.

[0079] By constructing a mutual support boundary based on peak-shaving margin and inter-cluster transferable power capacity, the limitations of treating each cluster as an isolated individual in traditional methods are broken. This allows clusters with surplus output to provide power support to clusters with insufficient output through tie lines or virtual allocation. Under the premise of meeting the constraints of its own ancillary service power components and transmission capacity, the originally idle distributed resource adjustment capacity is transformed into plant-wide effective responsive power, which significantly improves the complementary utilization efficiency of multi-cluster distributed resources and the overall reportable power level.

[0080] By incorporating the expected non-performance risk cost into the determination of responsive power, a quantitative trade-off mechanism between ancillary service revenue and response risk is established. This enables responsive power to adaptively adjust according to the uncertainty of photovoltaic output forecasts, historical call-up probabilities, and available power margins at different times. When the forecast error is large or the margin is small, the responsive power is automatically reduced to lower the default risk. When the risk is controllable, the adjustment capacity is fully released to obtain revenue. This achieves synergistic optimization of technical indicators and economic goals, avoiding the defect of simply pursuing maximum revenue while ignoring the physical feasibility of execution.

[0081] Corresponding to the above method, embodiments of this application also provide a device for determining the responsive power of virtual power plant ancillary services, such as... Figure 2 As shown, the device includes: The acquisition unit 210 is used to acquire the resource operation parameters, prediction parameters and constraint parameters of multiple clusters in the virtual power plant; The determining unit 220 is used to determine the peak-shaving margin of each cluster for each time period based on the resource operation parameters and prediction parameters. Furthermore, based on the relationship between the peak-shaving margin of each cluster and the uncertainty of output forecast, the expected non-performance risk cost for each period is determined; An optimization objective is constructed using ancillary service revenue and the expected non-performance risk cost. Under the constraints of response reliability margin and inter-cluster power mutual assistance, the ancillary service responsive power of the virtual power plant is determined. The response reliability margin constraint limits the upper limit of the ancillary service power component of each cluster based on the available discharge power of energy storage in each cluster and the response reliability margin coefficient.

[0082] The functions of each unit in the virtual power plant ancillary service response power determination device provided in the above embodiments of this application can be implemented through the above method steps. Therefore, the specific working process and beneficial effects of each unit in the virtual power plant ancillary service response power determination device provided in the embodiments of this application will not be repeated here.

[0083] This application also provides an electronic device, such as... Figure 3 As shown, it includes a processor 310, a communication interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340.

[0084] Memory 330 is used to store computer programs; When the processor 310 executes the program stored in the memory 330, it performs the following steps: Obtain resource operation parameters, prediction parameters, and constraint parameters of multiple clusters in a virtual power plant; Based on the resource operation parameters and prediction parameters, determine the peak shaving margin for each cluster in each time period; Based on the relationship between the peak-shaving margin of each cluster and the uncertainty of output forecast, the expected non-performance risk cost for each period is determined. An optimization objective is constructed using ancillary service revenue and the expected non-performance risk cost. Under the constraints of response reliability margin and inter-cluster power mutual assistance, the ancillary service responsive power of the virtual power plant is determined. The response reliability margin constraint limits the upper limit of the ancillary service power component of each cluster based on the available discharge power of energy storage in each cluster and the response reliability margin coefficient.

[0085] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0086] The communication interface is used for communication between the aforementioned electronic devices and other devices.

[0087] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0088] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0089] The implementation methods and beneficial effects of the various components of the electronic device in the above embodiments for solving the problem can be found in [reference needed]. Figure 1 The steps in the illustrated embodiments are used to implement the electronic device. Therefore, the specific working process and beneficial effects of the electronic device provided in this application will not be repeated here.

[0090] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores instructions that, when executed on a computer, cause the computer to perform a method for determining the responsive power of a virtual power plant ancillary services as described in any of the above embodiments.

[0091] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute a method for determining the responsive power of a virtual power plant ancillary services as described in any of the above embodiments.

[0092] Those skilled in the art will understand that the embodiments in this application can be provided as methods, systems, or computer program products. Therefore, the embodiments in this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the embodiments in this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0093] This application describes embodiments of methods, apparatus (systems), and computer program products according to embodiments of this application with reference to flowchart illustrations and / or block diagrams. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0094] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0095] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0096] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this invention pertains. The terms "first," "second," and similar terms used in this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected," "coupled," or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0097] Although preferred embodiments have been described in this application, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the embodiments in this application are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments in this application.

[0098] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of the embodiments of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the embodiments of this application and their equivalents, then these modifications and variations are also intended to be included in the embodiments of this application.

Claims

1. A method for determining the responsive power of ancillary services in a virtual power plant, characterized in that, The method includes: Obtain resource operation parameters, prediction parameters, and constraint parameters of multiple clusters in a virtual power plant; Based on the resource operation parameters and prediction parameters, determine the peak shaving margin for each cluster in each time period; Based on the relationship between the peak-shaving margin of each cluster and the uncertainty of output forecast, the expected non-performance risk cost for each period is determined. An optimization objective is constructed using ancillary service revenue and the expected non-performance risk cost. Under the constraints of response reliability margin and inter-cluster power mutual assistance, the ancillary service responsive power of the virtual power plant is determined. The response reliability margin constraint limits the upper limit of the ancillary service power component of each cluster based on the available discharge power of energy storage in each cluster and the response reliability margin coefficient.

2. The method as described in claim 1, characterized in that, The auxiliary service power component of any cluster is no greater than the dischargeable power of the energy storage available discharge power after being reduced by the response reliability margin coefficient.

3. The method as described in claim 1, characterized in that, The auxiliary service power component of any cluster is determined based on the peak shaving margin and the received transferable power; The output transferable power is limited by the self-sufficiency capacity of the corresponding cluster after satisfying the auxiliary service power component, and the output transferable power is constrained by the upper limit of inter-cluster transmission capacity.

4. The method as described in claim 1, characterized in that, The revenue from the ancillary services is determined based on the ancillary service electricity price, the probability of invocation, and the responsive power of the ancillary services. The expected non-performance risk cost is determined based on the call probability, output prediction uncertainty, and insufficient response.

5. The method as described in claim 2, characterized in that, The available discharge power of the energy storage is determined based on the rated maximum discharge power and available charge ratio of each energy storage unit in the cluster. The available charge ratio is the difference between the current charge and the minimum charge of each energy storage unit divided by the difference between the maximum charge and the minimum charge. The charging and discharging power of each energy storage unit is constrained by the rated maximum charging power and the rated maximum discharging power, and the charge of each energy storage unit is constrained by the minimum charge and the maximum charge. At the end of the scheduling cycle, the current charge of each energy storage unit is not less than the initial charge.

6. The method as described in claim 3, characterized in that, The output transferable power is limited by the inherent redundancy of the corresponding cluster after satisfying the auxiliary service power component, and the output transferable power is constrained by the upper limit of inter-cluster transmission capacity, including: The auxiliary service power component of the first cluster does not exceed the sum of the peak-shaving margin of the first cluster and the transferable power received from the second cluster. The transferable power output by the second cluster to the first cluster does not exceed the second cluster's own surplus capacity after deducting the auxiliary service power component of the second cluster from its peak-shaving margin, and does not exceed the upper limit of inter-cluster transmission capacity. The net power of the first cluster is determined based on the photovoltaic output forecast, the net charge and discharge power of energy storage, the load forecast, and the received transferable power, and the net power of the first cluster does not exceed the upper limit of the transformer capacity of the first cluster.

7. The method as described in claim 4, characterized in that, The insufficient response amount is determined based on the comparison between the total output prediction error of each cluster and the available power margin, wherein the available power margin is the difference between the sum of the peak shaving margins of each cluster and the responsive power of the auxiliary services. When the total output prediction error is greater than the available power margin, the response insufficiency is the non-negative excess of the total output prediction error and the available power margin. The expected non-performance risk cost is determined based on the non-performance penalty parameter, the call probability, the insufficient response amount, and the scheduling period length; The revenue from ancillary services is determined based on the ancillary service electricity price, the call probability, the responsive power of the ancillary service, and the length of the scheduling period.

8. The method as described in claim 3, characterized in that, The peak-shaving margin of any cluster is determined based on the cluster's photovoltaic output forecast, net energy storage charge and discharge power, load forecast, and spot market winning bid volume.

9. An electronic device, characterized in that, The electronic device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the method according to any one of claims 1-8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1-8.