Virtual power plant climbing combination generation method and system based on conditional diffusion model

By using a conditional diffusion model and a physical feasible region projection method, a virtual power plant ramp-up resource combination is generated, which solves the efficiency and feasibility problems under large-scale heterogeneous resource conditions and achieves efficient generation of diverse candidate solutions that meet physical constraints.

CN123180673APending Publication Date: 2026-11-27STATE GRID JIANGXI ELECTRIC POWER CO LTD RES INST
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Under conditions of large-scale heterogeneous resources, existing technologies have low efficiency in generating virtual power plant ramp-up resource combinations, and the generated results are difficult to meet physical constraints, making it impossible to effectively generate multiple candidate solutions.

Method used

A conditional diffusion model is used to train resource combinations, and a physical feasible region projection method is combined to generate multiple candidate resource combinations. Through local correction and screening, the physical executability of the solution is ensured.

Benefits of technology

It improves the efficiency of generating virtual power plant ramp-up resource combinations, ensures the diversity of candidate solutions and the physical executability of the final solution, and reduces the online computing burden.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180673A_ABST
    Figure CN123180673A_ABST
Patent Text Reader

Abstract

The application discloses a virtual power plant climbing combination generation method and system based on a conditional diffusion model, and the method comprises the following steps: calculating the maximum available climbing capacity of each flexible resource in the climbing direction according to the flexible resource type; defining participation state variables and climbing call quantities, and constructing a resource combination vector; taking the running state data, the climbing auxiliary service demand and the maximum available climbing capacity as conditional information, training a conditional diffusion model, and generating K candidate resource combinations online; constructing a physical feasible region, projecting and correcting the candidate resource combinations in the local physical feasible region, and obtaining executable resource combinations; calculating the aggregated climbing capacity, the call cost and the performance coefficient, selecting an optimal resource combination, and generating virtual power plant climbing auxiliary service declaration data. The application can reduce the online combination search range under the condition of large-scale heterogeneous resources, improve the candidate resource combination generation efficiency, and ensure the physical executability of the final declaration scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of virtual power plant resource aggregation technology, and particularly relates to a method and system for generating virtual power plant ramp combinations based on a conditional diffusion model. Background Technology

[0002] With the continuous growth of installed capacity of new energy sources, the volatility and uncertainty of power output from wind power, photovoltaics, and other new energy sources are constantly increasing, further raising the demand for rapid adjustment capabilities in the power system. When new energy output changes rapidly or load fluctuates significantly in the short term, the system needs sufficient ramp-up and ramp-down capabilities to cope with power changes between consecutive time periods. Ramp-up ancillary services, by organizing resources with rapid adjustment capabilities, provide the system with the necessary power adjustment space and are an important means to improve the flexible adjustment capability of power systems with a high proportion of new energy.

[0003] Meanwhile, the rapid development of distributed and flexible resources such as energy storage, electric vehicles, adjustable loads, and new energy power plants has continuously increased the types and quantities of regulating resources available to the power system. These resources typically have characteristics such as small individual capacity, dispersed locations, and significant differences in operating characteristics, making it difficult for them to participate in the ramp-up ancillary services market independently. Virtual power plants can aggregate a large number of dispersed and flexible resources into a unified market participant through information communication, coordinated control, and resource aggregation technologies. Therefore, how to rationally aggregate the ramp-up capabilities of various resources based on their real-time operating status and regulating characteristics, and formulate an executable ramp-up ancillary service application plan, is a crucial issue that virtual power plants need to address when participating in ramp-up ancillary services.

[0004] Existing virtual power plant resource aggregation and scheduling methods typically establish mathematical models based on the physical operating characteristics of various resources, and determine the resources participating in ramp-up services and their call volumes through optimization solutions. These methods can explicitly describe constraints such as equipment power boundaries, energy states, response times, durations, and network operating limitations, offering advantages such as clear physical meaning, direct constraint expression, and strong interpretability of results. However, resources within a virtual power plant exhibit significant heterogeneity. Energy storage resources are limited by state of charge, charging and discharging power, and energy capacity; electric vehicles are affected by grid connection status, off-grid time, and electricity demand; adjustable loads are constrained by user energy demand and continuous adjustment time; and new energy resources are limited by current output and remaining adjustable space. Furthermore, different resources differ in response speed, duration, call costs, and fulfillment capabilities. As the number of aggregated resources increases, it becomes necessary to simultaneously determine whether a large number of resources participate in ramp-up services and the specific ramp-up call volume undertaken by each resource, forming a large-scale resource combination problem involving discrete participation decisions and continuous call decisions. When resource status and target ramp-up requirements change continuously, if a new combination search and optimization solution is performed within the entire resource scope each time, the candidate combination space will expand rapidly, and the online computing burden will increase accordingly.

[0005] To improve the efficiency of online decision-making under large-scale resource conditions, data-driven methods are increasingly being applied to resource scheduling and optimization. By utilizing historical operating states, scheduling results, and optimal resource combinations for offline training, data-driven models can learn the relationship between resource operating conditions and scheduling schemes. In the online phase, they can quickly obtain decision results through model inference, thereby reducing the computation time required to repeatedly execute complete optimization solutions. However, traditional machine learning and deterministic deep learning methods based on neural networks typically learn the mapping relationship between given input conditions and deterministic output results, often generating results corresponding to a single resource combination. For the virtual power plant ramp-up resource aggregation problem, the same target ramp-up demand can usually be met by multiple different resource combinations, with different combinations differing in terms of call costs, fulfillment capabilities, and subsequent operational impacts. A single decision result is insufficient to fully reflect the substitution relationship between resources and cannot provide enough candidate space for subsequent scheme verification and optimization.

[0006] Generative artificial intelligence can learn the distribution characteristics of historical high-quality resource combinations and generate multiple differentiated candidate solutions under given operating conditions, providing a new approach to large-scale resource combination problems. The diffusion model learns complex data distributions through progressive noise addition and reverse denoising, demonstrating good applicability in complex distribution representation and the generation of diverse candidate samples. However, the conditional diffusion model is essentially still a data-driven generation method, and its generated results cannot strictly guarantee that all physical constraints in actual operation are met. Candidate resource combinations may exhibit various issues, such as resources being selected despite being currently unavailable, ramp-up calls exceeding resource adjustability, energy storage state of charge exceeding limits, insufficient off-grid power for electric vehicles, unmet energy demands from adjustable loads, response times or durations failing to meet ramp-up service requirements, and violations of network operating constraints. Therefore, candidate resource combinations generated by the conditional diffusion model cannot be directly used as actual resource calls or market application solutions.

[0007] To improve the physical executability of data-driven generation results, the physical feasible region can be used to verify and correct candidate results. Existing physical projection methods can correct data-driven results that do not meet constraints to a certain feasible range, but virtual power plant ramping resource combinations have their own characteristics. On the one hand, the object to be corrected simultaneously includes discrete resource participation states and continuous ramping call volumes; on the other hand, the corrected results also need to simultaneously satisfy multiple constraints such as resource power, energy state, response time, duration, and network operation. If all resources are allowed to freely participate in combination again during the physical correction process, it is easy to re-form a large-scale resource search problem, thereby weakening the advantage of data-driven methods in improving online computation efficiency.

[0008] Therefore, how to improve the generation efficiency of large-scale ramp-up resource combinations while ensuring the diversity of candidate solutions and the physical executability of the final solution is a problem that virtual power plants need to further solve in participating in ramp-up ancillary services. Summary of the Invention

[0009] The purpose of this invention is to provide a method and system for generating virtual power plant ramp combinations based on a conditional diffusion model, which solves the technical problems in the prior art such as high online computation pressure under large-scale heterogeneous resource conditions, difficulty in generating multiple candidate schemes by traditional deterministic data-driven methods, and inability of data-driven generation results to strictly meet physical constraints.

[0010] In a first aspect, the present invention provides a method for generating virtual power plant ramp combinations based on a conditional diffusion model, comprising: Acquire operational status data of various flexible resources within the virtual power plant and the requirements for ramp-up assistance services, wherein the requirements for ramp-up assistance services include ramp-up direction; Based on the operational status data, calculate the maximum available climbing capacity of each flexible resource in the climbing direction according to the flexible resource type; Based on the maximum available ramping capacity, define participation state variables and ramping call volume for each flexible resource, and construct a resource combination vector based on the participation state variables and ramping call volume of each flexible resource. Using the operational status data, the hill-climbing assistance service requirements, and the maximum available hill-climbing capacity as conditional information, and using historical high-quality resource combinations as training samples, a conditional diffusion model is trained. Based on the current conditional information, multiple initial noises are sampled from a standard Gaussian distribution, and K candidate resource combinations are generated through the reverse denoising process of the conditional diffusion model. The physical feasible region for the current time period is constructed based on the maximum available ramp capacity, equipment operation constraints, response time and duration requirements, energy state constraints, and network operation constraints. For each candidate resource combination, starting from the candidate resource combination, within the physical feasible domain, under the condition of limiting the number of resources that can be adjusted at one time, the resource participation state variables and the ramp call volume are jointly modified to obtain the executable resource combination. Calculate the aggregate ramping capacity, call cost, and fulfillment coefficient of each executable resource combination. Eliminate executable resource combinations whose aggregate ramping capacity does not meet the target ramping capacity. Calculate the comprehensive evaluation index of the remaining executable resource combinations. Select the executable resource combination with the best comprehensive evaluation index as the preferred resource combination. Generate virtual power plant ramping auxiliary service application data based on the preferred resource combination.

[0011] Secondly, the present invention provides a virtual power plant ramping combination generation system based on a conditional diffusion model, comprising: The acquisition module is configured to acquire the operating status data of each flexible resource in the virtual power plant and the climbing assistance service requirements, wherein the climbing assistance service requirements include the climbing direction; The calculation module is configured to calculate the maximum available climbing capacity of each flexible resource in the climbing direction according to the running status data and the flexible resource type. The first construction module is configured to define participation state variables and ramp call volume for each flexible resource based on the maximum available ramp capacity, and to construct a resource combination vector based on the participation state variables and ramp call volume of each flexible resource. The generation module is configured to use the running status data, the climbing assistance service requirements, and the maximum available climbing capacity as conditional information, use historical high-quality resource combinations as training samples to train the conditional diffusion model, and sample multiple initial noises from a standard Gaussian distribution based on the current conditional information, and generate K sets of candidate resource combinations through the reverse denoising process of the conditional diffusion model respectively. The second construction module is configured to construct the physical feasible domain for the current time period based on the maximum available ramping capacity, equipment operation constraints, response time and duration requirements, energy state constraints, and network operation constraints. The correction module is configured to, for each candidate resource combination, take the candidate resource combination as the initial point, and within the physical feasible domain, under the condition of limiting the number of resources that can be adjusted at one time, jointly correct the resource participation state variables and the ramp call volume to obtain an executable resource combination. The output module is configured to calculate the aggregate ramping capacity, call cost, and fulfillment coefficient of each executable resource combination, eliminate executable resource combinations whose aggregate ramping capacity does not meet the target ramping capacity, calculate the comprehensive evaluation index of the remaining executable resource combinations, select the executable resource combination with the best comprehensive evaluation index as the preferred resource combination, and generate virtual power plant ramping auxiliary service application data based on the preferred resource combination.

[0012] Thirdly, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the steps of the virtual power plant ramp combination generation method based on the conditional diffusion model of any embodiment of the present invention.

[0013] Fourthly, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor performs the steps of the virtual power plant ramp combination generation method based on the conditional diffusion model of any embodiment of the present invention.

[0014] This application presents a virtual power plant ramping combination generation method and system based on a conditional diffusion model. It establishes a heterogeneous resource state model that considers the operating characteristics and ramping response capabilities of new energy sources, energy storage, electric vehicles, and adjustable loads. This model uniformly describes the ramping capabilities of different resource types and uses resource operating status and target ramping service demand as conditional information for resource combination generation. The method proposes a virtual power plant ramping resource combination generation method based on the conditional diffusion model. It uses the current resource status of the virtual power plant, target ramping capacity, response time, duration, and ramping direction as conditional information, learns the conditional distribution of historical high-quality resource combinations, and generates multiple sets of differentiated candidate ramping resource combinations using different random initial noise levels. This reduces the computational burden of repeatedly searching for combinations within the complete resource space during the online phase. Furthermore, it proposes a local physical feasible region projection method for ramping resource combinations, jointly correcting the discrete resource participation status and continuous ramping call volume, and comprehensively considering constraints such as equipment operation, energy status, response time, duration, and network operation. By limiting the number of resources that can be adjusted at one time, physical modifications are prioritized within the local scope of candidate solutions. When a feasible solution cannot be obtained within the local scope, the scope of modification is gradually expanded, and candidate combinations are regenerated when necessary. Based on ramping capacity, call costs, and performance characteristics, executable resource combinations are selected to form a proposal for virtual power plants to participate in the ramping ancillary services market, balancing the efficiency of candidate solution generation with the feasibility of actual operation. Attached Figure Description

[0015] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 A flowchart illustrating a method for generating virtual power plant ramp combinations based on a conditional diffusion model, as provided in an embodiment of the present invention; Figure 2 This is a structural block diagram of a virtual power plant ramping combination generation system based on a conditional diffusion model, provided in an embodiment of the present invention. Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0018] Please see Figure 1 The diagram shows a flowchart of a virtual power plant ramp combination generation method based on a conditional diffusion model, as presented in this application.

[0019] like Figure 1 As shown, the virtual power plant ramping combination generation method based on the conditional diffusion model specifically includes the following steps: Step S101: Obtain the operating status data of each flexible resource in the virtual power plant and the requirements for ramp-up auxiliary services.

[0020] In this step, the virtual power plant consists of various flexible resources, including new energy sources, energy storage, electric vehicles, and adjustable loads. The virtual power plant obtains the real-time operating status of each resource through a centralized control platform and determines the target ramp-up and ramp-down response capacities based on ramp-up ancillary service market demand information and its own adjustable capabilities. Operating status data includes the current operating power, upper power limit, lower power limit, response time, continuous adjustment time, and call cost of each flexible resource. Ramp-up ancillary service requirements include the target ramp-up capacity, ramp direction, maximum response time, and continuous service time.

[0021] Step S102: Based on the operating status data, calculate the maximum available climbing capacity of each flexible resource in the climbing direction according to the flexible resource type.

[0022] In this step, for new energy resources, the maximum uphill climbing ability and the maximum downhill climbing ability are respectively: , , In the formula, For the collection of new energy resources, Let i be the maximum uphill climbing ability of resource i in time period t. Let i be the maximum downhill climbing ability of resource i in time period t. To determine the maximum available output of new energy resource i during time period t. Let i be the minimum allowable output of new energy resource i during time period t. For the current contribution of new energy resource i in time period t, Let i be the rate of change of power of new energy resource i in time period t. Let i be the rate of change of power of new energy resource i in time period t. The response time scale corresponding to the ramp service; For energy storage resources, the maximum uphill ramp capacity and maximum downhill ramp capacity are as follows: , , In the formula, For the collection of energy storage resources, This represents the maximum ramp-up capability of energy storage resource i during time period t. This represents the maximum downhill ramping capability of energy storage resource i during time period t. This represents the upper limit of the discharge power of energy storage resource i during time period t. This represents the upper limit of the charging power of energy storage resource i during time period t. Let i be the current discharge power of energy storage resource i in time period t. Let i be the current charging power of energy storage resource i in time period t. The power regulation rate of energy storage resource i in time period t. Let i be the power regulation rate of energy storage resource i during time period t; For electric vehicle resources, the maximum uphill climbing ability and maximum downhill climbing ability are as follows: , , In the formula, For the collection of electric vehicle resources, Let i be the maximum uphill climbing capability of electric vehicle resource i during time period t. Let i be the maximum downhill climbing capability of electric vehicle resource i during time period t. This represents the access status of electric vehicle resource i during time period t, set to 1 if access is granted, and 0 otherwise. This represents the upper limit of the discharge power of electric vehicle resource i. The upper limit of charging power for electric vehicle resource i. Let i be the current discharge power of electric vehicle resource i in time period t. Let i be the current charging power of electric vehicle resource i in time period t. The power adjustment rate for electric vehicle resource i. The lower power regulation rate of electric vehicle resource i; For adjustable load resources, the maximum ramp-up capacity and maximum ramp-down capacity are respectively: , , In the formula, For adjustable load resource set, This represents the maximum ramp-up capability of adjustable load resource i during time period t. This represents the maximum downhill ramping capacity of adjustable load resource i during time period t. The baseline power consumption of adjustable load resource i in time period t. This represents the minimum allowable power consumption of adjustable load resource i during time period t. This represents the maximum allowable power consumption of adjustable load resource i during time period t.

[0023] Step S103: Based on the maximum available ramping capacity, define participation state variables and ramping call volume for each flexible resource, and construct a resource combination vector based on the participation state variables and ramping call volume of each flexible resource.

[0024] In this step, for resource i, we set the participation state variable and the ramp call amount. When resource i participates in the ramp service in the ramp direction, the participation state variable is 1; otherwise, the participation state variable is 0, and the following conditions must be met: , In the formula, Let i be the participation state variable of resource i in the climbing direction d during time period t. Let i be the amount of ramp call to resource i in ramp direction d during time period t. Let i be the maximum available climbing capacity of resource i in the climbing direction d during time period t; The climbing resource combination vector for climbing direction d in time period t is: , In the formula, Let be the climbing resource combination vector for the climbing direction d in time period t. The total number of flexible resources within the virtual power plant; The resource combination vector satisfies the target ramp capacity constraint: , , In the formula, Let i be the amount of resource i called during the ramp-up process in time period t. Let i be the amount of resource i called during the downhill ramp-up in time period t. The target uphill capacity for time period t. Let t be the target downhill climbing capacity.

[0025] Step S104: Using the operating status data, the hill-climbing auxiliary service requirements, and the maximum available hill-climbing capacity as conditional information, and using historical high-quality resource combinations as training samples, train the conditional diffusion model. Based on the current conditional information, sample multiple initial noises from a standard Gaussian distribution, and generate K candidate resource combinations through the reverse denoising process of the conditional diffusion model.

[0026] In this step, the resource runtime status matrix is... Information on demand for hill climbing services Commonly used as conditional information: , In the formula, This is the resource operation status matrix for time period t. Let i be the operating state vector of resource i in time period t. This provides information on the climbing service demand for the climbing direction d during time period t. Let d be the target climbing capacity in the climbing direction during time period t. Let d be the maximum response time in the climbing direction d during time period t. Let t be the duration of service in the climbing direction d during time interval t. This provides information about the climbing direction d during time period t. Encode the direction of the climb; The forward noise addition process of the conditional diffusion model is as follows: , In the formula, For conditional probability density, For the resource combination of the m-th diffusion step, For the mth Resource combination in one diffusion step The sign for normal distribution. Let m be the noise intensity at the m-th diffusion step. , It is the identity matrix; The reverse denoising process of the conditional diffusion model is as follows: , In the formula, For parameters Inverse denoising conditional probability density This represents the mean value from the conditional inverse denoising process. Let m be the back diffusion variance of the m-th diffusion step. These are the parameters of the conditional noise prediction network; The training objective of the conditional diffusion model is to minimize the mean square error between the actual noise and the predicted noise. , In the formula, For the training objective, For expectation operator, This is a normalized combination of high-quality historical resources. Standard Gaussian noise, Number the diffusion step. For conditional noise prediction networks, The product of the diffusion coefficients. , , Let J be the noise intensity at the j-th diffusion step. It is the square of the Euclidean norm.

[0027] Furthermore, based on the conditional information, K initial noise vectors are independently sampled from the standard Gaussian distribution: , In the formula, For the k-th initial noise vector, The total number of diffusion steps, Number the candidate resource combinations. The total number of candidate resource combinations. It follows a standard Gaussian distribution; For each initial noise vector, the conditional information is input into the trained conditional diffusion model, and reverse denoising is performed progressively from step M until the generated result is obtained. ; The generated results are inversely normalized to obtain continuous participation variables and their corresponding continuous ramp-up call volumes, and discrete participation state variables are obtained based on the discretization threshold: , In the formula, Let be the participation state variable of resource i in the climbing direction d during time period t in the k-th candidate resource combination. Let be the amount of ramp call for resource i in the ramp direction d during time period t in the k-th candidate resource combination. Let be the discretization threshold for resource i in time period t; Based on the discrete participating state variables and the inverse normalized ramp call volume, the k-th candidate ramp resource combination is obtained: , In the formula, For the k-th candidate climbing resource combination, Let N be the amount of resource N called up the ramp direction d in time period t in the k-th candidate resource combination. Let be the participation state variable of resource N in the climbing direction d during time period t in the k-th candidate resource combination.

[0028] Step S105: Construct the physical feasible domain for the current time period based on the maximum available ramping capacity, equipment operation constraints, response time and duration requirements, energy state constraints, and network operation constraints.

[0029] In this step, the feasible operating domain of the equipment is constructed based on the maximum available ramp capacity and equipment operating constraints. Wherein, the participation state variables and climbing call volume of resource i in the climbing direction d during time period t satisfy: , , In the formula, Let i be the participation state variable of resource i in the climbing direction d during time period t. Let i represent the availability status of resource i during time period t. Let i be the amount of ramp call to resource i in ramp direction d during time period t. Let i be the maximum available climbing capacity of resource i in the climbing direction d during time period t; Based on the response time and duration requirements, construct the climbing service feasible domain. Among them, the resources participating in the hill-climbing service meet the following requirements: , , In the formula, Let i be the response time of resource i in time period t. Let be the duration of resource i's continuous adjustment during time period t. The maximum response time requirement for the climbing direction d during time period t. The required continuous service time for the climbing direction d during time period t; Construct the feasible region of energy states based on energy state constraints. For energy storage resource i, the net injected power after ramp-up is: , In the formula, This refers to the net injected power of energy storage resource i after ramping in the ramping direction d during time period t. The current net power injected into energy storage resource i during time period t. This is the climbing direction coefficient; The energy status after continuous service is as follows: , In the formula, Let i be the charging power of energy storage resource i after it is used for ramping in the ramping direction d during time period t. Let i be the discharge power of energy storage resource i after it is activated in the ramp direction d during time period t. Let i be the energy state of energy storage resource i at the end of its continuous service time. Let i be the initial energy state of energy storage resource i in time period t. The charging efficiency of energy storage resource i. Let i be the discharge efficiency of energy storage resource i. This represents the lower limit of the energy of energy storage resource i. The upper limit of energy for energy storage resource i; Construct a feasible network operating domain based on network operating constraints. Wherein, the power change of node n in the climbing direction d during time period t is: , In the formula, Number the nodes. The power change of node n in the climbing direction d during time period t due to the use of climbing resources; line satisfy: , In the formula, For line numbering, For the line Maximum permissible transmission power For the path before resource access At time period t, the baseline power flow Power transfer distribution factor; The physical feasible region is obtained by finding the intersection of the device operational feasible region, the ramp service feasible region, the energy state feasible region, and the network operational feasible region. Its expression is: , In the formula, Let d be the physically feasible region of the slope direction d during time period t. This is the intersection operator.

[0030] Step S106: For each candidate resource combination, taking the candidate resource combination as the initial point, within the physical feasible domain, under the condition of limiting the number of resources that can be adjusted at one time, the resource participation state variables and the ramp call volume are jointly modified to obtain an executable resource combination.

[0031] In this step, the k-th candidate resource combination is obtained. ,middle, Let be the participation state variable of resource number 1 in the k-th candidate resource combination in the climbing direction d during time period t. Let be the ramp call amount of resource number 1 in the k-th candidate resource combination in the ramp direction d during time period t. Let N be the resource with resource number N in the k-th candidate resource combination, and let d be the participation state variable in the climbing direction d during time period t. Let N be the number of times the resource with resource number N is called uphill in the uphill direction d during time period t in the k-th candidate resource combination. Verify the device operation constraints, response time and duration constraints, energy state constraints, and network operation constraints of each resource within the physical feasible domain. Resources that have participated in ramp-up services, meet all physical constraints, and have a fulfillment coefficient not lower than a preset fulfillment threshold will be included. The resources constitute the anchor resource set The remaining resources will form an adjustable resource set. ; Within the physically feasible region, starting from the candidate resource combination, the number of resources that can be adjusted in a single instance is limited to the upper limit of the number of resources that can be changed in the participating state variables. And anchor point resource set The participation state variables of the resources remain unchanged and a ramp-up margin is reserved. Under the given conditions, the following local physical feasible region projection model is solved, and its expression is: , In the formula, The executable resource combination vector is obtained by solving the local physical feasible region projection model for the k-th candidate resource combination. The operator that takes the value of the variable that minimizes the objective function. For the optimization variable vector in the local physical feasible region projection model, Let d be the physically feasible region of the slope direction d during time period t. It is a collection of resources consisting of all flexible resources within a virtual power plant. For the k-th candidate resource combination, the adjustable resource set is... Let be the participation state adjustment cost coefficient for resource i in the k-th candidate resource combination. Let be the participation state variable of resource i in the climbing direction d during time period t in the k-th candidate resource combination. Let be the optimized value of the state variable of resource i in the climbing direction d during time period t in the projection model. Adjust the cost coefficient for the amount of resource i called in the k-th candidate resource combination. Let be the amount of ramp call for resource i in the ramp direction d during time period t in the k-th candidate resource combination. This represents the optimized value of the ramp call amount for resource i in the ramp direction d during time period t in the projection model. As a penalty weight for performance risk, The proportion of ramp capacity borne by low-performance resources in the projected portfolio, i.e., the performance risk cost; The participation state adjustment cost coefficient takes asymmetric values ​​for adding and removing resources, and its expression is as follows: , In the formula, To incorporate the base cost when the resource participation state variable changes from 0 to 1, The basic cost of removing a resource participation state variable when it changes from 1 to 0. Let be the fulfillment coefficient of resource i in the climbing direction d during time period t, with a value range of [0,1]. The adjustable resource set corresponding to the k-th candidate resource combination The average performance coefficient of all resources in the climbing direction d during time period t. To prevent positive numbers with a denominator of zero, Let i be the maximum available climbing capacity of resource i in the climbing direction d during time period t. The optimal value of the state variable of resource i in the climbing direction d during time period t in the projection model; The expression for the call volume adjustment cost coefficient is: , In the formula, For the call volume to deviate from the weight, The priority level for resource i in the climbing direction d during time period t; The expression for the performance risk cost is: , In the formula, For the optimization variable vector in the local physical feasible region projection model, This is the optimized value of the ramp call amount for resource i in the ramp direction d during time period t in the projection model; The constraints are: , , , , , In the formula, Let d be the target climbing capacity in the climbing direction during time period t. Reserve ramp margin for anchor point resource i. Let be the optimized value of the state variable of resource N in the climbing direction d during time period t in the projection model. This represents the optimized value of the ramp call amount for resource N in the ramp direction d during time period t in the projection model. Let be the optimized value of the state variable of resource 1 in the climbing direction d during time period t in the projection model. This is the optimized value of the ramp call amount for resource 1 in the ramp direction d during time period t in the projection model; If in the current If the local physical feasible region projection model described below has a feasible solution, then the solution will be... As the kth executable resource combination; If in the current If no feasible solution exists, the amount of adjustable resources will be gradually increased according to the anchor point release rule, expressed as: , In the formula, This refers to the amount of resources added each time the local correction is expanded. The maximum number of resources that can be adjusted for a single candidate resource combination; If a feasible solution cannot be obtained after reaching the maximum correction range, then the k-th candidate resource combination is discarded. Iterate through all K candidate resource combinations to obtain a set of executable resource combinations.

[0032] Step S107: Calculate the aggregate ramping capacity, call cost, and fulfillment coefficient of each executable resource combination; eliminate executable resource combinations whose aggregate ramping capacity does not meet the target ramping capacity; calculate the comprehensive evaluation index of the remaining executable resource combinations; select the executable resource combination with the best comprehensive evaluation index as the preferred resource combination; and generate virtual power plant ramping auxiliary service application data based on the preferred resource combination.

[0033] In this step, for the k-th executable resource combination in the set of executable resource combinations, the aggregate ramping capability is calculated, expressed as: In the formula, Let be the aggregate ramping capability of the k-th executable resource combination in ramping direction d during time period t. The total number of flexible resources within the virtual power plant. Let i be the amount of ramp call to resource i in the ramp direction d during time period t in the k-th executable resource combination. The expression for removing executable resource combinations that do not meet the target ramp capacity is: , In the formula, The target climbing capacity is the climbing direction d during time period t. For an executable resource combination that meets the target ramp-up capacity, calculate the resource call cost and normalize it to obtain the normalized call cost, expressed as: , , In the formula, Let be the normalized invocation cost of the k-th executable resource combination in the ramp direction d during time period t. To minimize the resource call cost among all executable resource combinations that meet the target ramp-up capacity, To meet the maximum resource call cost across all executable resource combinations for the target ramp-up capacity, To prevent positive numbers with a denominator of zero, Let be the resource call cost of the k-th executable resource combination in the climbing direction d during time period t. Let i be the unit cost of resource i in the climbing direction d during time period t; The overall performance factor is calculated using the following expression: In the formula, Let be the overall fulfillment coefficient of the k-th executable resource combination in the ramp direction d during time period t. Let be the fulfillment coefficient of resource i in the climbing direction d during time period t. ; Establish a comprehensive evaluation index, expressed as follows: , In the formula, Let be the comprehensive evaluation index for the k-th executable resource combination in the climbing direction d during time period t. The evaluation weight for the degree of matching of climbing ability, As a weight for evaluating the cost of invocation, As the evaluation weight for performance characteristics, ; The optimal resource combination is selected by choosing the executable resource combination with the lowest comprehensive evaluation index. The expression is as follows: , , , In the formula, To select the optimal resource combination number, To find the variable value that minimizes the objective function, This represents the optimal resource combination for the climbing direction d during time period t. For the first A vector representation of a combination of executable resources. To optimize the resource combination, the participation state variables of resource N in the climbing direction d during time period t are determined. To optimize the amount of resource N in the climbing direction d during time period t in the optimal resource combination; The applicable ramp capacity is determined based on the optimal resource combination, expressed as follows: , In the formula, The uphill capacity that can be declared for the uphill direction d during time period t. To optimize the climbing call amount of resource i in the climbing direction d during time period t in the optimal resource combination; The cost of calling the optimal resource combination is calculated using the following expression: , In the formula, To optimize the resource allocation cost in the climbing direction d during time period t; The comprehensive performance coefficient of the optimal resource combination is calculated using the following expression: In the formula, To optimize the overall performance coefficient of the resource combination in the climbing direction d during time period t; The bid price is determined based on the unit call cost and performance risk of the optimal resource combination, expressed as follows: In the formula, The declared price is for the uphill direction d during time period t. The unit price compensation parameter for performance risk; The data for the virtual power plant's ramp-up auxiliary service declaration in ramp-up direction d during time period t is expressed as follows: , In the formula, This refers to the data submitted for climbing assistance services in the climbing direction d during time period t.

[0034] In summary, the method of this application obtains the operational status data and ramp-up auxiliary service requirements of each flexible resource within the virtual power plant; calculates the maximum available ramp-up capacity of each flexible resource in the ramp-up direction according to the flexible resource type; defines participating state variables and ramp-up call quantities to construct a resource combination vector; trains a conditional diffusion model using operational status data, ramp-up auxiliary service requirements, and maximum available ramp-up capacity as conditional information to generate K candidate resource combinations online; constructs a physical feasible region, performs local physical feasible region projection correction on the candidate resource combinations to obtain executable resource combinations; calculates aggregate ramp-up capacity, call cost, and fulfillment coefficient, selects the optimal resource combination, and generates virtual power plant ramp-up auxiliary service application data; this method can reduce the online combination search range under large-scale heterogeneous resource conditions, improve the efficiency of candidate resource combination generation, and ensure the physical executability of the final application scheme.

[0035] Please see Figure 2The diagram shows a structural block diagram of a virtual power plant ramping combination generation system based on a conditional diffusion model according to this application.

[0036] like Figure 2 As shown, the virtual power plant ramp-up combination generation system 200 includes an acquisition module 210, a calculation module 220, a first construction module 230, a generation module 240, a second construction module 250, a correction module 260, and an output module 270.

[0037] The acquisition module 210 is configured to acquire the operating status data and ramp-up auxiliary service requirements of each flexible resource within the virtual power plant, wherein the ramp-up auxiliary service requirements include the ramp-up direction; the calculation module 220 is configured to calculate the maximum available ramp-up capacity of each flexible resource in the ramp-up direction according to the operating status data and the flexible resource type; the first construction module 230 is configured to define participation status variables and ramp-up call quantities for each flexible resource based on the maximum available ramp-up capacity, and construct a resource combination vector based on the participation status variables and ramp-up call quantities of each flexible resource; the generation module 240 is configured to train a conditional diffusion model using the operating status data, the ramp-up auxiliary service requirements, and the maximum available ramp-up capacity as conditional information, and using historical high-quality resource combinations as training samples, and to sample multiple initial noises from a standard Gaussian distribution based on the current conditional information, and to perform reverse denoising using the conditional diffusion model. The process generates K candidate resource combinations; the second construction module 250 is configured to construct the physical feasible domain for the current time period based on the maximum available ramping capacity, equipment operation constraints, response time and duration requirements, energy state constraints, and network operation constraints; the correction module 260 is configured to, for each candidate resource combination, take the candidate resource combination as the initial point, and within the physical feasible domain, under the condition of limiting the number of resources that can be adjusted at one time, jointly correct the resource participation state variables and ramping call volume to obtain an executable resource combination; the output module 270 is configured to calculate the aggregate ramping capacity, call cost, and fulfillment coefficient of each executable resource combination, eliminate executable resource combinations whose aggregate ramping capacity does not meet the target ramping capacity, calculate the comprehensive evaluation index of the remaining executable resource combinations, select the executable resource combination with the best comprehensive evaluation index as the preferred resource combination, and generate virtual power plant ramping auxiliary service application data based on the preferred resource combination.

[0038] It should be understood that Figure 2 The modules and references described in the document Figure 1 The steps described in the text correspond to those in the method described above. Therefore, the operations, features, and corresponding technical effects described above also apply to the method described in the text. Figure 2 The various modules in the document will not be described in detail here.

[0039] In other embodiments, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor performs the virtual power plant ramping combination generation method based on the conditional diffusion model in any of the above method embodiments. In one embodiment, the computer-readable storage medium of the present invention stores computer-executable instructions, which are configured as follows: Acquire the operational status data of various flexible resources within the virtual power plant and the requirements for ramp-up assistance services, wherein the requirements for ramp-up assistance services include the ramp-up direction; Based on the operational status data, calculate the maximum available climbing capacity of each flexible resource in the climbing direction according to the flexible resource type; Based on the maximum available ramping capacity, define participation state variables and ramping call volume for each flexible resource, and construct a resource combination vector based on the participation state variables and ramping call volume of each flexible resource. Using the operational status data, the hill-climbing assistance service requirements, and the maximum available hill-climbing capacity as conditional information, and using historical high-quality resource combinations as training samples, a conditional diffusion model is trained. Based on the current conditional information, multiple initial noises are sampled from a standard Gaussian distribution, and K candidate resource combinations are generated through the reverse denoising process of the conditional diffusion model. The physical feasible region for the current time period is constructed based on the maximum available ramp capacity, equipment operation constraints, response time and duration requirements, energy state constraints, and network operation constraints. For each candidate resource combination, starting from the candidate resource combination, within the physical feasible domain, under the condition of limiting the number of resources that can be adjusted at one time, the resource participation state variables and the ramp call volume are jointly modified to obtain the executable resource combination. Calculate the aggregate ramping capacity, call cost, and fulfillment coefficient of each executable resource combination. Eliminate executable resource combinations whose aggregate ramping capacity does not meet the target ramping capacity. Calculate the comprehensive evaluation index of the remaining executable resource combinations. Select the executable resource combination with the best comprehensive evaluation index as the preferred resource combination. Generate virtual power plant ramping auxiliary service application data based on the preferred resource combination.

[0040] Computer-readable storage media may include a stored program area and a stored data area, wherein the stored program area may store an operating system and an application program required for at least one function; the stored data area may store data created based on the use of the virtual power plant ramping combination generation system based on the conditional diffusion model, etc. Furthermore, the computer-readable storage medium may include high-speed random access memory, and may also include memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the computer-readable storage medium may optionally include memory remotely located relative to the processor, which can be connected to the virtual power plant ramping combination generation system based on the conditional diffusion model via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0041] Figure 3 This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present invention, such as... Figure 3 As shown, the device includes a processor 310 and a memory 320. The electronic device may also include an input device 330 and an output device 340. The processor 310, memory 320, input device 330, and output device 340 can be connected via a bus or other means. Figure 3 Taking a bus connection as an example, the memory 320 is the computer-readable storage medium described above. The processor 310 executes various server functions and data processing by running non-volatile software programs, instructions, and modules stored in the memory 320, thereby implementing the virtual power plant ramp-up combination generation method based on the conditional diffusion model described in the above method embodiment. The input device 330 can receive input digital or character information and generate key signal inputs related to user settings and function control of the virtual power plant ramp-up combination generation system based on the conditional diffusion model. The output device 340 may include a display screen or other display device.

[0042] The aforementioned electronic device can execute the method provided in the embodiments of the present invention, and has the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in this embodiment can be found in the method provided in the embodiments of the present invention.

[0043] In one implementation, the above-described electronic device is applied to a virtual power plant ramping combination generation system based on a conditional diffusion model, for a client, and includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Acquire the operational status data of various flexible resources within the virtual power plant and the requirements for ramp-up assistance services, wherein the requirements for ramp-up assistance services include the ramp-up direction; Based on the operational status data, calculate the maximum available climbing capacity of each flexible resource in the climbing direction according to the flexible resource type; Based on the maximum available ramping capacity, define participation state variables and ramping call volume for each flexible resource, and construct a resource combination vector based on the participation state variables and ramping call volume of each flexible resource. Using the operational status data, the hill-climbing assistance service requirements, and the maximum available hill-climbing capacity as conditional information, and using historical high-quality resource combinations as training samples, a conditional diffusion model is trained. Based on the current conditional information, multiple initial noises are sampled from a standard Gaussian distribution, and K candidate resource combinations are generated through the reverse denoising process of the conditional diffusion model. The physical feasible region for the current time period is constructed based on the maximum available ramp capacity, equipment operation constraints, response time and duration requirements, energy state constraints, and network operation constraints. For each candidate resource combination, starting from the candidate resource combination, within the physical feasible domain, under the condition of limiting the number of resources that can be adjusted at one time, the resource participation state variables and the ramp call volume are jointly modified to obtain the executable resource combination. Calculate the aggregate ramping capacity, call cost, and fulfillment coefficient of each executable resource combination. Eliminate executable resource combinations whose aggregate ramping capacity does not meet the target ramping capacity. Calculate the comprehensive evaluation index of the remaining executable resource combinations. Select the executable resource combination with the best comprehensive evaluation index as the preferred resource combination. Generate virtual power plant ramping auxiliary service application data based on the preferred resource combination.

[0044] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or some parts of embodiments.

[0045] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for generating virtual power plant ramp combinations based on a conditional diffusion model, characterized in that, include: Acquire operational status data of various flexible resources within the virtual power plant and the requirements for ramp-up assistance services, wherein the requirements for ramp-up assistance services include ramp-up direction; Based on the operational status data, calculate the maximum available climbing capacity of each flexible resource in the climbing direction according to the flexible resource type; Based on the maximum available ramping capacity, define participation state variables and ramping call volume for each flexible resource, and construct a resource combination vector based on the participation state variables and ramping call volume of each flexible resource. Using the operational status data, the hill-climbing assistance service requirements, and the maximum available hill-climbing capacity as conditional information, and using historical high-quality resource combinations as training samples, a conditional diffusion model is trained. Based on the current conditional information, multiple initial noises are sampled from a standard Gaussian distribution, and K candidate resource combinations are generated through the reverse denoising process of the conditional diffusion model. The physical feasible region for the current time period is constructed based on the maximum available ramp capacity, equipment operation constraints, response time and duration requirements, energy state constraints, and network operation constraints. For each candidate resource combination, starting from the candidate resource combination, within the physical feasible domain, under the condition of limiting the number of resources that can be adjusted at one time, the resource participation state variables and the ramp call volume are jointly modified to obtain the executable resource combination. Calculate the aggregate ramping capacity, call cost, and fulfillment coefficient of each executable resource combination. Eliminate executable resource combinations whose aggregate ramping capacity does not meet the target ramping capacity. Calculate the comprehensive evaluation index of the remaining executable resource combinations. Select the executable resource combination with the best comprehensive evaluation index as the preferred resource combination. Generate virtual power plant ramping auxiliary service application data based on the preferred resource combination.

2. The method for generating virtual power plant ramp combinations based on a conditional diffusion model according to claim 1, characterized in that, The step of calculating the maximum available climbing capacity of each flexible resource in the climbing direction according to the operational status data and the flexible resource type includes: For new energy resources, the maximum uphill climbing ability and the maximum downhill climbing ability are respectively: , , In the formula, For the collection of new energy resources, Let i be the maximum uphill climbing ability of resource i in time period t. Let i be the maximum downhill climbing ability of resource i in time period t. To determine the maximum available output of new energy resource i during time period t. Let i be the minimum allowable output of new energy resource i during time period t. For the current contribution of new energy resource i in time period t, Let i be the rate of change of power of new energy resource i in time period t. Let i be the rate of change of power of new energy resource i in time period t. The response time scale corresponding to the ramp service; For energy storage resources, the maximum uphill ramp capacity and maximum downhill ramp capacity are as follows: , , In the formula, For the collection of energy storage resources, This represents the maximum ramp-up capability of energy storage resource i during time period t. This represents the maximum downhill ramping capability of energy storage resource i during time period t. This represents the upper limit of the discharge power of energy storage resource i during time period t. This represents the upper limit of the charging power of energy storage resource i during time period t. Let i be the current discharge power of energy storage resource i in time period t. Let i be the current charging power of energy storage resource i in time period t. The power regulation rate of energy storage resource i in time period t. Let i be the power regulation rate of energy storage resource i during time period t; For electric vehicle resources, the maximum uphill climbing ability and maximum downhill climbing ability are as follows: , , In the formula, For the collection of electric vehicle resources, Let i be the maximum uphill climbing capability of electric vehicle resource i during time period t. Let i be the maximum downhill climbing capability of electric vehicle resource i during time period t. This represents the access status of electric vehicle resource i during time period t, set to 1 if access is granted, and 0 otherwise. This represents the upper limit of the discharge power of electric vehicle resource i. The upper limit of charging power for electric vehicle resource i. Let i be the current discharge power of electric vehicle resource i in time period t. Let i be the current charging power of electric vehicle resource i in time period t. The power adjustment rate for electric vehicle resource i. The lower power regulation rate of electric vehicle resource i; For adjustable load resources, the maximum ramp-up capacity and maximum ramp-down capacity are respectively: , , In the formula, For adjustable load resource set, This represents the maximum ramp-up capability of adjustable load resource i during time period t. This represents the maximum downhill ramping capacity of adjustable load resource i during time period t. The baseline power consumption of adjustable load resource i in time period t. The minimum allowable power consumption of adjustable load resource i during time period t. This represents the maximum allowable power consumption of adjustable load resource i during time period t.

3. The method for generating virtual power plant ramp combinations based on a conditional diffusion model according to claim 1, characterized in that, The step of defining participation state variables and ramp call amounts for each flexible resource based on the maximum available ramp capacity, and constructing a resource combination vector based on the participation state variables and ramp call amounts of each flexible resource, includes: For resource i, set the participation state variable and the number of ramp calls. When resource i participates in the ramp service in the ramp direction, the participation state variable is 1; otherwise, the participation state variable is 0, and the following conditions must be met: , In the formula, Let i be the participation state variable of resource i in the climbing direction d during time period t. Let i be the amount of ramp call to resource i in ramp direction d during time period t. Let i be the maximum available climbing capacity of resource i in the climbing direction d during time period t; The climbing resource combination vector for climbing direction d in time period t is: , In the formula, Let be the climbing resource combination vector for the climbing direction d in time period t. The total number of flexible resources within the virtual power plant; The resource combination vector satisfies the target ramp capacity constraint: , , In the formula, Let i be the amount of resource i called during the ramp-up process in time period t. Let i be the amount of resource i called during the downhill ramp-up in time period t. The target uphill capacity for time period t. Let t be the target downhill climbing capacity.

4. The method for generating virtual power plant ramp combinations based on a conditional diffusion model according to claim 1, characterized in that, The conditional diffusion model is trained using the operational status data, the hill-climbing assistance service requirements, and the maximum available hill-climbing capacity as conditional information, and historical high-quality resource combinations as training samples. Resource operation status matrix Information on demand for hill climbing services Commonly used as conditional information: , In the formula, This is the resource operation status matrix for time period t. Let i be the operating state vector of resource i in time period t. This provides information on the climbing service demand for the climbing direction d during time period t. Let d be the target climbing capacity in the climbing direction during time period t. Let d be the maximum response time in the climbing direction during time period t. Let t be the duration of service in the climbing direction d during time interval t. This provides information about the climbing direction d during time period t. Encode the direction of the climb; The forward noise addition process of the conditional diffusion model is as follows: , In the formula, For conditional probability density, For the resource combination of the m-th diffusion step, For the mth Resource combination in one diffusion step, The sign for normal distribution. Let m be the noise intensity at the m-th diffusion step. , It is the identity matrix; The reverse denoising process of the conditional diffusion model is as follows: , In the formula, For parameters Inverse denoising conditional probability density This represents the mean value of the conditional inverse denoising process. Let Variance be the back diffusion variance at the m-th diffusion step. These are the parameters of the conditional noise prediction network; The training objective of the conditional diffusion model is to minimize the mean square error between the actual noise and the predicted noise. , In the formula, For the training objective, For expectation operator, This is a normalized combination of high-quality historical resources. Standard Gaussian noise, Number the diffusion step. For conditional noise prediction networks, The product of the diffusion coefficients. , , Let J be the noise intensity at the j-th diffusion step. It is the square of the Euclidean norm.

5. The method for generating virtual power plant ramp combinations based on a conditional diffusion model according to claim 1, characterized in that, The step of sampling multiple initial noises from a standard Gaussian distribution based on current condition information, and generating K candidate resource combinations through the reverse denoising process of the conditional diffusion model, includes: Based on the conditional information, independently sample K initial noise vectors from a standard Gaussian distribution: , In the formula, For the k-th initial noise vector, The total number of diffusion steps, Number the candidate resource combinations. The total number of candidate resource combinations. It follows a standard Gaussian distribution; For each initial noise vector, the conditional information is input into the trained conditional diffusion model, and reverse denoising is performed progressively from step M until the generated result is obtained. ; The generated results are inversely normalized to obtain continuous participation variables and their corresponding continuous ramp-up call volumes, and discrete participation state variables are obtained based on the discretization threshold: , In the formula, Let be the participation state variable of resource i in the climbing direction d during time period t in the k-th candidate resource combination. Let be the amount of ramp call for resource i in the ramp direction d during time period t in the k-th candidate resource combination. Let be the discretization threshold for resource i in time period t; Based on the discrete participating state variables and the inverse normalized ramp call volume, the k-th candidate ramp resource combination is obtained: , In the formula, For the k-th candidate climbing resource combination, Let N be the amount of resource N called up the ramp direction d in time period t in the k-th candidate resource combination. Let be the participation state variable of resource N in the climbing direction d during time period t in the k-th candidate resource combination.

6. The method for generating virtual power plant ramp combinations based on a conditional diffusion model according to claim 1, characterized in that, The process of constructing the physical feasible domain for the current time period based on the maximum available ramp capacity, equipment operating constraints, response time and duration requirements, energy state constraints, and network operating constraints includes: Based on the maximum available ramp capacity and equipment operating constraints, the feasible operating domain of the equipment is constructed. Wherein, the participation state variables and climbing call volume of resource i in the climbing direction d during time period t satisfy: , , In the formula, Let i be the participation state variable of resource i in the climbing direction d during time period t. Let i represent the availability status of resource i during time period t. Let i be the amount of ramp call to resource i in ramp direction d during time period t. Let i be the maximum available climbing capacity of resource i in the climbing direction d during time period t; Based on the response time and duration requirements, construct the climbing service feasible domain. Among them, the resources participating in the hill-climbing service meet the following requirements: , , In the formula, Let i be the response time of resource i in time period t. Let be the duration of resource i's continuous adjustment during time period t. The maximum response time requirement for the climbing direction d during time period t. The required continuous service time for the climbing direction d during time period t; Construct the feasible region of energy states based on energy state constraints. For energy storage resource i, the net injected power after ramp-up is: , In the formula, This refers to the net injected power of energy storage resource i after ramping in the ramping direction d during time period t. The current net power injected into energy storage resource i during time period t. This is the climbing direction coefficient; The energy status after continuous service is as follows: , In the formula, Let i be the charging power of energy storage resource i after it is used for ramping in the ramping direction d during time period t. Let i be the discharge power of energy storage resource i after it is activated in the ramp direction d during time period t. Let i be the energy state of energy storage resource i at the end of its continuous service time. Let i be the initial energy state of energy storage resource i in time period t. The charging efficiency of energy storage resource i. Let i be the discharge efficiency of energy storage resource i. This represents the lower limit of the energy of energy storage resource i. The upper limit of energy for energy storage resource i; Construct a feasible network operating domain based on network operating constraints. Wherein, the power change of node n in the climbing direction d during time period t is: , In the formula, Number the nodes. The power change of node n in the climbing direction d during time period t due to the use of climbing resources; line satisfy: , In the formula, For line numbering, For the line Maximum permissible transmission power For the path before resource access At time period t, the baseline power flow Power transfer distribution factor; The physical feasible region is obtained by finding the intersection of the device operational feasible region, the ramp service feasible region, the energy state feasible region, and the network operational feasible region. Its expression is: , In the formula, Let d be the physically feasible region of the slope direction d during time period t. This is the intersection operator.

7. The method for generating virtual power plant ramp combinations based on a conditional diffusion model according to claim 1, characterized in that, For each candidate resource combination, taking the candidate resource combination as the initial point, within the physical feasible domain, under the condition of limiting the number of resources that can be adjusted at one time, the resource participation state variables and the ramp-up call volume are jointly corrected to obtain executable resource combinations, including: Obtain the kth candidate resource combination ,middle, Let be the participation state variable of resource number 1 in the k-th candidate resource combination in the climbing direction d during time period t. Let be the ramp call amount of resource number 1 in the k-th candidate resource combination in the ramp direction d during time period t. Let N be the resource with resource number N in the k-th candidate resource combination, and let d be the participation state variable of the resource in the climbing direction d during time period t. The ramp call amount of resource with resource number N in the k-th candidate resource combination in the ramp direction d during time period t; Verify the device operation constraints, response time and duration constraints, energy state constraints, and network operation constraints of each resource within the physical feasible domain. Resources that have participated in ramp-up services, meet all physical constraints, and have a fulfillment coefficient not lower than a preset fulfillment threshold will be included. The resources constitute the anchor resource set The remaining resources will form an adjustable resource set. ; Within the physically feasible region, starting from the candidate resource combination, the number of resources that can be adjusted in a single instance is limited to the upper limit of the number of resources that can be changed in the participating state variables. And anchor point resource set The participation state variables of the resources remain unchanged and a ramp-up margin is reserved. Under the given conditions, the following local physical feasible region projection model is solved, and its expression is: , In the formula, The executable resource combination vector is obtained by solving the local physical feasible region projection model for the k-th candidate resource combination. The operator that takes the value of the variable that minimizes the objective function. For the optimization variable vector in the local physical feasible region projection model, Let d be the physically feasible region of the slope direction d during time period t. It is a collection of resources consisting of all flexible resources within a virtual power plant. For the k-th candidate resource combination, the adjustable resource set is... Let be the participation state adjustment cost coefficient for resource i in the k-th candidate resource combination. Let be the participation state variable of resource i in the climbing direction d during time period t in the k-th candidate resource combination. Let be the optimized value of the state variable of resource i in the climbing direction d during time period t in the projection model. Adjust the cost coefficient for the amount of resource i called in the k-th candidate resource combination. Let be the amount of ramp call for resource i in the ramp direction d during time period t in the k-th candidate resource combination. This represents the optimized value of the ramp call amount for resource i in the ramp direction d during time period t in the projection model. As a penalty weight for performance risk, The proportion of ramp capacity borne by low-performance resources in the projected portfolio, i.e., the performance risk cost; The participation state adjustment cost coefficient takes asymmetric values ​​for adding and removing resources, and its expression is as follows: , In the formula, To incorporate the base cost when the resource participation state variable changes from 0 to 1, The basic cost of removing a resource participation state variable when it changes from 1 to 0. Let be the fulfillment coefficient of resource i in the climbing direction d during time period t, with a value range of [0,1]. The adjustable resource set corresponding to the k-th candidate resource combination The average performance coefficient of all resources in the climbing direction d during time period t. To prevent positive numbers with a denominator of zero, Let i be the maximum available climbing capacity of resource i in the climbing direction d during time period t. The optimal value of the state variable of resource i in the climbing direction d during time period t in the projection model; The expression for the call volume adjustment cost coefficient is: , In the formula, For the call volume to deviate from the weight, The priority level for resource i in the climbing direction d during time period t; The expression for the performance risk cost is: , In the formula, For the optimization variable vector in the local physical feasible region projection model, This is the optimized value of the ramp call amount for resource i in the ramp direction d during time period t in the projection model; The constraints are: , , , , , In the formula, Let d be the target climbing capacity in the climbing direction during time period t. Reserve ramp margin for anchor point resource i. Let be the optimized value of the state variable of resource N in the climbing direction d during time period t in the projection model. This represents the optimized value of the ramp call amount for resource N in the ramp direction d during time period t in the projection model. Let be the optimized value of the state variable of resource 1 in the climbing direction d during time period t in the projection model. This is the optimized value of the ramp call amount for resource 1 in the ramp direction d during time period t in the projection model; If in the current If the local physical feasible region projection model described below has a feasible solution, then the solution will be... As the kth executable resource combination; If in the current If no feasible solution exists, the amount of adjustable resources will be gradually increased according to the anchor point release rule, expressed as: , In the formula, This refers to the amount of resources added each time the local correction is expanded. The maximum number of resources that can be adjusted for a single candidate resource combination; If a feasible solution cannot be obtained after reaching the maximum correction range, then the k-th candidate resource combination is discarded. Iterate through all K candidate resource combinations to obtain a set of executable resource combinations.

8. The method for generating virtual power plant ramp combinations based on a conditional diffusion model according to claim 1, characterized in that, The calculation of the aggregate ramping capacity, call cost, and fulfillment coefficient of each executable resource combination, the elimination of executable resource combinations whose aggregate ramping capacity does not meet the target ramping capacity, the calculation of the comprehensive evaluation index of the remaining executable resource combinations, the selection of the executable resource combination with the best comprehensive evaluation index as the preferred resource combination, and the generation of virtual power plant ramping auxiliary service application data based on the preferred resource combination include: For the k-th executable resource combination in the set of executable resource combinations, the aggregate ramping capability is calculated as follows: , In the formula, Let be the aggregate ramping capability of the k-th executable resource combination in ramping direction d during time period t. The total number of flexible resources within the virtual power plant. Let i be the amount of ramp call to resource i in the ramp direction d during time period t in the k-th executable resource combination. The expression for removing executable resource combinations that do not meet the target ramp capacity is: , In the formula, The target climbing capacity is the climbing direction d during time period t. For an executable resource combination that meets the target ramp-up capacity, calculate the resource call cost and normalize it to obtain the normalized call cost, expressed as: , , In the formula, Let be the normalized invocation cost of the k-th executable resource combination in the ramp direction d during time period t. To minimize the resource call cost among all executable resource combinations that meet the target ramp-up capacity, To meet the maximum resource call cost across all executable resource combinations for the target ramp-up capacity, To prevent positive numbers with a denominator of zero, Let be the resource call cost of the k-th executable resource combination in the climbing direction d during time period t. Let i be the unit cost of resource i in the climbing direction d during time period t; The overall performance factor is calculated using the following expression: , In the formula, Let be the overall fulfillment coefficient of the k-th executable resource combination in the ramp direction d during time period t. Let be the fulfillment coefficient of resource i in the climbing direction d during time period t. ; Establish a comprehensive evaluation index, expressed as follows: , In the formula, Let be the comprehensive evaluation index for the k-th executable resource combination in the climbing direction d during time period t. The evaluation weight for the degree of matching of climbing ability, As a weight for evaluating the cost of invocation, As the evaluation weight for performance characteristics, ; The optimal resource combination is selected by choosing the executable resource combination with the lowest comprehensive evaluation index. The expression is as follows: , , , In the formula, To select the optimal resource combination number, To find the variable value that minimizes the objective function, This represents the optimal resource combination for the climbing direction d during time period t. For the first A vector representation of a combination of executable resources. To optimize the resource combination, the participation state variables of resource N in the climbing direction d during time period t are determined. To optimize the amount of resource N in the climbing direction d during time period t in the optimal resource combination; The applicable ramp capacity is determined based on the optimal resource combination, expressed as follows: , In the formula, The uphill capacity that can be declared for the uphill direction d during time period t. To optimize the climbing call amount of resource i in the climbing direction d during time period t in the optimal resource combination; The cost of calling the optimal resource combination is calculated using the following expression: , In the formula, To optimize the resource allocation cost in the climbing direction d during time period t; The comprehensive performance coefficient of the optimal resource combination is calculated using the following expression: , In the formula, To optimize the overall performance coefficient of the resource combination in the climbing direction d during time period t; The bid price is determined based on the unit call cost and performance risk of the optimal resource combination, expressed as follows: , In the formula, The declared price is for the uphill direction d during time period t. The unit price compensation parameter for performance risk; The data for the virtual power plant's ramp-up auxiliary service declaration in ramp-up direction d during time period t is expressed as follows: , In the formula, This refers to the data submitted for climbing assistance services in the climbing direction d during time period t.

9. A virtual power plant ramp-up combination generation system based on a conditional diffusion model, characterized in that, include: The acquisition module is configured to acquire the operating status data of each flexible resource in the virtual power plant and the climbing assistance service requirements, wherein the climbing assistance service requirements include the climbing direction; The calculation module is configured to calculate the maximum available climbing capacity of each flexible resource in the climbing direction according to the running status data and the flexible resource type. The first construction module is configured to define participation state variables and ramp call volume for each flexible resource based on the maximum available ramp capacity, and to construct a resource combination vector based on the participation state variables and ramp call volume of each flexible resource. The generation module is configured to use the running status data, the climbing assistance service requirements, and the maximum available climbing capacity as conditional information, use historical high-quality resource combinations as training samples to train the conditional diffusion model, and sample multiple initial noises from a standard Gaussian distribution based on the current conditional information, and generate K sets of candidate resource combinations through the reverse denoising process of the conditional diffusion model respectively. The second construction module is configured to construct the physical feasible domain for the current time period based on the maximum available ramping capacity, equipment operation constraints, response time and duration requirements, energy state constraints, and network operation constraints. The correction module is configured to, for each candidate resource combination, take the candidate resource combination as the initial point, and within the physical feasible domain, under the condition of limiting the number of resources that can be adjusted at one time, jointly correct the resource participation state variables and the ramp call volume to obtain an executable resource combination. The output module is configured to calculate the aggregate ramping capacity, call cost, and fulfillment coefficient of each executable resource combination, eliminate executable resource combinations whose aggregate ramping capacity does not meet the target ramping capacity, calculate the comprehensive evaluation index of the remaining executable resource combinations, select the executable resource combination with the best comprehensive evaluation index as the preferred resource combination, and generate virtual power plant ramping auxiliary service application data based on the preferred resource combination.