Disclosure of Invention
The embodiment of the invention provides a power load scheduling method and device, a storage medium and electronic equipment.
According to an aspect of the embodiments of the present application, there is provided a scheduling method of an electrical load, including: collecting response index data of each load end in a first load end set in a response area in multiple dimensions; respectively calculating response recommended values of each load end in the first load end set in multiple dimensions according to the response index data, wherein each dimension corresponds to one response recommended value; constructing a response admittance condition by adopting the response index data, and filtering the first load end set based on the response admittance condition to obtain a second load end set; and calculating the total recommended value of each load end in the second load end set according to the response recommended values of the multiple dimensions, and selecting a target load end for executing load response in the second load end set according to the total recommended value.
Further, collecting response index data of each load end in the first load end set in the response area in multiple dimensions includes: collecting response quantity index data of each load end in a first load end set in a response area, wherein the response quantity index data comprises: security load, highest electricity load, electricity reference value; collecting response rate index data of each load end in a first load end set in a response area, wherein the response rate index data comprises: adjusting the preparation time and the response time; collecting response economic cost index data of each load end in a first load end set in a response area; and acquiring response reliability index data of each load end in the first load end set in the response area.
Further, the response recommended value includes a first response recommended value of a response volume dimension, and calculating the response recommended value of each load end in the first load end set in a plurality of dimensions according to the response index data includes: for each load end in the first load end set, reading a real-time power consumption load reference value, a security load and a load to be adjusted from the response index data; calculating a difference between the electricity load reference value and the security load; positioning a first gradient range in which the difference value is located in a first preset gradient space, wherein the maximum value of the first preset gradient space is a disaster recovery coefficient of the load to be adjusted, the minimum value is the load to be adjusted, and the disaster recovery coefficient is larger than 1; searching a first index value matched with the first gradient range, and configuring the first index value as the first response recommended value, wherein the first index value is in negative correlation with the first gradient range.
Further, the response recommended value includes a second response recommended value of a response rate dimension, and calculating the response recommended value of each load end in the first load end set in a plurality of dimensions according to the response index data includes: for each load end in the first load end set, reading an adjustment preparation time and an adjustment response time from the response index data; calculating the sum of the adjustment preparation time and the adjustment response time; positioning a second gradient range in which the sum value is located in a second preset gradient space; and searching a second index value matched with the second gradient range, and configuring the second index value as the second response recommended value, wherein the second index value is in negative correlation with the second gradient range.
Further, the response recommended value includes a third response recommended value of a response economic cost dimension, and calculating the response recommended value of each load end in the first load end set in a plurality of dimensions according to the response index data includes: for each load end in the first load end set, reading a load cost value from the response index data; inputting the load cost value into a pre-trained time sequence prediction model, and outputting a load effect value of the load cost value, wherein the time sequence prediction model is a pre-trained neural network model and is used for outputting a corresponding load effect value based on the load cost value; and configuring the load effect value as the third response recommended value.
Further, the time series prediction model is a Prophet model, and before inputting the load cost value into the pre-trained time series prediction model, the method further comprises: collecting training data of a historical time sequence; determining a time unit of the historical time sequence, and dividing the training data into a plurality of sub-data according to the time unit; predicting a load effect value of each time period by adopting an initial regression coefficient; gradient descent fitting is performed by adopting the following formula until a preset stopping condition is met:
wherein ,
for the regression coefficient of the current time period, +.>
And for the regression coefficient of the previous period of the current time period, alpha is a dynamic adjustment step length, and the preset stopping condition comprises: the difference between the predicted load effect value of the current time period and the actual load effect value of the current time period is smaller than a preset threshold value; />
For the predicted load effect value of the current time period,/->
The actual load effect value of the current time period is represented by i, which is a period sequence number; and configuring the current regression coefficient after stopping fitting as the regression coefficient of the Prophet model to obtain the time sequence prediction model.
Further, the response recommended value includes a fourth response recommended value of a response reliability dimension, and calculating the response recommended value of each load end in the first load end set in a plurality of dimensions according to the response index data includes: for each load end in the first load end set, reading a historical peak shaving contribution amount and a historical peak shaving task amount from the response index data, wherein the historical peak shaving contribution amount is used for representing the actual total power of the corresponding load end in the historical time for participating in the power grid peak shaving consumption, and the historical peak shaving task amount is used for representing the total power distributed by the corresponding load end in the historical time; calculating the deviation amount of the historical peak shaving contribution amount relative to the historical peak shaving task amount; the inverse of the deviation amount is configured as the fourth response recommendation value.
Further, constructing a response admittance condition by adopting the response index data, and filtering the first load end set based on the response admittance condition, wherein the obtaining a second load end set comprises: for each load end in the first load end set, reading actual adjustment duration from the response index data, referring to the adjustment duration, adjusting preparation time, adjusting response time, historical peak shaving contribution and historical peak shaving task quantity; judging whether the actual adjustment duration is greater than or equal to a reference adjustment duration, judging whether the adjustment preparation time and the adjustment response time are less than or equal to preset disaster recovery time, calculating the deviation amount of the historical peak regulation contribution amount relative to the historical peak regulation task amount, and judging whether the deviation amount is less than or equal to preset deviation; and if the actual adjustment duration is greater than or equal to the reference adjustment duration, the adjustment preparation time and the adjustment response time are less than or equal to a preset disaster recovery time, and if the deviation is less than or equal to a preset deviation, filtering the corresponding load ends from the first load end set, and adding the load ends to the second load end set.
Further, calculating a total recommended value of each load end in the second load end set according to the response recommended values of the multiple dimensions, and selecting a target load end for executing load response in the second load end set according to the total recommended value includes: for each load end in the second load end set, acquiring a weight coefficient combination of the load end in the multiple dimensions, wherein the weight coefficient combination comprises multiple weight coefficients, each weight coefficient corresponds to a response recommended value of one dimension, and the sum of all weight coefficients is 1; the weight coefficient combination and the weight coefficient combination of the plurality of dimensions are adopted for weighted summation, so that the total recommended value of the corresponding load end is obtained; sorting the load ends in the second load end set in a descending order according to the total recommended value; acquiring the load to be adjusted of each load end in the second load end set from the response index data; calculating the total load of the power grid to be peak regulated in the current peak regulation period; and sequentially and stepwise selecting a plurality of load ends in the second load end set until the sum of loads to be adjusted of the currently selected load ends reaches the total power of the power grid, and determining the currently selected load ends as target load ends for load response to be executed.
According to another aspect of the embodiments of the present application, there is also provided a scheduling apparatus of an electrical load, including: the acquisition module is used for acquiring response index data of each load end in the first load end set in the response area in multiple dimensions; the calculation module is used for calculating response recommended values of each load end in the first load end set in multiple dimensions according to the response index data, wherein each dimension corresponds to one response recommended value; the filtering module is used for constructing response admittance conditions by adopting the response index data, and filtering the first load end set based on the response admittance conditions to obtain a second load end set; the selecting module is used for calculating the total recommended value of each load end in the second load end set according to the response recommended values of the multiple dimensions, and selecting a target load end for executing load response in the second load end set according to the total recommended value.
Further, the acquisition module includes: the first acquisition unit is used for acquiring response quantity index data of each load end in the first load end set in the response area, wherein the response quantity index data comprises: security load, highest electricity load, electricity reference value; the second acquisition unit is used for acquiring response rate index data of each load end in the first load end set in the response area, wherein the response rate index data comprises: adjusting the preparation time and the response time; the third acquisition unit is used for acquiring response economic cost index data of each load end in the first load end set in the response area; and acquiring response reliability index data of each load end in the first load end set in the response area.
Further, the response recommendation value includes a first response recommendation value for a response volume dimension, and the computing module includes: the first reading unit is used for reading the real-time power consumption load reference value, the security load and the load to be adjusted from the response index data for each load end in the first load end set; a first calculation unit for calculating a difference between the electricity load reference value and the security load; the first positioning unit is used for positioning a first gradient range in which the difference value is located in a first preset gradient space, wherein the maximum value of the first preset gradient space is the load to be adjusted, the disaster tolerance coefficient is the load to be adjusted, the minimum value is the load to be adjusted, and the disaster tolerance coefficient is larger than 1; and the first configuration unit is used for searching a first index value matched with the first gradient range and configuring the first index value as the first response recommended value, wherein the first index value is in negative correlation with the first gradient range.
Further, the response recommendation value includes a second response recommendation value for a response rate dimension, and the computing module includes: a second reading unit, configured to read, for each load end in the first load end set, an adjustment preparation time and an adjustment response time from the response index data; a second calculation unit for calculating a sum of the adjustment preparation time and the adjustment response time; the second positioning unit is used for positioning a second gradient range in which the sum value is located in a second preset gradient space; and the second configuration unit is used for searching a second index value matched with the second gradient range and configuring the second index value into the second response recommended value, wherein the second index value is in negative correlation with the second gradient range.
Further, the response recommendation value includes a third response recommendation value for a response economic cost dimension, and the computing module includes: a third reading unit, configured to read, for each load end in the first load end set, a load cost value from the response index data; the prediction unit is used for inputting the load cost value into a pre-trained time sequence prediction model and outputting a load effect value of the load cost value, wherein the time sequence prediction model is a pre-trained neural network model and is used for outputting a corresponding load effect value based on the load cost value; and a third configuration unit configured to configure the load effect value as the third response recommendation value.
Further, the timing prediction model is a propset model, and the apparatus further includes: the sample module is used for collecting training data of a historical time sequence before the calculation module inputs the load cost value into a pre-trained time sequence prediction model; the segmentation module is used for determining a time unit of the historical time sequence and segmenting the training data into a plurality of sub-data according to the time unit; the prediction module is used for predicting the load effect value of each time period by adopting the initial regression coefficient; the fitting module is used for performing gradient descent fitting by adopting the following formula until the preset stopping condition is met:
wherein ,
for the regression coefficient of the current time period, +.>
And for the regression coefficient of the previous period of the current time period, alpha is a dynamic adjustment step length, and the preset stopping condition comprises: the difference between the predicted load effect value of the current time period and the actual load effect value of the current time period is smaller than a preset threshold value; />
For the predicted load effect value of the current time period,/->
The actual load effect value of the current time period is represented by i, which is a period sequence number; a generation module for configuring the fitted current regression coefficient as the regression coefficient of the Prophet model to obtain the time sequence prediction model。
Further, the response recommendation value includes a fourth response recommendation value for a response reliability dimension, the computing module includes: a fourth reading unit, configured to read, for each load end in the first load end set, a historical peak shaving contribution and a historical peak shaving task amount from the response index data, where the historical peak shaving contribution is used to represent an actual total power of the corresponding load end participating in power grid peak shaving consumption in a historical time, and the historical peak shaving task amount is used to represent a total power of the corresponding load end distributed in the historical time; a third calculation unit, configured to calculate a deviation amount of the historical peak shaver contribution amount relative to the historical peak shaver task amount; and a fourth configuration unit configured to configure an inverse of the deviation amount as the fourth response recommendation value.
Further, the filtration module includes: the reading unit is used for reading the actual adjustment duration from the response index data for each load end in the first load end set, referring to the adjustment duration, adjusting the preparation time, adjusting the response time, historical peak shaving contribution and historical peak shaving task quantity; the judging unit is used for judging whether the actual adjustment duration is greater than or equal to the reference adjustment duration, judging whether the adjustment preparation time and the adjustment response time are smaller than or equal to a preset disaster tolerance time, calculating the deviation amount of the historical peak regulation contribution amount relative to the historical peak regulation task amount, and judging whether the deviation amount is smaller than or equal to a preset deviation; and the filtering unit is used for filtering the corresponding load ends from the first load end set and adding the load ends to the second load end set if the actual adjustment duration is greater than or equal to the reference adjustment duration, the adjustment preparation time and the adjustment response time are less than or equal to the preset disaster tolerance time, and the deviation amount is less than or equal to the preset deviation.
Further, the selection module includes: the first computing unit is used for acquiring a weight coefficient combination of the load end in the multiple dimensions aiming at each load end in the second load end set, wherein the weight coefficient combination comprises multiple weight coefficients, each weight coefficient corresponds to a response recommended value of one dimension, and the sum of all weight coefficients is 1; the weight coefficient combination and the weight coefficient combination of the plurality of dimensions are adopted for weighted summation, so that the total recommended value of the corresponding load end is obtained; the sorting unit is used for sorting the load ends in the second load end set in a descending order according to the total recommended value; the obtaining unit is used for obtaining the load to be adjusted of each load end in the second load end set from the response index data; the second calculation unit is used for calculating the total load of the power grid to be peak-regulated in the current peak-regulation period; the selecting unit is used for sequentially and step-by-step selecting a plurality of load ends in the second load end set until the sum of loads to be adjusted of the currently selected load ends reaches the total power of the power grid, and determining the currently selected load ends as target load ends for load response to be executed.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that performs the steps described above when running.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; and a processor for executing the steps of the method by running a program stored on the memory.
Embodiments of the present application also provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the above method.
According to the invention, the response index data of each load end in multiple dimensions are collected, the response recommended value of each load end in the multiple dimensions is calculated, the admission condition is constructed, finally the total recommended value of each load end in the second load end set is calculated according to the response recommended values in the multiple dimensions, the target load end for load response to be executed is selected, various index data in the multiple dimensions are quantized into the response recommended values, a scheme for screening the response load by combining the priorities in the multiple dimensions is realized, the technical problem of low power load dispatching efficiency in the related art is solved, the load coordination can be accurately realized, the peak load pressure on a power grid is reduced, the power supply cost and the power consumption cost are reduced, and the double effects of power supply and demand balance and economic benefit are realized.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
The method embodiment provided in the first embodiment of the present application may be executed in a server, a computer, a mobile phone, or a similar computing device. Taking a computer as an example, fig. 1 is a block diagram of a hardware structure of a computer according to an embodiment of the present invention. As shown in fig. 1, the computer may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those of ordinary skill in the art that the configuration shown in FIG. 1 is merely illustrative and is not intended to limit the architecture of the computer described above. For example, the computer may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a power load scheduling method in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, implement the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 104 may further include memory located remotely from processor 102, which may be connected to the computer via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communications provider of a computer. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In this embodiment, a power load scheduling method is provided, fig. 2 is a flowchart of a power load scheduling method according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
s202, acquiring response index data of each load end in a first load end set in a response area in multiple dimensions;
the first load end set in this embodiment includes a plurality of load ends (may be simply referred to as loads), where the load ends may be according to load types, network-changing power stations, areas, electric devices, and the like, such as electric automobile charging piles, intelligent home devices, heat accumulating electric heating devices, electric storage devices, and adjustable industry and commerce.
The response index data in this embodiment refers to index data that affects response amount, response rate, response economic cost, response reliability, and the like, and the response index data in multiple dimensions includes: and responding to the volume index data, the rate index data, the economic cost index data and the reliability index data. The index data of the present embodiment may be a minimum value, a maximum value, a reference value, a rated value, a reference value, or the like.
S204, respectively calculating response recommended values of each load end in the first load end set in multiple dimensions according to the response index data, wherein each dimension corresponds to one response recommended value;
The response recommendation value in this embodiment is used to characterize the priority in the corresponding dimension, and is the quantification of the priority, and the higher the response recommendation value, the higher the priority of the dimension.
S206, constructing response admittance conditions by adopting response index data, and filtering the first load end set based on the response admittance conditions to obtain a second load end set;
the response admittance condition of the embodiment is the lowest condition of the load end which needs to respond to the load, and abnormal load or low-quality load which obviously does not meet the condition can be screened.
S208, calculating the total recommended value of each load end in the second load end set according to the response recommended values of the multiple dimensions, and selecting a target load end for executing load response in the second load end set according to the total recommended value.
After selecting the target load side, the grid dispatching center dispatches power usage (KMW) to the target load side.
Through the steps, the response index data of each load end in multiple dimensions are collected, the response recommended value of each load end in the multiple dimensions is calculated, the admission condition is constructed, finally the total recommended value of each load end in the second load end set is calculated according to the response recommended values in the multiple dimensions, the target load end for load response to be executed is selected, various index data in the multiple dimensions are quantized into the response recommended values, a scheme for screening the response load by combining the priorities in the multiple dimensions is realized, the technical problem of low power load scheduling efficiency in the related art is solved, the load coordination can be accurately realized, the peak load pressure of a power grid is reduced, the power supply cost and the power consumption cost are reduced, and the double effects of power supply and demand balance and economic benefit are realized.
In one implementation manner of this embodiment, collecting response index data of each load end in the first load end set in the response area in multiple dimensions includes: collecting response quantity index data of each load end in a first load end set in a response area, wherein the response quantity index data comprises: security load, highest electricity load, electricity reference value; the method comprises the steps of collecting response rate index data of each load end in a first load end set in a response area, wherein the response rate index data comprise: adjusting the preparation time and the response time; collecting response economic cost index data of each load end in a first load end set in a response area; and acquiring response reliability index data of each load end in the first load end set in the response area.
By adopting the embodiment, the real-time highest electricity load, security load, reference load and the like of different types of loads are collected; all loads are prepared in real time, response economic cost index, deviation percentage of actual execution output of the historical execution output of the peak shaving of the participating power grid and the plan of peak shaving of the participating power grid, historical adjustment duration time, current load capacity to be adjusted and the like.
In one embodiment, the response recommendation value includes a first response recommendation value of a response volume dimension, and calculating the response recommendation value of each load end in the first load end set in multiple dimensions according to the response index data includes: for each load end in the first load end set, reading a real-time power consumption load reference value, a security load and a load to be adjusted from response index data; calculating a difference between the electricity load reference value and the security load; positioning a first gradient range in which a difference value is positioned in a first preset gradient space, wherein the maximum value of the first preset gradient space is a disaster tolerance coefficient of a load to be adjusted, and the minimum value is the load to be adjusted, and the disaster tolerance coefficient is larger than 1; searching a first index value matched with the first gradient range, and configuring the first index value as a first response recommended value, wherein the first index value is in negative correlation with the first gradient range.
In one example, the disaster recovery factor is 2 and the first response recommendation value is
The various load peak shaver response ratings model is as follows: when->
Or->
,/>
The method comprises the steps of carrying out a first treatment on the surface of the When (when)
When (I)>
The method comprises the steps of carrying out a first treatment on the surface of the When->
When (I)>
The method comprises the steps of carrying out a first treatment on the surface of the When->
When (I)>
. wherein ,/>
Recommending a value for the first response;
a real-time electricity load reference value of the load at the moment i; / >
The lowest electricity load which is the load in a certain time period depends on the security load; />
The load to be adjusted is the current load; according to various load regulation calculation models, when +.>
When the adjustable load of various loads is smaller than that to be adjustedThe load is difficult to independently meet the load regulation requirement; when->
When the load adjustable capacity is far larger than the load to be adjusted, the load adjustable capacity is not an intelligent choice, and in the two cases, the load loses response opportunities as the upper boundary and the lower boundary of the gradient interval. When->
The load meets the ideal regulation capacity requirement, and the highest rating score of the load peak regulation response is obtained, namely 3 scores. When (when)
The load meets the requirement of ideal regulation capacity, and the rating score of the obtained load peak regulation response is 2. When->
The load meets the requirement of basic capacity regulation, and the rating score of the obtained load peak regulation response is 1.
In another embodiment, the response recommendation value includes a second response recommendation value of a response rate dimension, and calculating, according to the response index data, the response recommendation value of each load end in the first load end set in multiple dimensions includes: for each load end in the first load end set, reading an adjustment preparation time and an adjustment response time from the response index data; calculating a sum of the adjustment preparation time and the adjustment response time; positioning a second gradient range in which the sum value is located in a second preset gradient space; and searching a second index value matched with the second gradient range, and configuring the second index value as a second response recommended value, wherein the second index value is inversely related to the second gradient range.
By adopting the implementation mode, the capacity of various load response rates is measured and calculated by constructing various load response rate rating models.
Recommending a value for the second response; />
The preparation time is adjusted in real time for various loads; />
The response time is adjusted in real time for various loads; to->
For response rate ranking criteria, ranking scores +.>
The shorter the time sum, the higher the rating score.
In another embodiment, the response recommendation value includes a third response recommendation value of a response economic cost dimension, and calculating the response recommendation value of each load end in the first load end set in multiple dimensions according to the response index data includes: for each load end in the first load end set, reading a load cost value from the response index data; inputting the load cost value into a pre-trained time sequence prediction model, and outputting a load effect value of the load cost value, wherein the time sequence prediction model is a pre-trained neural network model and is used for outputting the corresponding load effect value based on the load cost value; the load achievement value is configured as a third response recommendation value.
By adopting the implementation mode, various load response economic benefits are measured and calculated by constructing various load response economic cost rating models (time sequence prediction models).
For the third response recommendation value, making a rating ranking score +.>
The higher the economic benefit, the higher the rating score.
Optionally, the time series prediction model is a Prophet model, and before inputting the load cost value into the pre-trained time series prediction model, the method further comprises: collecting training data of a historical time sequence; determining a time unit of a historical time sequence, and dividing training data into a plurality of sub-data according to the time unit; predicting a load effect value of each time period by adopting an initial regression coefficient; gradient descent fitting is performed by adopting the following formula until a preset stopping condition is met:
wherein ,
for the regression coefficient of the current time period, +.>
For the regression coefficient of the previous period of the current time period, alpha is the dynamic adjustment step length, and the preset stopping condition comprises: the difference between the predicted load effect value of the current time period and the actual load effect value of the current time period is smaller than a preset threshold value; />
For the predicted load effect value of the current time period,/->
The actual load effect value of the current time period is represented by i, which is a period sequence number; and configuring the current regression coefficient after stopping fitting as the regression coefficient of the Prophet model to obtain a time sequence prediction model.
The Prophet model of the embodiment is an open-source time sequence prediction model, and is realized based on fitting of time and variable values combined with time sequence decomposition and machine learning. And taking the single-sequence data of the historical time sequence as input data, inputting a future time sequence to be predicted into the Prophet model, and outputting data trend corresponding to the future time to be predicted, wherein the data trend comprises a fitting curve, a predicted upper limit value, a predicted lower limit value and the like. The present example uses historical single sequence data to calculate the first regression coefficient of the propset model in the historical time sequence, where each regression coefficient corresponds to a cycle time, e.g., when the cycle time is months, the regression coefficient appears as an addition or multiplication factor for each month.
According to the embodiment of the invention, a machine is used for replacing a manual power load scheduling work, and the technical problem of high labor cost of parameter scheduling of the Prophet model is solved.
In yet another embodiment, the response recommendation value includes a fourth response recommendation value of a response reliability dimension, and calculating the response recommendation value of each load end in the first load end set in multiple dimensions according to the response index data includes: for each load end in the first load end set, reading a historical peak shaving contribution amount and a historical peak shaving task amount from response index data, wherein the historical peak shaving contribution amount is used for representing the actual total power of the corresponding load end participating in power grid peak shaving consumption in the historical time, and the historical peak shaving task amount is used for representing the total power distributed by the corresponding load end in the historical time; calculating the deviation amount of the historical peak shaving contribution amount relative to the historical peak shaving task amount; the inverse of the deviation amount is configured as a fourth response recommendation value.
And constructing various load response reliability rating models, and measuring and calculating various load response reliability capacities.
For the fourth response recommended value, the actual execution output and the planning deviation of the adjustable load participating in the peak shaving of the power grid are +.>
Ranking score for each type of load response rate capability as reference index>
The smaller the bias, the higher the rating score.
In one implementation manner of the embodiment, constructing a response admission condition by using response index data, and filtering the first load end set based on the response admission condition, so as to obtain a second load end set includes: for each load end in the first load end set, reading actual adjustment duration from the response index data, and referring to the adjustment duration, adjusting preparation time, response time, historical peak shaving contribution and historical peak shaving task quantity; judging whether the actual adjustment duration is greater than or equal to the reference adjustment duration, judging whether the adjustment preparation time and the adjustment response time are less than or equal to the preset disaster recovery time, calculating the deviation amount of the historical peak regulation contribution amount relative to the historical peak regulation task amount, and judging whether the deviation amount is less than or equal to the preset deviation; if the actual adjustment duration is greater than or equal to the reference adjustment duration, the adjustment preparation time and the adjustment response time are less than or equal to the preset disaster recovery time, and if the deviation amount is less than or equal to the preset deviation, the corresponding load ends are filtered from the first load end set and added to the second load end set.
In this embodiment, the admission conditions are reconstructed, load screening is performed, and the admission conditions are as follows:
wherein 0 and 1 represent disallowed entry and admitted entry respectively,
average adjustment duration for each type of load over a period of time; />
The adjustment duration required for the load to be adjusted. It can be seen that when->
When the response sustainable time length of the load is longer than or equal to the time length required by the load to be regulated, the admission condition is met; when->
When the response sustainable market of the load is smaller than the time required by the load to be regulated, the admission condition is not satisfied.
The preparation time is adjusted in real time for various loads; />
Response time is adjusted in real time for various loads. It can be seen that the light source is,
when the sum of the preparation time and the response time is within 5 minutes, the real-time adjustment capability can be achieved, and the admission condition is met; when->
When the sum of the preparation time and the response time exceeds 5 minutes, the adjusting capability is poor, and the admission condition is not satisfied.
And actually executing the deviation between the output and the delivery plan for the adjustable load to participate in the peak shaving of the power grid. When the adjustable load participates in the peak regulation of the power grid, the actual execution output and the planning deviation of the output are +.>
When the content is less than or equal to 30%, meeting the admission condition; when the adjustable load participates in the peak regulation of the power grid, the actual execution output and the planning deviation of the output are +. >
Above 30% the admission condition is not met.
In this embodiment, calculating a total recommended value of each load end in the second load end set according to response recommended values of multiple dimensions, and selecting a target load end for executing load response in the second load end set according to the total recommended value includes: for each load end in the second load end set, acquiring a weight coefficient combination of the load end in multiple dimensions, wherein the weight coefficient combination comprises multiple weight coefficients, each weight coefficient corresponds to a response recommended value of one dimension, and the sum of all weight coefficients is 1; weighting and summing the weight coefficient combination and the weight coefficient combination of a plurality of dimensions to obtain a total recommended value of a corresponding load end; sorting the load ends in the second load end set in a descending order according to the total recommended value; acquiring the load to be adjusted of each load end in the second load end set from the response index data; calculating the total load of the power grid to be peak regulated in the current peak regulation period; and sequentially and stepwise selecting a plurality of load ends in the second load end set until the sum of the loads to be adjusted of the currently selected load ends reaches the total power of the power grid, and determining the currently selected load ends as target load ends for load response to be executed.
The step selection in this embodiment refers to accumulation selection with a step size of 1, sequentially selecting load ends from the second load end set, and calculating the sum of loads to be adjusted of the currently selected load ends.
In one example, the weight coefficient combination is [0.5,0.2,0.2,0.1 ]]And constructing a final sorting model of the response capability of various load steps, and measuring the response capability of various loads. According to the formula:
and determining a final sorting score K (total recommended value) of various loads, thereby determining the loads participating in the response of the demand side, carrying out final scheduling, and dynamically adjusting a load end list according to real-time data.
The invention provides a method for a cascade response demand side based on load characteristics, which fully considers response capacity, response speed, response economy and the like and determines a method for representing the cascade response demand side according to the load characteristics. Fig. 3 is a flow chart of a method for providing a step response demand side based on load characteristics according to the present invention, including the following steps:
s31, acquiring response quantity, response speed, response economic cost and response reliability index data in real time. According to load classification, acquiring response quantity indexes such as various loads, security loads, highest electricity loads, reference values and the like, and setting a demand adjustment threshold according to the load to be adjusted; acquiring load preparation time, response time and other adjustment rate indexes, and actual execution output and issuing plan deviation and other reliability indexes;
S32, calculating a response rating score
Response rate rating score->
Responsive economic cost rating score->
Response reliability rating score +.>
. Calculating response capacity, response speed and corresponding reliability sequences of various loads, and finally obtaining comprehensive capacity sequences of various loads;
s33, judging admission conditions, and carrying out load screening;
s34, calculating a final sorting score K of the load response capability;
s35, dynamically adjusting the list to participate in real-time response. And dynamically adjusting the comprehensive capacity sequencing of various loads according to the load index and the load to be regulated, and preferentially arranging the ranking to respond to the front load according to the sequencing.
By adopting the scheme of the embodiment, load coordination is accurately realized, the pressure of peak load on a power grid is reduced, the power supply cost and the electricity consumption cost are reduced, and the double effects of power supply and demand balance and economic benefit are realized through load step response demand sides. The step response is carried out on the demand side response according to a more standard, so that multiple targets such as economy, reliability and continuity can be realized while peak clipping and valley filling can be realized.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
Example 2
The present embodiment also provides a power load scheduling device, which is used to implement the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 4 is a block diagram of a power load scheduling apparatus according to an embodiment of the present invention, as shown in fig. 4, including: an acquisition module 40, a calculation module 42, a filtering module 44, a selection module 46, wherein,
the acquisition module 40 is configured to acquire response index data of each load end in the first load end set in the response area in multiple dimensions;
the calculating module 42 is configured to calculate, according to the response index data, response recommended values of each load end in the first load end set in multiple dimensions, where each dimension corresponds to one response recommended value;
the filtering module 44 is configured to construct a response admission condition by using the response index data, and filter the first load end set based on the response admission condition to obtain a second load end set;
The selecting module 46 is configured to calculate a total recommended value of each load end in the second load end set according to the response recommended values of the multiple dimensions, and select a target load end for executing load response in the second load end set according to the total recommended value.
Optionally, the acquisition module includes: the first acquisition unit is used for acquiring response quantity index data of each load end in the first load end set in the response area, wherein the response quantity index data comprises: security load, highest electricity load, electricity reference value; the second acquisition unit is used for acquiring response rate index data of each load end in the first load end set in the response area, wherein the response rate index data comprises: adjusting the preparation time and the response time; the third acquisition unit is used for acquiring response economic cost index data of each load end in the first load end set in the response area; and acquiring response reliability index data of each load end in the first load end set in the response area.
Optionally, the response recommendation value includes a first response recommendation value of a response volume dimension, and the calculation module includes: the first reading unit is used for reading the real-time power consumption load reference value, the security load and the load to be adjusted from the response index data for each load end in the first load end set; a first calculation unit for calculating a difference between the electricity load reference value and the security load; the first positioning unit is used for positioning a first gradient range in which the difference value is located in a first preset gradient space, wherein the maximum value of the first preset gradient space is the load to be adjusted, the disaster tolerance coefficient is the load to be adjusted, the minimum value is the load to be adjusted, and the disaster tolerance coefficient is larger than 1; and the first configuration unit is used for searching a first index value matched with the first gradient range and configuring the first index value as the first response recommended value, wherein the first index value is in negative correlation with the first gradient range.
Optionally, the response recommendation value includes a second response recommendation value of a response rate dimension, and the calculation module includes: a second reading unit, configured to read, for each load end in the first load end set, an adjustment preparation time and an adjustment response time from the response index data; a second calculation unit for calculating a sum of the adjustment preparation time and the adjustment response time; the second positioning unit is used for positioning a second gradient range in which the sum value is located in a second preset gradient space; and the second configuration unit is used for searching a second index value matched with the second gradient range and configuring the second index value into the second response recommended value, wherein the second index value is in negative correlation with the second gradient range.
Optionally, the response recommendation value includes a third response recommendation value of a response economic cost dimension, and the computing module includes: a third reading unit, configured to read, for each load end in the first load end set, a load cost value from the response index data; the prediction unit is used for inputting the load cost value into a pre-trained time sequence prediction model and outputting a load effect value of the load cost value, wherein the time sequence prediction model is a pre-trained neural network model and is used for outputting a corresponding load effect value based on the load cost value; and a third configuration unit configured to configure the load effect value as the third response recommendation value.
Optionally, the timing prediction model is a propset model, and the apparatus further includes: the sample module is used for collecting training data of a historical time sequence before the calculation module inputs the load cost value into a pre-trained time sequence prediction model; the segmentation module is used for determining a time unit of the historical time sequence and segmenting the training data into a plurality of sub-data according to the time unit; the prediction module is used for predicting the load effect value of each time period by adopting the initial regression coefficient; the fitting module is used for performing gradient descent fitting by adopting the following formula until the preset stopping condition is met:
wherein ,
for the regression coefficient of the current time period, +.>
And for the regression coefficient of the previous period of the current time period, alpha is a dynamic adjustment step length, and the preset stopping condition comprises: the difference between the predicted load effect value of the current time period and the actual load effect value of the current time period is smaller than a preset threshold value; />
For the predicted load effect value of the current time period,/->
The actual load effect value of the current time period is represented by i, which is a period sequence number; and the generation module is used for configuring the current regression coefficient after the fitting is stopped as the regression coefficient of the Prophet model to obtain the time sequence prediction model.
Optionally, the response recommendation value includes a fourth response recommendation value of a response reliability dimension, and the calculating module includes: a fourth reading unit, configured to read, for each load end in the first load end set, a historical peak shaving contribution and a historical peak shaving task amount from the response index data, where the historical peak shaving contribution is used to represent an actual total power of the corresponding load end participating in power grid peak shaving consumption in a historical time, and the historical peak shaving task amount is used to represent a total power of the corresponding load end distributed in the historical time; a third calculation unit, configured to calculate a deviation amount of the historical peak shaver contribution amount relative to the historical peak shaver task amount; and a fourth configuration unit configured to configure an inverse of the deviation amount as the fourth response recommendation value.
Optionally, the filtering module includes: the reading unit is used for reading the actual adjustment duration from the response index data for each load end in the first load end set, referring to the adjustment duration, adjusting the preparation time, adjusting the response time, historical peak shaving contribution and historical peak shaving task quantity; the judging unit is used for judging whether the actual adjustment duration is greater than or equal to the reference adjustment duration, judging whether the adjustment preparation time and the adjustment response time are smaller than or equal to a preset disaster tolerance time, calculating the deviation amount of the historical peak regulation contribution amount relative to the historical peak regulation task amount, and judging whether the deviation amount is smaller than or equal to a preset deviation; and the filtering unit is used for filtering the corresponding load ends from the first load end set and adding the load ends to the second load end set if the actual adjustment duration is greater than or equal to the reference adjustment duration, the adjustment preparation time and the adjustment response time are less than or equal to the preset disaster tolerance time, and the deviation amount is less than or equal to the preset deviation.
Optionally, the selecting module includes: the first computing unit is used for acquiring a weight coefficient combination of the load end in the multiple dimensions aiming at each load end in the second load end set, wherein the weight coefficient combination comprises multiple weight coefficients, each weight coefficient corresponds to a response recommended value of one dimension, and the sum of all weight coefficients is 1; the weight coefficient combination and the weight coefficient combination of the plurality of dimensions are adopted for weighted summation, so that the total recommended value of the corresponding load end is obtained; the sorting unit is used for sorting the load ends in the second load end set in a descending order according to the total recommended value; the obtaining unit is used for obtaining the load to be adjusted of each load end in the second load end set from the response index data; the second calculation unit is used for calculating the total load of the power grid to be peak-regulated in the current peak-regulation period; the selecting unit is used for sequentially and step-by-step selecting a plurality of load ends in the second load end set until the sum of loads to be adjusted of the currently selected load ends reaches the total power of the power grid, and determining the currently selected load ends as target load ends for load response to be executed.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Example 3
An embodiment of the invention also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
s1, acquiring response index data of each load end in a first load end set in a response area in multiple dimensions;
s2, respectively calculating response recommended values of each load end in the first load end set in multiple dimensions according to the response index data, wherein each dimension corresponds to one response recommended value;
s3, constructing response admittance conditions by adopting the response index data, and filtering the first load end set based on the response admittance conditions to obtain a second load end set;
S4, calculating the total recommended value of each load end in the second load end set according to the response recommended values of the multiple dimensions, and selecting a target load end for executing load response in the second load end set according to the total recommended value.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic device may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
S1, acquiring response index data of each load end in a first load end set in a response area in multiple dimensions;
s2, respectively calculating response recommended values of each load end in the first load end set in multiple dimensions according to the response index data, wherein each dimension corresponds to one response recommended value;
s3, constructing response admittance conditions by adopting the response index data, and filtering the first load end set based on the response admittance conditions to obtain a second load end set;
s4, calculating the total recommended value of each load end in the second load end set according to the response recommended values of the multiple dimensions, and selecting a target load end for executing load response in the second load end set according to the total recommended value.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
FIG. 5 is a block diagram of an electronic device according to an embodiment of the present invention, as shown in FIG. 5, including a processor 102, a communication interface 62, a memory 104, and a communication bus 64, where the processor 102, the communication interface 62, and the memory 104 communicate with each other via the communication bus 64, and the memory 104 is used to store a computer program; a processor 102 for executing programs stored on a memory 104.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be 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 through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause 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 methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.