A data sharing method, system, device and medium based on a virtual power plant
By dynamically adjusting the data sharing priority of virtual power plants, the problem of multi-source data collaborative failure caused by static priority is solved, delayed data participation in scheduling decisions for low-cost resources is realized, and resource utilization efficiency and grid operation reliability of virtual power plants in dynamic scenarios are improved.
Patent Information
- Application Number
- CN202510637849.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-19
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2045-05-19
AI Technical Summary
In the dynamic operation scenario, the data sharing mechanism of existing virtual power plants is insufficiently allocated, resulting in multi-source data coordination failure, high-cost resource data flows are processed first, and low-cost resource data flows are delayed or lost, resulting in a decrease in resource utilization efficiency and an increase in operation costs.
Real-time operation data of distributed energy resources of virtual power plants is obtained through a shared communication network, the transmission delay status is judged, the delay mark and non-delay mark data flow are generated, the priority is adjusted dynamically based on resource type and adjustment cost parameters, and the dynamic priority sequence is generated in combination with the grid frequency regulation requirements, and the impact of scheduling instructions on grid safety constraints is simulated, the security margin evaluation results are generated, and the priority sequence is adjusted to generate resource scheduling instructions.
The coordinated optimization of multi-source heterogeneous data in transmission delay scenarios is realized, which reduces the risk of resource misscheduling, and improves the independent coordination capabilities of virtual power plants in high-frequency trading scenarios and the reliability of power grid operation.
Smart Images

Figure CN120166084B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power data collaboration. More specifically, the present invention relates to a data sharing method, system, device and medium based on a virtual power plant. Background Art
[0002] A virtual power plant (VPP) realizes multi-source data sharing and collaborative decision-making by aggregating distributed energy resources (such as energy storage, photovoltaic, and controllable loads). Its scheduling efficiency highly depends on the real-time and collaborative nature of data transmission. In the prior art, the data sharing mechanism ensures the timeliness of key data streams by presetting the communication link priority (such as the energy storage data channel having priority over the load channel). Such methods are based on the synchronization assumption of real-time data streams and scheduling instructions, that is, the transmission reliability of the communication network can meet the scheduling timing requirements.
[0003] However, static priority allocation is difficult to adapt to dynamic operation scenarios. For example, in high-frequency power market trading, due to the high communication link priority of energy storage devices, their data streams are processed first. However, the data streams of low-cost resources such as controllable loads are at risk of transmission delay or packet loss due to communication level restrictions, resulting in the failure of multi-source data collaboration. That is, the data streams of high-cost energy storage resources arrive on time and are preferentially invoked, while the delayed low-cost load regulation data is ignored, leading to a decrease in resource utilization efficiency and an increase in operating costs. Summary of the Invention
[0004] In order to overcome the above-mentioned defects of the prior art, embodiments of the present invention provide a data sharing method, system, device and medium based on a virtual power plant to solve the problems raised in the above background art.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] A data sharing method based on a virtual power plant, comprising the following steps:
[0007] S1. Obtain the real-time operation data of the distributed energy resources of the virtual power plant through a shared communication network, including resource type identifiers and adjustment cost parameters;
[0008] S2. Judge the transmission delay status of the real-time operation data in the shared communication network, and generate data stream sets with delay marks and non-delay marks;
[0009] S3. For the data with non-delay marks, match the preset initial priority rules based on the resource type identifiers; for the data with delay marks, jointly determine the attenuation factor according to the resource type identifiers and the grid frequency modulation demand level, and generate a dynamic priority compensation coefficient based on the adjustment cost parameters and the attenuation factor;
[0010] S4, integrating the initial priority rule and the dynamic priority compensation coefficient to generate a real-time dynamic priority sequence;
[0011] S5. Simulate the impact of different dispatch instruction combinations on the physical security constraint indicators of the power grid based on the real-time dynamic priority sequence to generate a safety margin assessment result;
[0012] S6. Adjust the real-time dynamic priority sequence according to the safety margin assessment result, generate resource scheduling instructions and distribute them to corresponding resources for execution through the shared communication network.
[0013] In a preferred embodiment, real-time operation data of distributed energy resources of a virtual power plant, including resource type identification and adjustment cost parameters, are obtained through a shared communication network, including:
[0014] Acquire real-time operation data of distributed energy resources of virtual power plants through a shared communication network at a preset collection frequency;
[0015] Converting real-time operation data into a unified data format, wherein the unified data format includes a resource type identification field and an adjustment cost parameter field;
[0016] Verify the validity of the resource type identification field and the adjustment cost parameter field, and eliminate invalid data entries.
[0017] In a preferred embodiment, determining the transmission delay state of the real-time operation data in the shared communication network and generating a set of delay-marked and non-delay-marked data streams includes:
[0018] Get the timestamp of real-time running data, which includes the time when the data was generated and when it was received;
[0019] The transmission time is calculated based on the data generation time and the reception time. The transmission time is equal to the reception time minus the data generation time.
[0020] Compare the transmission time with a preset delay threshold, and mark the data whose transmission time exceeds the preset delay threshold as delayed marked data, otherwise mark it as non-delay marked data;
[0021] The delay marked data and the non-delay marked data are classified according to the resource type identifier to generate a delay marked data flow set and a non-delay marked data flow set classified by resource type.
[0022] In a preferred embodiment, for non-delayed marked data, matching a preset initial priority rule based on a resource type identifier includes:
[0023] Obtain a preset initial priority rule table, the initial priority rule table including a mapping relationship between a resource type identifier and an initial priority value;
[0024] Query the initial priority rule table according to the resource type identification field in the non-delayed marked data, and match the corresponding initial priority value;
[0025] Perform a weighted sum of the matched initial priority value and the adjustment cost parameter in the non-delayed marked data to generate an initial priority score;
[0026] Write the initial priority score into the priority field of the non-delayed marked data to generate a non-delayed data stream set with the initial priority score;
[0027] For the delayed marked data, generate a dynamic priority compensation coefficient, including:
[0028] Determine the reference attenuation factor according to the grid frequency regulation demand level. When the grid frequency regulation demand level is urgent, the reference attenuation factor is the first preset value; when it is normal, it is the second preset value; when it is loose, it is the third preset value;
[0029] Dynamically adjust the reference attenuation factor based on the resource type identification corresponding to the delayed marked data and the real-time schedulable capacity. If the resource type identification is energy storage and the real-time schedulable capacity is greater than the capacity threshold, the reference attenuation factor increases the compensation amount; otherwise, it decreases the compensation amount;
[0030] Take the ratio of the dynamically adjusted reference attenuation factor to the adjustment cost parameter as the dynamic priority compensation coefficient;
[0031] Perform a secondary correction on the dynamic priority compensation coefficient according to the grid node voltage over-limit risk level. If the grid node voltage over-limit risk level is high risk, apply an inhibition factor to the dynamic priority compensation coefficient.
[0032] In a preferred embodiment, fuse the initial priority rule and the dynamic priority compensation coefficient to generate a real-time dynamic priority sequence, including:
[0033] Classify and layer the initial priority score of the non-delayed data stream set and the dynamic priority compensation coefficient of the delayed data stream set according to the coupling relationship between the grid frequency regulation demand level and the resource type identification;
[0034] Dynamically adjust the hierarchical priority order based on the real-time grid frequency deviation change direction: when the frequency has a positive deviation, give priority to calling energy storage resources; when it has a negative deviation, give priority to calling load resources;
[0035] Perform a multi-dimensional cross-sorting of the non-delayed data and the delayed data according to the resource type identification and the grid frequency regulation demand level to generate a priority subsequence in the resource type - frequency regulation level dimension;
[0036] Perform a security screening on the priority subsequence according to the risk level of grid node voltage violation: under a high risk level, eliminate resource entries that may exacerbate voltage problems, and retain the complete priority subsequence under medium and low risk levels;
[0037] Merge all the priority subsequences after security screening, and generate a real-time dynamic priority sequence according to the global priority rules of grid frequency regulation demand level and resource type identification.
[0038] In a preferred embodiment, simulate the impact of different dispatching instruction combinations on the physical security constraint indicators of the power grid based on the real-time dynamic priority sequence, and generate a security margin evaluation result, including:
[0039] Generate multiple candidate dispatching instruction combinations according to the real-time dynamic priority sequence, and each candidate dispatching instruction combination includes dispatching instructions of different resource type identifications and corresponding adjustment parameter values;
[0040] Based on the current operating parameters of the power grid, perform a physical security constraint simulation of each candidate dispatching instruction combination, and predict the change value of the physical security constraint indicators of the power grid after executing the candidate dispatching instruction combination;
[0041] Compare the predicted change value of the physical security constraint indicators of the power grid with the preset security threshold of the physical security constraint indicators of the power grid to generate a security margin evaluation value for each candidate dispatching instruction combination;
[0042] Screen the candidate dispatching instruction combinations with security margin evaluation values greater than or equal to the preset security margin evaluation threshold to generate a set of security margin evaluation results.
[0043] In a preferred embodiment, adjust the real-time dynamic priority sequence according to the security margin evaluation result, generate a resource dispatching instruction and distribute it to the corresponding resources for execution through a shared communication network, including:
[0044] Adjust the real-time dynamic priority sequence according to the security margin evaluation values in the set of security margin evaluation results. If the security margin evaluation value of a candidate dispatching instruction combination is lower than the preset security margin evaluation threshold, eliminate the corresponding resource entry from the real-time dynamic priority sequence;
[0045] Generate a resource dispatching instruction based on the adjusted real-time dynamic priority sequence. The resource dispatching instruction includes a resource type identification, an adjustment parameter value, and an execution time window;
[0046] Distribute the resource dispatching instruction to the corresponding distributed energy resource terminal devices through a shared communication network;
[0047] After the distributed energy resource terminal device receives the resource scheduling instruction, it executes the adjustment parameter according to the control logic corresponding to the resource type identifier, and feeds back the execution result to the virtual power plant aggregation control platform through the shared communication network.
[0048] On the other hand, the present invention provides a data sharing system based on a virtual power plant, including:
[0049] Real-time acquisition module: Obtains the real-time operation data of the distributed energy resources of the virtual power plant through the shared communication network, including the resource type identifier and the adjustment cost parameter;
[0050] Delay marking module: Judges the transmission delay state of the real-time operation data in the shared communication network, and generates a data stream set of delay marks and non-delay marks;
[0051] Dynamic compensation module: For non-delay marked data, matches the preset initial priority rule based on the resource type identifier; for delay marked data, determines the attenuation factor in coordination with the resource type identifier and the grid frequency modulation demand level, and generates a dynamic priority compensation coefficient based on the adjustment cost parameter and the attenuation factor;
[0052] Sequence generation module: Fuses the initial priority rule and the dynamic priority compensation coefficient to generate a real-time dynamic priority sequence;
[0053] Security assessment module: Simulates the influence of different scheduling instruction combinations on the grid physical security constraint index based on the real-time dynamic priority sequence, and generates a security margin assessment result;
[0054] Instruction distribution module: Adjusts the real-time dynamic priority sequence according to the security margin assessment result, generates a resource scheduling instruction, and distributes it to the corresponding resource for execution through the shared communication network.
[0055] On the other hand, the present invention provides a data sharing device based on a virtual power plant, including: a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, it implements a data sharing method based on a virtual power plant.
[0056] On the other hand, the present invention provides a data sharing medium based on a virtual power plant. The medium stores a program or instruction, and when the program or instruction is executed by the processor, it implements a data sharing method based on a virtual power plant.
[0057] Compared with the prior art, the present invention has the following beneficial effects:
[0058] 1. By optimizing the dynamic sharing mechanism of multi-source data streams, the problem of multi-source collaboration failure caused by data asynchrony under traditional static priority rules is solved. Based on the acquisition and transmission status marking of real-time operation data on the shared communication network, the system dynamically identifies delayed and non-delayed data streams, and generates a priority compensation coefficient by adjusting the cost parameter and the frequency modulation demand level, enabling delayed data of low-cost resources to still participate in the scheduling decision through dynamic weight adjustment, realizing the collaborative optimization of multi-source heterogeneous data in the transmission delay scenario, and reducing the risk of resource mis-scheduling caused by data stream asynchrony;
[0059] 2. Through the closed-loop linkage between data stream status marking and power grid security constraints, the guarantee ability of the data sharing process for power grid operation safety is further strengthened. After dynamically generating the priority sequence, the data sharing weight is reversely corrected based on the safety margin evaluation to ensure that the scheduling instructions not only meet the economic objectives but also satisfy the physical safety boundary of the power grid, improving the autonomous collaboration ability of the virtual power plant for multi-source data in high-frequency trading scenarios and enhancing the reliability of the complex power market environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 It is a flowchart of a data sharing method based on a virtual power plant according to the present invention;
[0061] Figure 2 It is a schematic structural diagram of a data sharing system based on a virtual power plant according to the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0062] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0063] Embodiment 1: Figure 1 A data sharing method based on a virtual power plant according to the present invention is given, which includes the following steps:
[0064] S1. Obtain the real-time operation data of the distributed energy resources of the virtual power plant through the shared communication network, including the resource type identifier and the adjustment cost parameter;
[0065] S2. Judge the transmission delay status of the real-time operation data in the shared communication network, and generate a data stream set with delay marks and non-delay marks;
[0066] S3. For non-delayed marked data, the preset initial priority rule is matched based on the resource type identifier; for delayed marked data, the attenuation factor is determined in coordination with the resource type identifier and the grid frequency regulation demand level, and a dynamic priority compensation coefficient is generated based on the regulation cost parameter and the attenuation factor;
[0067] S4, integrating the initial priority rule and the dynamic priority compensation coefficient to generate a real-time dynamic priority sequence;
[0068] S5. Simulate the impact of different dispatch instruction combinations on the physical security constraint indicators of the power grid based on the real-time dynamic priority sequence to generate a safety margin assessment result;
[0069] S6. Adjust the real-time dynamic priority sequence according to the safety margin assessment result, generate resource scheduling instructions and distribute them to corresponding resources for execution through the shared communication network.
[0070] Obtain real-time operating data of distributed energy resources of virtual power plants through a shared communication network, including resource type identification and adjustment cost parameters, including:
[0071] Acquire real-time operation data of distributed energy resources of virtual power plants through a shared communication network at a preset collection frequency;
[0072] Converting real-time operation data into a unified data format, wherein the unified data format includes a resource type identification field and an adjustment cost parameter field;
[0073] Verify the validity of the resource type identification field and the adjustment cost parameter field, and eliminate invalid data entries.
[0074] The preset collection frequency is set according to the dispatch requirements of the virtual power plant, including but not limited to collecting data once per second for energy storage devices and once per minute for controllable loads. In specific implementation, the collection frequency is configured through the virtual power plant aggregation control platform, which dynamically adjusts the collection frequency according to the resource type identifier. For example, when the light intensity fluctuation of photovoltaic equipment exceeds the preset threshold, the collection frequency is automatically increased to twice per second.
[0075] The unified data format uses the JSON structured data format, where the resource type identification field is named "resource_type", and the field value is a preset enumeration type (including "energy storage", "photovoltaic", and "controllable load"); the adjustment cost parameter field is named "cost_parameter", and the field value is a floating point number, which represents the cost per unit adjustment amount (in yuan / kWh). In specific implementation, the data format conversion is realized through the edge computing node. After receiving the original data, the edge computing node parses the device number in the original data according to the resource type identifier, and queries the pre-stored adjustment cost parameter mapping table to map the device number to the corresponding adjustment cost parameter value.
[0076] The validity verification includes the following rules: the value of the resource type identification field must be within the range of a preset enumeration type; the value of the regulation cost parameter field must be greater than or equal to zero and less than a preset upper threshold (e.g., 100 yuan / kWh). In specific implementation, the edge computing node executes the verification logic for each piece of data. If the resource type identification field is "energy storage" but the regulation cost parameter is greater than 50 yuan / kWh, it is determined as abnormal data and excluded; if the resource type identification field is an undefined enumeration value (such as "wind turbine"), it is marked as invalid data and discarded. After the invalid data is excluded, the remaining data entries are transmitted to the virtual power plant aggregation control platform through the shared communication network for subsequent processing.
[0077] It should be noted that the shared communication network can be a 5G / blockchain network for multi-agent collaboration.
[0078] Judge the transmission delay status of the real-time operation data in the shared communication network, and generate a data stream set of delay marks and non-delay marks, including:
[0079] Obtain the time stamps of the real-time operation data, where the time stamps include the data generation time and the reception time;
[0080] Calculate the transmission time according to the data generation time and the reception time, and the transmission time is equal to the reception time minus the data generation time;
[0081] Compare the transmission time with the preset delay threshold. The data with a transmission time exceeding the preset delay threshold is marked as delay-marked data, otherwise it is marked as non-delay-marked data;
[0082] Classify the delay-marked data and non-delay-marked data according to the resource type identification, and generate a delay-marked data stream set and a non-delay-marked data stream set classified by resource type.
[0083] The data generation time is recorded by the terminal device of the distributed energy resource when generating the real-time operation data. The terminal device is built with a real-time clock chip, and the time signal of the real-time clock chip is synchronized with the reference clock of the virtual power plant aggregation control platform through the Network Time Protocol, and the time synchronization error is less than 1 millisecond. The reception time is recorded by the virtual power plant aggregation control platform when receiving the data through the shared communication network, and the recording accuracy is at the millisecond level. The format of the time stamp adopts Coordinated Universal Time. The data generation time is written into the "generation_time" field of the data packet header, and the reception time is written into the "reception_time" field of the data packet tail. For example, the terminal device of the photovoltaic device generates real-time operation data when the light intensity changes by more than 5%, and writes the generation time "2023-10-05T08:00:00.500Z" into the packet header; the aggregation control platform records the reception time "2023-10-05T08:00:01.200Z" after receiving it.
[0084] When calculating the transmission time, the virtual power plant aggregation control platform parses the "generation_time" field in the data packet header and the "reception_time" field in the data packet tail, converts the two timestamps into millisecond-level timestamps in the same time zone, and performs a subtraction operation to obtain the transmission time. For example, the generation time of an energy storage device is "2023-10-05T08:00:00.500Z", the reception time is "2023-10-05T08:00:01.200Z", and the transmission time is 700 milliseconds. If the time zones of the data generation time and the reception time are inconsistent, the aggregation control platform first converts the two timestamps into Coordinated Universal Time and then calculates the difference.
[0085] The preset delay threshold is set according to the resource type identifier: 500 milliseconds for energy storage resources, 800 milliseconds for photovoltaic resources, and 2000 milliseconds for controllable load resources. The threshold is set based on the maximum allowable delay of different types of resources. The aggregation control platform pre-stores a threshold mapping table, and the table structure includes two columns: "resource type identifier" and "preset delay threshold". For example, when the resource type identifier is "energy storage", query the mapping table to get the threshold of 500 milliseconds. When the transmission time of a certain energy storage data is 700 milliseconds, the aggregation control platform determines that it exceeds the threshold and marks it as delayed marked data; if the transmission time of a certain controllable load data is 1500 milliseconds, it is marked as non-delayed marked data.
[0086] When generating the delayed marked data stream set and non-delayed marked data stream set classified by resource type, the aggregation control platform extracts the "resource_type" field value in the real-time operation data, and stores the delayed marked data and non-delayed marked data into independent sets named after the resource type identifier. For example, the delayed marked data with the resource type identifier of "energy storage" is stored in the "energy storage_delayed" set, and the non-delayed marked data is stored in the "energy storage_non-delayed" set. Each set is stored in the JSON array format, and the array elements include the original data packet header, packet tail, and marked status field, and the value of the marked status field is "delayed" or "non-delayed". The upper limit of the storage capacity of the set is set according to the resource type. The upper limit of the energy storage class set is 1000 items, and the photovoltaic class is 2000 items. When the upper limit is reached, the old data is overwritten according to the first-in, first-out rule.
[0087] For non-delayed marked data, match the preset initial priority rules based on the resource type identifier, including:
[0088] Obtain the preset initial priority rule table, and the initial priority rule table contains the mapping relationship between the resource type identifier and the initial priority value;
[0089] Query the initial priority rule table according to the resource type identification field in the non-delayed marked data to match the corresponding initial priority value;
[0090] Perform a weighted sum of the matched initial priority value and the adjustment cost parameter in the non-delayed marked data to generate an initial priority score;
[0091] Write the initial priority score into the priority field of the non-delayed marked data to generate a set of non-delayed data streams with initial priority scores.
[0092] The initial priority rule table is preset by the virtual power plant operator according to the historical dispatching efficiency of resource types and the power grid regulation requirements, and is stored in the configuration database of the virtual power plant aggregation control platform. The table structure of the initial priority rule table includes two columns: "resource type identification" and "initial priority value". The resource type identification is an enumerated value (such as "energy storage", "photovoltaic", "controllable load"), and the initial priority value is an integer from 1 to 10. The larger the value, the higher the priority. For example, when the resource type identification is "energy storage", the corresponding initial priority value is 8; when the resource type identification is "controllable load", the corresponding initial priority value is 5. The initial priority rule table is imported during the initialization phase of the virtual power plant and supports dynamic update according to the power grid operation status. For example, when the power grid frequency deviation continuously exceeds 0.2Hz, the initial priority value of "energy storage" is increased to 9.
[0093] When specifically implementing the matching of the corresponding initial priority value, the virtual power plant aggregation control platform extracts the value of the "resource_type" field (such as "energy storage") in the non-delayed marked data, queries the initial priority rule table with this field value as the index, and returns the corresponding initial priority value (such as 8). If the value of the resource type identification field is not defined in the rule table (such as "wind turbine"), the initial priority value of this data is set to the default value 1. For example, the resource type identification of a certain photovoltaic data is "photovoltaic", and the initial priority value obtained by querying the rule table is 6; another piece of data with an undefined resource type is marked with the default priority value 1 and triggers an alarm log.
[0094] When generating the initial priority score, the weights for weighted summation are dynamically set according to the resource type identifier. The weight of the initial priority value for energy storage resources is 0.7, and the weight of the regulation cost parameter is 0.3; the weight of the initial priority value for controllable load resources is 0.4, and the weight of the regulation cost parameter is 0.6. In specific implementation, the virtual power plant aggregation control platform queries the preset weight mapping table according to the resource type identifier. For example, when the resource type identifier is "energy storage", the initial priority score = initial priority value × 0.7 + regulation cost parameter × 0.3. If the initial priority value of a certain energy storage data is 8 and the regulation cost parameter is 2 yuan / kWh, then the initial priority score is 8 × 0.7 + 2 × 0.3 = 6.2. The weight mapping table is stored in the configuration database and supports dynamic adjustment according to the market electricity price volatility. For example, when the real-time electricity price volatility exceeds 10%, the weight of the regulation cost parameter for controllable load is increased to 0.8.
[0095] Write the initial priority score into the priority field of the non-delayed marked data to generate a set of non-delayed data streams with the initial priority score. A new field "priority_score" is added to the JSON format of the non-delayed marked data, and the field value is the calculated initial priority score. For example, the value 6.2 is written into the "priority_score" field of a certain energy storage data, and 4.8 is written for photovoltaic data. All non-delayed data with priority scores are classified and stored in independent data stream sets according to the resource type. For example, the "energy storage_non-delayed_with_score" set and the "controllable load_non-delayed_with_score" set. The storage format of the data stream set is the same as that of the delayed marked data stream set generated in step S2.
[0096] For the delayed marked data, determine the attenuation factor in coordination with the resource type identifier and the grid frequency regulation demand level, and generate a dynamic priority compensation coefficient based on the regulation cost parameter and the attenuation factor, including:
[0097] Determine the reference attenuation factor according to the grid frequency regulation demand level. The reference attenuation factor is the first preset value when the grid frequency regulation demand level is urgent, the second preset value when it is normal, and the third preset value when it is loose;
[0098] Dynamically adjust the reference attenuation factor based on the resource type identifier corresponding to the delayed marked data and the real-time schedulable capacity. If the resource type identifier is energy storage and the real-time schedulable capacity is greater than the capacity threshold, the reference attenuation factor is increased by the compensation amount, otherwise it is decreased;
[0099] Take the ratio of the dynamically adjusted reference attenuation factor to the regulation cost parameter as the dynamic priority compensation coefficient;
[0100] The dynamic priority compensation coefficient is secondarily corrected according to the risk level of grid node voltage over-limit. If the risk level of grid node voltage over-limit is high risk, an inhibition factor is applied to the dynamic priority compensation coefficient.
[0101] Determine the reference attenuation factor according to the grid frequency regulation demand level: For example, when the absolute value of the real-time grid frequency deviation exceeds 0.5 Hz, it is determined as the emergency level, and the reference attenuation factor is set to 0.9; when the deviation is between 0.2 Hz and 0.5 Hz, it is the normal level, and the reference attenuation factor is set to 0.6; when the deviation is less than 0.2 Hz, it is the loose level, and the reference attenuation factor is set to 0.3. The value is determined by analyzing the regulation success rate and cost-benefit ratio of energy storage resources in different scenarios in the virtual power plant historical dispatch database. For example, by counting 100 emergency scenarios (deviation > 0.5 Hz) in the past year, the average regulation success rate of energy storage resources is 92% (i.e., more than 90%), corresponding to the reference attenuation factor of 0.9; the regulation success rate in the normal scenario (deviation 0.2 Hz - 0.5 Hz) is 63%, corresponding to 0.6; the regulation success rate in the loose scenario (deviation < 0.2 Hz) is 28%, corresponding to 0.3. This value setting ensures that the resource priority is improved in high success rate scenarios and suppressed in low success rate scenarios.
[0102] For example, if the resource type identifier of the delayed marked data is "energy storage" and its real-time schedulable capacity (SOC) is greater than 80%, the reference attenuation factor is increased by 0.2; if the SOC is less than or equal to 80%, it is decreased by 0.2. The SOC threshold is determined by counting the historical operation data of energy storage devices in the virtual power plant operation log: By analyzing 500 dispatch records in the past, it is found that when the SOC > 80%, the average regulation amount of the energy storage device is 20% higher than when the SOC ≤ 80% (for example, when the SOC is 85%, the regulation amount is 100 kW, and when the SOC is 75%, the regulation amount is 80 kW). To reflect the difference in regulation efficiency, the compensation amount is set to 0.2 (a 20% increase in regulation amount corresponds to a 0.2 increase in priority). For example, for an energy storage device with an SOC of 85%, the reference attenuation factor is adjusted from 0.9 to 1.1; when the SOC is 75%, it is adjusted to 0.7. Non-energy storage resources (such as photovoltaic and load) do not have their capacity adjusted because their regulation ability has no direct relation to the capacity.
[0103] Take the ratio of the adjusted baseline attenuation factor to the adjustment cost parameter as the dynamic priority compensation coefficient. The adjustment cost parameter is derived from the cost per unit adjustment amount (yuan / kWh) reported during resource registration and written into the "cost_parameter" field in a unified data format. For example, if the baseline attenuation factor of a certain energy storage device is 1.1 and the adjustment cost is 5 yuan / kWh, the compensation coefficient is 1.1 / 5 = 0.22; if the baseline attenuation factor of a certain photovoltaic device is 0.6 and the adjustment cost is 3 yuan / kWh, the compensation coefficient is 0.6 / 3 = 0.2. The calculation result is rounded to two decimal places and written into the "compensation_coefficient" field for subsequent steps to call.
[0104] Perform a secondary correction on the dynamic priority compensation coefficient according to the risk level of grid node voltage over-limit: for example, if the voltage deviation exceeds 5%, it is determined as a high-risk, and the dynamic priority compensation coefficient is multiplied by the suppression factor 0.5; when the deviation is between 3% and 5%, it is medium-risk, multiplied by 0.8; when the deviation is less than 3%, it is low-risk, multiplied by 1.0.
[0105] The suppression factor is set by analyzing the contribution of resource regulation to voltage stability in historical voltage over-limit events. For example, in the statistics of 50 high-risk events with voltage deviation > 5%, the contribution of resource regulation to voltage recovery is reduced by an average of 50%, so the suppression factor is set to 0.5; when the deviation is 3% - 5%, the contribution is reduced by 20%, and the suppression factor is 0.8. For example, if the voltage deviation of a certain node is 6%, the compensation coefficient 0.22 is corrected to 0.22 × 0.5 = 0.11; when the deviation is 4%, it is corrected to 0.22 × 0.8 = 0.176. The corrected coefficient is updated to the "compensation_coefficient" field.
[0106] Fuse the initial priority rule and the dynamic priority compensation coefficient to generate a real-time dynamic priority sequence, including:
[0107] According to the coupling relationship between the grid frequency modulation demand level and the resource type identifier, classify and stratify the initial priority scores of the non-delayed data stream set and the dynamic priority compensation coefficients of the delayed data stream set;
[0108] Dynamically adjust the hierarchical priority order based on the changing direction of the real-time grid frequency deviation: when the frequency has a positive deviation, give priority to calling energy storage resources; when the deviation is negative, give priority to calling load resources;
[0109] Sort the non-delayed data and the delayed data in multiple dimensions according to the resource type identifier and the grid frequency modulation demand level to generate a priority subsequence in the dimension of resource type - frequency modulation level;
[0110] Perform a safety screening on the priority subsequences according to the risk levels of grid node voltage violations: under high risk levels, eliminate resource entries that may exacerbate voltage problems, and retain the complete priority subsequences under medium and low risk levels;
[0111] Merge all the safety-screened priority subsequences, and generate a real-time dynamic priority sequence according to the global priority rules of grid frequency regulation requirements levels and resource type identifiers.
[0112] Classify and stratify the initial priority scores of the non-delayed data stream set and the dynamic priority compensation coefficients of the delayed data stream set according to the coupling relationship between the grid frequency regulation requirements levels and resource type identifiers. The classification and stratification rules are as follows: when the grid frequency regulation requirements level is urgent, classify the initial priority scores and dynamic priority compensation coefficients of energy storage resources into the first layer, and classify load resources into the second layer; under normal levels, all resource types are mixed into the same layer according to the numerical sizes of the initial priority scores and compensation coefficients; under loose levels, classify them into different layers according to the ascending order of the regulation cost parameters. For example, under the urgent level, the initial priority score (such as 8.0) and compensation coefficient (such as 0.22) of energy storage resources are both classified into the first layer, and the score (such as 5.0) and coefficient (such as 0.15) of controllable loads are classified into the second layer.
[0113] Dynamically adjust the hierarchical priority order based on the changing direction of the real-time grid frequency deviation: when the frequency deviation is positive (i.e., the frequency is higher than the rated value), preferentially call energy storage resources to absorb excess electrical energy; when the frequency deviation is negative (the frequency is lower than the rated value), preferentially call controllable load resources to reduce electricity demand. For example, when a positive frequency deviation of 0.3 Hz is detected, place the first-layer subsequence of energy storage resources at the top of the sorting queue; if the negative frequency deviation is 0.4 Hz, place the second-layer subsequence of load resources at the top. The frequency deviation direction is determined by comparing the real-time frequency value with the rated value (such as 50 Hz or 60 Hz), and the deviation calculation method is the current frequency value minus the rated value.
[0114] Perform multi-dimensional cross-sorting on non-delayed data and delayed data according to resource type identifiers and grid frequency regulation requirements levels to generate priority subsequences in the resource type-frequency regulation level dimension. The cross-sorting rules are as follows: under the same resource type, data entries at the urgent level take precedence over those at the normal level, and the normal level takes precedence over the loose level; under the same frequency regulation level, non-delayed data takes precedence over delayed data. For example, the non-delayed data (initial score 8.0) at the urgent level of energy storage resources is ranked before the delayed data (compensation coefficient 0.22) at the urgent level, and the non-delayed data (score 6.0) at the normal level is ranked before the delayed data (coefficient 0.18) at the normal level. All subsequences are stored in the JSON array format, and the elements in the array contain fields such as resource identifiers, priority values, and frequency regulation level identifiers.
[0115] Perform safety screening on the priority subsequence according to the risk level of grid node voltage over-limit: If the execution of the scheduling instruction for a certain resource may exacerbate the voltage over-limit problem, then exclude the resource entry from the subsequence at the high-risk level. For example, when the voltage deviation of a node has reached 5.2%, if the charge and discharge operation of a certain energy storage device will further increase the voltage to 5.8%, it is determined to be at high risk and excluded; if the voltage deviation is 3.5%, then the entry is retained. The voltage over-limit risk prediction is achieved through historical data analysis, and the influence trend of the adjustment behavior of similar resources on voltage in similar voltage deviation scenarios is statistically analyzed. If more than 80% of the cases lead to an enlarged deviation, it is marked as a high-risk resource.
[0116] Merge all the priority subsequences after safety screening, and generate a real-time dynamic priority sequence according to the global priority rules of the grid frequency regulation demand level and resource type identification. The merging rule is: the emergency-level subsequence as a whole has priority over the normal level, and the normal level has priority over the loose level; under the same frequency regulation level, they are arranged in the preset order according to the resource type identification (such as energy storage > photovoltaic > load). For example, the energy storage subsequence at the emergency level is ranked before all normal-level subsequences, and the load subsequence at the normal level is ranked after all subsequences at the loose level. In the finally generated real-time dynamic priority sequence, each piece of data includes fields such as resource identification, priority value, frequency regulation level identification, and safety screening status.
[0117] Based on the real-time dynamic priority sequence, simulate the influence of different scheduling instruction combinations on the grid physical security constraint indicators, and generate a safety margin evaluation result, including:
[0118] Generate multiple candidate scheduling instruction combinations according to the real-time dynamic priority sequence. Each candidate scheduling instruction combination includes scheduling instructions for different resource type identifications and corresponding adjustment parameter values;
[0119] Based on the current operating parameters of the grid, perform grid physical security constraint simulation on each candidate scheduling instruction combination, and predict the change value of the grid physical security constraint indicators after executing the candidate scheduling instruction combination;
[0120] Compare the predicted change value of the grid physical security constraint indicators with the preset safety threshold of the grid physical security constraint indicators to generate a safety margin evaluation value for each candidate scheduling instruction combination;
[0121] Screen the candidate scheduling instruction combinations with safety margin evaluation values greater than or equal to the preset safety margin evaluation threshold to generate a set of safety margin evaluation results.
[0122] The real-time dynamic priority sequence is derived from the priority sorting result generated in step S4. The candidate scheduling instruction combinations are selected in descending order of priority, and each combination contains at least two scheduling instructions with resource type identifiers. For example, the first 5 resource entries are selected from the priority sequence to generate a scheduling instruction combination including energy storage, photovoltaic, and controllable load. The adjustment parameter of the energy storage instruction is the charge-discharge power value (such as 100kW), the photovoltaic instruction is the output adjustment value (such as 50kW), and the load instruction is the reduction value (such as 80kW). The adjustment parameter is set according to the historical adjustment ability range corresponding to the resource type identifier. The charge-discharge power value of the energy storage device does not exceed 90% of its rated capacity, and the photovoltaic output adjustment value does not exceed the maximum adjustable amount under the current light conditions.
[0123] The current operating parameters of the power grid include the real-time values of node voltage, line current, and power grid frequency, which are derived from the real-time data acquisition interface of the power grid monitoring system. The simulation process uses a power flow calculation method based on Kirchhoff's laws and power balance equations to predict the voltage deviation values of each node, the change in line load rate, and the change in power grid frequency deviation after executing the scheduling instructions. For example, after simulating a certain candidate scheduling instruction combination, it is predicted that the voltage of node A will rise from 10kV to 10.5kV (deviation 5%), the load rate of line L1 will increase from 80% to 85%, and the power grid frequency will drop from 50.0Hz to 49.8Hz (deviation -0.2Hz).
[0124] Compare the predicted change values of the power grid physical security constraint indicators with the preset safety thresholds of the power grid physical security constraint indicators to generate the safety margin evaluation value for each candidate scheduling instruction combination. The safety thresholds of the power grid physical security constraint indicators include the node voltage deviation safety threshold (such as ±5%), the line load rate safety threshold (such as 90%), and the power grid frequency deviation safety threshold (such as ±0.5Hz).
[0125] The calculation method of the safety margin evaluation value is as follows: Take the percentage of the difference between the node voltage deviation safety threshold and the predicted voltage deviation value in the safety threshold, the percentage of the difference between the line load rate safety threshold and the predicted load rate value in the safety threshold, and the percentage of the difference between the power grid frequency deviation safety threshold and the predicted frequency deviation value in the safety threshold. The minimum value among the three is used as the safety margin evaluation value for this combination. For example, if the predicted voltage deviation of a certain combination is 4% (the difference percentage is (5% - 4%) / 5% = 20%), the load rate is 88% (the difference percentage is (90% - 88%) / 90% ≈ 2.2%), and the frequency deviation is -0.3Hz (the difference percentage is (0.5 - 0.3) / 0.5 = 40%), then the safety margin evaluation value is 2.2%.
[0126] Screen candidate scheduling instruction combinations with safety margin evaluation values greater than or equal to the preset safety margin evaluation threshold to generate a safety margin evaluation result set. The preset safety margin evaluation threshold is set according to the minimum margin value of safe operations in historical scheduling records. For example, the margin value distribution of fault-free scheduling instructions in the past year is statistically analyzed, and the 90th percentile (e.g., 10%) is taken as the threshold. If the safety margin evaluation value of a candidate scheduling instruction combination is less than 10%, it is marked as an overlimit risk and excluded; those greater than or equal to 10% are retained in the safety margin evaluation result set. For example, if the safety margin evaluation value of a combination is 8%, it is excluded; if another combination is 12%, it is retained. Each piece of data in the safety margin evaluation result set includes the candidate scheduling instruction combination identifier (such as combination number 001), the safety margin evaluation value (such as 12%), and an overlimit risk flag field (such as "safe" or "overlimit"), which is called when generating the final scheduling instruction in the subsequent steps.
[0127] Power grid physical security constraint indicators include node voltage deviation, line load rate, and frequency deviation, which are defined as follows: Node voltage deviation is the percentage difference between the actual node voltage and the rated voltage; Line load rate is the percentage ratio of the actual line current to the rated current-carrying capacity; Frequency deviation is the absolute value of the difference between the actual power grid frequency and the rated frequency. The safety thresholds are set according to the equipment tolerance limits in historical operation data. For example, the safety threshold for node voltage deviation is ±5% of the rated value (based on the insulation tolerance of the transformer), the line load rate threshold is 90% (based on the thermal stability limit of the line), and the frequency deviation threshold is ±0.5 Hz (based on the frequency modulation dead zone of the generator set). The predicted values of the indicators are obtained by simulating the changes in the power grid state after the execution of the scheduling instructions through power flow calculations.
[0128] Adjust the real-time dynamic priority sequence according to the safety margin evaluation results, generate resource scheduling instructions, and distribute them to the corresponding resources for execution through a shared communication network, including:
[0129] Adjust the real-time dynamic priority sequence according to the safety margin evaluation values in the safety margin evaluation result set. If the safety margin evaluation value of a candidate scheduling instruction combination is lower than the preset safety margin evaluation threshold, the corresponding resource entry is excluded from the real-time dynamic priority sequence;
[0130] Generate resource scheduling instructions based on the adjusted real-time dynamic priority sequence. The resource scheduling instructions include resource type identifiers, adjustment parameter values, and execution time windows;
[0131] Distribute the resource scheduling instructions to the corresponding distributed energy resource terminal devices through a shared communication network;
[0132] After the distributed energy resource terminal device receives the resource scheduling instructions, execute the adjustment parameter values according to the control logic corresponding to the resource type identifier, and feedback the execution results to the virtual power plant aggregation control platform through a shared communication network.
[0133] The preset safety margin evaluation threshold is 10%, which is set according to the lowest margin quantile of safe operations in historical dispatching records. For example, after statistically analyzing the margin value distribution of fault-free dispatching instructions in the past year, the 90% quantile is taken. For example, if the safety margin evaluation value of a candidate dispatching instruction combination is 8%, then all resource entries included in this combination are deleted from the real-time dynamic priority sequence; if the evaluation value is 12%, then it is retained. The adjustment process of the real-time dynamic priority sequence is carried out in the memory of the virtual power plant aggregation control platform, and the adjusted sequence retains the resource type identifier, regulation amount parameter, and priority value field.
[0134] The execution time window is set according to the preset data acquisition frequency in step S1. For example, when the data acquisition frequency is once every 5 minutes, the execution time window is set to a 5-minute interval after the start time point of the next acquisition cycle. The regulation amount parameter is extracted from the priority sequence and converted into a control instruction recognizable by the device. For example, the charge and discharge power instruction for the energy storage device is "charge_power=100kW", and the output regulation instruction for the photovoltaic device is "active_power=50kW". The encapsulation format of the resource scheduling instruction is a JSON string, which includes the resource type identifier, regulation amount parameter, execution time window, and instruction signature field. The instruction signature is used to verify the legality of the instruction source.
[0135] The distribution protocol of the shared communication network matches the preset communication interface and data encapsulation format according to the resource type identifier. For example, when the resource type identifier is "energy storage", the Modbus TCP protocol is adopted and distributed through a specific IP port, and the data encapsulation format is a hexadecimal code stream; when the resource type identifier is "photovoltaic", the MQTT protocol is adopted and distributed through the topic subscription mechanism, and the data encapsulation format is UTF-8 encoded JSON. The communication interface and data format are predefined during the resource registration phase and stored in the communication configuration database of the virtual power plant aggregation control platform. During the distribution process, the aggregation control platform queries the database according to the resource type identifier and sends instructions.
[0136] The control logic includes the charge and discharge power control of the energy storage device, the inverter output regulation of the photovoltaic device, and the digital input / output control of the load device. For example, after the energy storage device parses "charge_power = 100kW" in the instruction, it adjusts the output power of the converter to the target value; after the photovoltaic device parses "active_power = 50kW", it limits the maximum output power of the inverter to 50kW. The execution results include the resource identifier, the actual adjustment value, the execution status (success / failure), and the timestamp, which are encapsulated in JSON format and returned through the original communication protocol. For example, the energy storage device returns "{‘resource_id’: ‘ESS001’, ‘actual_power’: 98kW, ‘status’: ‘success’, ‘timestamp’: ‘2023-10-05T08:00:00Z’}". The feedback data is stored in the historical execution log database of the virtual power plant aggregation control platform for subsequent scheduling optimization and anomaly analysis.
[0137] Embodiment 2: Figure 2 A schematic structural diagram of a data sharing system based on a virtual power plant according to the present invention is given. A data sharing system based on a virtual power plant includes:
[0138] Real-time acquisition module: Obtain the real-time operation data of the distributed energy resources of the virtual power plant through a shared communication network, including the resource type identifier and the adjustment cost parameter;
[0139] Delay marking module: Judge the transmission delay status of the real-time operation data in the shared communication network, and generate a data stream set of delay marks and non-delay marks;
[0140] Dynamic compensation module: For non-delay marked data, match the preset initial priority rule based on the resource type identifier; for delay marked data, jointly determine the attenuation factor according to the resource type identifier and the grid frequency regulation demand level, and generate a dynamic priority compensation coefficient based on the adjustment cost parameter and the attenuation factor;
[0141] Sequence generation module: Integrate the initial priority rule and the dynamic priority compensation coefficient to generate a real-time dynamic priority sequence;
[0142] Safety assessment module: Based on the real-time dynamic priority sequence, simulate the impact of different dispatching instruction combinations on the grid physical security constraint index, and generate a safety margin assessment result;
[0143] Instruction distribution module: Adjust the real-time dynamic priority sequence according to the safety margin assessment result, generate a resource scheduling instruction, and distribute it to the corresponding resource for execution through a shared communication network.
[0144] Embodiment 3: A data sharing device based on a virtual power plant, comprising: a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and when the program or instruction is executed by the processor, a data sharing method based on a virtual power plant is implemented.
[0145] Embodiment 4: A data sharing medium based on a virtual power plant, on which a program or instruction is stored, and when the program or instruction is executed by a processor, a data sharing method based on a virtual power plant is implemented.
[0146] The above formulas are all dimensionless and take their numerical values for calculation. The formula is obtained by collecting a large amount of data for software simulation to obtain a formula closest to the actual situation. The preset parameters and threshold selection in the formula are set by those skilled in the art according to the actual situation.
[0147] It should be noted that the present invention can be deployed on the device itself to implement an embedded application, or can also run on a PC or other terminal with a user interface, so as to meet various hardware environments and usage requirements.
[0148] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that the computer can access, or a data storage device such as a server or data center that includes one or more collections of available media. The available media can be magnetic media (such as floppy disks, hard disks, magnetic tapes), optical media (such as DVDs), or semiconductor media. The semiconductor media can be a solid-state drive.
[0149] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices, and modules described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0150] In several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or modules can be in electrical, mechanical, or other forms.
[0151] The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical modules. They can be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0152] In addition, in each embodiment of the present application, the functional modules can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module.
[0153] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this 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 for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0154] As described above, the above are only the specific implementation manners of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
[0155] Finally, the above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. A data sharing method based on a virtual power plant, characterized in that, It includes the following steps: S1. Obtain the real-time operation data of the distributed energy resources of the virtual power plant through the shared communication network, including the resource type identifier and the regulation cost parameter; S2. Judge the transmission delay status of the real-time operation data in the shared communication network, and generate a data flow set of delay marks and non-delay marks; S3. For the non-delay marked data, match the preset initial priority rule based on the resource type identifier; For the delay marked data, jointly determine the attenuation factor according to the resource type identifier and the grid frequency regulation demand level, and generate a dynamic priority compensation coefficient based on the regulation cost parameter and the attenuation factor, including: Determine the reference attenuation factor according to the grid frequency regulation demand level. When the grid frequency regulation demand level is urgent, the reference attenuation factor is the first preset value; when it is normal, it is the second preset value; when it is loose, it is the third preset value; Dynamically adjust the reference attenuation factor based on the resource type identifier corresponding to the delay marked data and the real-time schedulable capacity. If the resource type identifier is energy storage and the real-time schedulable capacity is greater than the capacity threshold, the reference attenuation factor is increased by the compensation amount; otherwise, it is decreased by the compensation amount; Take the ratio of the dynamically adjusted reference attenuation factor to the regulation cost parameter as the dynamic priority compensation coefficient; Perform secondary correction on the dynamic priority compensation coefficient according to the grid node voltage over-limit risk level. If the grid node voltage over-limit risk level is high risk, apply an inhibition factor to the dynamic priority compensation coefficient; S4. Integrate the initial priority rule and the dynamic priority compensation coefficient to generate a real-time dynamic priority sequence, including: Classify and stratify the initial priority scores of the non-delay data flow set and the dynamic priority compensation coefficients of the delay data flow set according to the coupling relationship between the grid frequency regulation demand level and the resource type identifier; Dynamically adjust the hierarchical priority order based on the changing direction of the real-time grid frequency deviation: when the frequency has a positive deviation, give priority to calling energy storage resources; when it has a negative deviation, give priority to calling load resources; Perform multi-dimensional cross-sorting on the non-delay data and the delay data according to the resource type identifier and the grid frequency regulation demand level to generate a priority subsequence in the resource type - frequency regulation level dimension; Perform safety screening on the priority subsequence according to the grid node voltage over-limit risk level: under the high risk level, eliminate the resource entries that may exacerbate the voltage problem; under the medium and low risk levels, retain the complete priority subsequence; Merge all the safety-screened priority subsequences, and generate a real-time dynamic priority sequence according to the global priority rule of the grid frequency regulation demand level and the resource type identifier; S5. Simulate the impact of different dispatching instruction combinations on the grid physical security constraint index based on the real-time dynamic priority sequence, and generate a safety margin evaluation result; S6. Adjust the real-time dynamic priority sequence according to the safety margin evaluation result, generate a resource dispatching instruction, and distribute it to the corresponding resources for execution through the shared communication network.
2. The data sharing method based on a virtual power plant according to claim 1, wherein Obtain the real-time operation data of the distributed energy resources of the virtual power plant through the shared communication network, including the resource type identifier and the regulation cost parameter, including: Obtain the real-time operation data of the distributed energy resources of the virtual power plant through the shared communication network at a preset acquisition frequency; Convert the real-time operation data into a unified data format, where the unified data format includes a resource type identification field and an adjustment cost parameter field; Perform validity verification on the resource type identification field and the adjustment cost parameter field, and eliminate invalid data entries.
3. A data sharing method based on a virtual power plant according to claim 2, characterized in that, Judge the transmission delay status of the real-time operation data in the shared communication network, and generate a data stream set of delay marks and non-delay marks, including: Obtain the time stamp of the real-time operation data, where the time stamp includes the data generation time and the reception time; Calculate the transmission time according to the data generation time and the reception time, and the transmission time is equal to the reception time minus the data generation time; Compare the transmission time with a preset delay threshold, and mark the data with a transmission time exceeding the preset delay threshold as delay-marked data, otherwise mark it as non-delay-marked data; Classify the delay-marked data and the non-delay-marked data according to the resource type identification, and generate a delay-marked data stream set and a non-delay-marked data stream set classified by resource type.
4. A data sharing method based on a virtual power plant according to claim 3, characterized in that, For the non-delay-marked data, match the preset initial priority rules based on the resource type identification, including: Obtain the preset initial priority rule table, where the initial priority rule table contains the mapping relationship between the resource type identification and the initial priority value; Query the initial priority rule table according to the resource type identification field in the non-delay-marked data, and match the corresponding initial priority value; Perform weighted summation on the matched initial priority value and the adjustment cost parameter in the non-delay-marked data to generate an initial priority score; Write the initial priority score into the priority field of the non-delay-marked data to generate a non-delay data stream set with an initial priority score.
5. A data sharing method based on a virtual power plant according to claim 4, characterized in that, Simulate the impact of different scheduling instruction combinations on the physical security constraint index of the power grid based on the real-time dynamic priority sequence, and generate a security margin evaluation result, including: Generate multiple candidate scheduling instruction combinations according to the real-time dynamic priority sequence, and each candidate scheduling instruction combination includes scheduling instructions of different resource type identifications and corresponding adjustment amount parameters; Perform physical security constraint simulation of the power grid on each candidate scheduling instruction combination based on the current operation parameters of the power grid, and predict the change value of the physical security constraint index of the power grid after executing the candidate scheduling instruction combination; Compare the predicted change value of the physical security constraint index of the power grid with the preset physical security constraint index safety threshold of the power grid to generate a security margin evaluation value for each candidate scheduling instruction combination; Screen the candidate scheduling instruction combinations with a security margin evaluation value greater than or equal to the preset security margin evaluation threshold to generate a security margin evaluation result set.
6. The data sharing method based on a virtual power plant according to claim 5, wherein, Adjust the real-time dynamic priority sequence according to the security margin evaluation result, generate a resource scheduling instruction and distribute it to the corresponding resource for execution through the shared communication network, including: Adjust the real-time dynamic priority sequence according to the security margin evaluation value in the security margin evaluation result set. If the security margin evaluation value of the candidate scheduling instruction combination is lower than the preset security margin evaluation threshold, then eliminate the corresponding resource entry from the real-time dynamic priority sequence; Generate a resource scheduling instruction based on the adjusted real-time dynamic priority sequence, and the resource scheduling instruction includes a resource type identification, an adjustment amount parameter, and an execution time window; Distribute resource scheduling instructions to corresponding distributed energy resource terminal devices through a shared communication network; After the distributed energy resource terminal device receives the resource scheduling instruction, it executes the adjustment parameters according to the control logic corresponding to the resource type identifier, and feeds back the execution results to the virtual power plant aggregation control platform through the shared communication network.
7. A data sharing system based on a virtual power plant, which is used to implement the data sharing method based on a virtual power plant according to any one of claims 1-6, characterized in that, include: Real-time acquisition module: obtains real-time operation data of distributed energy resources of virtual power plants through a shared communication network, including resource type identification and adjustment cost parameters; Delay marking module: determines the transmission delay status of real-time operation data in the shared communication network and generates a set of delay marked and non-delay marked data streams; Dynamic compensation module: For non-delayed marked data, the preset initial priority rules are matched based on the resource type identifier; for delayed marked data, the attenuation factor is determined in coordination with the resource type identifier and the grid frequency regulation demand level, and a dynamic priority compensation coefficient is generated based on the adjustment cost parameter and the attenuation factor; Sequence generation module: integrates the initial priority rules and dynamic priority compensation coefficients to generate real-time dynamic priority sequences; Safety assessment module: Based on the real-time dynamic priority sequence, it simulates the impact of different dispatch instruction combinations on the physical safety constraint indicators of the power grid and generates safety margin assessment results; Instruction distribution module: adjusts the real-time dynamic priority sequence according to the safety margin assessment results, generates resource scheduling instructions and distributes them to the corresponding resources for execution through a shared communication network.
8. A data sharing device based on a virtual power plant, characterized in that, include: A processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, a data sharing method based on a virtual power plant as described in any one of claims 1 to 6 is implemented.
9. A data sharing medium based on a virtual power plant, characterized in that, The medium stores programs or instructions, and when the programs or instructions are executed by the processor, a data sharing method based on a virtual power plant as described in any one of claims 1-6 is implemented.
Citation Information
Patent Citations
Intelligent water meter stable communication system based on 4GCat1 technology
CN118632208A
Internet-based data service system
CN119743496A