Movatterモバイル変換


[0]ホーム

URL:


CN120166084B - A data sharing method, system, device and medium based on virtual power plant - Google Patents

A data sharing method, system, device and medium based on virtual power plant

Info

Publication number
CN120166084B
CN120166084BCN202510637849.8ACN202510637849ACN120166084BCN 120166084 BCN120166084 BCN 120166084BCN 202510637849 ACN202510637849 ACN 202510637849ACN 120166084 BCN120166084 BCN 120166084B
Authority
CN
China
Prior art keywords
data
real
time
priority
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202510637849.8A
Other languages
Chinese (zh)
Other versions
CN120166084A (en
Inventor
张强
欧渊
吴磊
尚忠玉
吴溢
刘荣刚
吴裴裴
马磊
余痴
唐冬来
唐志远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Zhongdian Aostar Information Technologies Co ltd
Original Assignee
Sichuan Zhongdian Aostar Information Technologies Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Zhongdian Aostar Information Technologies Co ltdfiledCriticalSichuan Zhongdian Aostar Information Technologies Co ltd
Priority to CN202510637849.8ApriorityCriticalpatent/CN120166084B/en
Publication of CN120166084ApublicationCriticalpatent/CN120166084A/en
Application grantedgrantedCritical
Publication of CN120166084BpublicationCriticalpatent/CN120166084B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种基于虚拟电厂的数据分享方法、系统、设备及介质,具体涉及电力数据协同技术领域,用于解决现有静态优先级规则因数据流异步性导致的多源协同失效及资源误调度问题;通过共享通信网络实时采集分布式资源的运行数据,基于传输延迟状态标记数据流,针对延迟数据结合资源类型与电网调频需求等级生成动态优先级补偿系数,融合初始优先级规则生成实时动态序列;进一步通过电网物理安全约束指标模拟调度指令影响,基于安全裕度评估结果闭环修正优先级序列,最终生成资源调度指令,实现了数据异步场景下低成本资源的高效调用与电网运行可靠性的协同优化。

The present invention discloses a data sharing method, system, device and medium based on a virtual power plant, which specifically relates to the field of power data collaboration technology, and is used to solve the problems of multi-source collaboration failure and resource mis-scheduling caused by data flow asynchrony of existing static priority rules; real-time collection of operating data of distributed resources through a shared communication network, marking of data streams based on transmission delay status, generating dynamic priority compensation coefficients for delayed data in combination with resource types and power grid frequency regulation demand levels, and integrating initial priority rules to generate real-time dynamic sequences; further simulating the impact of scheduling instructions through power grid physical safety constraint indicators, and closed-loop correcting priority sequences based on safety margin assessment results, and finally generating resource scheduling instructions, thereby achieving efficient calling of low-cost resources and collaborative optimization of power grid operation reliability in data asynchronous scenarios.

Description

Data sharing method, system, equipment and medium based on virtual power plant
Technical Field
The invention relates to the technical field of power data collaboration, in particular to a data sharing method, system, equipment and medium based on a virtual power plant.
Background
The Virtual Power Plant (VPP) realizes multi-source data sharing and collaborative decision-making by aggregating distributed energy resources (such as energy storage, photovoltaics and controllable loads), the scheduling efficiency of the virtual power plant is highly dependent on the real-time performance and the collaborative performance of data transmission, a data sharing mechanism in the prior art guarantees the timeliness of a key data stream by presetting a communication link priority (such as an energy storage data channel is prioritized over a load channel), and the method is based on the synchronism assumption of the real-time data stream and a scheduling instruction, namely the transmission reliability of a communication network can meet the scheduling time sequence requirement.
However, static priority allocation is difficult to adapt to a dynamic operation scenario, for example, in a high-frequency transaction in an electric power market, a data stream of an energy storage device is preferentially processed due to a high priority of a communication link, and a data stream of low-cost resources such as a controllable load and the like has transmission delay or packet loss risk due to a limit of a communication level, so that multi-source data cooperative failure is caused, that is, the data stream of the high-cost energy storage resource arrives at time and is preferentially called, low-cost load adjustment data which arrives at delay is ignored, and the resource utilization efficiency is reduced and the operation cost is increased.
Disclosure of Invention
In order to overcome the above-mentioned drawbacks 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 above-mentioned problems in the prior art.
In order to achieve the above purpose, the present invention provides the following technical solutions:
A data sharing method based on a virtual power plant comprises the following steps:
s1, acquiring real-time operation data of distributed energy resources of a virtual power plant through a shared communication network, wherein the real-time operation data comprise resource type identification and adjustment cost parameters;
S2, judging the transmission delay state of real-time operation data in the shared communication network, and generating a data stream set of delay marks and non-delay marks;
S3, for non-delay marked data, matching a preset initial priority rule based on a resource type identifier, for the delay marked data, determining an attenuation factor according to the resource type identifier and the grid frequency modulation demand level in a cooperative manner, and generating a dynamic priority compensation coefficient based on an adjustment cost parameter and the attenuation factor;
s4, fusing the initial priority rule and the dynamic priority compensation coefficient to generate a real-time dynamic priority sequence;
S5, simulating the influence of different dispatching instruction combinations on the physical safety constraint index of the power grid based on the real-time dynamic priority sequence, and generating a safety margin assessment result;
And S6, adjusting the real-time dynamic priority sequence according to the safety margin evaluation result, generating a resource scheduling instruction and distributing the resource scheduling instruction to corresponding resource execution through the shared communication network.
In a preferred embodiment, acquiring real-time operational data of a virtual power plant distributed energy resource over a shared communication network, including resource type identification and regulatory cost parameters, includes:
Acquiring real-time operation data of distributed energy resources of the virtual power plant at a preset acquisition frequency through a shared communication network;
converting the real-time operation data into a unified data format, wherein the unified data format comprises a resource type identification field and an adjustment cost parameter field;
and carrying out validity verification on the resource type identification field and the adjustment cost parameter field, and eliminating invalid data entries.
In a preferred embodiment, determining a transmission delay status of real-time operational data in a shared communication network, generating a set of delay marked and non-delay marked data streams, includes:
acquiring a time stamp of real-time operation data, wherein the time stamp comprises data generation time and receiving time;
Calculating a transmission time according to the data generation time and the receiving time, wherein the transmission time is equal to the receiving time minus the data generation time;
comparing the transmission time with a preset delay threshold, marking the data with the transmission time exceeding the preset delay threshold as delay marking data, otherwise marking the data as non-delay marking data;
And classifying the delay marked data and the non-delay marked data according to the resource type identification, and generating a delay marked data stream set and a non-delay marked data stream set classified according to the resource type.
In a preferred embodiment, for non-delay tag data, matching a preset initial priority rule based on a resource type identification includes:
acquiring a preset initial priority rule table, wherein the initial priority rule table comprises a mapping relation between a resource type identifier and an initial priority value;
Inquiring an initial priority rule table according to a resource type identification field in the non-delay marked data, and matching a corresponding initial priority value;
weighting and summing the matched initial priority value and the adjustment cost parameter in the non-delay marked data to generate an initial priority score;
Writing the initial priority score into a priority field of the non-delay marked data to generate a non-delay data stream set with the initial priority score;
generating dynamic priority compensation coefficients for delay marker data, comprising:
determining a reference attenuation factor according to the frequency modulation demand level of the power grid, wherein the frequency modulation demand level of the power grid is an emergency reference attenuation factor which is a first preset value, a second preset value in normal conditions and a third preset value in loose conditions;
Dynamically adjusting the reference attenuation factor based on the resource type identifier corresponding to the delay mark data and the real-time schedulable capacity, if the resource type identifier is energy storage and the real-time schedulable capacity is larger than a capacity threshold, increasing the compensation amount by the reference attenuation factor, otherwise, reducing the compensation amount;
Taking the ratio of the dynamically adjusted reference attenuation factor to the adjustment cost parameter as a dynamic priority compensation coefficient;
and carrying out secondary correction on the dynamic priority compensation coefficient according to the power grid node voltage out-of-limit risk level, and if the power grid node voltage out-of-limit risk level is high risk, applying an inhibition factor to the dynamic priority compensation coefficient.
In a preferred embodiment, fusing the initial priority rule with the dynamic priority compensation coefficient generates a real-time dynamic priority sequence comprising:
Classifying and layering the initial priority score of the non-delay data flow set and the dynamic priority compensation coefficient of the delay data flow set according to the coupling relation between the frequency modulation demand level of the power grid and the resource type identifier;
The layering priority order is dynamically adjusted based on the real-time power grid frequency deviation change direction, wherein energy storage type resources are preferentially called when the frequency is positively deviated, and load type resources are preferentially called when the frequency is negatively deviated;
Carrying out multidimensional cross sequencing on non-delay data and delay data according to the resource type identification and the grid frequency modulation demand level, and generating a priority subsequence of the resource type-frequency modulation level dimension;
The priority subsequence is safely screened according to the power grid node voltage out-of-limit risk level, namely resource items which are likely to exacerbate the voltage problem are removed under the high risk level, and the complete priority subsequence is reserved under the low risk level;
And merging all the priority subsequences after the safety screening, and generating a real-time dynamic priority sequence according to a global priority rule of the grid frequency modulation demand level and the resource type identifier.
In a preferred embodiment, simulating the influence of different scheduling instruction combinations on the grid physical safety constraint index based on the real-time dynamic priority sequence, and generating a safety margin evaluation result comprises:
Generating a plurality of candidate scheduling instruction combinations according to the real-time dynamic priority sequence, wherein each candidate scheduling instruction combination comprises scheduling instructions with different resource type identifiers and corresponding adjustment quantity parameters;
Performing power grid physical security constraint simulation on each candidate scheduling instruction combination based on current operation parameters of the power grid, and predicting power grid physical security constraint index change values after the candidate scheduling instruction combination is executed;
comparing the predicted power grid physical security constraint index change value with a preset power grid physical security constraint index security threshold value to generate a security margin evaluation value of each candidate scheduling instruction combination;
and screening candidate scheduling instruction combinations with the safety margin evaluation value larger than or equal to a preset safety margin evaluation threshold value, and generating a safety margin evaluation result set.
In a preferred embodiment, the method for adjusting the real-time dynamic priority sequence according to the safety margin evaluation result, generating a resource scheduling instruction and distributing the resource scheduling instruction to corresponding resource execution through a shared communication network comprises the following steps:
Adjusting the real-time dynamic priority sequence according to the safety margin evaluation value in the safety margin evaluation result set, and if the safety margin evaluation value of the candidate scheduling instruction combination is lower than a preset safety margin evaluation threshold value, eliminating the corresponding resource item from the real-time dynamic priority sequence;
Generating a resource scheduling instruction based on the adjusted real-time dynamic priority sequence, wherein the resource scheduling instruction comprises a resource type identifier, an adjustment quantity parameter and an execution time window;
Distributing the resource scheduling instruction to corresponding distributed energy resource terminal equipment through a shared communication network;
After the distributed energy resource terminal equipment receives the resource scheduling instruction, executing the adjustment quantity parameter according to the control logic corresponding to the resource type identifier, and feeding back an execution result to the virtual power plant aggregation control platform through the shared communication network.
In another aspect, the present invention provides a data sharing system based on a virtual power plant, including:
The real-time acquisition module is used for acquiring real-time operation data of the distributed energy resources of the virtual power plant through a shared communication network, wherein the real-time operation data comprise resource type identification and adjustment cost parameters;
The delay marking module is used for judging the transmission delay state of the real-time operation data in the shared communication network and generating a data stream set of a delay mark and a non-delay mark;
The dynamic compensation module is used for matching a preset initial priority rule based on the resource type identification aiming at the non-delay marked data, determining an attenuation factor according to the resource type identification and the grid frequency modulation demand level in a cooperative manner, and generating a dynamic priority compensation coefficient based on the adjustment cost parameter and the attenuation factor aiming at the delay marked data;
the sequence generation module is used for generating a real-time dynamic priority sequence by fusing the initial priority rule and the dynamic priority compensation coefficient;
The safety evaluation module simulates the influence of different dispatching instruction combinations on the physical safety constraint index of the power grid based on the real-time dynamic priority sequence, and generates a safety margin evaluation result;
And the instruction distribution module is used for adjusting the real-time dynamic priority sequence according to the safety margin evaluation result, generating a resource scheduling instruction and distributing the resource scheduling instruction to corresponding resource execution through the shared communication network.
On the other hand, the invention provides data sharing equipment based on the virtual power plant, which comprises a processor, a memory and a program or an instruction stored on the memory and capable of running on the processor, wherein the program or the instruction is executed by the processor to realize the data sharing method based on the virtual power plant.
On the other hand, the invention provides a data sharing medium based on the virtual power plant, wherein a program or instructions are stored on the medium, and when the program or instructions are executed by a processor, the data sharing method based on the virtual power plant is realized.
Compared with the prior art, the invention has the following beneficial effects:
1. The problem of multi-source cooperative failure caused by data asynchronism under the traditional static priority rule is solved by optimizing a dynamic sharing mechanism of the multi-source data stream, the system dynamically identifies delayed and non-delayed data streams based on the acquisition and transmission state marks of the shared communication network on the real-time operation data, and generates a priority compensation coefficient by adjusting cost parameters and frequency modulation demand level, so that delayed data of low-cost resources can still participate in scheduling decisions through dynamic weight adjustment, cooperative optimization of multi-source heterogeneous data under a transmission delay scene is realized, and resource error scheduling risk caused by data stream asynchronization is reduced;
2. The closed-loop linkage of the data flow state mark and the power grid safety constraint further strengthens the guarantee capability of the data sharing process on the power grid operation safety, and after the priority sequence is dynamically generated, the data sharing weight is reversely corrected based on the safety margin evaluation, so that the dispatching instruction is ensured to meet the economic target, the physical safety boundary of the power grid is met, the autonomous coordination capability of the virtual power plant on the multi-source data in the high-frequency transaction scene is improved, and the reliability of the complex power market environment is improved.
Drawings
FIG. 1 is a flow chart of a data sharing method based on a virtual power plant of the present invention;
fig. 2 is a schematic structural diagram of a data sharing system based on a virtual power plant according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Embodiment 1 fig. 1 shows a data sharing method based on a virtual power plant, which comprises the following steps:
s1, acquiring real-time operation data of distributed energy resources of a virtual power plant through a shared communication network, wherein the real-time operation data comprise resource type identification and adjustment cost parameters;
S2, judging the transmission delay state of real-time operation data in the shared communication network, and generating a data stream set of delay marks and non-delay marks;
S3, for non-delay marked data, matching a preset initial priority rule based on a resource type identifier, for the delay marked data, determining an attenuation factor according to the resource type identifier and the grid frequency modulation demand level in a cooperative manner, and generating a dynamic priority compensation coefficient based on an adjustment cost parameter and the attenuation factor;
s4, fusing the initial priority rule and the dynamic priority compensation coefficient to generate a real-time dynamic priority sequence;
S5, simulating the influence of different dispatching instruction combinations on the physical safety constraint index of the power grid based on the real-time dynamic priority sequence, and generating a safety margin assessment result;
And S6, adjusting the real-time dynamic priority sequence according to the safety margin evaluation result, generating a resource scheduling instruction and distributing the resource scheduling instruction to corresponding resource execution through the shared communication network.
Acquiring real-time operation data of distributed energy resources of a virtual power plant through a shared communication network, wherein the real-time operation data comprise resource type identification and adjustment cost parameters and comprise the following steps:
Acquiring real-time operation data of distributed energy resources of the virtual power plant at a preset acquisition frequency through a shared communication network;
converting the real-time operation data into a unified data format, wherein the unified data format comprises a resource type identification field and an adjustment cost parameter field;
and carrying out validity verification on the resource type identification field and the adjustment cost parameter field, and eliminating invalid data entries.
The preset collection frequency is set according to the scheduling requirements of the virtual power plant, including but not limited to once per second for the energy storage device and once per minute for the controllable load. In specific implementation, the collection frequency is configured through a virtual power plant aggregation control platform, and the aggregation control platform dynamically adjusts the collection frequency according to the resource type identification, for example, when the illumination intensity fluctuation of the photovoltaic equipment exceeds a preset threshold value, the collection frequency is automatically lifted to twice per second.
The unified data format adopts a JSON structured data format, wherein a resource type identification field is named as 'resource_type', a field value is named as a preset enumeration type (comprising 'stored energy', 'photovoltaic', 'controllable load'), an adjustment cost parameter field is named as 'cost_parameter', a field value is named as a floating point number, and the adjustment cost parameter field is used for representing the cost of unit adjustment quantity (unit is meta/kWh). In the implementation, the data format conversion is realized through an edge computing node, after the edge computing node receives the original data, the edge computing node analyzes the equipment number in the original data according to the resource type identification, queries a pre-stored adjustment cost parameter mapping table, and maps the equipment number into a corresponding adjustment cost parameter value.
Validity verification includes rules that the value of the resource type identification field must be within a preset enumeration type range, and that the value of the adjustment 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 verification logic on each piece of data, if the resource type identification field is 'energy storage' but the adjustment cost parameter is greater than 50 yuan/kWh, the data are judged to be abnormal data and are rejected, and if the resource type identification field is an undefined enumeration value (such as a fan), the data are marked to be invalid data and are discarded. After invalid data is removed, the remaining data items are transmitted to a virtual power plant aggregation control platform through a shared communication network for processing in the subsequent steps.
Notably, the shared communication network can be a multi-master collaborative 5G/blockchain network.
Judging the transmission delay state of real-time operation data in a shared communication network, generating a data flow set of delay marks and non-delay marks, comprising:
acquiring a time stamp of real-time operation data, wherein the time stamp comprises data generation time and receiving time;
Calculating a transmission time according to the data generation time and the receiving time, wherein the transmission time is equal to the receiving time minus the data generation time;
comparing the transmission time with a preset delay threshold, marking the data with the transmission time exceeding the preset delay threshold as delay marking data, otherwise marking the data as non-delay marking data;
And classifying the delay marked data and the non-delay marked data according to the resource type identification, and generating a delay marked data stream set and a non-delay marked data stream set classified according to the resource type.
The data generation time is recorded when the terminal equipment of the distributed energy resource generates real-time operation data, a real-time clock chip is arranged in the terminal equipment, a time signal of the real-time clock chip is synchronous with a reference clock of the virtual power plant aggregation control platform through a network time protocol, and the time synchronization error is less than 1 millisecond. The receiving time is recorded by the virtual power plant aggregation control platform when the data is received through the shared communication network, and the recording precision is in the millisecond level. The format of the time stamp adopts the coordination world time, the data generation time is written into the generation_time field of the data packet head, and the receiving time is written into the recovery_time field of the data packet tail. For example, the terminal equipment of the photovoltaic equipment generates real-time operation data when the illumination intensity changes by more than 5%, and writes the generation time of 2023-10-05T08:00:00.500Z into the packet header, and the aggregation control platform records the receiving time of 2023-10-05T08:00:01.200Z after receiving.
When the transmission time is calculated and embodied, the virtual power plant aggregation control platform analyzes the generation_time field of the data packet header and the recovery_time field of the data packet tail, converts the two time stamps into millisecond time stamps of the same time zone, and performs subtraction operation to obtain the transmission time. For example, the energy storage device may be generated at a time of "2023-10-05T08:00:00.500Z", received at a time of "2023-10-05T08:00:01.200Z", and transmitted at a time of 700 milliseconds. If the time zone of the data generation time is inconsistent with the time zone of the receiving time, the aggregation control platform firstly converts the two time stamps into coordinated universal time and then calculates a difference value.
The preset delay threshold is set according to the resource type identifier, wherein the energy storage type resource is 500 milliseconds, the photovoltaic type resource is 800 milliseconds, and the controllable load type resource is 2000 milliseconds. The threshold setting is based on the maximum allowable delay of different types of resources, and the aggregation control platform pre-stores a threshold mapping table, wherein the table structure comprises two columns of resource type identification and preset delay threshold. For example, querying the mapping table when the resource type is identified as "stored energy" results in a threshold of 500 milliseconds. When the transmission time of a certain piece of energy storage data is 700 milliseconds, the aggregation control platform judges that the transmission time exceeds a threshold value and marks the data as delay marked data, and when the transmission time of a certain piece of controllable load data is 1500 milliseconds, the data is marked as non-delay marked data.
When the delay marked data stream set and the non-delay marked data stream set classified according to the resource types are generated and are implemented in a concrete way, the aggregation control platform extracts a 'resource_type' field value in the real-time operation data, and the delay marked data and the non-delay marked data are respectively stored in independent sets named by the resource type identifiers. For example, delay tag data, the resource type of which is identified as "store" is stored in a "store_delay" set, and non-delay tag data is stored in a "store_non-delay" set. Each set is stored in JSON array format, and the array elements comprise an original data packet header, a packet tail and a tag status field, and the tag status field value is "delayed" or "non-delayed". The upper limit of the storage capacity of the collection is set according to the resource type, the upper limit of the collection of the energy storage class is 1000, the photovoltaic class is 2000, and the old data is covered according to the first-in first-out rule when the upper limit is reached.
For non-delay marked data, matching a preset initial priority rule based on a resource type identification, including:
acquiring a preset initial priority rule table, wherein the initial priority rule table comprises a mapping relation between a resource type identifier and an initial priority value;
Inquiring an initial priority rule table according to a resource type identification field in the non-delay marked data, and matching a corresponding initial priority value;
weighting and summing the matched initial priority value and the adjustment cost parameter in the non-delay marked data to generate an initial priority score;
writing the initial priority score into a priority field of the non-delay marked data to generate a non-delay data stream set with the initial priority score.
The initial priority rule table is preset by the virtual power plant operator according to the historical scheduling efficiency of the resource types and the power grid regulation and control requirements, and is stored in a configuration database of the virtual power plant aggregation control platform. The table structure of the initial priority rule table comprises two columns of a resource type identifier and an initial priority value, wherein the resource type identifier is an enumeration value (such as an energy storage value, a photovoltaic value and a controllable load), the initial priority value is an integer from 1 to 10, and the higher the value is, the higher the priority is. For example, the initial priority value corresponding to the resource type is 8 when the resource type is identified as "energy storage", and the initial priority value corresponding to the resource type is 5 when the resource type is identified as "controllable load". The initial priority rule table is imported during the virtual power plant initialization phase and supports dynamic updating according to the grid operating state, for example, when the grid frequency deviation continuously exceeds 0.2Hz, the initial priority value of "energy storage" is raised to 9.
When the matching of the corresponding initial priority value is implemented, the virtual power plant aggregation control platform extracts a field value (such as 'energy storage') of 'resource_type' in the non-delay marked data, queries the initial priority rule table by taking the field value as an index, and returns the corresponding initial priority value (such as 8). If the resource type identification field value is not defined in the rule table (e.g., "fan"), the initial priority value of the data is set to a default value of 1. For example, a resource type of a certain piece of photovoltaic data is identified as 'photovoltaic', an initial priority value 6 is obtained by inquiring a rule table, and another piece of undefined resource type data is marked as a default priority value 1 and an alarm log is triggered.
When the initial priority score is generated, the weight of the weighted summation is dynamically set according to the resource type identifier, the weight of the initial priority value of the energy storage type resource is 0.7, the weight of the cost parameter is regulated to be 0.3, the weight of the initial priority value of the controllable load type resource is 0.4, and the weight of the cost parameter is regulated to be 0.6. In specific implementation, the virtual power plant aggregation control platform queries a preset weight mapping table according to the resource type identifier, for example, when the resource type identifier is "energy storage", the initial priority score=the initial priority value×0.7+ and the adjustment cost parameter×0.3. If the initial priority value of a certain piece of energy storage data is 8 and the adjustment cost parameter is 2 yuan/kWh, 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 price fluctuation rate, for example, when the real-time price fluctuation rate exceeds 10%, the weight of the adjustment cost parameter of the controllable load is increased to 0.8.
Writing the initial priority score into a priority field of the non-delay marked data to generate a non-delay data stream set with the initial priority score. The 'priority_score' field is added in the JSON format of the non-delay marked data, and the field value is the calculated initial priority grade. For example, the "priority_score" field of a certain piece of stored data is written in 6.2, and the photovoltaic data is written in 4.8. All non-delayed data with priority scores are stored in separate sets of data flows by resource type classification, e.g. "energy storage_non-delayed_scored" set and "controllable load_non-delayed_scored" set. The storage format of the data stream set is consistent with the delay marked data stream set generated in step S2.
For delay marking data, determining an attenuation factor according to the resource type identification and the grid frequency modulation demand level in a cooperative manner, and generating a dynamic priority compensation coefficient based on the adjustment cost parameter and the attenuation factor, wherein the method comprises the following steps:
determining a reference attenuation factor according to the frequency modulation demand level of the power grid, wherein the frequency modulation demand level of the power grid is an emergency reference attenuation factor which is a first preset value, a second preset value in normal conditions and a third preset value in loose conditions;
Dynamically adjusting the reference attenuation factor based on the resource type identifier corresponding to the delay mark data and the real-time schedulable capacity, if the resource type identifier is energy storage and the real-time schedulable capacity is larger than a capacity threshold, increasing the compensation amount by the reference attenuation factor, otherwise, reducing the compensation amount;
Taking the ratio of the dynamically adjusted reference attenuation factor to the adjustment cost parameter as a dynamic priority compensation coefficient;
and carrying out secondary correction on the dynamic priority compensation coefficient according to the power grid node voltage out-of-limit risk level, and if the power grid node voltage out-of-limit risk level is high risk, applying an inhibition factor to the dynamic priority compensation coefficient.
And determining a reference attenuation factor according to the grid frequency modulation demand level, wherein the reference attenuation factor is determined to be an emergency level when the absolute value of the real-time grid frequency deviation exceeds 0.5Hz, the reference attenuation factor is set to be 0.9, the reference attenuation factor is set to be a normal level when the deviation is between 0.2Hz and 0.5Hz, the reference attenuation factor is set to be 0.6, and the reference attenuation factor is set to be a loose level when the deviation is less than 0.2 Hz. The numerical value is determined by analyzing the adjustment success rate and the cost-benefit ratio of the energy storage resources in different scenes in the virtual power plant history scheduling database. For example, the average adjustment success rate of the energy storage resources in 100 emergency scenes (deviation >0.5 Hz) in the past year is counted to be 92% (i.e. more than 90%), corresponding to a reference attenuation factor of 0.9, the adjustment success rate of the normal scenes (deviation 0.2Hz-0.5 Hz) is counted to be 63%, corresponding to 0.6, and the adjustment success rate of the loose scenes (deviation <0.2 Hz) is counted to be 28%, corresponding to 0.3. The setting of the value ensures the resource priority in the high-success-rate scene to be improved and the low-success-rate scene to be suppressed.
For example, if the resource type of the delay tag data is identified as "stored energy" and its real-time schedulable capacity (SOC) is greater than 80%, the reference decay factor is increased by 0.2, and if the SOC is less than or equal to 80%, it is decreased by 0.2. The SOC threshold is statistically determined from historical operating data of the energy storage device in the virtual power plant operating log, and analysis of the past 500 scheduling records reveals that when the SOC is greater than 80%, the average adjustment amount of the energy storage device is increased by 20% over the time when the SOC is less than or equal to 80% (e.g., 100kW when the SOC is 85% and 80kW when the SOC is 75%). To reflect the adjustment performance difference, the offset is set to 0.2 (20% improvement in adjustment corresponds to 0.2 improvement in priority). For example, the SOC of a certain energy storage device is 85%, the reference attenuation factor is adjusted from 0.9 to 1.1, and the SOC is adjusted to 0.7 when the SOC is 75%. Non-energy storage type resources (such as photovoltaics and loads) are not subjected to capacity adjustment, and the adjustment capacity of the non-energy storage type resources is not directly related to the capacity.
And taking the ratio of the adjusted reference attenuation factor to the adjustment cost parameter as a dynamic priority compensation coefficient. The adjustment cost parameter is derived from the unit adjustment amount cost (meta/kWh) filled at the time of resource registration, and is written in the "cost_parameter" field of the unified data format. For example, the reference attenuation factor of a certain energy storage device is 1.1, the adjustment cost is 5 yuan/kWh, the compensation coefficient is 1.1/5=0.22, the reference attenuation factor of a certain photovoltaic device is 0.6, the adjustment cost is 3 yuan/kWh, and the compensation coefficient is 0.6/3=0.2. The result of the calculation retains two-bit decimal and writes into the "accounting_coeffective" field for later step invocation.
And carrying out secondary correction on the dynamic priority compensation coefficient according to the power grid node voltage out-of-limit risk level, wherein if the voltage deviation exceeds 5%, for example, the dynamic priority compensation coefficient is judged to be high in risk, the dynamic priority compensation coefficient is multiplied by a suppression factor of 0.5, the deviation is middle risk when the deviation is 3-5%, the deviation is multiplied by 0.8, and the deviation is low risk when the deviation is less than 3%, and the deviation is multiplied by 1.0.
The inhibitor is set by analyzing the contribution degree of the resource regulation to the voltage stabilization in the historical voltage out-of-limit event, for example, in the high risk event that the statistical 50 times of voltage deviation is more than 5%, the contribution degree of the resource regulation to the voltage recovery is reduced by 50% on average, so the inhibitor is set to be 0.5, the contribution degree is reduced by 20% when the deviation is 3% -5%, and the inhibitor is 0.8. For example, the voltage deviation of a certain node is 6%, the compensation coefficient 0.22 is corrected to 0.22×0.5=0.11, and the voltage deviation is corrected to 0.22×0.8=0.176 when the voltage deviation is 4%. The modified coefficients are updated to the "compensation_coeffient" field.
Fusing the initial priority rule and the dynamic priority compensation coefficient to generate a real-time dynamic priority sequence, which comprises the following steps:
Classifying and layering the initial priority score of the non-delay data flow set and the dynamic priority compensation coefficient of the delay data flow set according to the coupling relation between the frequency modulation demand level of the power grid and the resource type identifier;
The layering priority order is dynamically adjusted based on the real-time power grid frequency deviation change direction, wherein energy storage type resources are preferentially called when the frequency is positively deviated, and load type resources are preferentially called when the frequency is negatively deviated;
Carrying out multidimensional cross sequencing on non-delay data and delay data according to the resource type identification and the grid frequency modulation demand level, and generating a priority subsequence of the resource type-frequency modulation level dimension;
The priority subsequence is safely screened according to the power grid node voltage out-of-limit risk level, namely resource items which are likely to exacerbate the voltage problem are removed under the high risk level, and the complete priority subsequence is reserved under the low risk level;
And merging all the priority subsequences after the safety screening, and generating a real-time dynamic priority sequence according to a global priority rule of the grid frequency modulation demand level and the resource type identifier.
And classifying and layering the initial priority score of the non-delayed data flow set and the dynamic priority compensation coefficient of the delayed data flow set according to the coupling relation between the frequency modulation demand level of the power grid and the resource type identifier. The classification and layering rule is that when the frequency modulation demand level of the power grid is urgent, the initial priority grade and the dynamic priority compensation coefficient of the energy storage type resource are classified into a first level, the load type resource is classified into a second level, all resource types under the normal level are classified into the same level according to the initial priority grade and the compensation coefficient numerical value, and the loose level is classified into different levels according to the adjustment cost parameter from low to high. For example, the initial priority score (e.g., 8.0) and the compensation factor (e.g., 0.22) of the energy storage resource at the emergency level are both classified as the first level, and the score (e.g., 5.0) and the factor (e.g., 0.15) of the controllable load are classified as the second level.
The layering priority order is dynamically adjusted based on the real-time power grid frequency deviation change direction, namely, when the frequency deviation is positive (namely, the frequency is higher than the rated value), the energy storage type resources are preferentially called to absorb surplus electric energy, and when the frequency deviation is negative (namely, the frequency is lower than the rated value), the controllable load type resources are preferentially called to cut down the electricity consumption requirement. For example, when the positive deviation of the frequency is detected to be 0.3Hz, the first level subsequence of the energy storage type resource is arranged at the top of the sorting queue, and if the negative deviation of the frequency is detected to be 0.4Hz, the second level subsequence of the load type resource is arranged at the top. The frequency deviation direction is determined by comparing the real-time frequency value with a nominal value (e.g., 50Hz or 60 Hz), and the deviation is calculated by subtracting the nominal value from the current frequency value.
And carrying out multidimensional cross sequencing on the non-delay data and the delay data according to the resource type identification and the grid frequency modulation demand level, and generating a priority subsequence of the resource type-frequency modulation level dimension. The cross ordering rule is that the emergency grade data item is prioritized over the normal grade under the same resource type, the normal grade is prioritized over the loose grade, and the non-delay data is prioritized over the delay data under the same frequency modulation grade. For example, the emergency level non-delay data (initial score 8.0) of the energy storage class resource is ranked before the emergency level delay data (compensation coefficient 0.22), and the normal level non-delay data (score 6.0) is ranked before the normal level delay data (coefficient 0.18). All the subsequences are stored in a JSON array format, and the elements in the array comprise resource identification, priority value and frequency modulation class identification fields.
And carrying out safety screening on the priority subsequence according to the power grid node voltage out-of-limit risk level, wherein if the problem of voltage out-of-limit is possibly aggravated after the scheduling instruction of a certain resource is executed, the resource item is removed from the subsequence under the high risk level. For example, when the voltage deviation of a node is up to 5.2%, a certain energy storage device is judged to be high in risk and rejected if the voltage is further increased to 5.8% by the charge and discharge operation, and if the voltage deviation is 3.5%, the item is reserved. The voltage out-of-limit risk prediction is realized through historical data analysis, the influence trend of the adjustment behavior of similar resources under similar voltage deviation scenes is counted, and if the deviation is enlarged due to more than 80% of cases, the high-risk resources are marked.
And merging all the priority subsequences after the safety screening, and generating a real-time dynamic priority sequence according to a global priority rule of the grid frequency modulation demand level and the resource type identifier. The merging rule is that the whole emergency level sub-sequence is prioritized over the normal level, the normal level is prioritized over the loose level, and the sub-sequences are arranged according to the preset sequence of the resource type identifiers (such as energy storage > photovoltaic > load) under the same frequency modulation level. For example, the emergency level stored energy subsequence is ordered before all normal level subsequences, and the normal level loaded subsequence is ordered after all loose level subsequences. In the finally generated real-time dynamic priority sequence, each piece of data comprises a resource identifier, a priority value, a frequency modulation grade identifier and a security screening state field.
Simulating the influence of different scheduling instruction combinations on the power grid physical safety constraint index based on the real-time dynamic priority sequence, and generating a safety margin assessment result, wherein the method comprises the following steps:
Generating a plurality of candidate scheduling instruction combinations according to the real-time dynamic priority sequence, wherein each candidate scheduling instruction combination comprises scheduling instructions with different resource type identifiers and corresponding adjustment quantity parameters;
Performing power grid physical security constraint simulation on each candidate scheduling instruction combination based on current operation parameters of the power grid, and predicting power grid physical security constraint index change values after the candidate scheduling instruction combination is executed;
comparing the predicted power grid physical security constraint index change value with a preset power grid physical security constraint index security threshold value to generate a security margin evaluation value of each candidate scheduling instruction combination;
and screening candidate scheduling instruction combinations with the safety margin evaluation value larger than or equal to a preset safety margin evaluation threshold value, and generating a safety margin evaluation result set.
The real-time dynamic priority sequence is derived from the priority ordering result generated in the step S4, and candidate scheduling instruction combinations are sequentially selected from high priority to low priority, wherein each combination comprises scheduling instructions with at least two resource type identifiers. For example, the first 5 resource items are selected from the priority sequence, a scheduling instruction combination containing energy storage, photovoltaic and controllable load is generated, the adjustment quantity parameter of the energy storage instruction is a charge-discharge power value (such as 100 kW), the photovoltaic instruction is an output adjustment value (such as 50 kW), and the load instruction is a reduction quantity value (such as 80 kW). The adjustment quantity parameter is set according to the historical adjustment capacity range corresponding to the resource type identifier, the charge and discharge power value of the energy storage device does not exceed 90% of the rated capacity of the energy storage device, and the photovoltaic output adjustment value does not exceed the maximum adjustable quantity under the current illumination condition.
The current operation parameters of the power grid comprise node voltage, line current and power grid frequency real-time values, and the current operation parameters are derived from a real-time data acquisition interface of a power grid monitoring system. The simulation process adopts a tide calculation method based on kirchhoff's law and a power balance equation to predict voltage deviation values of all nodes, load rate changes of lines and power grid frequency deviation change values after a scheduling instruction is executed. For example, after simulation is performed on a certain candidate scheduling command combination, the voltage of the predicted node A rises from 10kV to 10.5kV (deviation 5%), the load rate of the line L1 increases from 80% to 85%, and the power grid frequency decreases from 50.0Hz to 49.8Hz (deviation-0.2 Hz).
And comparing the predicted power grid physical security constraint index change value with a preset power grid physical security constraint index security threshold value to generate a security margin evaluation value of each candidate scheduling instruction combination. The grid physical safety constraint index safety threshold comprises a node voltage deviation safety threshold (such as +/-5%), a line load rate safety threshold (such as 90%), and a grid frequency deviation safety threshold (such as +/-0.5 Hz).
The calculation method of the safety margin evaluation value comprises the steps of taking the percentage of the difference value of the node voltage deviation safety threshold value and the predicted voltage deviation value to the safety threshold value, the percentage of the difference value of the line load rate safety threshold value and the predicted load rate value to the safety threshold value, and the percentage of the difference value of the grid frequency deviation safety threshold value and the predicted frequency deviation value to the safety threshold value, wherein the minimum value of the three values is used as the safety margin evaluation value of the combination. For example, if the predicted voltage deviation of a certain combination is 4% (the difference percentage is (5% -4%)/5% = 20%), the load factor is 88% (the difference percentage is (90% -88%)/90% ≡2.2%), the frequency deviation is-0.3 Hz (the difference percentage is (0.5-0.3)/0.5=40%), the safety margin evaluation value is 2.2%.
And screening candidate scheduling instruction combinations with the safety margin evaluation value larger than or equal to a preset safety margin evaluation threshold value, and generating a safety margin evaluation result set. The preset safety margin evaluation threshold is set according to the lowest margin value of the safety operation in the historical scheduling record, for example, the margin value distribution of the fault-free scheduling instruction in the past year is counted, and 90% of the decimal number (such as 10%) is taken as the threshold. If the safety margin evaluation value of the candidate scheduling instruction combination is smaller than 10%, marking as out-of-limit risk and eliminating, and if the safety margin evaluation value is larger than or equal to 10%, reserving the safety margin evaluation result set. For example, if the safety margin evaluation value of a certain combination is 8%, the combination is rejected, and if the safety margin evaluation value of another combination is 12%, the combination is reserved. Each piece of data in the safety margin evaluation result set comprises a candidate scheduling instruction combination identifier (such as combination number 001), a safety margin evaluation value (such as 12%) and an out-of-limit risk marking field (such as 'safety' or 'out-of-limit') which are used for being called when a final scheduling instruction is generated in a subsequent step.
The physical safety constraint indexes of the power grid comprise node voltage deviation, line load rate and frequency deviation, wherein the node voltage deviation is defined as the difference percentage of the actual voltage of the node and the rated voltage, the line load rate is defined as the ratio percentage of the actual current of the line and the rated current-carrying capacity, and the frequency deviation is defined as the absolute value of the difference value of the actual frequency of the power grid and the rated frequency. The safety threshold is set according to the tolerance limit of the equipment in the historical operation data, for example, the safety threshold of node voltage deviation is rated value + -5% (based on the insulation tolerance capability of a transformer), the threshold of line load rate is 90% (based on the thermal stability limit of the line), and the threshold of frequency deviation is + -0.5 Hz (based on the frequency modulation dead zone of a generator set). The index predicted value is obtained through the power grid state change after the power flow calculation simulation scheduling instruction is executed.
According to the safety margin evaluation result, the real-time dynamic priority sequence is adjusted, a resource scheduling instruction is generated and distributed to corresponding resource execution through a shared communication network, and the method comprises the following steps:
Adjusting the real-time dynamic priority sequence according to the safety margin evaluation value in the safety margin evaluation result set, and if the safety margin evaluation value of the candidate scheduling instruction combination is lower than a preset safety margin evaluation threshold value, eliminating the corresponding resource item from the real-time dynamic priority sequence;
Generating a resource scheduling instruction based on the adjusted real-time dynamic priority sequence, wherein the resource scheduling instruction comprises a resource type identifier, an adjustment quantity parameter and an execution time window;
Distributing the resource scheduling instruction to corresponding distributed energy resource terminal equipment through a shared communication network;
After the distributed energy resource terminal equipment receives the resource scheduling instruction, executing the adjustment quantity parameter according to the control logic corresponding to the resource type identifier, and feeding back an execution result to the virtual power plant aggregation control platform through the shared communication network.
The preset safety margin evaluation threshold is 10%, and the safety margin evaluation threshold is set according to the lowest margin quantile of the safety operation in the history scheduling record, for example, 90% quantile is taken after the margin value distribution of the fault-free scheduling instruction in the past year is counted. For example, if the safety margin evaluation value of a certain candidate scheduling instruction combination is 8%, all resource items contained in the combination are deleted from the real-time dynamic priority sequence, and if the evaluation value is 12%, the resource items are reserved. The real-time dynamic priority sequence adjusting process is carried out in the internal memory of the virtual power plant aggregation control platform, and the adjusted sequence reserves the resource type identification, the adjustment quantity parameter and the priority value field.
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 be a 5-minute interval after the start time point of the next acquisition period. The adjustment quantity parameter is extracted from the priority sequence and converted into a control instruction which can be identified by the equipment, for example, a charge-discharge power instruction of the energy storage equipment is "charge_power=100 kW", and an output power adjustment instruction of the photovoltaic equipment is "active_power=50 kW". The packaging format of the resource scheduling instruction is a JSON character string, and the JSON character string comprises a resource type identifier, a regulating variable parameter, an execution time window and an instruction signature field, wherein the instruction signature is used for verifying the validity of an instruction source.
The distribution protocol of the shared communication network matches a preset communication interface and a data encapsulation format according to the resource type identification. For example, when the resource type is identified as 'energy storage', modbus TCP protocol is adopted and distributed through a specific IP port, the data encapsulation format is hexadecimal code stream, and when the resource type is identified as 'photovoltaic', MQTT protocol is adopted and distributed through a topic subscription mechanism, and the data encapsulation format is JSON coded by UTF-8. The communication interface and the data format are predefined in the resource registration stage and stored in a communication configuration database of the virtual power plant aggregation control platform. In the distribution process, the aggregation control platform queries a database according to the resource type identification and sends an instruction.
The control logic comprises charge and discharge power control of the energy storage equipment, inverter output regulation of the photovoltaic equipment and switching value control of the load equipment. For example, after the energy storage device analyzes "charge_power=100 kW", the output power of the converter is adjusted to the target value, and after the photovoltaic device analyzes "active_power=50 kW", the maximum output power of the inverter is limited to 50kW. The execution result comprises a resource identifier, an actual adjustment value, an execution state (success/failure) and a timestamp, is packaged into a JSON format and is 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'}". feedback data to be stored in a historical execution log database of the virtual power plant aggregation control platform for use in subsequent scheduling optimization and anomaly analysis.
Embodiment 2 fig. 2 shows a schematic structural diagram of a data sharing system based on a virtual power plant, and the data sharing system based on the virtual power plant includes:
The real-time acquisition module is used for acquiring real-time operation data of the distributed energy resources of the virtual power plant through a shared communication network, wherein the real-time operation data comprise resource type identification and adjustment cost parameters;
The delay marking module is used for judging the transmission delay state of the real-time operation data in the shared communication network and generating a data stream set of a delay mark and a non-delay mark;
The dynamic compensation module is used for matching a preset initial priority rule based on the resource type identification aiming at the non-delay marked data, determining an attenuation factor according to the resource type identification and the grid frequency modulation demand level in a cooperative manner, and generating a dynamic priority compensation coefficient based on the adjustment cost parameter and the attenuation factor aiming at the delay marked data;
the sequence generation module is used for generating a real-time dynamic priority sequence by fusing the initial priority rule and the dynamic priority compensation coefficient;
The safety evaluation module simulates the influence of different dispatching instruction combinations on the physical safety constraint index of the power grid based on the real-time dynamic priority sequence, and generates a safety margin evaluation result;
And the instruction distribution module is used for adjusting the real-time dynamic priority sequence according to the safety margin evaluation result, generating a resource scheduling instruction and distributing the resource scheduling instruction to corresponding resource execution through the shared communication network.
Embodiment 3 a data sharing device based on a virtual power plant includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, wherein the program or instruction when executed by the processor implements a data sharing method based on the virtual power plant.
Embodiment 4a data sharing medium based on a virtual power plant, on which a program or an instruction is stored, which when executed by a processor implements a data sharing method based on a virtual power plant.
The above formulas are all the dimensionality removal and numerical calculation, the formulas are one formulas which are obtained by collecting a large amount of data and performing software simulation to obtain the closest actual situation, and preset parameters and threshold selection in the formulas are set by those skilled in the art according to the actual situation.
It should be noted that the present invention can be deployed on the device itself to implement embedded applications, and also can run on a PC end or other terminals with user interfaces, so as to satisfy various hardware environments and use requirements.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices. The computer instructions may 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 may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more sets of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system, apparatus and module may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, may be located in one place, or may be distributed over multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. The storage medium includes a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
Finally, the foregoing description of the preferred embodiment of the invention is provided for the purpose of illustration only, and is not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

Claims (9)

Translated fromChinese
1.一种基于虚拟电厂的数据分享方法,其特征在于,包括如下步骤:1. A data sharing method based on a virtual power plant, characterized by comprising the following steps:S1、通过共享通信网络获取虚拟电厂分布式能源资源的实时运行数据,包括资源类型标识和调节成本参数;S1. Obtaining 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;S2、判断实时运行数据在共享通信网络中的传输延迟状态,生成延迟标记与非延迟标记的数据流集合;S2, determining the transmission delay state of the real-time operation data in the shared communication network, and generating a set of data streams marked with delay and those marked with non-delay;S3、针对非延迟标记数据,基于资源类型标识匹配预设的初始优先级规则;S3, for non-delayed marked data, matching the preset initial priority rule based on the resource type identifier;针对延迟标记数据,根据资源类型标识与电网调频需求等级协同确定衰减因子,基于调节成本参数与衰减因子生成动态优先级补偿系数,包括:For the 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, including:根据电网调频需求等级确定基准衰减因子,电网调频需求等级为紧急时基准衰减因子为第一预设值,正常时为第二预设值,宽松时为第三预设值;Determine a reference attenuation factor according to the power grid frequency regulation demand level, the reference attenuation factor being a first preset value when the power grid frequency regulation demand level is emergency, a second preset value when the power grid frequency regulation demand level is normal, and a third preset value when the power grid frequency regulation demand level is loose;基于延迟标记数据对应的资源类型标识与实时可调度容量对基准衰减因子进行动态调整,若资源类型标识为储能且实时可调度容量大于容量阈值,则基准衰减因子增加补偿量,否则减少补偿量;The benchmark attenuation factor is dynamically adjusted based on the resource type identification and real-time dispatchable capacity corresponding to the delay mark data. If the resource type identification is energy storage and the real-time dispatchable capacity is greater than the capacity threshold, the benchmark attenuation factor increases the compensation amount, otherwise it decreases the compensation amount.将动态调整后的基准衰减因子与调节成本参数的比值作为动态优先级补偿系数;The ratio of the dynamically adjusted baseline attenuation factor to the adjustment cost parameter is used as a dynamic priority compensation coefficient;根据电网节点电压越限风险等级对动态优先级补偿系数进行二次修正,若电网节点电压越限风险等级为高风险,则对动态优先级补偿系数施加抑制因子;The dynamic priority compensation coefficient is corrected twice according to the grid node voltage over-limit risk level. If the grid node voltage over-limit risk level is high risk, an inhibition factor is applied to the dynamic priority compensation coefficient.S4、融合初始优先级规则与动态优先级补偿系数生成实时动态优先级序列,包括:S4, integrating the initial priority rule and the dynamic priority compensation coefficient to generate a real-time dynamic priority sequence, including:根据电网调频需求等级与资源类型标识的耦合关系,对非延迟数据流集合的初始优先级评分与延迟数据流集合的动态优先级补偿系数进行分类分层;According to the coupling relationship between the power grid frequency regulation demand level and the resource type identification, the initial priority score of the non-delayed data flow set and the dynamic priority compensation coefficient of the delayed data flow set are classified and layered;基于实时电网频率偏差变化方向动态调整分层优先级顺序:频率正向偏差时优先调用储能类资源,负向偏差时优先调用负荷类资源;Dynamically adjust the hierarchical priority order based on the direction of real-time grid frequency deviation changes: prioritize energy storage resources when the frequency deviation is positive, and prioritize load resources when the frequency deviation is negative;将非延迟数据与延迟数据按资源类型标识及电网调频需求等级进行多维度交叉排序,生成资源类型-调频等级维度的优先级子序列;The non-delayed data and the delayed data are cross-sorted in multiple dimensions according to the resource type identifier and the power grid frequency regulation demand level to generate a priority subsequence in the resource type-frequency regulation level dimension;根据电网节点电压越限风险等级对优先级子序列进行安全筛选:高风险等级下剔除可能加剧电压问题的资源条目,中低风险等级保留完整优先级子序列;The priority subsequences are screened for safety based on the voltage over-limit risk level of the power grid nodes: resource entries that may aggravate voltage problems are eliminated at high risk levels, and the entire priority subsequence is retained at medium and low risk levels;合并所有安全筛选后的优先级子序列,按电网调频需求等级与资源类型标识的全局优先级规则生成实时动态优先级序列;Merge all priority subsequences after security screening, and generate a real-time dynamic priority sequence according to the global priority rules of the power grid frequency regulation demand level and resource type identification;S5、基于实时动态优先级序列模拟不同调度指令组合对电网物理安全约束指标的影响,生成安全裕度评估结果;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;S6、根据安全裕度评估结果调整实时动态优先级序列,生成资源调度指令并通过共享通信网络分发至对应资源执行。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.2.根据权利要求1所述的一种基于虚拟电厂的数据分享方法,其特征在于,通过共享通信网络获取虚拟电厂分布式能源资源的实时运行数据,包括资源类型标识和调节成本参数,包括:2. A data sharing method based on a virtual power plant according to claim 1, characterized in that the real-time operation data of the distributed energy resources of the virtual power plant, including resource type identification and adjustment cost parameters, are obtained through a shared communication network, including:通过共享通信网络以预设采集频率获取虚拟电厂分布式能源资源的实时运行数据;Acquire real-time operation data of distributed energy resources of virtual power plants through a shared communication network at a preset collection frequency;将实时运行数据转换为统一数据格式,统一数据格式包括资源类型标识字段与调节成本参数字段;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;对资源类型标识字段与调节成本参数字段进行有效性验证,剔除无效数据条目。Verify the validity of the resource type identification field and the adjustment cost parameter field, and eliminate invalid data entries.3.根据权利要求2所述的一种基于虚拟电厂的数据分享方法,其特征在于,判断实时运行数据在共享通信网络中的传输延迟状态,生成延迟标记与非延迟标记的数据流集合,包括:3. A data sharing method based on a virtual power plant according to claim 2, characterized in that the transmission delay state of the real-time operation data in the shared communication network is determined to generate a set of data streams with delay marks and non-delay marks, including:获取实时运行数据的时间戳,时间戳包括数据生成时间与接收时间;Get the timestamp of real-time running data, which includes the time when the data was generated and when it was received;根据数据生成时间与接收时间计算传输时间,传输时间等于接收时间减去数据生成时间;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.将传输时间与预设延迟阈值进行比较,传输时间超过预设延迟阈值的数据标记为延迟标记数据,否则标记为非延迟标记数据;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;根据资源类型标识对延迟标记数据与非延迟标记数据进行分类,生成按资源类型分类的延迟标记数据流集合与非延迟标记数据流集合。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.4.根据权利要求3所述的一种基于虚拟电厂的数据分享方法,其特征在于,针对非延迟标记数据,基于资源类型标识匹配预设的初始优先级规则,包括:4. A data sharing method based on a virtual power plant according to claim 3, characterized in that, for non-delayed marked data, matching a preset initial priority rule based on a resource type identifier comprises:获取预设的初始优先级规则表,初始优先级规则表包含资源类型标识与初始优先级值的映射关系;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;根据非延迟标记数据中的资源类型标识字段查询初始优先级规则表,匹配对应的初始优先级值;Query the initial priority rule table according to the resource type identification field in the non-delayed tag data, and match the corresponding initial priority value;将匹配后的初始优先级值与非延迟标记数据中的调节成本参数进行加权求和,生成初始优先级评分;The matched initial priority value and the adjustment cost parameter in the non-delayed marked data are weightedly summed to generate an initial priority score;将初始优先级评分写入非延迟标记数据的优先级字段,生成带初始优先级评分的非延迟数据流集合。The initial priority score is written into the priority field of the non-delayed tagged data to generate a non-delayed data flow set with the initial priority score.5.根据权利要求4所述的一种基于虚拟电厂的数据分享方法,其特征在于,基于实时动态优先级序列模拟不同调度指令组合对电网物理安全约束指标的影响,生成安全裕度评估结果,包括:5. A data sharing method based on a virtual power plant according to claim 4, characterized in that the influence of different dispatch instruction combinations on the physical safety constraint index of the power grid is simulated based on the real-time dynamic priority sequence to generate a safety margin assessment result, including:根据实时动态优先级序列生成多个候选调度指令组合,每个候选调度指令组合包含不同资源类型标识的调度指令及对应的调节量参数;Generate multiple candidate scheduling instruction combinations according to the real-time dynamic priority sequence, each candidate scheduling instruction combination includes scheduling instructions with different resource type identifiers and corresponding adjustment amount parameters;基于电网当前运行参数对每个候选调度指令组合进行电网物理安全约束模拟,预测执行候选调度指令组合后的电网物理安全约束指标变化值;Based on the current operating parameters of the power grid, a power grid physical safety constraint simulation is performed on each candidate dispatch instruction combination to predict the change value of the power grid physical safety constraint indicator after the candidate dispatch instruction combination is executed;将预测的电网物理安全约束指标变化值与预设的电网物理安全约束指标安全阈值进行比较,生成每个候选调度指令组合的安全裕度评估值;Compare the predicted change value of the power grid physical security constraint indicator with the preset power grid physical security constraint indicator safety threshold to generate a safety margin evaluation value for each candidate dispatch instruction combination;筛选安全裕度评估值大于等于预设安全裕度评估阈值的候选调度指令组合,生成安全裕度评估结果集合。The candidate scheduling instruction combinations whose safety margin evaluation values are greater than or equal to a preset safety margin evaluation threshold are screened to generate a safety margin evaluation result set.6.根据权利要求5所述的一种基于虚拟电厂的数据分享方法,其特征在于,根据安全裕度评估结果调整实时动态优先级序列,生成资源调度指令并通过共享通信网络分发至对应资源执行,包括:6. A data sharing method based on a virtual power plant according to claim 5, characterized in that the real-time dynamic priority sequence is adjusted according to the safety margin assessment result, resource scheduling instructions are generated and distributed to corresponding resources for execution through a shared communication network, including:根据安全裕度评估结果集合中的安全裕度评估值对实时动态优先级序列进行调整,若候选调度指令组合的安全裕度评估值低于预设安全裕度评估阈值,则从实时动态优先级序列中剔除对应的资源条目;The real-time dynamic priority sequence is adjusted according to the safety margin evaluation value in the safety margin evaluation result set. If the safety margin evaluation value of the candidate scheduling instruction combination is lower than the preset safety margin evaluation threshold, the corresponding resource entry is removed from the real-time dynamic priority sequence;基于调整后的实时动态优先级序列生成资源调度指令,资源调度指令包含资源类型标识、调节量参数及执行时间窗口;Generate a resource scheduling instruction based on the adjusted real-time dynamic priority sequence, the resource scheduling instruction including a resource type identifier, 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.一种基于虚拟电厂的数据分享系统,用于实现权利要求1-6任一项所述的一种基于虚拟电厂的数据分享方法,其特征在于,包括:7. A data sharing system based on a virtual power plant, used to implement a data sharing method based on a virtual power plant according to any one of claims 1 to 6, characterized in that it comprises:实时采集模块:通过共享通信网络获取虚拟电厂分布式能源资源的实时运行数据,包括资源类型标识和调节成本参数;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.一种基于虚拟电厂的数据分享设备,其特征在于,包括:处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如权利要求1-6任一项所述的一种基于虚拟电厂的数据分享方法。8. A data sharing device based on a virtual power plant, characterized in that it includes: 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-6 is implemented.9.一种基于虚拟电厂的数据分享介质,其特征在于,介质上存储程序或指令,程序或指令被处理器执行时实现如权利要求1-6任一项所述的一种基于虚拟电厂的数据分享方法。9. A data sharing medium based on a virtual power plant, characterized in that a program or instruction is stored on the medium, and when the program or instruction is executed by a processor, a data sharing method based on a virtual power plant as described in any one of claims 1-6 is implemented.
CN202510637849.8A2025-05-192025-05-19 A data sharing method, system, device and medium based on virtual power plantActiveCN120166084B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202510637849.8ACN120166084B (en)2025-05-192025-05-19 A data sharing method, system, device and medium based on virtual power plant

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202510637849.8ACN120166084B (en)2025-05-192025-05-19 A data sharing method, system, device and medium based on virtual power plant

Publications (2)

Publication NumberPublication Date
CN120166084A CN120166084A (en)2025-06-17
CN120166084Btrue CN120166084B (en)2025-07-25

Family

ID=96003705

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202510637849.8AActiveCN120166084B (en)2025-05-192025-05-19 A data sharing method, system, device and medium based on virtual power plant

Country Status (1)

CountryLink
CN (1)CN120166084B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN118632208A (en)*2024-06-272024-09-10四川精智仪表科技有限公司 A stable communication system for smart water meters based on 4GCat1 technology
CN119743496A (en)*2024-12-272025-04-01常州瀚森科技股份有限公司 A data service system based on the Internet

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7990860B2 (en)*2006-06-162011-08-02Harris CorporationMethod and system for rule-based sequencing for QoS
US7916626B2 (en)*2006-06-192011-03-29Harris CorporationMethod and system for fault-tolerant quality of service
CN118780573B (en)*2024-09-102025-02-07大连高佳化工有限公司 An intelligent factory production and training system based on digital twins
CN119865463A (en)*2024-12-022025-04-22云南电网有限责任公司DQS-based power network end-to-end queue scheduling and route optimization method and system
CN119603241B (en)*2024-12-112025-07-18南京奥康通讯技术有限责任公司Network traffic directional transmission optimization method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN118632208A (en)*2024-06-272024-09-10四川精智仪表科技有限公司 A stable communication system for smart water meters based on 4GCat1 technology
CN119743496A (en)*2024-12-272025-04-01常州瀚森科技股份有限公司 A data service system based on the Internet

Also Published As

Publication numberPublication date
CN120166084A (en)2025-06-17

Similar Documents

PublicationPublication DateTitle
CN105071385B (en) A real-time analysis system for power grid operation data
Li et al.Investment optimization of grid-scale energy storage for supporting different wind power utilization levels
CN111260505B (en) Big data analysis method, device and computer equipment based on power Internet of things
CN113793022A (en)Power grid investment planning scheme generation method and system based on distributed cloud energy storage
Liu et al.Online short-term reliability evaluation using a fast sorting technique
CN117691583A (en)Power dispatching system and method for virtual power plant
Yin et al.Health-aware energy management strategy toward Internet of Storage
CN118889574A (en) Hydrogen energy group control and grid connection method and system
CN120166084B (en) A data sharing method, system, device and medium based on virtual power plant
CN110336303A (en) An electronic analysis method and system for power grid stability control regulations oriented to real-time dispatching operation
CN116307863B (en)Performance evaluation method, device, computer readable storage medium and computer equipment
CN115986779B (en)Response-based frequency stability judging and controlling method and system
CN115173440B (en)Multi-scene-adaptive three-phase load tuning method for transformer area
CN112989279A (en)Scheduling method and device of electric heating combined system containing wind power
CN120810598A (en)Virtual power plant building key load priority allocation and system
CN120150131B (en)Power system optimization control method and device based on power market transaction
CN120749910A (en) A method for synergistic cooperation between source, grid, load and storage
CN120524508B (en)Cross-domain data access trusted control system and method
Espinosa-Reza et al.Optimal extraction and conditioning of historical information to support the operational decisions in a Smart Grid context
CN118367554B (en) A communication mode adaptation method and device for power load management system
CN120706943A (en)Energy management method and system combined with big data regulation and control behavior prediction
CN117318183B (en)Power scheduling method and system
CN120767899A (en)Photovoltaic energy storage system power distribution method, device, equipment and storage medium
Yun et al.Line selection and economic evaluation of dynamic line rating based on AC optimal power flow
CN118074122A (en)Comprehensive energy system source-load coordination optimization scheduling method and system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp