Manufacturing industry demand response potential prediction method, computing device and storage medium
By constructing a demand response assessment model that considers multiple influencing factors, it solves the limitations of existing technology in assessing demand response potential in the manufacturing industry, improves prediction accuracy, and provides a more accurate reference for power grid resource dispatching.
Patent Information
- Application Number
- CN202410725919.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-09-10
AI Technical Summary
When existing technology evaluates the demand response potential of the manufacturing industry, quantitative research mainly focuses on user loads and does not fully consider factors such as weather and electricity prices, resulting in limitations and incompleteness of the assessment, affecting the stability and economy of power grid operations.
By extracting influencing factors such as load, time series, temperature and precipitation based on historical load data of users in the manufacturing industry, a demand response assessment model is constructed, using Lasso regression and Gaussian process regression models to screen characteristic factors, train a demand response potential prediction model, and optimize Evaluate accuracy.
It improves the accuracy of demand response potential prediction, provides a more comprehensive consideration of influencing factors, helps formulate reasonable resource allocation strategies, and ensures grid stability and economy.
Smart Images

Figure CN118627809A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method for predicting demand response potential in a manufacturing industry, a computing device, a computer program product and a storage medium. Background Art
[0002] At present, the qualitative evaluation of the potential for demand response has limitations in some aspects compared to the quantitative evaluation. Existing quantitative research mainly focuses on user load, but has certain limitations in the factors considered. There are few studies on the impact of factors such as weather and electricity prices on the potential for demand response. With the advancement of my country's "dual carbon" goals and the development of new power systems, the proportion of new energy continues to increase. In order to ensure the stable operation of the power grid and improve the economic efficiency of the power grid, it is particularly important to accurately know the demand response potential of each power user and formulate a reasonable resource allocation strategy. Summary of the invention
[0003] In view of the above problems, the present invention is proposed to provide a method, computing device, computing program product and storage medium for predicting demand response potential in the manufacturing industry that overcome the above problems or at least partially solve the above problems.
[0004] According to one aspect of the present invention, there is provided a method for predicting demand response potential in the manufacturing industry, which is executed in a computing device, and comprises: obtaining demand response potential evaluation data based at least on historical load data of users in the manufacturing industry; extracting characteristic factors that affect the demand response potential of the manufacturing industry by combining the demand response potential evaluation data and corresponding candidate influencing factor data; constructing training data for training a demand response potential prediction model by using the characteristic factor data and the demand response potential evaluation data, to train and generate the demand response potential prediction model, and inputting the user's day-ahead load data and characteristic factor data into the demand response potential prediction model to obtain a demand response potential prediction value.
[0005] Optionally, in the method for predicting demand response potential in the manufacturing industry according to the present invention, demand response potential assessment data is obtained based at least on historical load data of users in the manufacturing industry, including: using historical load data to determine the load data corresponding to the peak and valley time periods and each time point; constructing a demand response assessment model for users in the manufacturing industry based on the peak shaving demand response potential and the valley filling demand response potential; inputting the load data for the peak and valley time periods and each time point into the demand response assessment model for processing to determine each demand response potential assessment data, the demand response potential assessment data including the demand response potential assessment value at each time point.
[0006] Optionally, in the method for predicting the demand response potential of the manufacturing industry according to the present invention, a demand response evaluation model of users in the manufacturing industry is constructed, including:
[0007] Taking the minimum peak-to-valley difference and the minimum response cost as the objectives, the peak shaving demand response potential objective function and the valley filling demand response potential objective function are constructed respectively; the constraints on users' participation in demand response are determined; based on the peak shaving demand response potential objective function, the valley filling demand response potential objective function and the constraints, a demand response evaluation model is constructed.
[0008] Optionally, in the method for predicting the demand response potential of the manufacturing industry according to the present invention, the objective function is expressed as the following formula: F = ω1F1 + ω2F2 where, F2=min(L max -L min ), F1 is the minimum objective function of response cost, F2 is the minimum objective function of peak-to-valley difference, L max is the maximum daily load, L min is the daily minimum load, t0 is the start time of participating in demand response, t f is the end time of participating in demand response, D (t) The electricity price for users participating in demand response period, D (t) =L (t) *C (t) , L (t) is the power load at time t, C (t) is the electricity price at time t; when t0 and t f represents the start time and end time of the peak shaving demand response, F is the peak shaving demand response potential objective function, when t0 and t f When represents the start time and end time of participating in valley-filling demand response, F is the valley-filling demand response potential objective function.
[0009] Optionally, in the method for predicting the demand response potential of the manufacturing industry according to the present invention, the demand response potential evaluation data and the corresponding candidate influencing factor data are combined to extract characteristic factors affecting the demand response potential of the manufacturing industry, including:
[0010] Based on the demand response potential data and candidate influencing factor data, the Lasso regression model is used to screen out the characteristic factors that affect the demand response potential of the manufacturing industry from multiple alternative characteristic factors, where the alternative characteristic factors include at least one of load, wind speed, time sequence, precipitation, temperature and electricity price.
[0011] Optionally, in the method for predicting demand response potential of the manufacturing industry according to the present invention, characteristic factors affecting the demand response potential of the manufacturing industry are load, time sequence, temperature and precipitation.
[0012] Optionally, in the method for predicting demand response potential in the manufacturing industry according to the present invention, data of characteristic factors and demand response potential evaluation data are used to construct training data for training a demand response potential prediction model to train and generate a demand response potential prediction model, including: using characteristic factors and demand response potential evaluation data to construct a training set; using a Gaussian regression process to construct an initial demand response potential prediction model; and using the training set to train the initial demand response potential prediction model to obtain a demand response potential prediction model.
[0013] Optionally, in the manufacturing industry demand response potential prediction method according to the present invention, the training set is expressed as the following formula: T = {(X i ,Y i )}i=1,2,..,m, where m is the number of demand response potential assessment data, Y i =f(X i )+ε,X={x1,x2,...,x m} is the matrix of characteristic factors, Y={y1,y2,...,y n} is the demand response potential evaluation data set, f(x) is the Gaussian process equation, and ε is considered to be the noise in the data Y that obeys the Gaussian distribution.
[0014] Optionally, in the manufacturing industry demand response potential prediction method according to the present invention, the initial demand response potential prediction model is expressed as the following formula: f(x)~GP[μ(X),K(x a ,x b )]; Y~GP[μ(X),K(x a ,x b )+σ 2 I]; where μ(X) is the mean function of the training set T, K(x a ,x b ) is the covariance matrix of the training set T, σ is the standard deviation, and I is the identity matrix.
[0015] Optionally, in the method for predicting demand response potential in the manufacturing industry according to the present invention, an initial demand response potential prediction model is trained using a training set, including: using a first amount of data in the training set as training data; using a second amount of data in the training set as verification data, the first amount is greater than the second amount; using the training data to train the initial demand response potential prediction model; and using the verification data to adjust the parameters of the initial demand response potential prediction model.
[0016] Optionally, in the method for predicting demand response potential in the manufacturing industry according to the present invention, it also includes: when the user participates in demand response during the peak shaving period, the constraints include load reduction constraints, response time constraints and energy balance constraints; when the user participates in demand response during the valley filling period, the constraints include load increase constraints, response time constraints and energy balance constraints.
[0017] According to another aspect of the present invention, there is provided a computing device, comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be suitable for being executed by the at least one processor, and the program instructions include instructions for executing the above method.
[0018] According to another aspect of the present invention, a readable storage medium storing program instructions is provided. When the program instructions are read and executed by a computing device, the computing device executes the above method.
[0019] According to the solution of the present invention, by screening characteristic factors that are highly correlated with demand response potential, a prediction model for predicting demand response potential is trained to improve the accuracy of the prediction model. This improves the problems that some existing studies do not consider characteristic factors when evaluating demand response potential and do not consider influencing factors comprehensively.
[0020] According to the solution of the present invention, a manufacturing demand response evaluation model considering technical and economic constraints is proposed to evaluate the achievable demand response potential of the manufacturing industry. On this basis, the lasso regression model and the Gaussian process regression model are used to make short-term predictions on the demand response potential, providing a reference for resource scheduling of relevant departments.
[0021] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0023] Figure 1 A block diagram of the physical components (ie, hardware) of a computing device 100 is shown;
[0024] Figure 2 A flowchart of a method 200 for predicting demand response potential in a manufacturing industry according to an embodiment of the present invention is shown;
[0025] Figure 3 A schematic diagram showing the demand response potential evaluation values of the manufacturing industry at various time points on a certain day evaluated by using a demand response evaluation model according to an embodiment of the present invention;
[0026] Figure 4 An example diagram of a selection path of influencing factors of a Lasso regression model according to an embodiment of the present invention is shown;
[0027] Figure 5 A schematic diagram showing prediction results using a demand response potential prediction model according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0028] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0029] The power system must always maintain a balance between supply and demand. The traditional approach is to increase the output of generators when the load demand is high. However, peak load periods are often short-lived, and the increased investment in power generation and transmission and distribution to meet this demand has a low utilization rate. In addition, most peak load generators are high-cost, environmentally unfriendly thermal power units. Therefore, the balance between supply and demand can be achieved by reducing or delaying the power load on the demand side. This is the demand response. Demand response can be defined as: when the price of wholesale electricity rises or the reliability of the system is threatened, electricity users temporarily change their inherent habitual electricity consumption patterns based on price signals or incentives, reduce or shift the power load during a certain period of time, thereby ensuring the stability of the power grid system and suppressing the short-term behavior of rising electricity prices.
[0030] Improving the electricity demand response mechanism, giving full play to the role of demand-side resources in promoting electricity supply and demand balance and improving resource utilization efficiency, and establishing a more flexible demand-side resource management model are urgent requirements for power supply under the new situation. In order to improve the economy of the power grid and ensure the stability of the power grid, an accurate assessment of the demand response potential is extremely important.
[0031] At present, the qualitative evaluation of the potential for demand response has limitations in some aspects compared to the quantitative evaluation. Existing quantitative research mainly focuses on user load, but has certain limitations in the factors considered. There are few studies on the impact of factors such as weather and electricity prices on the potential for demand response. With the advancement of my country's "dual carbon" goals and the development of new power systems, the proportion of new energy continues to increase. In order to ensure the stable operation of the power grid and improve the economic efficiency of the power grid, it is particularly important to accurately know the demand response potential of each power user and formulate a reasonable resource allocation strategy.
[0032] In order to solve the problems existing in the above-mentioned prior art, the solution of the present invention is proposed. One embodiment of the present invention provides a method for predicting demand response potential in the manufacturing industry. The method trains a prediction model for predicting demand response potential by screening characteristic factors with a high correlation with demand response potential, thereby improving the accuracy of the prediction model and optimizing the problems that some existing studies do not consider characteristic factors when evaluating demand response potential and do not consider influencing factors comprehensively.
[0033] The method may be executed in a computing device 100. The computing device 100 may be implemented as a server, such as an application server, a Web server, etc.; it may also be implemented as a desktop computer, a laptop computer, a processor chip, a tablet computer, etc., but is not limited thereto. Figure 1 1 shows a block diagram of the physical components (i.e., hardware) of a computing device 100. In a basic configuration, the computing device 100 includes at least one processing unit 102 and a system memory 104. According to one aspect, depending on the configuration and type of the computing device, the system memory 104 includes, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read-only memory), flash memory, or any combination of such memories.
[0034] According to one aspect, system memory 104 includes operating system 105. System memory 104 also includes program modules 150. According to one aspect, operating system 105, for example, is suitable for controlling the operation of computing device 100. Furthermore, examples are practiced in conjunction with graphics libraries, other operating systems, or any other application programs, and are not limited to any particular application or system. Figure 1 This basic configuration is illustrated in FIG. 1 by those components within dashed line 108. According to one aspect, computing device 100 has additional features or functionality. For example, according to one aspect, computing device 100 includes additional data storage devices (removable and / or non-removable), such as magnetic disks, optical disks, or tapes. Such additional storage Figure 1 1 is illustrated by a removable storage device 109 and a non-removable storage device 110.
[0035] As stated above, according to one aspect, a program module 150 is stored in the system memory 104. According to one aspect, the program module 150 can be implemented as one or more computer program products. The present application does not limit the type of computer program products, and may include, for example, email, word processing applications, spreadsheet applications, database applications, slide show applications, painting or computer-aided applications, web browsers, etc. In some embodiments according to the present application, the computer programs / instructions related to the manufacturing industry demand response potential prediction method 200 are packaged as a computer program product. When these computer programs / instructions are executed by the processor (i.e., the processing unit 102), the manufacturing industry demand response potential prediction method 200 according to the present application is implemented.
[0036] According to one aspect, the examples may be practiced on a circuit comprising discrete electronic components, a packaged or integrated electronic chip containing logic gates, a circuit utilizing a microprocessor, or a single chip containing electronic components or a microprocessor. Figure 1 Each or many components shown in can be integrated into a system on a chip (SOC) on a single integrated circuit to practice examples. According to one aspect, such a SOC device may include one or more processing units, a graphics unit, a communication unit, a system virtualization unit, and various application functions, all of which are integrated (or "burned") into a chip substrate as a single integrated circuit. When operated via SOC, the functions described in this article can be operated via a dedicated logic integrated with other components of the computing device 100 on a single integrated circuit (chip). Embodiments of the present invention can also be practiced using other technologies capable of performing logical operations (such as AND, OR, and NOT), including but not limited to mechanical, optical, fluid, and quantum technologies. In addition, embodiments of the present invention can be practiced in a general-purpose computer or in any other circuit or system.
[0037] According to one aspect, the computing device 100 may also have one or more input devices 112, such as a keyboard, a mouse, a pen, a voice input device, a touch input device, etc. Output devices 114 may also be included, such as a display, a speaker, a printer, etc. The aforementioned devices are examples and other devices may also be used. The computing device 100 may include one or more communication connections 116 that allow communication with other computing devices 118, which may be printing devices, such as printers. Examples of suitable communication connections 116 include, but are not limited to: RF transmitters, receivers and / or transceiver circuits; Universal Serial Bus (USB), parallel and / or serial ports.
[0038] The term computer-readable medium as used herein includes computer storage media. Computer storage media may include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (e.g., computer-readable instructions, data structures, or program modules). System memory 104, removable storage device 109, and non-removable storage device 110 are all examples of computer storage media (i.e., memory storage). Computer storage media may include random access memory (RAM), read-only memory (ROM), electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices, or any other products that can be used to store information and can be accessed by computer device 100. According to one aspect, any such computer storage medium can be a part of computing device 100. Computer storage media does not include carrier waves or other propagated data signals.
[0039] According to one aspect, communication media is implemented by computer readable instructions, data structures, program modules, or other data in a modulated data signal (e.g., a carrier wave or other transport mechanism), and includes any information delivery media. According to one aspect, the term "modulated data signal" describes a signal that has one or more characteristics set or changed in a manner that encodes information in the signal. By way of example and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media.
[0040] In an embodiment according to the present invention, the computing device 100 is configured to execute the manufacturing industry demand response potential prediction method 200 according to the present invention. The computing device 100 includes one or more processors, and one or more readable storage media storing program instructions. When the program instructions are configured to be executed by one or more processors, the computing device executes the manufacturing industry demand response potential prediction method 200 in the embodiment of the present invention.
[0041] Figure 2 The flowchart of a method 200 for predicting demand response potential in the manufacturing industry according to an embodiment of the present invention is shown. The method 200 is suitable for being executed in a computing device (such as the aforementioned computing device 100).
[0042] like Figure 2 As shown, the purpose of method 200 is to implement a method for training a prediction model for predicting demand response potential by screening characteristic factors that are highly correlated with demand response potential, thereby improving the accuracy of the prediction model.
[0043] The method 200 begins at step 202 , in which demand response potential assessment data is obtained based on at least historical load data of manufacturing industry users.
[0044] Specifically, first, using historical load data, determine the peak and valley periods and the load data corresponding to each time point. In this embodiment, the peak and valley periods refer to the peak and valley periods of electricity demand. Generally speaking, demand response can be understood as industrial users accepting the invitation of the power company and actively changing the time of electricity use, not using electricity or using less electricity during the response period (peak period), and then producing during the valley period (valley period).
[0045] The historical load data can be obtained by querying the local manufacturing-related data website, or consulting the local manufacturing-related statistical department, and this application does not limit this.
[0046] Subsequently, based on the peak shaving demand response potential and valley filling demand response potential, a demand response evaluation model for users in the manufacturing industry is constructed.
[0047] Among them, building a demand response evaluation model for manufacturing industry users specifically includes the following steps:
[0048] 1. Taking the minimum peak-to-valley difference and the minimum response cost as the objectives, the peak-shaving demand response potential objective function and the valley-filling demand response potential objective function are constructed respectively.
[0049] Among them, the objective function is expressed as the following formula:
[0050] F=ω1F1+ω2F2
[0051] in, F2=min(L max -L min ), F1 is the minimum objective function of response cost, F2 is the minimum objective function of peak-to-valley difference, L max is the maximum daily load, L min is the daily minimum load, t0 is the start time of participating in demand response, t f is the end time of participating in demand response, when t0 and t f represents the start time and end time of the peak shaving demand response, F is the peak shaving demand response potential objective function, when t0 and t f When represents the start time and end time of participating in valley-filling demand response, F is the valley-filling demand response potential objective function.
[0052] D (t) The electricity price for users participating in demand response period, D (t) =L (t) *C (t) , L (t) is the power load at time t, C(t) is the electricity price at time t.
[0053] 2. Determine the constraints for users to participate in demand response. In this embodiment, when users participate in demand response during the peak shaving period, the constraints include load reduction constraints, response time constraints, and energy balance constraints; when users participate in demand response during the valley filling period, the constraints include load increase constraints, response time constraints, and energy balance constraints.
[0054] The constraints of the peak shaving demand response potential objective function and the valley filling demand response potential objective function are introduced below:
[0055] (1) Constraints of the peak demand response potential objective function:
[0056] Load reduction constraint: The maximum load reduction amount of the user in each period cannot exceed the maximum theoretical demand response potential of that period.
[0057] Among them, the theoretical demand response peak shaving potential of users in period t is f up (t) is
[0058] f up (t) = L(t)*λ
[0059] Where L(t) is the load of the user in period t, f t (i) is the theoretical demand response peak shaving potential. λ is the proportion of flexible load of the user during this period.
[0060] In addition, the difference between the load after peak-hour reduction and the daily minimum load should not exceed the theoretical peak-shaving potential value of the user participating in demand response:
[0061]
[0062] Where, L min is the minimum daily load, is the maximum load that can be cut, t up is the peak shaving period, l i is the load at the i-th moment during the peak period.
[0063] Theoretical maximum peak shaving demand response potential F up is the minimum of the two constraints:
[0064]
[0065] The load reduction constraint is as follows. If there is a response during this period, 1 if there is a response, 0 if there is no response.
[0066]
[0067] Response time constraint: refers to different types of users, and different response intentions in different time periods. Some users will not participate in demand response during the responsive period due to their own industry characteristics. The response time constraint is expressed by the following formula:
[0068]
[0069] Among them, τ1 represents the time period during which the response cannot be participated.
[0070] Energy balance constraint: refers to the fact that the total load value after load transfer cannot be greater than the initial load to meet the energy balance requirements of the industry. The energy balance constraint is expressed by the following formula:
[0071]
[0072] In the formula, α t Indicates the direction of load transfer, that is, time t is the load transfer time, then α t =1, if time t is the load acceptance time, then α t =-1.
[0073] (2) Constraints of valley filling demand response potential objective function:
[0074] Load increase constraint: The maximum increase in each period of the industry cannot exceed the maximum theoretical valley-filling demand response potential of the period. The theoretical valley-filling demand response potential of the user in period t is f down (t) is
[0075] f down (t) = L(t)*λ
[0076] Where L(t) is the load of the user in period t, f t (i) is the theoretical demand response peak shaving potential. λ is the proportion of flexible load of the user during this period.
[0077] In addition, the difference between the load after the off-peak period and the daily maximum load should not exceed the theoretical valley-filling potential value of the user participating in demand response:
[0078]
[0079] Where, L max is the maximum daily load, is the maximum load that can be filled in the valley, t down is the valley filling period, l j is the load at the jth moment in the valley period.
[0080] Theoretical maximum valley filling demand response potential F down is the minimum of the two constraints:
[0081]
[0082] The load increase constraint is as follows: If there is a response during this period, 1 if there is a response, 0 if there is no response.
[0083]
[0084] Response time constraint: refers to different types of users, and different response intentions in different time periods. Some users will not participate in demand response during the responsive period due to their own industry characteristics. The response time constraint is expressed by the following formula:
[0085]
[0086] Among them, τ1 represents the time period during which the response cannot be participated.
[0087] Energy balance constraint: refers to the fact that the total load value after load transfer cannot be greater than the initial load to meet the energy balance requirements of the industry. The energy balance constraint is expressed by the following formula:
[0088]
[0089] In the formula, α t Indicates the direction of load transfer, that is, time t is the load transfer time, then α t =1, if time t is the load acceptance time, then α t =-1.
[0090] 3. Based on the peak shaving demand response potential objective function, the valley filling demand response potential objective function and the constraints, a demand response evaluation model is constructed.
[0091] Finally, the load data of peak and valley periods and each time point are input into the demand response evaluation model for processing to determine the demand response potential evaluation data. The demand response potential evaluation data includes the demand response potential evaluation value at each time point.
[0092] In a specific example, Figure 3 A schematic diagram showing the demand response potential evaluation values of the manufacturing industry at various time points on a certain day evaluated by using a demand response evaluation model according to an embodiment of the present invention.
[0093] exist Figure 3 In the figure, the valley filling demand response potential is represented by a positive number, and the peak shaving demand response potential is represented by a negative number. As shown in the figure, the maximum duration of the manufacturing industry's participation in demand response is two hours, that is, if the manufacturing industry does not participate in demand response at 1 o'clock, and then participates in demand response at 2 o'clock and 3 o'clock, it will not participate in demand response at 4 o'clock to ensure production.
[0094] Among them, the manufacturing industry will not participate in demand response at 12:00 and 18:00. It can be seen that the results of the demand response evaluation model are in line with expectations. The peak period planned locally is shaving the peak (as shown in Table 1 below) and the valley period is filling the valley. In the manufacturing industry load, the valley load is higher and the peak load is lower.
[0095] Table 1
[0096] peak valley flat Time 9:00-11:00,15:00-22:00 0:00-7:00,12:00-14:00 Other time periods Electricity Prices 0.9203 0.3249 0.6226
[0097] After the demand response potential evaluation data is obtained through step 220, step 240 is entered to extract characteristic factors affecting the demand response potential of the manufacturing industry by combining the demand response potential evaluation data and the corresponding candidate influencing factor data.
[0098] Specifically, it includes: based on demand response potential data and candidate influencing factor data, using the Lasso regression model, selecting characteristic factors that affect the demand response potential of the manufacturing industry from multiple alternative characteristic factors, wherein the alternative characteristic factors include at least one of load, wind speed, time series, precipitation, temperature and electricity price.
[0099] In some embodiments, the Lasso regression model is a reduction method that shrinks the regression coefficients within a certain region. The basic principle is to construct a first-order penalty function to obtain a refined model, and to perform feature screening by ultimately determining the coefficients of some variables to be 0.
[0100] The Lasso regression model can be expressed as follows:
[0101]
[0102] In the formula, x ij is the explanatory variable (corresponding to the alternative characteristic factor of this embodiment), y j is the explained variable (corresponding to the demand response potential data of this embodiment); is the residual sum of squares, α is the intercept term, β j is the regression coefficient, For penalty items.
[0103] It is easy to understand that the complexity of the Lasso regression model is controlled by λ. The larger the λ, the greater the penalty for linear models with more variables, thus ultimately obtaining a model with fewer variables.
[0104] Figure 4 An example diagram of a selection path of influencing factors of a Lasso regression model according to an embodiment of the present invention is shown. Figure 4Each curve in the figure represents the change trajectory of an independent variable coefficient. The ordinate is the value of the coefficient, and the abscissa is log(λ). It can be seen that as the λ value changes, the variables whose coefficients are compressed to 0 later are more important. Based on this feature of the Lasso regression model, we can screen indicators with relatively large influence.
[0105] In a specific example, the actual hourly load data of a manufacturing industry in a certain place for 30 consecutive days are selected, and the demand response potential evaluation data obtained by the above demand response evaluation model and the alternative characteristic factors (load, wind speed, time series, precipitation, temperature and electricity price) are used as basic data. The influencing factors are screened through the Lasso regression model to remove the influencing factors that are not related to the demand response potential. The results are shown in Table 2.
[0106] Table 2
[0107]
[0108]
[0109] The coefficient of wind speed and electricity price is 0, indicating that there is no obvious relationship between electricity price and demand response potential. Other factors are correlated with demand response potential, and timing has the greatest impact.
[0110] Therefore, it can be concluded that the characteristic factors affecting the demand response potential of the manufacturing industry are load, timing, temperature and precipitation.
[0111] After determining the characteristic factors that affect the demand response potential of the manufacturing industry, proceed to step 206, use the characteristic factor data and the demand response potential evaluation data to construct training data for training the demand response potential prediction model, to train and generate the demand response potential prediction model, and input the user's day-ahead load data and characteristic factor data into the demand response potential prediction model to obtain the demand response potential prediction value.
[0112] Among them, the generation process of the demand response potential prediction model is as follows:
[0113] First, a training set is constructed using characteristic factors and demand response potential assessment data.
[0114] The training set is expressed as the following formula:
[0115] T={(X m ,Y m )}i=1,2,..,m
[0116] Where m is the number of demand response potential assessment data, Y i =f(X i )+ε,X={x1,x2,...,x m} is the matrix of characteristic factors, Y={y1,y2,...,y n} is the demand response potential evaluation data set, f(x) is the Gaussian process equation, and ε is considered to be the noise in the data Y that obeys the Gaussian distribution.
[0117] Then, the Gaussian regression process is used to construct the initial demand response potential prediction model.
[0118] The initial demand response potential prediction model is expressed as the following formula:
[0119] f(x)~GP[μ(X),K(x a ,x b )];
[0120] Y~GP[μ(X),K(x a ,x b )+σ 2 I];
[0121] Among them, μ(X) is the mean function of the training set T, K(x a ,x b ) is the covariance matrix of the training set T, σ is the standard deviation, and I is the identity matrix.
[0122] Finally, the initial demand response potential prediction model is trained using the training set to obtain a demand response potential prediction model.
[0123] In order to verify the data effect of the above Gaussian process regression model, it is necessary to select another part of the data to evaluate the demand response potential, compare it with the prediction results and confidence intervals of the Gaussian process regression, and judge the effectiveness of the results by the proportion of the true value falling in the confidence interval. Therefore, in some embodiments, training the initial demand response potential prediction model using the training set includes the following sub-steps:
[0124] 1. Use the first amount of data in the training set as training data.
[0125] 2. The second amount of data in the training set is used as the verification data, and the first amount is greater than the second amount. For example, 90% of the data in the training set is used as the training data, and 10% of the data is used as the verification data. Or if the training set contains data from the 1st to the 30th of a certain month, the data from the 1st to the 27th can be used as the training data, and the data from the 28th to the 30th can be used as the verification data.
[0126] 3. Use the training data to train the initial demand response potential prediction model.
[0127] 4. Use the validation data to adjust the parameters of the initial demand response potential prediction model.
[0128] In a specific example, 90% of the data in the training set is used as training data, and 10% of the data is used as verification data. The above demand response potential prediction model is used for prediction, and the following is obtained: Figure 5 The prediction results are shown.
[0129] It can be seen that the prediction result curve is close to the actual demand response potential curve at most time points. Overall, most of the true values fall within the 95% confidence interval. Except for one or two time points, all fall within the 99% confidence interval. The prediction results are good.
[0130] The method provided by the present invention trains a prediction model for predicting demand response potential by screening characteristic factors that are highly correlated with demand response potential, thereby improving the accuracy of the prediction model and optimizing the problems that some existing studies do not consider characteristic factors when evaluating demand response potential and do not consider influencing factors comprehensively.
[0131] The method provided by the present invention proposes a manufacturing demand response evaluation model that takes into account technical and economic constraints to evaluate the achievable demand response potential of the manufacturing industry. On this basis, the lasso regression model and the Gaussian process regression model are used to make short-term predictions on the demand response potential, providing a reference for resource scheduling of relevant departments.
[0132] The various techniques described herein may be implemented in combination with hardware or software, or a combination thereof. Thus, the method and apparatus of the present invention, or some aspects or parts of the method and apparatus of the present invention may be in the form of program codes (i.e., instructions) embedded in a tangible medium, such as a removable hard disk, a USB flash drive, a floppy disk, a CD-ROM, or any other machine-readable storage medium, wherein when the program is loaded into a machine such as a computer and executed by the machine, the machine becomes a device for practicing the present invention.
[0133] A9. The method as described in A8, wherein the initial demand response potential prediction model is expressed as the following formula: f(x)~GP[μ(X),K(x a ,x b )]; Y~GP[μ(X),K(x a ,x b )+σ 2 I]; where μ(X) is the mean function of the training set T, K(x a ,x b) is the covariance matrix of the training set T, σ is the standard deviation, and I is the unit matrix. A10. A method as described in A8, wherein the initial demand response potential prediction model is trained using the training set, comprising: using a first amount of data in the training set as training data; using a second amount of data in the training set as verification data, wherein the first amount is greater than the second amount; using the training data to train the initial demand response potential prediction model; and using the verification data to adjust the parameters of the initial demand response potential prediction model. A11. A method as described in claim 3, wherein it also includes: when a user participates in demand response during a peak shaving period, the constraints include load reduction constraints, response time constraints, and energy balance constraints; when a user participates in demand response during a valley filling period, the constraints include load increase constraints, response time constraints, and energy balance constraints.
[0134] In the case where the program code is executed on a programmable computer, the computing device generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device. The memory is configured to store the program code; the processor is configured to execute the method of the present invention according to the instructions in the program code stored in the memory.
[0135] By way of example and not limitation, readable media include readable storage media and communication media. Readable storage media stores information such as computer readable instructions, data structures, program modules or other data. Communication media generally embody computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and include any information transfer medium. Any combination of the above is also included within the scope of readable media.
[0136] In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the examples of the present invention. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to implement the content of the present invention described herein, and the above description of specific languages is for the purpose of disclosing the preferred embodiment of the present invention.
[0137] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0138] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0139] Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in the devices described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.
[0140] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0141] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0142] In addition, some of the embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other devices that perform the functions. Therefore, a processor with necessary instructions for implementing the method or method elements forms a device for implementing the method or method elements. In addition, the elements described herein of the device embodiments are examples of devices for implementing the functions performed by the elements for the purpose of implementing the invention.
[0143] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved, and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.
[0144] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is selected primarily for readability and teaching purposes, rather than for explaining or defining the subject matter of the present invention. Therefore, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is illustrative and not restrictive with respect to the scope of the present invention, and the scope of the present invention is defined by the appended claims.
Claims
1. A method for predicting demand response potential in a manufacturing industry, executed in a computing device, the method comprising: Obtain demand response potential assessment data based on historical load data of at least manufacturing industry users; Combining the demand response potential evaluation data and the corresponding candidate influencing factor data, extracting characteristic factors that affect the demand response potential of the manufacturing industry; The characteristic factor data and the demand response potential evaluation data are used to construct training data for training the demand response potential prediction model to train and generate the demand response potential prediction model, and the user's day-ahead load data and characteristic factor data are input into the demand response potential prediction model to obtain the demand response potential prediction value.
2. The method of claim 1, wherein: The step of obtaining demand response potential assessment data based at least on historical load data of users in the manufacturing industry includes: Using the historical load data, determine the load data corresponding to the peak and valley periods and each time point; Based on the peak shaving demand response potential and valley filling demand response potential, a demand response evaluation model for users in the manufacturing industry is constructed; The load data of the peak and valley periods and each time point are input into the demand response evaluation model for processing to determine each demand response potential evaluation data, wherein the demand response potential evaluation data includes the demand response potential evaluation value at each time point.
3. The method of claim 2, wherein: Construct a demand response evaluation model for manufacturing industry users, including: Taking the minimum peak-valley difference and the minimum response cost as the objectives, the peak-shaving demand response potential objective function and the valley-filling demand response potential objective function are constructed respectively; Determine the constraints on users’ participation in demand response; Based on the peak shaving demand response potential objective function, the valley filling demand response potential objective function and the constraint conditions, the demand response evaluation model is constructed.
4. The method of claim 2, wherein: The objective function is expressed as the following formula: F=ω1F1+ω2F2 in, F2=min(L max -L min ), F1 is the minimum objective function of response cost, F2 is the minimum objective function of peak-to-valley difference, L max is the maximum daily load, L min is the daily minimum load, t0 is the start time of participating in demand response, t f is the end time of participating in demand response, D (t) The electricity price for users participating in demand response period, D (t) =L (t) *C (t) , L (t) is the power load at time t, C (t) is the electricity price at time t; when t0 and t f represents the start time and end time of participating in the peak shaving demand response, F is the peak shaving demand response potential objective function, when t0 and t f When represents the start time and end time of participating in valley-filling demand response, F is the valley-filling demand response potential objective function.
5. The method of claim 1, wherein: Combining the demand response potential evaluation data and the corresponding candidate influencing factor data, characteristic factors influencing the demand response potential of the manufacturing industry are extracted, including: Based on the demand response potential data and candidate influencing factor data, the Lasso regression model is used to screen out characteristic factors that affect the demand response potential of the manufacturing industry from multiple candidate characteristic factors, wherein the candidate characteristic factors include at least one of load, wind speed, time series, precipitation, temperature and electricity price.
6. The method of claim 5, wherein: The characteristic factors that affect the demand response potential of the manufacturing industry are load, time sequence, temperature and precipitation.
7. The method of claim 1, wherein: Using the data of the characteristic factors and the demand response potential evaluation data, constructing training data for training a demand response potential prediction model to train and generate the demand response potential prediction model, including: constructing a training set using the characteristic factors and the demand response potential assessment data; The Gaussian regression process is used to construct the initial demand response potential prediction model; The initial demand response potential prediction model is trained using the training set to obtain the demand response potential prediction model.
8. The method of claim 7, wherein: The training set is expressed as the following formula: T={(X i ,Y i )}i=1,2,..,m Where m is the number of demand response potential assessment data, Y i =f(X i )+ε,X={x1,x2,...,x m } is the matrix of the characteristic factors, Y = {y1, y2, ..., y n } is the demand response potential evaluation data set, f(x) is the Gaussian process equation, and ε is considered to be the noise in the data Y that obeys the Gaussian distribution.
9. A computing device comprising: at least one processor; and A memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, and the program instructions include instructions for executing the method according to any one of claims 1 to 11.
10. A readable storage medium storing program instructions, when the program instructions are read and executed by a computing device, the computing device executes the method according to any one of claims 1 to 11.
Citation Information
Cited By
Building demand response potential evaluation model construction method and device, equipment and medium
CN118735211A
Iron and steel industry load adjustable potential assessment method and system
CN119624251A
