A heterogeneous flexible resource unified modeling and collaborative optimization method

By generating basic and acceptance envelopes, and using a recursive least squares algorithm model to correct and optimize heterogeneous resources, the problem of heterogeneous resource data correction results exceeding physical boundaries is solved. This achieves unified modeling and collaborative optimization of heterogeneous resources, ensuring that scheduling decisions are executed within the physical feasible domain.

CN123144094APending Publication Date: 2026-11-20STATE GRID JIANGSU ELECTRIC POWER CO LTD NANJING POWER SUPPLY COMPANY +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611330575.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In existing technologies, the data correction results of heterogeneous resources are not physically verified and are prone to exceeding the limits of equipment power, energy, duration or ramp-up, leading to model contamination and inaccuracy.

Method used

By acquiring parameters and measurement data of heterogeneous resources, basic capability envelopes and acceptance envelopes are generated. A recursive least squares algorithm model is used for correction to ensure that the correction results conform to the physical boundaries. A collaborative optimization method is used to generate candidate model versions and perform delayed activation verification.

Benefits of technology

It achieves unified modeling and collaborative optimization of heterogeneous resources, ensures that data correction results conform to physical constraints, avoids model pollution, ensures that scheduling decisions are executed within the physical feasible domain, and realizes online adaptive updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123144094A_ABST
    Figure CN123144094A_ABST
Patent Text Reader

Abstract

The present application relates to virtual power plant collaborative optimization technical field, especially to a kind of heterogeneous flexible resource unified modeling and collaborative optimization method.At least two kinds of heterogeneous resource parameters, measurement and state time are acquired, and structured data are obtained by preprocessing;According to resource type, mechanism base element is called to generate basic capability envelope;Structured data are input into correction model, and correction candidate envelope is output;When two envelope identification and intersection is not empty, intersection is acceptance envelope, otherwise, basic envelope is kept;With acceptance envelope as constraint, optimization is generated to set value, and last set value is kept to acceptance envelope, set value and execution measurement to form update sample when failing or overrunning;When complete and deviation is allowed, candidate version is generated Candidate version is activated when next cycle acceptance is passed, otherwise, current version is kept.The present application generates correction candidate capability envelope by inputting measurement data into data correction model, to avoid that correction result without physical acceptance expands resource capability or pollutes effective model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of virtual power plant collaborative optimization technology, and in particular to a method for unified modeling and collaborative optimization of heterogeneous flexible resources. Background Technology

[0002] Distributed photovoltaics, energy storage, adjustable loads, gas turbine units, and flexible DC transmission have different physical constraints. Aggregating these resources using only uniform data characteristics or empirical weights can easily lead to data correction results that exceed equipment power, energy, duration, or ramp-up limits.

[0003] For example, patent CN121239699A discloses a resource coordination method and system for a multi-level architecture model of a virtual power plant. Based on the resource heterogeneity compatibility criterion, it systematically models distributed resources, achieving unified abstraction and standardized access of heterogeneous devices through sensing, transformation, and execution functions. It also employs a spatiotemporal decoupling mechanism for inter-level information interaction to facilitate multi-level architecture interaction. However, it lacks an acceptance process requiring physical mechanism constraints to verify data-driven results, and it does not address online updates and delayed activation mechanisms for model versions. This fails to resolve issues such as data correction results exceeding physical boundaries and abnormal measurements contaminating the effective model.

[0004] For example, patent CN121727049A discloses a cloud-edge collaborative method for the dynamic aggregation and optimization control of multi-dimensional resources in a virtual power plant. It establishes a multi-dimensional feature index system covering static attributes, dynamic response characteristics, and operational economics, and constructs a dynamic resource model. Based on multi-objective optimization, it aggregates resources with complementary characteristics into virtual units, and generates structured control strategies in the cloud, which are then distributed to the edge controller for optimized calculations. While this solves the problems of simplistic resource modeling and rigid aggregation mechanisms, its dynamic resource model is essentially a single modeling path. It does not distinguish between the mechanistic envelope and data envelope, nor does it establish an acceptance mechanism that verifies the two paths and takes their intersection as the final result. Furthermore, it does not involve model version management, thus failing to address the lack of physical boundary-based mandatory acceptance of the data-driven model output.

[0005] Existing mechanistic modeling, data prediction, and resource aggregation techniques can be used separately, but there is a lack of acceptance relationships under the same resource, the same state time, and the same version between the data model output, the mechanistic model state, and the collaborative scheduling input; if abnormal measurements are used directly for online updates, it will also pollute the effective model. Summary of the Invention

[0006] This invention aims to address at least one of the technical problems existing in related technologies. To this end, this invention provides a method for unified modeling and collaborative optimization of heterogeneous and flexible resources, thereby avoiding the expansion of resource capabilities or contamination of effective models by correction results that have not undergone physical verification.

[0007] This invention provides a method for unified modeling and collaborative optimization of heterogeneous flexible resources, including: Acquire at least two types of heterogeneous resource parameters, measurements, and state times, and preprocess them to obtain structured data; The basic capability envelope is generated by calling the mechanism primitives according to resource type, including identifier, status time, version, power range, duration, ramp-up and availability status; Structured data is input into the data correction model, and candidate envelopes containing identifiers, times, and data versions are output. The training samples of the data correction model include measurement data of the same resource in the historical scheduling cycle, basic capability envelopes, and actual executable capability boundaries confirmed by execution measurements. The training samples all carry resource identifiers and state times to distinguish the data distribution characteristics of different resources and different runtime periods, thus forming a recursive least squares algorithm model. The two envelopes include the acceptance envelope and the basic capability envelope. If the identifier, time, and version are consistent and the intersection of power, duration, and ramp rate is not empty, the intersection is taken as the acceptance envelope; otherwise, the basic capability envelope is maintained. If the acceptance envelope is used as a constraint and the set values ​​are generated through collaborative optimization of the basic capability envelope and the data correction model, before forming a candidate model version, it is necessary to verify whether the upper and lower limits of the power output, the duration boundary and the ramp boundary of the candidate model version do not exceed the physical boundaries determined by the corresponding mechanism primitives. If any physical boundary is breached, the candidate model version is abandoned and the current effective model version remains unchanged; if the basic envelope is maintained, no update is performed. The acceptance envelope, set value, and execution measurement constitute the update sample, which is used to generate candidate versions when the system is complete, the deviation is acceptable, and the time is unchanged. The candidate version will be activated when it passes the acceptance test in the next cycle; otherwise, the current version will remain.

[0008] According to the present invention, a unified modeling and collaborative optimization method for heterogeneous flexible resources is provided. A basic capability envelope is generated by calling mechanism primitives based on resource type. The mechanism primitives include: a photovoltaic resource's available output and output change rate constraint primitive, used to determine the adjustable power upper limit and the maximum output change limit in adjacent scheduling cycles based on the photovoltaic rated capacity, real-time irradiance, and temperature; and an energy storage resource's state of charge, charge / discharge power, and energy capacity constraint primitive, used to determine the charge / discharge... Electric power boundary and upper limit of sustainable duration; adjustable load's reduceable power, transferable energy, duration and recovery constraint primitives, used to limit the interruptible amount and transferable time period according to load operating characteristics and recovery cycle; gas turbine unit output, ramp, start-up and shutdown and minimum start-up and shutdown time constraint primitives, used to limit the output range and ramp capability of the current cycle according to the unit's start-up and shutdown status and rated output range; flexible DC converter capacity, DC voltage, power direction and power change rate constraint primitives, used to determine bidirectional power limits and power reversal rate according to the converter's rated capacity and DC side voltage level.

[0009] According to the present invention, a method for unified modeling and collaborative optimization of heterogeneous flexible resources is provided. A basic capability envelope is generated by calling mechanistic primitives according to resource type. This basic capability envelope includes identifier, state time, version, power range, duration, ramp, and availability status. The basic capability envelope is determined by the resource's mechanistic model based on the equipment's rated parameters, current operating state, and corresponding mechanistic constraints. The adjustable power lower and upper limits are obtained by correcting the rated power range for the current availability status. The duration boundary is determined by the remaining energy of the energy storage, the transferable energy of the adjustable load, or the minimum start-up and shutdown time constraints of the gas turbine unit. The ramp boundary is determined by the equipment's mechanical or electrical ramp capability limits. When a resource is in an unavailable state, communication is interrupted leading to missing equipment parameters, or mechanistic constraints cannot be calculated due to abnormal operating conditions, the basic capability envelope for the current scheduling cycle is not generated. The previous valid capability envelope is maintained, and the resource is marked for review. Simultaneously, the rejection reason and timestamp are recorded for subsequent fault tracing analysis.

[0010] According to the present invention, a method for unified modeling and collaborative optimization of heterogeneous flexible resources is provided. After training, the data correction model saves the numerical range of each dimension of the training input as the applicable domain. After the measurement data of the current scheduling period is verified for integrity and time-aligned, if the value of any input dimension exceeds the applicable domain or the data correction model is in an unavailable state due to an anomaly, the candidate envelope generated by the data correction model is rejected, and the basic capability envelope is maintained as the effective capability description of the current scheduling period. At the same time, the reason for rejection and the dimension and corresponding value that exceed the applicable domain are recorded.

[0011] According to the present invention, a method for unified modeling and collaborative optimization of heterogeneous flexible resources is provided. Two envelopes are included: an acceptance envelope and a basic capability envelope. The acceptance envelope is determined when the identifier, time, and version are consistent, and the intersection of power, duration, and ramp rate is not empty. Otherwise, the basic capability envelope is retained. The method for determining the acceptance capability envelope is as follows: the adjustable power lower limit of the acceptance capability envelope is the larger of the power lower limit of the basic capability envelope and the power lower limit of the candidate envelope; the adjustable power upper limit of the acceptance capability envelope is the smaller of the power upper limit of the basic capability envelope and the power upper limit of the candidate envelope. The condition for a non-empty power intersection is that the calculated power lower limit is not greater than the power upper limit. If the power lower limit is greater than the power upper limit, the power intersection is determined to be empty. The acceptance capability envelope is determined only when the resource identifier, state time, mechanism model version, and data model version are all matched, and the power intersection is not empty. If any matching condition is not met or the power intersection is empty, the candidate envelope is rejected and the basic capability envelope is retained.

[0012] According to the heterogeneous flexible resource unified modeling and collaborative optimization method provided by the present invention, the physical boundary acceptance, after the power intersection acceptance, further includes: the duration boundary of the candidate envelope does not exceed the corresponding maximum sustainable duration boundary determined by energy storage capacity divided by the current power level, adjustable load transferable energy divided by its rated power, or the minimum start-up and shutdown time of the gas turbine unit, respectively; the ramp boundary of the candidate envelope does not exceed the rated ramp capacity limit specified by the equipment manufacturer, wherein the ramp limit of the inverter is used for photovoltaic resources, the ramp limit of the converter is used for energy storage resources, the mechanical ramp limit is used for gas turbine units, and the power change rate limit of the converter is used for flexible DC; if any of the following conditions are not met: the power intersection is empty, the duration boundary exceeds the limit, or the ramp boundary exceeds the limit, the candidate envelope is rejected, the basic capacity envelope is maintained, and the specific over-limit type and over-limit value are recorded.

[0013] According to the heterogeneous flexible resource unified modeling and collaborative optimization method provided by the present invention, the candidate model version is formed in the following manner: the candidate model parameters are the sum of the products of the current effective model parameters, learning gain and execution deviation, wherein the execution deviation is determined by the difference between the set value and the actual power after execution, and the learning gain is determined by statistical regression or optimization methods from the historical samples to be updated, where the data is complete, the execution deviation is within the allowable range, and the physical boundary acceptance is passed. The learning gain is a non-negative value. Before forming the candidate model version, it is also necessary to verify whether the upper and lower limits of the power output, the duration boundary and the ramp boundary of the candidate model version do not exceed the physical boundary determined by the corresponding mechanism primitive. When any physical boundary is broken, the candidate model version is abandoned and the current effective model version remains unchanged.

[0014] This invention also provides a unified modeling and collaborative optimization system for heterogeneous flexible resources, comprising: Data preprocessing module: acquires at least two types of heterogeneous resource parameters, measurements, and state times, and preprocesses them to obtain structured data; Mechanism envelope generation module: Generates basic capability envelopes by calling mechanism primitives according to resource type, including identifier, status time, version, power range, duration, ramp-up and availability status; Data correction prediction module: Input structured data into the data correction model and output candidate envelopes containing identifiers, time and data versions; The training samples of the data correction model include the measurement data of the same resource in the historical scheduling cycle, the basic capability envelope and the actual executable capability boundary confirmed by the execution measurement. The training samples all carry resource identifiers and state times to distinguish the data distribution characteristics of different resources and different runtime periods, forming a recursive least squares algorithm model. Verification and acceptance module: The two envelopes include the acceptance envelope and the basic capability envelope. If the identifier, time, and version are consistent and the intersection of power, duration, and ramp rate is not empty, the intersection is taken as the acceptance envelope; otherwise, the basic capability envelope is maintained. Collaborative optimization scheduling module: If the acceptance envelope is used as a constraint to generate set values ​​through collaborative optimization of the basic capability envelope and data correction model, before forming a candidate model version, it is also necessary to verify whether the upper and lower limits of the power output, the duration boundary, and the ramp boundary of the candidate model version do not exceed the physical boundaries determined by the corresponding mechanism primitives. If any physical boundary is breached, the candidate model version is abandoned and the current effective model version remains unchanged; if the basic envelope is maintained, no update is performed. Candidate version generation module: The update sample is composed of the acceptance envelope, set value and execution measurement. The update sample is used to generate candidate versions when they are complete, allowable deviation and time-invariant. Delayed activation verification module: The candidate version will be activated when it passes the acceptance test in the next cycle; otherwise, the current version will be retained.

[0015] The present invention also provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor is used to execute a computer program to implement the steps of the heterogeneous flexible resource unified modeling and collaborative optimization method as described above.

[0016] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the heterogeneous flexible resource unified modeling and collaborative optimization method as described above.

[0017] The technical effects achieved by the heterogeneous flexible resource unified modeling and collaborative optimization method of the present invention are as follows: This invention acquires equipment parameters and operational measurement data of various heterogeneous resources such as distributed photovoltaics, energy storage, adjustable loads, gas turbine units, and flexible DC transmission. It also unifies the execution units, aligns the time, verifies the integrity of the measurement data, and marks anomalies. This achieves the effect of incorporating heterogeneous resources with different physical constraints into a unified data framework, laying a reliable data foundation for subsequent modeling and optimization.

[0018] This invention generates a basic capability envelope with resource identifiers, state time, and mechanism model versions by calling corresponding mechanistic primitives according to resource type (including constraints on available photovoltaic output and rate of change of output, constraints on energy storage state of charge and charge / discharge power, constraints on adjustable load power reduction and transferable energy, constraints on gas turbine output and ramping constraints, constraints on flexible DC converter capacity and power direction, etc.). This achieves the effect of characterizing the adjustable capability boundaries of various resources using the physical essence of the equipment, and expresses the adjustment potential of different resources in a unified envelope form, avoiding the problem of detaching from physical reality by aggregating only statistical features.

[0019] This invention generates a calibration candidate capability envelope by inputting measurement data into a data calibration model. Under the premise that the resource identifier, state time, and model version are consistent, multiple physical boundary acceptances are performed on the basic capability envelope and the calibration candidate capability envelope, including power intersection, duration boundary, and ramp boundary. The intersection of the two types of envelopes is determined as the acceptance capability envelope only when the intersection of the two types of envelopes is not empty at the adjustable power upper and lower limits, duration, and ramp boundary. This achieves the effect that data-driven calibration results must be tested by physical mechanism constraints, fundamentally preventing calibration results that have not undergone physical acceptance from expanding resource capabilities or introducing infeasible boundaries.

[0020] This invention uses the acceptance capability envelope as the sole input to the collaborative optimization module. Under the constraints of power balance, line capacity, and voltage in the distribution network, the collaborative optimization module generates resource setpoints. When the solution fails or the setpoint exceeds the acceptance capability envelope, it does not issue a new setpoint but maintains the previous valid setpoint. This achieves the effect that scheduling decisions are always executed within the physical feasible region, ensuring that the collaborative optimization output does not exceed the actual adjustment capacity of any resource.

[0021] This invention achieves the effect of online adaptive updating of the data correction model without being contaminated by abnormal measurements or execution deviations by only writing records that have passed physical boundary acceptance, have complete measurement data, have execution deviations within the allowable range, and have no changes in resource status over time into the sample to be updated. Candidate model versions are formed according to execution deviations and learning gains. The model is only activated after physical boundary acceptance is performed again on the correction candidate capability envelope output by the candidate model version in the next scheduling cycle. This results in a closed-loop self-consistent system of "basic envelope - correction candidate - acceptance envelope - optimization setting - execution feedback - version update - re-acceptance". Attached Figure Description

[0022] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0023] Figure 1 This is a flowchart illustrating a method for unified modeling and collaborative optimization of heterogeneous flexible resources provided by the present invention.

[0024] Figure 2 This is a schematic diagram of the structure of a heterogeneous flexible resource unified modeling and collaborative optimization system provided by the present invention.

[0025] Figure 3 This is a schematic diagram of the electronic device provided by the present invention.

[0026] Figure label: 101. Data preprocessing module; 102. Mechanism envelope generation module; 103. Data correction and prediction module; 104. Verification and acceptance module; 105. Collaborative optimization and scheduling module; 106. Candidate version generation module; 107. Delayed activation verification module; 810. Processor; 820. Communication interface; 830. Memory; 840. Communication bus. Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention. The following embodiments are used to illustrate this invention but cannot be used to limit the scope of this invention.

[0028] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0029] The following is combined Figures 1 to 3 This invention is described.

[0030] Example like Figure 1 As shown, Figure 1 This is a flowchart illustrating a method for unified modeling and collaborative optimization of heterogeneous flexible resources provided by the present invention, including the following steps: Acquire at least two types of heterogeneous resource parameters, measurements, and state times, and preprocess them to obtain structured data; The basic capability envelope is generated by calling the mechanism primitives according to resource type, including identifier, status time, version, power range, duration, ramp-up and availability status; Structured data is input into the data correction model, and candidate envelopes containing identifiers, times, and data versions are output. The training samples of the data correction model include measurement data of the same resource in the historical scheduling cycle, basic capability envelopes, and actual executable capability boundaries confirmed by execution measurements. The training samples all carry resource identifiers and state times to distinguish the data distribution characteristics of different resources and different runtime periods, thus forming a recursive least squares algorithm model. The two envelopes include the acceptance envelope and the basic capability envelope. If the identifier, time, and version are consistent and the intersection of power, duration, and ramp rate is not empty, the intersection is taken as the acceptance envelope; otherwise, the basic capability envelope is maintained. If the acceptance envelope is used as a constraint and the set values ​​are generated through collaborative optimization of the basic capability envelope and the data correction model, before forming a candidate model version, it is necessary to verify whether the upper and lower limits of the power output, the duration boundary and the ramp boundary of the candidate model version do not exceed the physical boundaries determined by the corresponding mechanism primitives. If any physical boundary is breached, the candidate model version is abandoned and the current effective model version remains unchanged; if the basic envelope is maintained, no update is performed. The acceptance envelope, set value, and execution measurement constitute the update sample, which is used to generate candidate versions when the system is complete, the deviation is acceptable, and the time is unchanged. The candidate version will be activated when it passes the acceptance test in the next cycle; otherwise, the current version will remain.

[0031] Specifically, the basic capability envelope is generated by calling the mechanism primitives according to resource type. This includes the mechanism primitives for identifier, state time, version, power range, duration, ramp-up, and availability status. These primitives include: photovoltaic resource availability output and output change rate constraint primitives, used to determine the adjustable power upper limit and the maximum output change limit for adjacent scheduling cycles based on the photovoltaic rated capacity, real-time irradiance, and temperature; and energy storage resource state of charge, charge / discharge power, and energy capacity constraint primitives, used to determine the charge / discharge power boundary and sustainable duration based on the current state of charge and rated energy capacity. Limits; adjustable load's power reduction, energy transfer, duration, and recovery constraint primitives are used to limit the interruptible amount and transferable time period according to load operating characteristics and recovery cycle; gas turbine unit's output, ramp-up, start-up and shutdown, and minimum start-up and shutdown time constraint primitives are used to limit the output range and ramp-up capability of the current cycle according to the unit's start-up and shutdown status and rated output range; flexible DC converter capacity, DC voltage, power direction, and power change rate constraint primitives are used to determine bidirectional power limits and power reversal rate according to the converter's rated capacity and DC side voltage level.

[0032] Specifically, a basic capability envelope is generated by calling the mechanism primitives according to the resource type. This basic capability envelope, which includes identifier, state time, version, power range, duration, ramp, and availability status, is determined by the mechanism model of the resource according to the equipment's rated parameters, current operating status, and corresponding mechanism constraints. The adjustable power lower and upper limits are obtained by correcting the rated power range for the current availability status. The duration boundary is determined by the remaining energy of the energy storage, the transferable energy of the adjustable load, or the minimum start-up and shutdown time constraints of the gas turbine unit. The ramp boundary is determined by the mechanical or electrical ramp capability limit of the equipment. When the resource is in an unavailable state, communication is interrupted resulting in missing equipment parameters, or the mechanism constraints cannot be calculated due to abnormal operating status, the basic capability envelope for the current scheduling cycle is not generated. The previous valid capability envelope is maintained, and the resource is marked as pending review. At the same time, the rejection reason and timestamp are recorded for subsequent fault tracing analysis.

[0033] Specifically, structured data is input into the data correction model, which outputs candidate envelopes containing identifiers, times, and data versions. The training samples of the data correction model include measurement data of the same resource in historical scheduling cycles, basic capability envelopes, and actual executable capability boundaries confirmed by execution measurements. Each training sample carries a resource identifier and state time to distinguish the data distribution characteristics of different resources and different runtime periods. This constitutes the training samples of the data correction model in the recursive least squares algorithm model, which include measurement data of the same resource in historical scheduling cycles, basic capability envelopes, and actual executable capability boundaries confirmed by execution measurements. Each training sample carries a resource identifier and state time to distinguish the data distribution characteristics of different resources and different runtime periods. After training, the data correction model saves the numerical range of each dimension of the training input as the applicable domain. After the measurement data of the current scheduling cycle is checked for integrity and time alignment, if the value of any input dimension exceeds the applicable domain or the data correction model is in an unavailable state due to an anomaly, the candidate envelope generated by the data correction model is rejected, and the basic capability envelope is kept as the valid capability description of the current scheduling cycle. At the same time, the reason for rejection and the dimension exceeding the applicable domain and its corresponding value are recorded.

[0034] Specifically, the two envelopes include an acceptance envelope and a basic capability envelope. The acceptance envelope is determined when the identifier, time, and version are consistent, and the intersection of power, duration, and ramp rate is not empty. Otherwise, the basic capability envelope is retained. The method for determining the acceptance capability envelope is as follows: the adjustable power lower limit of the acceptance capability envelope is the larger of the power lower limit of the basic capability envelope and the power lower limit of the candidate envelope; the adjustable power upper limit of the acceptance capability envelope is the smaller of the power upper limit of the basic capability envelope and the power upper limit of the candidate envelope. The condition for a non-empty power intersection is that the calculated power lower limit is not greater than the power upper limit. If the power lower limit is greater than the power upper limit, the power intersection is determined to be empty. The acceptance capability envelope is determined only when the resource identifier, state time, mechanism model version, and data model version all match, and the power intersection is not empty. If any matching condition is not met or the power intersection is empty, the candidate envelope is rejected and the basic capability envelope is retained.

[0035] Specifically, step S4, after the power intersection acceptance, includes the following: the duration boundary of the candidate envelope does not exceed the corresponding maximum sustainable duration boundary determined by dividing the energy storage capacity by the current power level, dividing the adjustable load transferable energy by its rated power, or the minimum start-up and shutdown time of the gas turbine unit; the ramp boundary of the candidate envelope does not exceed the rated ramp capacity limit specified by the equipment manufacturer, where the ramp limit is taken for photovoltaic resources, the ramp limit is taken for inverters, the ramp limit is taken for energy storage resources, the mechanical ramp limit is taken for gas turbine units, and the power change rate limit is taken for flexible DC; if any of the following conditions are not met: the power intersection is empty, the duration boundary exceeds the limit, or the ramp boundary exceeds the limit, the candidate envelope is rejected, the basic capacity envelope is maintained, and the specific type and value of exceeding the limit are recorded.

[0036] Specifically, the candidate model version in step S6 is formed as follows: the candidate model parameters are the sum of the current effective model parameters, the learning gain, and the execution bias. The execution bias is determined by the difference between the set value and the actual power after execution. The learning gain is determined by statistical regression or optimization methods from historical samples to be updated that have complete data, execution bias within the allowable range, and physical boundary acceptance. The learning gain is a non-negative value. Before forming the candidate model version, it is also necessary to verify whether the upper and lower limits of the power output, the duration boundary, and the ramp boundary of the candidate model version do not exceed the physical boundaries determined by the corresponding mechanism primitives. If any physical boundary is breached, the candidate model version is abandoned and the current effective model version remains unchanged.

[0037] Specifically, the update sample is composed of the acceptance envelope, setpoint, and executed measurement. The update sample is used as a candidate version to be updated when the data is complete, the deviation is permissible, and the time is unchanged. The update sample is structured and stored with the resource identifier as the primary key, associated with the state time, basic capability envelope version number, data model version number, setpoint generated in the previous step, actual power and duration collected after execution, and physical boundary acceptance results. Only records that pass the integrity check after execution, whose execution deviation is within the preset permissible range, whose resource state time does not change across cycles, and whose physical boundary acceptance passes are written into the update sample to participate in the model update. Records that have changed resource state time, have missing measurement data, whose execution deviation exceeds the permissible range, or whose physical boundary acceptance fails are not written into the update sample, but are archived separately in the memory and marked with the reason for failure for subsequent audit analysis.

[0038] like Figure 2 As shown below, a heterogeneous flexible resource unified modeling and collaborative optimization system provided by the present invention is described. The heterogeneous flexible resource unified modeling and collaborative optimization system described below can be referred to in correspondence with the heterogeneous flexible resource unified modeling and collaborative optimization method described above, and includes the following modules: Data preprocessing module 101: acquires at least two types of heterogeneous resource parameters, measurements, and state times, and preprocesses them to obtain structured data; Mechanism envelope generation module 102: Generates basic capability envelopes by calling mechanism primitives according to resource type, including identifier, status time, version, power range, duration, ramp-up and availability status; Data correction prediction module 103: Inputs structured data into the data correction model and outputs candidate envelopes containing identifiers, time, and data versions; The training samples of the data correction model include the measurement data of the same resource in the historical scheduling cycle, the basic capability envelope, and the actual executable capability boundary confirmed by the execution measurement. The training samples all carry resource identifiers and state times to distinguish the data distribution characteristics of different resources and different runtime periods, forming a recursive least squares algorithm model. Verification and Acceptance Module 104: The two envelopes include the acceptance envelope and the basic capability envelope. If the identifier, time, and version are consistent and the intersection of power, duration, and ramp rate is not empty, the intersection is taken as the acceptance envelope; otherwise, the basic capability envelope is maintained. Collaborative optimization scheduling module 105: If the acceptance envelope is used as a constraint to generate set values ​​through collaborative optimization of the basic capability envelope and data correction model, before forming a candidate model version, it is also necessary to verify whether the upper and lower limits of the power output, the duration boundary, and the ramp boundary of the candidate model version do not exceed the physical boundaries determined by the corresponding mechanism primitives. If any physical boundary is breached, the candidate model version is abandoned and the current effective model version remains unchanged; if the basic envelope is maintained, no update is performed. Candidate version generation module 106: The update sample is composed of the acceptance envelope, set value and execution measurement. The update sample is used to generate candidate versions when they are complete, allowable deviation and time-invariant. Delayed activation verification module 107: The candidate version will be activated when it passes the acceptance test in the next cycle; otherwise, the current version will be retained.

[0039] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830, and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 can call logical instructions in the memory 830 to execute a heterogeneous flexible resource unified modeling and collaborative optimization method, which includes: Acquire at least two types of heterogeneous resource parameters, measurements, and state times, and preprocess them to obtain structured data; The basic capability envelope is generated by calling the mechanism primitives according to resource type, including identifier, status time, version, power range, duration, ramp-up and availability status; Structured data is input into the data correction model, and candidate envelopes containing identifiers, times, and data versions are output. The training samples of the data correction model include measurement data of the same resource in the historical scheduling cycle, basic capability envelopes, and actual executable capability boundaries confirmed by execution measurements. The training samples all carry resource identifiers and state times to distinguish the data distribution characteristics of different resources and different runtime periods, thus forming a recursive least squares algorithm model. The two envelopes include the acceptance envelope and the basic capability envelope. If the identifier, time, and version are consistent and the intersection of power, duration, and ramp rate is not empty, the intersection is taken as the acceptance envelope; otherwise, the basic capability envelope is maintained. If the acceptance envelope is used as a constraint and the set values ​​are generated through collaborative optimization of the basic capability envelope and the data correction model, before forming a candidate model version, it is necessary to verify whether the upper and lower limits of the power output, the duration boundary and the ramp boundary of the candidate model version do not exceed the physical boundaries determined by the corresponding mechanism primitives. If any physical boundary is breached, the candidate model version is abandoned and the current effective model version remains unchanged; if the basic envelope is maintained, no update is performed. The acceptance envelope, set value, and execution measurement constitute the update sample, which is used to generate candidate versions when the system is complete, the deviation is acceptable, and the time is unchanged. The candidate version will be activated when it passes the acceptance test in the next cycle; otherwise, the current version will remain.

[0040] Furthermore, the logical instructions in the aforementioned memory 830 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0041] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, is implemented to perform the aforementioned heterogeneous flexible resource unified modeling and collaborative optimization method, the method comprising: Acquire at least two types of heterogeneous resource parameters, measurements, and state times, and preprocess them to obtain structured data; The basic capability envelope is generated by calling the mechanism primitives according to resource type, including identifier, status time, version, power range, duration, ramp-up and availability status; Structured data is input into the data correction model, and candidate envelopes containing identifiers, times, and data versions are output. The training samples of the data correction model include measurement data of the same resource in the historical scheduling cycle, basic capability envelopes, and actual executable capability boundaries confirmed by execution measurements. The training samples all carry resource identifiers and state times to distinguish the data distribution characteristics of different resources and different runtime periods, thus forming a recursive least squares algorithm model. The two envelopes include the acceptance envelope and the basic capability envelope. If the identifier, time, and version are consistent and the intersection of power, duration, and ramp rate is not empty, the intersection is taken as the acceptance envelope; otherwise, the basic capability envelope is maintained. If the acceptance envelope is used as a constraint and the set values ​​are generated through collaborative optimization of the basic capability envelope and the data correction model, before forming a candidate model version, it is necessary to verify whether the upper and lower limits of the power output, the duration boundary and the ramp boundary of the candidate model version do not exceed the physical boundaries determined by the corresponding mechanism primitives. If any physical boundary is breached, the candidate model version is abandoned and the current effective model version remains unchanged; if the basic envelope is maintained, no update is performed. The acceptance envelope, set value, and execution measurement constitute the update sample, which is used to generate candidate versions when the system is complete, the deviation is acceptable, and the time is unchanged. The candidate version will be activated when it passes the acceptance test in the next cycle; otherwise, the current version will remain.

[0042] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0043] 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., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0044] 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.

[0045] It should be noted that the embodiments of this disclosure can be implemented using hardware, software, or a combination of both. The hardware portion can be implemented using dedicated logic; the software portion can be stored in memory and executed by a suitable instruction execution system, such as a microprocessor or dedicated-design hardware. Those skilled in the art will understand that the above-described devices and methods can be implemented using computer-executable instructions and / or included in processor control code, for example, such code provided on a programmable memory or a data carrier such as an optical or electronic signal carrier.

[0046] While this disclosure has been described with reference to several specific embodiments, it should be understood that this disclosure is not limited to the specific embodiments disclosed. This disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims

1. A method for unified modeling and collaborative optimization of heterogeneous flexible resources, characterized in that, include: Acquire at least two types of heterogeneous resource parameters, measurements, and state times, and preprocess them to obtain structured data; The basic capability envelope is generated by calling the mechanism primitives according to resource type, including identifier, status time, version, power range, duration, ramp-up and availability status; Structured data is input into the data correction model, and candidate envelopes containing identifiers, times, and data versions are output. The training samples of the data correction model include measurement data of the same resource in the historical scheduling cycle, basic capability envelopes, and actual executable capability boundaries confirmed by execution measurements. The training samples all carry resource identifiers and state times to distinguish the data distribution characteristics of different resources and different runtime periods, thus forming a recursive least squares algorithm model. The two envelopes include the acceptance envelope and the basic capability envelope. If the identifier, time, and version are consistent and the intersection of power, duration, and ramp rate is not empty, the intersection is taken as the acceptance envelope; otherwise, the basic capability envelope is maintained. If the acceptance envelope is used as a constraint and the set values ​​are generated through collaborative optimization of the basic capability envelope and the data correction model, before forming a candidate model version, it is necessary to verify whether the upper and lower limits of the power output, the duration boundary and the ramp boundary of the candidate model version do not exceed the physical boundaries determined by the corresponding mechanism primitives. If any physical boundary is breached, the candidate model version is abandoned and the current effective model version remains unchanged; if the basic envelope is maintained, no update is performed. The acceptance envelope, set value, and execution measurement constitute the update sample, which is used to generate candidate versions when the system is complete, the deviation is acceptable, and the time is unchanged. The candidate version will be activated when it passes the acceptance test in the next cycle; otherwise, the current version will remain.

2. The heterogeneous flexible resource unified modeling and collaborative optimization method according to claim 1, characterized in that, The basic capability envelope is generated by calling the mechanism primitives according to resource type, including identifier, state time, version, power range, duration, ramp-up, and availability status. The mechanism primitives mentioned include: the available output and output change rate constraint primitives for photovoltaic resources, used to determine the adjustable power upper limit and the maximum output change limit for adjacent scheduling cycles based on the rated capacity of photovoltaics, real-time irradiance, and temperature; and the state of charge, charge / discharge power, and energy capacity constraint primitives for energy storage resources, used to determine the charge / discharge power boundary and the upper limit of sustainable duration based on the current state of charge and rated energy capacity. Adjustable loads have constraints on power reduction, energy transfer, duration, and recovery, which are used to limit the interruptible amount and transferable time period based on load operating characteristics and recovery cycle. Gas turbine units have constraints on output, ramp-up, start-up and shutdown, and minimum start-up and shutdown time, which are used to limit the output range and ramp-up capability of the current cycle based on the unit's start-up and shutdown status and rated output range. Flexible DC converters have constraints on converter capacity, DC voltage, power direction, and power change rate, which are used to determine bidirectional power limits and power reversal rates based on the converter's rated capacity and DC side voltage level.

3. The heterogeneous flexible resource unified modeling and collaborative optimization method according to claim 1, characterized in that, The basic capability envelope is generated by calling the mechanism primitives according to the resource type. It includes the identifier, state time, version, power range, duration, ramp, and availability status. The basic capability envelope is determined by the mechanism model of the resource according to the rated parameters of the equipment, the current operating status, and the corresponding mechanism constraints. The lower and upper limits of adjustable power are obtained by correcting the rated power range with the current availability status. The duration boundary is determined by the remaining energy of the energy storage, the transferable energy of the adjustable load, or the minimum start-up and shutdown time constraint of the gas turbine unit. The ramp boundary is determined by the mechanical or electrical ramp capability limit of the equipment. When the resource is in an unavailable state, communication is interrupted resulting in missing equipment parameters, or the mechanism constraints cannot be calculated due to abnormal operating status, the basic capability envelope of the current scheduling cycle is not generated. The previous valid capability envelope is maintained and the resource is marked as pending review. At the same time, the rejection reason and timestamp are recorded for subsequent fault tracing analysis.

4. The heterogeneous flexible resource unified modeling and collaborative optimization method according to claim 1, characterized in that, After training, the data correction model saves the numerical range of each dimension of the training input as the applicable domain. After the measurement data of the current scheduling period is checked for integrity and time alignment, if the value of any input dimension exceeds the applicable domain or the data correction model is in an unavailable state due to an anomaly, the candidate envelope generated by the data correction model is rejected, and the basic capability envelope is kept as the effective capability description of the current scheduling period. At the same time, the reason for rejection and the dimension and corresponding value that exceed the applicable domain are recorded.

5. The method for unified modeling and collaborative optimization of heterogeneous flexible resources according to claim 1, characterized in that, The two envelopes include an acceptance envelope and a basic capability envelope. The acceptance envelope is determined when the identifier, time, and version are consistent, and the intersection of power, duration, and ramp rate is not empty. Otherwise, the basic capability envelope is retained. The method for determining the acceptance capability envelope is as follows: the adjustable power lower limit of the acceptance capability envelope is the larger of the power lower limit of the basic capability envelope and the power lower limit of the candidate envelope; the adjustable power upper limit of the acceptance capability envelope is the smaller of the power upper limit of the basic capability envelope and the power upper limit of the candidate envelope. The condition for a non-empty power intersection is that the calculated power lower limit is not greater than the power upper limit. If the power lower limit is greater than the power upper limit, the power intersection is determined to be empty. The acceptance capability envelope is determined only when the resource identifier, state time, mechanism model version, and data model version all match, and the power intersection is not empty. If any matching condition is not met or the power intersection is empty, the candidate envelope is rejected and the basic capability envelope is retained.

6. The method for unified modeling and collaborative optimization of heterogeneous flexible resources according to claim 1, characterized in that, The physical boundary acceptance, following the power intersection acceptance, also includes: the duration boundary of the candidate envelope does not exceed the corresponding maximum sustainable duration boundary determined by dividing the energy storage capacity by the current power level, dividing the adjustable load transferable energy by its rated power, or the minimum start-up and shutdown time of the gas turbine unit, respectively; the ramp boundary of the candidate envelope does not exceed the rated ramp capacity limit specified by the equipment manufacturer, wherein the ramp limit for photovoltaic resources is taken as the inverter ramp limit, the ramp limit for energy storage resources is taken as the converter ramp limit, the mechanical ramp limit for gas turbine units is taken as the mechanical ramp limit, and the power change rate limit for flexible DC is taken as the converter power change rate limit; if any of the following conditions are not met: the power intersection is empty, the duration boundary exceeds the limit, or the ramp boundary exceeds the limit, the candidate envelope is rejected, the basic capacity envelope is maintained, and the specific type and value of exceeding the limit are recorded.

7. The method for unified modeling and collaborative optimization of heterogeneous flexible resources according to claim 1, characterized in that, Candidate model versions are formed as follows: the candidate model parameters are the sum of the products of the current effective model parameters, learning gain, and execution bias. The execution bias is determined by the difference between the set value and the actual power after execution. The learning gain is determined by statistical regression or optimization methods from historical samples to be updated, where the data is complete, the execution bias is within the allowable range, and the physical boundary acceptance has been passed. The learning gain is a non-negative value. Before forming a candidate model version, it is also necessary to verify whether the upper and lower limits of the power output, the duration boundary, and the ramp boundary of the candidate model version do not exceed the physical boundaries determined by the corresponding mechanism primitives. If any physical boundary is breached, the candidate model version is abandoned and the current effective model version remains unchanged.

8. A unified modeling and collaborative optimization system for heterogeneous and flexible resources, characterized in that, include: Data preprocessing module: acquires at least two types of heterogeneous resource parameters, measurements, and state times, and preprocesses them to obtain structured data; Mechanism envelope generation module: Generates basic capability envelopes by calling mechanism primitives according to resource type, including identifier, status time, version, power range, duration, ramp-up and availability status; Data correction prediction module: Input structured data into the data correction model and output candidate envelopes containing identifiers, time and data versions; The training samples of the data correction model include the measurement data of the same resource in the historical scheduling cycle, the basic capability envelope and the actual executable capability boundary confirmed by the execution measurement. The training samples all carry resource identifiers and state times to distinguish the data distribution characteristics of different resources and different runtime periods, forming a recursive least squares algorithm model. Verification and acceptance module: The two envelopes include the acceptance envelope and the basic capability envelope. If the identifier, time, and version are consistent and the intersection of power, duration, and ramp rate is not empty, the intersection is taken as the acceptance envelope; otherwise, the basic capability envelope is maintained. Collaborative optimization scheduling module: If the acceptance envelope is used as a constraint to generate set values ​​through collaborative optimization of the basic capability envelope and data correction model, before forming a candidate model version, it is also necessary to verify whether the upper and lower limits of the power output, the duration boundary, and the ramp boundary of the candidate model version do not exceed the physical boundaries determined by the corresponding mechanism primitives. If any physical boundary is breached, the candidate model version is abandoned and the current effective model version remains unchanged; if the basic envelope is maintained, no update is performed. Candidate version generation module: The update sample is composed of the acceptance envelope, set value and execution measurement. The update sample is used to generate candidate versions when they are complete, allowable deviation and time-invariant. Delayed activation verification module: The candidate version will be activated when it passes the acceptance test in the next cycle; otherwise, the current version will be retained.

9. An electronic device comprising a processor, a communication interface, a memory, and a communication bus, characterized in that, When the processor executes a computer program, it implements the steps of the heterogeneous flexible resource unified modeling and collaborative optimization method as described in any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the heterogeneous flexible resource unified modeling and collaborative optimization method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Virtual power plant multi-level architecture model resource collaboration method and system

    CN121239699A

  • Cloud-edge collaborative virtual power plant multi-dimensional resource dynamic aggregation and optimization regulation and control method

    CN121727049A