Energy-saving power consumption control method and system and storage medium

By setting labels for electrical equipment and generating prediction models, combined with historical and future electricity consumption data, the problem of singleness of power consumption prediction in the existing technology is solved, and more accurate energy consumption prediction and energy-saving control of electrical equipment are achieved.

CN118693801APending Publication Date: 2024-09-24STATE GRID HUBEI MARKETING SERVICE CENT (MEASUREMENT CENT)
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202410738004.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The prediction and classification statistics of electric energy consumption in the existing technology are single and fail to effectively combine with the operation plan of the electrical equipment, resulting in poor energy saving effect.

Method used

By setting device tags for target users' electrical equipment, historical power consumption data are obtained, power consumption sequences are generated, and prediction models are established based on frequency of use and operation plans to predict future power demand and adjust equipment priorities to achieve energy-saving control.

Benefits of technology

It improves the accuracy of energy consumption prediction of electrical equipment within the prediction time, and achieves the energy-saving power control effect of target users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118693801A
    Figure CN118693801A
Patent Text Reader

Abstract

The invention discloses an energy-saving power consumption control method and system and a storage medium, and belongs to the technical field of data processing, and the method comprises the steps: carrying out the statistics of power consumption equipment of a target user, setting the equipment label of the power consumption equipment, and obtaining a power consumption sequence of the power consumption equipment in a historical period; dividing the historical total power consumption sequence into a plurality of sub-interval sequences, and setting the minimum electric power as a first threshold value; respectively generating a first prediction sequence and a second prediction sequence of the electric equipment in the prediction time, and combining the first prediction sequence and the second prediction sequence to generate an energy consumption prediction sequence of the electric equipment; and acquiring the total power utilization power of the target user in the prediction time, judging the size of the total power utilization power and a first threshold value, and adjusting the use list of the electric equipment in the prediction time, or setting the difference value between the total power utilization power and the first threshold value as an energy-saving value. According to the invention, the total power utilization power of the target user can be accurately predicted, and the use list of the electric equipment can be adjusted, so that the purpose of energy-saving power utilization can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data processing, and in particular relates to an energy-saving electricity control method, system and storage medium. Background Art

[0002] In order to meet the challenges of energy conservation and emission reduction and climate change, improve energy efficiency and achieve the goal of sustainable development, dynamic energy-saving control can be used to flexibly adjust the electricity demand and electricity consumption time of different users, thereby realizing energy-saving control and management of electrical equipment.

[0003] For example, Chinese patent application CN117172577A discloses a comprehensive electric energy analysis and prediction system based on the intelligent Internet of Things. It includes an electric energy statistical unit, a data processing unit and an electric energy analysis unit. In this invention, the total power consumption inside the building collected by the electric energy statistical unit and the power consumption of the specified electrical appliances and designated electrical appliances are used by the data processing unit to calculate the useless electric energy consumption, and the electric energy consumed in the building is controlled by the electric energy analysis unit to reduce the consumption of useless electric energy. When the electric energy analysis unit is controlled, the electric energy analysis unit feeds back to the electric energy statistical unit, so that the electric energy statistical unit counts the electric energy consumption inside the building, and the power saving prediction analysis module analyzes it to determine the effect of the power saving control of the power saving control module, so as to effectively reduce the useless electric energy consumption inside the building and achieve the effect of power saving. For example, Chinese patent application CN117633060A discloses an electricity consumption data analysis management method and system, the system includes a smart meter, a smart socket, a server and a display module; the smart meter, the smart socket and the display module are all communicatively connected to the server; the smart meter is electrically connected to the household power lines; there are multiple smart sockets; the electricity consumption data analysis management method proposed in the invention obtains the electricity consumption of each electrical device of the user through the smart socket, and then obtains the total electricity consumption in the household through the smart meter, and then generates a two-dimensional pie chart based on the second electricity consumption and the ratio of each first electricity consumption to the second electricity consumption, and displays the two-dimensional pie chart through the display module, so as to more intuitively display the detailed electricity consumption data of each electrical device of the user.

[0004] However, the above-mentioned prior art separately predicts and classifies the power consumption. In actual situations, the power consumption of different electrical equipment is closely related to the operation plan. It is necessary to conduct power consumption forecast analysis in combination with the operation plan of the electrical equipment to achieve the purpose of reasonable energy saving. Summary of the invention

[0005] To solve the above problems, the present invention provides an energy-saving electricity control method, system and storage medium to solve the problems in the prior art.

[0006] In order to achieve the above-mentioned object of the invention, the present invention proposes an energy-saving electricity control method, comprising:

[0007] Count the target user's electrical equipment and set equipment tags for the electrical equipment, where the equipment tags include the use priority, rated power and use frequency of the electrical equipment, obtain the power consumption of the electrical equipment at the same time interval in the historical cycle, and sequentially combine them into a power consumption sequence;

[0008] Accumulate all the power consumption sequences at the same time to generate a historical total power consumption sequence of the target user in the historical period, divide the historical total power consumption sequence into a plurality of sub-interval sequences based on a preset first time period, accumulate the values ​​contained in the sub-interval sequences and set them as the power consumption of the first time period, and set the minimum power consumption as the first threshold;

[0009] A usage list of the electric device in the historical period is counted based on the usage frequency, a first prediction model is generated based on the usage list, a first prediction sequence of the electric device within the prediction time is generated based on the first prediction model, a second prediction model is established, the second prediction model outputs a second prediction sequence of the electric device within the prediction time based on the power consumption sequence, and the first prediction sequence and the second prediction sequence are combined to generate an energy consumption prediction sequence of the electric device within the prediction time;

[0010] All the energy consumption prediction sequences are accumulated and set as the total power consumption of the target user during the prediction time, and a second threshold is set. If the total power consumption is greater than the second threshold, the usage list of the electrical equipment during the prediction time is adjusted based on the usage priority. If the total power consumption is less than or equal to the second threshold and greater than the first threshold, the difference between the total power consumption and the first threshold is set as the energy-saving value.

[0011] Further, generating the first prediction sequence comprises the following steps:

[0012] Obtain the operation sequence of the electric device in the usage list, input the operation sequence and the power consumption sequence into a first formula to calculate a coefficient value a, wherein the first formula is: t =a0+a1×R t +a2×E+a3×R t ×E, a=(a0, a1, a2, a3), P t is the tth value in the power consumption sequence, R t is the t-th value in the operation sequence, E is the rated power, t is a positive integer from 1 to T, and T is the number of the power consumption sequence including the power consumption;

[0013] The first prediction model calculates the nth value q in the first prediction sequence based on the second formula n , the second formula is: q n =a0+a1×T n +a2×E+a3×T n ×E, Q1=(q1, q2,...,q n ), where T n is the operating state of the electric device at the nth time point in the prediction time. If the operating state is on, the count is 1, otherwise it is 0. Q1 is the first prediction sequence.

[0014] Further, establishing the second prediction model includes:

[0015] Smoothing the power consumption sequence to generate a first curve, obtaining the start time of the prediction time and setting it as the current time, calculating the time difference between any time point in the power consumption sequence and the current time, selecting a time point corresponding to a third threshold value where the time difference is the time difference and setting it as a segmentation point, and segmenting the first curve into a first sub-curve and a second sub-curve at the segmentation point;

[0016] Based on the time length of the predicted time, starting from the ends of the first sub-curve and the second sub-curve and moving at a time point with a step length, the first sub-waveform adjacent to the current time is set as a reference waveform, the first sub-waveform and the second sub-waveform are clustered and a first number of sub-waveform sets are generated respectively, a subset included in the sub-waveform set is set as a waveform sample, a first similarity between the reference waveform and the waveform sample is calculated, and the waveform samples whose first similarity is greater than a fourth threshold are extracted and set as similar waveforms;

[0017] Taking the reference waveform as the starting point, the step length as the moving distance, and the predicted time as the direction, the method sequentially moves, and based on the similar waveform, calculates the value corresponding to the first time point in the predicted time, and generates a first predicted waveform with the first time point as the end, and continues to move the first predicted waveform to calculate the value corresponding to the second time point in the predicted time, and generates a second predicted waveform, and repeats this step until the values ​​of all time points in the predicted time are calculated to construct the second prediction model.

[0018] Further, outputting a second prediction sequence of the electric equipment within the prediction time includes:

[0019] Calculate the j-th value Y within the prediction time based on the third formula j , the third formula is: Y j=b1×X1+b2×X2+……+b m ×X m , where Y j is the jth predicted value, B=(b1,b2,……,b m ), B is the regression coefficient, X m is the mth value in the reference waveform, j is a positive integer from 1 to J, J is the number of time points included in the prediction time, Q2=(Y1, Y2, ..., Y j ), Q2 is the second prediction sequence.

[0020] Further, calculating the regression coefficient includes:

[0021] All the similar waveforms are fitted based on the fourth formula, which is: i =b1×x (i,1) +b2×x (i,2) +……+b m × (i,m) , where i is a positive integer from 1 to I, I is the number of similar waveforms, B = (b1, b2, ..., b m ), B is the regression coefficient, y i is the value at the end of the ith similar waveform, x (i,m) is the mth value in the i-th similar waveform;

[0022] The regression coefficient B is calculated so that the fifth formula obtains the minimum value K. The fifth formula is: Among them, β = (β1, β2,..., β i ), β is the weight coefficient of the similar waveform, and min() is the minimum value symbol.

[0023] Further, combining and generating the energy consumption prediction sequence of the electrical equipment within the prediction time includes:

[0024] Calculate the fth value W in the energy consumption prediction sequence based on the sixth formula f , the sixth formula is: W f =ε1×Q (1,f) +ε2×Q (2,f) , where ε1 and ε2 are reference coefficients, f is a positive integer from 1 to F, F is the number of time points included in the prediction time, Q (1,f) is the fth value in the first prediction sequence, Q (2,f) is the fth value in the second prediction sequence.

[0025] Further, adjusting the usage list of the electric device based on the usage priority includes the following steps:

[0026] The usage priority includes level one, level two and level three. If the total power consumption is greater than the second threshold, the power-consuming equipment with the usage priority level three is extracted and set as the regulating equipment. After shutting down any one of the regulating equipment, the new total power consumption is recalculated. This step is repeated to shut down the regulating equipment in turn based on the usage priority until the new total power consumption is less than or equal to the second threshold.

[0027] The present invention also provides an energy-saving electricity control system, which is used to implement the energy-saving electricity control method described above, and the system mainly includes:

[0028] A data acquisition module is used to count the target user's electrical equipment and set equipment tags for the electrical equipment, wherein the equipment tags include the use priority, rated power and use frequency of the electrical equipment, obtain the power consumption of the electrical equipment at the same time interval in the historical cycle, and sequentially combine them into a power consumption sequence;

[0029] a data classification module, accumulating all the power consumption sequences at the same time to generate a historical total power consumption sequence of the target user in the historical period, dividing the historical total power consumption sequence into a plurality of sub-interval sequences based on a preset first time period, accumulating the values ​​contained in the sub-interval sequences and setting them as the power consumption of the first time period, and setting the minimum power consumption as the first threshold;

[0030] A data prediction module, which counts a usage list of the electric device in the historical period based on the usage frequency, generates a first prediction model based on the usage list, generates a first prediction sequence of the electric device within a prediction time based on the first prediction model, establishes a second prediction model, the second prediction model outputs a second prediction sequence of the electric device within the prediction time based on the power consumption sequence, and combines the first prediction sequence and the second prediction sequence to generate an energy consumption prediction sequence of the electric device within the prediction time;

[0031] The energy-saving control module accumulates all the energy consumption prediction sequences and sets them as the total power consumption of the target user within the prediction time, sets a second threshold, and if the total power consumption is greater than the second threshold, adjusts the usage list of the electrical equipment within the prediction time based on the usage priority; if the total power consumption is less than or equal to the second threshold and greater than the first threshold, sets the difference between the total power consumption and the first threshold as the energy-saving value.

[0032] The present invention also provides a computer storage medium, which stores program instructions. When the program instructions are executed, the device where the computer storage medium is located is controlled to execute the above-mentioned energy-saving power control method.

[0033] Compared with the prior art, the beneficial effects of the present invention are at least as follows:

[0034] The present invention first obtains the device labels and power consumption sequences of the electrical equipment of the target user, and divides them into multiple sub-interval sequences to obtain the minimum power consumption. Then, the first prediction sequence of the electrical equipment within the prediction time is generated through the usage list of the historical period to obtain the usage probability distribution sequence of the electrical equipment. The second prediction model is established by the power consumption sequence to obtain the second prediction sequence. The energy consumption prediction sequence of the electrical equipment is generated by combining the first prediction sequence and the second prediction sequence, which can improve the accuracy of the electrical equipment within the prediction time. Finally, the usage priority is set to adjust the usage list of all electrical equipment, which can achieve the energy-saving power control effect of the target user. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A flow chart of the steps of an energy-saving electricity control method of the present invention;

[0036] Figure 2 It is a schematic diagram of the operation sequence in the present invention;

[0037] Figure 3 It is a schematic diagram of the first curve division in the present invention;

[0038] Figure 4 It is a schematic diagram of the movement and division of the first sub-curve in the present invention;

[0039] Figure 5 This is a structural diagram of an energy-saving electricity control system of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0041] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.

[0042] like Figure 1 As shown, a method for energy-saving electricity control includes:

[0043] Step S1: Count the target user's electrical equipment and set equipment tags for the electrical equipment. The equipment tags include the use priority, rated power and use frequency of the electrical equipment. The power consumption of the electrical equipment at the same time interval in the historical cycle is obtained and combined into a power consumption sequence in sequence.

[0044] Specifically, in order to achieve the goal of energy-saving electricity, the balance between the energy-saving effect of various load electrical equipment and the degree of influence on the operation of electrical equipment can be adjusted to ensure a good energy-saving effect and reduce the influence on the operation of electrical equipment, so as to perform reliability control of energy-saving electricity. Target users refer to independent users who consume electric energy, including but not limited to household users, shopping mall users and factory users. In this embodiment, household users are used as target users for energy-saving electricity control. Electrical equipment refers to load equipment that needs to use electric energy, including but not limited to refrigerators, washing machines, televisions, water heaters and routers. The equipment label is used to describe the detailed information of the electrical equipment, wherein the use priority refers to the importance of various electrical equipment, which is set by the target user according to the use habits of different target users. The rated power refers to the power of the electrical equipment when it is working normally and is set by the factory. The use frequency refers to the use cycle of the electrical equipment. For example, the target user A sets the use priority of the refrigerator in the electrical equipment to level 1, and the use frequency is used every hour. The historical period refers to the time period in the past, which is set to 30 days, and the time interval is set to 1 hour. The power consumption refers to the total power value of the electrical equipment per hour, which can be obtained by installing smart meters on the electrical equipment. The power consumption series refers to the time series data composed of the power consumption of the electrical equipment at each time point in the historical period, where the time point is the time feature of the power consumption series, and the power consumption is the numerical feature of the power consumption series.

[0045] Step S2: Accumulate all power consumption sequences at the same time to generate a historical total power consumption sequence of the target user in the historical period, divide the historical total power consumption sequence into multiple sub-interval sequences based on a preset first time period, accumulate the values ​​contained in the sub-interval sequences and set them as the power consumption of the first time period, and set the minimum power consumption as the first threshold.

[0046] Specifically, in this embodiment, the historical total power consumption sequence refers to the power consumption sequences corresponding to all electrical devices of the target user accumulated at the same time. The historical total power consumption sequence can describe the changing trend of the target user's hourly power consumption values ​​in the historical period. The long historical total power consumption sequence is divided into multiple sub-interval sequences by the first time period, and the first time period can be set to the same time length as the subsequent prediction time. For example, the first time period is set to 7*24=168 hours, that is, one week. The power consumption is the accumulation of the values ​​contained in each first time period, that is, the target user's power consumption per week, and the first threshold refers to the minimum power consumption value.

[0047] Step S3: Count the usage list of the electrical equipment in the historical period based on the usage frequency, generate a first prediction model based on the usage list, generate a first prediction sequence of the electrical equipment within the prediction time based on the first prediction model, establish a second prediction model, the second prediction model outputs a second prediction sequence of the electrical equipment within the prediction time based on the power consumption sequence, and combine the first prediction sequence and the second prediction sequence to generate an energy consumption prediction sequence of the electrical equipment within the prediction time.

[0048] Specifically, in this embodiment, the usage list refers to an operation schedule consisting of the usage frequencies of various electrical devices, which can be set by the target user or automatically generated according to the usage of the electrical devices in the historical period. The prediction time refers to the length of time contained in the future time period. For example, the prediction time is set to 7*24=168 hours, that is, one week. The first prediction model predicts the operation of the electrical equipment within the future prediction time, and the corresponding first prediction sequence generated is the usage probability distribution sequence of the electrical equipment during the prediction time, that is, the future operation. The second prediction model predicts the power consumption sequence of the electrical equipment within the future prediction time, and the corresponding second prediction sequence generated is the value of the power demand of the electrical equipment within the future prediction time. The two prediction sequences are combined to generate the energy consumption prediction sequence of the electrical equipment within the prediction time, that is, the power demand of the electrical equipment within the future prediction time. By establishing two prediction models and combining the usage list of the electrical equipment, the accuracy of the power demand prediction of the electrical equipment can be improved.

[0049] Step S4: All energy consumption prediction sequences are accumulated and set as the total power consumption of the target user during the prediction time, and a second threshold is set. If the total power consumption is greater than the second threshold, the usage list of the electrical equipment during the prediction time is adjusted based on the usage priority. If the total power consumption is less than or equal to the second threshold and greater than the first threshold, the difference between the total power consumption and the first threshold is set as the energy-saving value.

[0050] Specifically, in this embodiment, the total power consumption refers to the total value of the target user's power consumption within the predicted time, and the second threshold refers to the maximum power consumption set by the target user. If the total power consumption is greater than the second threshold, it means that the target user's power consumption is large within the future predicted time, and the purpose of energy saving is not achieved. It is necessary to change and adjust the use list of the power-consuming equipment based on the use priority, and the switch of the power-consuming equipment can be controlled by the smart socket to achieve the goal of energy saving. If the total power consumption is less than or equal to the second threshold, it means that the power consumption of the target user within the future predicted time is within the target range of energy saving, so the difference between the total power consumption and the first threshold is set as the energy saving value, that is, the value of energy saving. By adjusting the use list of the power-consuming equipment using the priority, the power consumption of the power-consuming equipment can be effectively controlled to achieve the energy saving control method.

[0051] As a preferred technical solution of the present invention, generating the first prediction sequence includes the following steps:

[0052] Obtain the operation sequence of the electrical equipment in the usage list, input the operation sequence and the power consumption sequence into the first formula to calculate the coefficient value a. The first formula is: t =a0+a1×R t +a2×E+a3×R t ×E, a=(a0, a1, a2, a3), P t is the tth value in the power consumption sequence, R t is the tth value in the running sequence, E is the rated power, t is a positive integer from 1 to T, and T is the number of power consumption contained in the power consumption sequence.

[0053] The first prediction model calculates the nth value q in the first prediction sequence based on the second formula n , the second formula is: q n =a0+a1×T n +a2×E+a3×T n ×E, Q1=(q1, q2,...,q n ), where T n It is the operating status of the electrical equipment at the nth time point in the prediction time. If the operating status is on, the count is 1, otherwise it is 0. Q1 is the first prediction sequence.

[0054] Specifically, in this embodiment, the running sequence means that if the electric device is in the on state in the usage list, the count is 1, and if it is in the off state, the count is 0, and the corresponding sequence generated in the historical cycle, for example, Figure 2The figure shows the operation sequence of the electrical device A1. In general, power consumption = operation time * rated power. Therefore, in the first formula, the coefficient value a is calculated by fitting the change trend between the power consumption sequence and the operation sequence in the historical period, and then the coefficient value a is substituted into the second formula to generate the corresponding first prediction sequence, where each value in the first prediction sequence represents the power value generated after the usage probability distribution of the electrical device at the corresponding time point is predicted. Through the second formula, a usage list of the electrical device at the predicted time can be generated.

[0055] As a preferred technical solution of the present invention, establishing the second prediction model includes:

[0056] The power consumption sequence is smoothed to generate a first curve, the start time of the predicted time is obtained and set as the current time, the time difference between any time point in the power consumption sequence and the current time is calculated, the time point corresponding to the third threshold value whose time difference is selected and set as the split point, and the first curve is split into a first sub-curve and a second sub-curve at the split point.

[0057] Based on the time length of the prediction time, the waveforms are divided into multiple first sub-waveforms and second sub-waveforms starting from the ends of the first sub-curve and the second sub-curve and moving at a time point with a step length, the first sub-waveform adjacent to the current time is set as a reference waveform, the first sub-waveform and the second sub-waveform are clustered and a first number of sub-waveform sets are generated respectively, the subsets included in the sub-waveform sets are set as waveform samples, the first similarity between the reference waveform and the waveform samples is calculated, and the waveform samples whose first similarity is greater than a fourth threshold are extracted and set as similar waveforms.

[0058] Taking the reference waveform as the starting point, the step length as the moving distance, and the prediction time as the direction, the numerical value corresponding to the first time point in the prediction time is calculated based on the similar waveform, and a first prediction waveform with the first time point as the end is generated. The first prediction waveform is continued to be moved to calculate the numerical value corresponding to the second time point in the prediction time, and a second prediction waveform is generated. Repeat this step until the numerical values ​​of all time points in the predicted time are calculated to construct a second prediction model.

[0059] Specifically, in this embodiment, the first curve is divided into a first sub-curve and a second sub-curve based on the time difference of the third threshold value, in order to divide the first curve into a short-term curve and a long-term curve, wherein the third threshold value is greater than the length corresponding to the prediction time, for example, the third threshold value is set to 14*24=336 hours, that is, two weeks, the first sub-curve corresponds to the short-term curve, and the second sub-curve corresponds to the long-term curve. By dividing the first curve, the change trend of the prediction data can be classified. For example, Figure 3As shown, h0 is the start time of the prediction time, that is, the current time, hn is the end time of the prediction time, h0 to hn are the time lengths corresponding to the prediction time, h1 is the segmentation point, L1 is the first sub-curve, and L2 is the second sub-curve.

[0060] Simply put, the first sub-curve and the second sub-curve are divided into a plurality of first sub-waveforms and second sub-waveforms based on the length of the prediction time and a time point as a step length. Figure 4 As shown, the first sub-curve L1 is divided into multiple first sub-waveforms, wherein the first sub-waveform is adjacent to the current time, and therefore is set as the reference waveform L11. Clustering refers to clustering based on the shape characteristics of the time series. For example, if the first number is set to 5, all first sub-waveforms will be clustered into 5 sub-waveform sets, wherein the first sub-waveforms contained in each sub-waveform set are corresponding waveform samples. Through clustering, the number of first sub-waveforms and second sub-waveforms can be screened to reduce the amount of subsequent calculations. The first similarity refers to the similarity of the changing trends of the two waveforms, which can be calculated using the Euclidean distance formula. The fourth threshold is set to 0.8, and the waveform samples with the first similarity greater than 0.8 are set as similar waveforms.

[0061] In constructing the second prediction model, the multiple regression equation is used to predict the values ​​corresponding to each time point in the prediction time one by one. Therefore, starting from the reference waveform, the first value in the prediction time is generated by a moving distance in sequence, and then the first value is smoothly connected with the corresponding value in the reference waveform. From the end, a waveform with the same length as the prediction time is selected to set it as the first prediction waveform, and then the first prediction waveform is used to calculate the next value in the prediction time based on the same steps until all the values ​​corresponding to the prediction time are predicted and generated. The specific calculation method will be introduced later. Through the second prediction model, a typical waveform, that is, a similar waveform, is created according to the first curve, which can improve the prediction accuracy.

[0062] As a preferred technical solution of the present invention, the second prediction sequence of the output electric equipment within the prediction time includes:

[0063] Calculate the j-th value Y within the prediction time based on the third formula j , the third formula is: Y j =b1×X1+b2×X2+……+b m ×X m , where Y j is the jth predicted value, B=(b1,b2,……,b m ), B is the regression coefficient, X m is the mth value in the reference waveform, j is a positive integer from 1 to J, J is the number of time points included in the prediction time, Q2=(Y1, Y2, ..., Y j), Q2 is the second prediction sequence.

[0064] Specifically, in this embodiment, the third formula is generated by the regression coefficient, and the j-th value within the prediction time can be calculated in sequence, wherein the third formula belongs to a multiple regression equation, and the value of the next time point is calculated by the value corresponding to the reference waveform and the regression coefficient, wherein the value of the regression coefficient is the key factor in determining the second prediction model, and therefore, it will be described in detail later.

[0065] As a preferred technical solution of the present invention, calculating the regression coefficient includes:

[0066] Fit all similar waveforms based on the fourth formula, which is: i =b1×x (i,1) +b2×x (i,2) +……+b m × (i,m) , where i is a positive integer from 1 to I, I is the number of similar waveforms, B = (b1, b2, ..., b m ), B is the regression coefficient, y i is the value at the end of the ith similar waveform, x (i,m) is the mth value in the ith similar waveform.

[0067] Calculate the regression coefficient B so that the fifth formula obtains the minimum value K. The fifth formula is: Among them, β = (β1, β2,..., β i ), β is the weight coefficient of similar waveforms, and min() is the minimum value symbol.

[0068] Specifically, the regression coefficient is generated by fitting all similar waveforms based on the fourth formula. The more similar waveforms there are, the more accurate the calculated regression coefficient is. In order to limit the numerical value of the regression coefficient, it is necessary to extract the best regression coefficient through the fifth formula, and the regression coefficient minimizes the value of the fifth formula. The smallest value indicates that the fitting effect of the fourth formula is the best, and the corresponding regression coefficient is calculated accordingly, where the weight coefficient of the similar waveform can be set by the first similarity.

[0069] As a preferred technical solution of the present invention, the combined generation of energy consumption prediction sequences of electrical equipment within the prediction time includes:

[0070] Calculate the fth value W in the energy consumption prediction sequence based on the sixth formula f , the sixth formula is: W f =ε1×Q (1,f) +ε2×Q (2,f) , where ε1 and ε2 are reference coefficients, f is a positive integer from 1 to F, F is the number of time points included in the prediction time, Q (1,f)is the fth value in the first prediction sequence, Q (2,f) is the fth value in the second prediction sequence.

[0071] Specifically, in this embodiment, the sixth formula combines the first prediction sequence and the second prediction sequence, that is, the usage probability distribution sequence of the electrical equipment at the prediction time is added to the second prediction sequence through a reference coefficient to generate an energy consumption prediction sequence of the electrical equipment at the prediction time. The combination of the two prediction sequences can make the prediction result more accurate.

[0072] As a preferred technical solution of the present invention, adjusting the usage list of the electrical equipment based on the usage priority includes the following steps:

[0073] The usage priorities include level one, level two, and level three. If the total power consumption is greater than the second threshold, the power-consuming equipment with a usage priority of level three is extracted and set as the regulating equipment. After shutting down any regulating equipment, the new total power consumption is recalculated. This step is repeated to shut down the regulating equipment in turn based on the usage priority until the new total power consumption is less than or equal to the second threshold.

[0074] Specifically, in this embodiment, the first, second and third levels are used with priority for electrical equipment, among which the first level is the most important electrical equipment. Therefore, if the total power consumption is greater than the second threshold, it means that the total power consumption of the target user within the predicted time exceeds the preset second threshold, and energy-saving power consumption can be controlled by stopping the electrical equipment corresponding to the third level. If after stopping all the electrical equipment corresponding to the third level, the corresponding total power consumption is still greater than the second threshold, the electrical equipment corresponding to the second level can be stopped in turn, so that the total power consumption is less than or equal to the second threshold, so as to complete the energy-saving power control.

[0075] like Figure 5 As shown, the present invention also provides an energy-saving electricity control system, which is used to implement the above-mentioned energy-saving electricity control method, and the system mainly includes:

[0076] The data acquisition module counts the target user's electrical equipment and sets equipment tags for the electrical equipment. The equipment tags include the use priority, rated power, and use frequency of the electrical equipment. The power consumption of the electrical equipment at the same time interval in the historical cycle is obtained and combined into a power consumption sequence in sequence.

[0077] The data classification module accumulates all power consumption sequences at the same time to generate a historical total power consumption sequence of the target user in the historical period, divides the historical total power consumption sequence into multiple sub-interval sequences based on a preset first time period, accumulates the values ​​contained in the sub-interval sequences and sets them as the power consumption of the first time period, and sets the minimum power consumption as the first threshold.

[0078] A data prediction module is provided, which counts the usage list of electrical equipment in a historical period based on the usage frequency, generates a first prediction model based on the usage list, generates a first prediction sequence of electrical equipment within a prediction time based on the first prediction model, establishes a second prediction model, and the second prediction model outputs a second prediction sequence of electrical equipment within a prediction time based on the power consumption sequence, and combines the first prediction sequence and the second prediction sequence to generate an energy consumption prediction sequence of the electrical equipment within the prediction time.

[0079] The energy-saving control module accumulates all energy consumption prediction sequences and sets them as the total power consumption of the target user during the prediction time, sets a second threshold, and if the total power consumption is greater than the second threshold, adjusts the usage list of the electrical equipment during the prediction time based on the usage priority; if the total power consumption is less than or equal to the second threshold and greater than the first threshold, sets the difference between the total power consumption and the first threshold as the energy-saving value.

[0080] The present invention also provides a computer storage medium, which stores program instructions. When the program instructions are executed, the device where the computer storage medium is located is controlled to execute the above-mentioned energy-saving power control method.

[0081] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0082] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The above-mentioned program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0083] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0084] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

[0085] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for controlling energy-saving electricity consumption, characterized in that: The method comprises the following steps: Count the target user's electrical equipment and set equipment tags for the electrical equipment, where the equipment tags include the use priority, rated power and use frequency of the electrical equipment, obtain the power consumption of the electrical equipment at the same time interval in the historical cycle, and sequentially combine them into a power consumption sequence; Accumulate all the power consumption sequences at the same time to generate a historical total power consumption sequence of the target user in the historical period, divide the historical total power consumption sequence into a plurality of sub-interval sequences based on a preset first time period, accumulate the values ​​contained in the sub-interval sequences and set them as the power consumption of the first time period, and set the minimum power consumption as the first threshold; A usage list of the electric device in the historical period is counted based on the usage frequency, a first prediction model is generated based on the usage list, a first prediction sequence of the electric device within the prediction time is generated based on the first prediction model, a second prediction model is established, the second prediction model outputs a second prediction sequence of the electric device within the prediction time based on the power consumption sequence, and the first prediction sequence and the second prediction sequence are combined to generate an energy consumption prediction sequence of the electric device within the prediction time; All the energy consumption prediction sequences are accumulated and set as the total power consumption of the target user during the prediction time, and a second threshold is set. If the total power consumption is greater than the second threshold, the usage list of the electrical equipment during the prediction time is adjusted based on the usage priority. If the total power consumption is less than or equal to the second threshold and greater than the first threshold, the difference between the total power consumption and the first threshold is set as the energy-saving value.

2. The method according to claim 1, characterized in that Generating the first prediction sequence comprises the following steps: Obtain the operation sequence of the electric device in the usage list, input the operation sequence and the power consumption sequence into a first formula to calculate a coefficient value a, wherein the first formula is: t =a0+a1×R t +a2×E+a3×R t ×E, a=(a0, a1, a2, a3), P t is the tth value in the power consumption sequence, R t is the t-th value in the operation sequence, E is the rated power, t is a positive integer from 1 to T, and T is the number of the power consumption sequence including the power consumption; The first prediction model calculates the nth value q in the first prediction sequence based on the second formula n , the second formula is: q n =a0+a1×T n +a2×E+a3×T n ×E, Q1=(q1, q2,...,q n ), where T n is the operating state of the electric device at the nth time point in the prediction time. If the operating state is on, the count is 1, otherwise it is 0. Q1 is the first prediction sequence.

3. The method according to claim 1, characterized in that Establishing the second prediction model includes: Smoothing the power consumption sequence to generate a first curve, obtaining the start time of the prediction time and setting it as the current time, calculating the time difference between any time point in the power consumption sequence and the current time, selecting a time point corresponding to a third threshold value where the time difference is the time difference and setting it as a segmentation point, and segmenting the first curve into a first sub-curve and a second sub-curve at the segmentation point; Based on the time length of the predicted time, starting from the ends of the first sub-curve and the second sub-curve and moving at a time point with a step length, the first sub-waveform adjacent to the current time is set as a reference waveform, the first sub-waveform and the second sub-waveform are clustered and a first number of sub-waveform sets are generated respectively, a subset included in the sub-waveform set is set as a waveform sample, a first similarity between the reference waveform and the waveform sample is calculated, and the waveform samples whose first similarity is greater than a fourth threshold are extracted and set as similar waveforms; Taking the reference waveform as the starting point, the step length as the moving distance, and the predicted time as the direction, the method sequentially moves, and based on the similar waveform, calculates the value corresponding to the first time point in the predicted time, and generates a first predicted waveform with the first time point as the end, and continues to move the first predicted waveform to calculate the value corresponding to the second time point in the predicted time, and generates a second predicted waveform, and repeats this step until the values ​​of all time points in the predicted time are calculated to construct the second prediction model.

4. The method according to claim 3, characterized in that Outputting the second prediction sequence of the electric device within the prediction time includes: Calculate the j-th value Y within the prediction time based on the third formula j , the third formula is: Y j =b1×X1+b2×X2+……+b m ×X m , where Y j is the jth predicted value, B=(b1,b2,……,b m ), B is the regression coefficient, X m is the mth value in the reference waveform, j is a positive integer from 1 to J, J is the number of time points included in the prediction time, Q2=(Y1, Y2, ..., Y j ), Q2 is the second prediction sequence.

5. The method according to claim 4, characterized in that Calculating the regression coefficient includes: All the similar waveforms are fitted based on the fourth formula, which is: i =b1×x (i,1) +b2×x (i,2) +……+b m × (i,m) , where i is a positive integer from 1 to I, I is the number of similar waveforms, B = (b1, b2, ..., b m ), B is the regression coefficient, y i is the value at the end of the ith similar waveform, x (i,m) is the mth value in the i-th similar waveform; The regression coefficient B is calculated so that the fifth formula obtains the minimum value K. The fifth formula is: Among them, β = (β1, β2,..., β i ), β is the weight coefficient of the similar waveform, and min() is the minimum value symbol.

6. The method according to claim 5, characterized in that Combining and generating the energy consumption prediction sequence of the electric equipment within the prediction time includes: Calculate the fth value W in the energy consumption prediction sequence based on the sixth formula f , the sixth formula is: W f =ε1×Q (1,f) +ε2×Q (2,f) , where ε1 and ε2 are reference coefficients, f is a positive integer from 1 to F, F is the number of time points included in the prediction time, Q (1,f) is the fth value in the first prediction sequence, Q (2,f) is the fth value in the second prediction sequence.

7. The method according to claim 1, characterized in that Adjusting the usage list of the electric device based on the usage priority comprises the following steps: The usage priority includes level one, level two and level three. If the total power consumption is greater than the second threshold, the power-consuming equipment with the usage priority level three is extracted and set as the regulating equipment. After shutting down any one of the regulating equipment, the new total power consumption is recalculated. This step is repeated to shut down the regulating equipment in turn based on the usage priority until the new total power consumption is less than or equal to the second threshold.

8. An energy-saving electricity control system, used to implement the method according to any one of claims 1 to 7, characterized in that: The system includes the following modules: A data acquisition module is used to count the target user's electrical equipment and set equipment tags for the electrical equipment, wherein the equipment tags include the use priority, rated power and use frequency of the electrical equipment, and to obtain the power consumption of the electrical equipment at the same time interval in the historical cycle and sequentially combine them into a power consumption sequence; a data classification module, accumulating all the power consumption sequences at the same time to generate a historical total power consumption sequence of the target user in the historical period, dividing the historical total power consumption sequence into a plurality of sub-interval sequences based on a preset first time period, accumulating the values ​​contained in the sub-interval sequences and setting them as the power consumption of the first time period, and setting the minimum power consumption as the first threshold; A data prediction module, which counts a usage list of the electric device in the historical period based on the usage frequency, generates a first prediction model of the electric device based on the usage list, generates a first prediction sequence of the electric device within a prediction time based on the first prediction model, establishes a second prediction model, the second prediction model outputs a second prediction sequence of the electric device within the prediction time based on the power consumption sequence, and combines the first prediction sequence and the second prediction sequence to generate an energy consumption prediction sequence of the electric device within the prediction time; The energy-saving control module accumulates all the energy consumption prediction sequences and sets them as the total power consumption of the target user within the prediction time, sets a second threshold, and if the total power consumption is greater than the second threshold, adjusts the usage list of the electrical equipment within the prediction time based on the usage priority; if the total power consumption is less than or equal to the second threshold and greater than the first threshold, sets the difference between the total power consumption and the first threshold as the energy-saving value.

9. A computer storage medium, characterized in that The computer storage medium stores program instructions, wherein when the program instructions are executed, the device where the computer storage medium is located is controlled to execute the method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Power budget distribution method and device

    CN119338275A

  • Power budget allocation method and device

    CN119338275B

  • Smart home control method and system based on multi-modal fusion and deep learning

    CN120630745A

  • Intelligent track socket reservation control method and system, electronic equipment and storage medium

    CN120914999A

  • Intelligent track socket reservation control method, system, electronic equipment and storage medium

    CN120914999B