Low-carbon park multi-energy coupling load prediction method based on deep learning

By using a multi-energy coupling load forecasting model optimized by deep learning and chaos algorithms in low-carbon parks, the problem of insufficient prediction accuracy and adaptability in the existing technology is solved, and more efficient and accurate load forecasting is achieved, which is suitable for modern parks. Energy management needs.

CN118761498AInactive Publication Date: 2024-10-11WENZHOU UNIV OUJIANG COLLEGE +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410854425.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology has low prediction accuracy and poor adaptability in multi-energy coupled load forecasting in low-carbon parks, and is difficult to meet the high standards of energy management in modern parks. It has limitations in processing multi-energy coupling, large-scale data and real-time prediction.

Method used

A method based on deep learning is used to collect load data and meteorological data, perform preprocessing and classification, establish a multi-energy coupling load prediction model, use chaos algorithm to optimize model parameters, and combine with GRU algorithm for prediction to enhance the generalization performance of the model.

Benefits of technology

It has significantly improved the accuracy and reliability of load forecasting, improved the adaptability and practicality of the model, and comprehensively considered meteorological factors and historical load data to make the forecast results more consistent with actual operating conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761498A_ABST
    Figure CN118761498A_ABST
Patent Text Reader

Abstract

The invention discloses a low-carbon park multi-energy coupling load prediction method based on deep learning, and the method comprises the steps: collecting load data and meteorological data of a low-carbon park, and carrying out the preprocessing of the load data; classifying the load data based on the meteorological data to obtain an input matrix; an initial population is randomly generated, each particle in the population comprises a group of parameters of a multi-energy coupling load prediction model, and the multi-energy coupling load prediction model is established through the parameters of the initial population and the input matrix; optimizing the particles through a chaos algorithm, and performing parameter optimization on the multi-energy coupling load prediction model through iterative evolution of a population; and inputting to-be-predicted data into the multi-energy coupling load prediction model to obtain a prediction result. According to the method, through integrating the meteorological data and the load data, accurate prediction is realized, and a scientific basis is provided for energy management of the low-carbon park.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of load forecasting, and in particular to a method for forecasting multi-energy coupled loads in a low-carbon park based on deep learning. Background Art

[0002] At present, with the advancement of low-carbon economy, the industrial park, as an important unit of energy consumption, has an increasingly urgent need for intelligent energy management. Traditional load forecasting methods mainly rely on empirical models, which have problems such as low prediction accuracy and poor adaptability, and are difficult to meet the high standards of energy management in modern industrial parks. Although machine learning methods have made certain progress in the field of load forecasting, the existing technology still has limitations in processing multi-energy coupling, large-scale data, and real-time prediction. In particular, there is still a lack of efficient and accurate solutions in the application of deep learning technology to multi-energy coupling load forecasting. The present invention aims to solve these problems and proposes a multi-energy coupling load forecasting method for low-carbon industrial parks based on deep learning, in order to improve the prediction accuracy and enhance the adaptability and practicality of the system. Summary of the invention

[0003] The purpose of the present invention is to provide a low-carbon park multi-energy coupling load forecasting method based on deep learning.

[0004] To achieve the above object, the present invention is implemented according to the following technical solutions:

[0005] The present invention comprises the following steps:

[0006] Collecting load data and meteorological data of the low-carbon park, and preprocessing the load data;

[0007] Classifying the load data based on the meteorological data to obtain an input matrix;

[0008] An initial population is randomly generated, each particle in the population contains a set of parameters of a multi-energy coupling load forecasting model, and a multi-energy coupling load forecasting model is established through the parameters of the initial population and the input matrix;

[0009] The particles are optimized by a chaos algorithm, and the parameters of the multi-energy coupling load prediction model are optimized by iterative evolution of the population;

[0010] The data to be predicted is input into the multi-energy coupling load prediction model to obtain the prediction result.

[0011] Furthermore, the method for preprocessing the load data includes:

[0012] The load data includes electric load data, cooling load data and heating load data. Vertical and horizontal judgments are used to detect and correct abnormalities in the load data:

[0013] Vertical judgment:

[0014] The load data is classified according to working days and rest days, and the dates that are both working days or rest days are regarded as similar days. The load data at the same time on similar days are judged as abnormal points:

[0015] |P(t)-P mean |>ε t

[0016] Where P(t) is the load data at time t, P mean is the average value of load data at time t on similar days, ε t is the outlier threshold,

[0017] Correction of outliers:

[0018]

[0019] Level judgment:

[0020] max[|P(t)-P(t-1)|,|P(t)-P(t+1)|]>ξ t

[0021] Where P(t-1) is the load data at the moment before time t, P(t+1) is the load data at the moment after time t, ξ is the preset abnormal threshold. When the data point at time t is horizontally judged as an abnormal point, the mean of the load data at time t-1 and time t+1 is taken as the correction value at time t. The empirical mode decomposition method is used to filter the load data, remove noise data, and standardize the deviation of the load data.

[0022] Furthermore, the method of classifying the load data based on the meteorological data to obtain an input matrix includes:

[0023] Meteorological data includes temperature data and humidity data. Data points are established based on the meteorological data corresponding to the load data, and the load data is classified. The preset classification categories include cooling season, heating season and mild season:

[0024] Probability density function of Gaussian distribution:

[0025]

[0026] Where y represents the data point, represents the mean vector, represents the covariance matrix, is the determinant of the covariance matrix, M represents the dimension of the data point, T represents the transpose, η is the noise term, and the Gaussian probability density function of the data point is:

[0027]

[0028] Where Γ is the weight coefficient of the Gaussian distribution, J represents the number of Gaussian distributions, j represents the index of the Gaussian distribution, and the expectation of the Gaussian probability density function is:

[0029]

[0030] in It represents the expected value of the i-th data point for the j-th Gaussian distribution in the t-th iteration, v is the uniform mixing parameter, and the weight coefficient is updated:

[0031]

[0032] Where N represents the number of data points and the mean vector is updated as:

[0033]

[0034] Where λ is the regularization term and the update of the covariance matrix is:

[0035]

[0036] In the cooling season, load data and meteorological data form the input matrix:

[0037]

[0038] Among them, x e is the electric load data, x c is the cooling load data, x t is the temperature data, x w The time of humidity data, electric load data and cooling load data includes the current time, the day before the current time, the day before the previous time and the previous time.

[0039] During the heating season, the data inputs form the matrix:

[0040]

[0041] In the formula, x h It is the heating load. The mild season does not include cooling load data and heating load data.

[0042] Furthermore, a method for randomly generating an initial population, wherein each particle in the population contains a set of parameters of a multi-energy coupling load prediction model, comprises:

[0043] The number of neurons and the number of iterations of each layer of GRU in the multi-energy coupling load forecasting model are optimized using the particle swarm algorithm:

[0044]

[0045] Where V is the velocity of the particle, k is the number of iterations, i is the index of the particle, ω is the inertia weight, X is the position of the particle, G b represents the position of the global optimal particle, P ib is the historical optimal position of particle i, c1 and c2 are learning factors, r1 and r2 are random values ​​between 0 and 1, ζ is a constant, υ is a random number, indicating random oscillation,

[0046] Calculate the current fitness mean f of the particle a and the mean f of particles with a fitness higher than the mean fitness ab The fitness of the particle is the inverse of the objective function value of the multi-energy coupling load prediction model. The fitness of the particle is less than or equal to f a When , the calculation formula of inertia weight is:

[0047]

[0048] Among them, ω max and ω min are the maximum inertia weight and the minimum inertia weight, ω a is the average inertia weight, r is a random value between 0 and 1,

[0049] The fitness of the particle is greater than f a , which is less than f ab When , the calculation formula of inertia weight is:

[0050]

[0051] Where, t s is the current number of iterations, T is the maximum number of iterations set,

[0052] The fitness of the particle is greater than f ab When , the calculation formula of inertia weight is:

[0053]

[0054] The fitness of a particle is equal to f ab When ω=ω min .

[0055] Furthermore, the method for establishing a multi-energy coupling load forecasting model through the parameters of the initial population and the input matrix includes:

[0056] The input matrix is ​​input into the multi-energy coupling load prediction model to predict the load data. The multi-energy coupling load prediction model adopts the GRU algorithm, and the objective function is:

[0057]

[0058] Where Θ represents the parameters of the multi-energy coupling load forecasting model, T is the length of the time series, and Y t is the load data at time t, is the predicted load data at time t, w1 is the square error The weight factor, w2 is the absolute error The weight factor of is the L1 regularization term, is the L2 regularization term, γ∑ i<j Θ i Θ j is the regularization term for the interaction between parameters, α, β and γ are the regularization weights, i and j are the indexes of the parameters, n is the number of parameters, and the predicted load data is denormalized.

[0059] Furthermore, the method of optimizing the particles by a chaos algorithm and optimizing the parameters of the multi-energy coupling load prediction model by iterative evolution of the population includes:

[0060] Normalize each dimension of the individual optimal position sequence and update the particles:

[0061]

[0062] In the formula, is the individual optimal position of the tth iteration of the i-th dimension, r is the control parameter, and its value is between 3.57 and 4, mod represents the remainder operator, and mod1 represents the modulo operation with 1 as the divisor.

[0063] The updated particles are denormalized to obtain a new solution, and the fitness of the new solution is calculated. When the fitness of the new solution is higher than the current optimal fitness, the new solution is used to replace the original particles.

[0064] In a second aspect, an embodiment of the present application further provides an electronic device, including:

[0065] A processor; and a memory arranged to store computer executable instructions, which when executed cause the processor to perform the method steps described in the first aspect.

[0066] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by an electronic device including multiple applications, the electronic device executes the method steps described in the first aspect.

[0067] The beneficial effects of the present invention are:

[0068] The present invention is a method for predicting multi-energy coupling load in a low-carbon park based on deep learning. Compared with the prior art, the present invention has the following technical effects:

[0069] The use of deep learning technology has significantly improved the accuracy and reliability of load forecasting. The chaos optimization algorithm has enhanced the ability to optimize model parameters and improved the generalization performance of the prediction model. Meteorological factors and historical load data have been comprehensively considered to make the prediction results more in line with actual operating conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1 This is a flowchart of the steps of a method for predicting multi-energy coupling load in a low-carbon park based on deep learning according to the present invention;

[0071] Figure 2 It is a schematic diagram of the structure of an electronic device in an embodiment of this specification. DETAILED DESCRIPTION

[0072] The present invention is further described below by means of specific embodiments. The illustrative embodiments and descriptions of the present invention are used to explain the present invention but are not intended to limit the present invention.

[0073] The present invention provides a method for predicting multi-energy coupling load in a low-carbon park based on deep learning, comprising the following steps:

[0074] like Figure 1 As shown, in this embodiment, the following steps are included:

[0075] Collecting load data and meteorological data of the low-carbon park, and preprocessing the load data;

[0076] In the actual assessment, the electricity load data, cooling load data, heating load data, and meteorological data of the low-carbon park in the past year were collected;

[0077] Classifying the load data based on the meteorological data to obtain an input matrix;

[0078] In the actual evaluation, the load data from June to August were divided into the cooling season, December to February into the heating season, and the remaining months into the mild season according to the meteorological data;

[0079] An initial population is randomly generated, each particle in the population contains a set of parameters of a multi-energy coupling load forecasting model, and a multi-energy coupling load forecasting model is established through the parameters of the initial population and the input matrix;

[0080] In the actual evaluation, the initial population size is set to 50, each particle represents a set of GRU model parameters, including the number of neurons in the two layers of GRU is 20 and 50 respectively, and the number of iterations is 100;

[0081] The particles are optimized by a chaos algorithm, and the parameters of the multi-energy coupling load prediction model are optimized by iterative evolution of the population;

[0082] Inputting the data to be predicted into the multi-energy coupling load prediction model to obtain a prediction result;

[0083] In the actual evaluation, the data to be predicted are: August 5 (working day in the cooling season), electricity load and cooling load: hourly data from 15:00 on the same day to 15:00 on the next day, a total of 24 data points, meteorological data: temperature range 28℃ to 32℃, humidity 70% to 80%, January 15 (working day in the heating season), electricity load and heating load: hourly data from 15:00 on the same day to 15:00 on the next day, a total of 24 data points, meteorological data: temperature range -2℃ to 2℃, humidity 30% to 40%,

[0084] Forecast of load changes in the next 24 hours: Forecast results on August 5, the predicted value range of electric load is: 900kW to 1100kW, the predicted value range of cooling load is: 1.0GJ to 1.5GJ; Forecast results on January 15, the predicted value range of electric load is: 800kW to 1000kW, the predicted value range of cooling load is: 0.8GJ to 1.2GJ.

[0085] In this embodiment, the method for preprocessing the load data includes:

[0086] The load data includes electric load data, cooling load data and heating load data. Vertical and horizontal judgments are used to detect and correct abnormalities in the load data:

[0087] Vertical judgment:

[0088] The load data is classified according to working days and rest days, and the dates that are both working days or rest days are regarded as similar days. The load data at the same time on similar days are judged as abnormal points:

[0089] |P(t)-P mean |>ε t

[0090] Where P(t) is the load data at time t, P mean is the average value of load data at time t on similar days, ε t is the outlier threshold,

[0091] Correction of outliers:

[0092]

[0093] Level judgment:

[0094] max[|P(t)-P(t-1)|,|P(t)-P(t+1)|]>ξ t

[0095] Where P(t-1) is the load data before time t, P(t+1) is the load data after time t, ξ is the preset abnormal threshold. When the data point at time t is judged as an abnormal point, the mean of the load data at time t-1 and time t+1 is taken as the correction value at time t, and the empirical mode decomposition method is used to filter the load data to remove noise data:

[0096] Determine the local maximum and minimum values ​​of the load data and fit the upper and lower envelopes with cubic spline curves.

[0097] Calculate the average of the upper and lower envelopes to get the first candidate for the eigenmode function,

[0098] Subtract the candidate of the intrinsic mode function from the load data to obtain a new load data sequence, and repeat the above two steps until the conditions of the intrinsic mode function are met or the residual is less than the preset value.

[0099] Repeat the above process until the load data is decomposed into several intrinsic mode functions and a trend term.

[0100] Each intrinsic mode function represents the local characteristics of the load data at different time scales. By selectively reconstructing the intrinsic mode function and removing the noise data,

[0101] The load data were normalized for deviation.

[0102] In this embodiment, the method of classifying the load data based on the meteorological data to obtain an input matrix includes:

[0103] Meteorological data includes temperature data and humidity data. Data points are established based on the meteorological data corresponding to the load data, and the load data is classified. The preset classification categories include cooling season, heating season and mild season:

[0104] Probability density function of Gaussian distribution:

[0105]

[0106] Where y represents the data point, represents the mean vector, represents the covariance matrix, is the determinant of the covariance matrix, M represents the dimension of the data point, T represents the transpose, η is the noise term, and the Gaussian probability density function of the data point is:

[0107]

[0108] Where Γ is the weight coefficient of the Gaussian distribution, J represents the number of Gaussian distributions, j represents the index of the Gaussian distribution, and the expectation of the Gaussian probability density function is:

[0109]

[0110] in It represents the expected value of the i-th data point for the j-th Gaussian distribution in the t-th iteration, v is the uniform mixing parameter, and the weight coefficient is updated:

[0111]

[0112] Where N represents the number of data points and the mean vector is updated as:

[0113]

[0114] Where λ is the regularization term and the update of the covariance matrix is:

[0115]

[0116] In the cooling season, load data and meteorological data form the input matrix:

[0117]

[0118] Among them, x e is the electric load data, the unit is kw, x c is the cooling load data, the unit is GJ, x t is the temperature data, the unit is ℃, x w is humidity data, the unit is %, the time of electric load data and cooling load data includes the current time, the day before the current time, the day before the previous time and the previous time,

[0119] During the heating season, the data inputs form the matrix:

[0120]

[0121] In the formula, x h It is the heat load in GJ. The warm season does not include cooling load data and heating load data.

[0122] In this embodiment, a method for randomly generating an initial population, wherein each particle in the population contains a set of parameters of a multi-energy coupling load prediction model, includes:

[0123] The number of neurons and the number of iterations of each layer of GRU in the multi-energy coupling load forecasting model are optimized using the particle swarm algorithm:

[0124]

[0125] Where V is the velocity of the particle, k is the number of iterations, i is the index of the particle, ω is the inertia weight, X is the position of the particle, G b represents the position of the global optimal particle, P ib is the historical optimal position of particle i, c1 and c2 are learning factors, r1 and r2 are random values ​​between 0 and 1, ζ is a constant, υ is a random number, indicating random oscillation,

[0126] Calculate the current fitness mean f of the particle a and the mean f of particles with a fitness higher than the mean fitness ab The fitness of the particle is the inverse of the objective function value of the multi-energy coupling load prediction model. The fitness of the particle is less than or equal to f a When , the calculation formula of inertia weight is:

[0127]

[0128] Among them, ω max and ω min are the maximum inertia weight and the minimum inertia weight, ω a is the average inertia weight, r is a random value between 0 and 1,

[0129] The fitness of the particle is greater than f a , which is less than f ab When , the calculation formula of inertia weight is:

[0130]

[0131] Where, t s is the current number of iterations, T is the maximum number of iterations set,

[0132] The fitness of the particle is greater than f ab When , the calculation formula of inertia weight is:

[0133]

[0134] The fitness of a particle is equal to f ab When ω=ω min .

[0135] In this embodiment, the method of establishing a multi-energy coupling load forecasting model by using the parameters of the initial population and the input matrix includes:

[0136] The input matrix is ​​input into the multi-energy coupling load prediction model to predict the load data. The multi-energy coupling load prediction model adopts the GRU algorithm, and the objective function is:

[0137]

[0138] Where Θ represents the parameters of the multi-energy coupling load forecasting model, T is the length of the time series, and Y t is the load data at time t, is the predicted load data at time t, w1 is the square error The weight factor, w2 is the absolute error The weight factor of is the L1 regularization term, is the L2 regularization term, γ∑ i<j Θ i Θ j is the regularization term for the interaction between parameters, α, β and γ are the regularization weights, i and j are the indexes of the parameters, n is the number of parameters, and the predicted load data is denormalized.

[0139] In this embodiment, the method of optimizing the particles by a chaos algorithm and optimizing the parameters of the multi-energy coupling load prediction model by iterative evolution of the population includes:

[0140] Normalize each dimension of the individual optimal position sequence and update the particles:

[0141]

[0142] In the formula, is the individual optimal position of the tth iteration of the i-th dimension, r is the control parameter, and its value is between 3.57 and 4, mod represents the remainder operator, and mod1 represents the modulo operation with 1 as the divisor.

[0143] The updated particles are denormalized to obtain a new solution, and the fitness of the new solution is calculated. When the fitness of the new solution is higher than the current optimal fitness, the new solution is used to replace the original particles.

[0144] Figure 2 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 2 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0145] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0146] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0147] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a user intention recognition device for a multi-dimensional human-computer interaction scene at the logical level. The processor executes the program stored in the memory and is specifically used to execute any of the aforementioned low-carbon park multi-energy coupling load prediction methods based on deep learning.

[0148] The above application Figure 1The embodiment shown discloses a method for predicting multi-energy coupled loads in a low-carbon park based on deep learning, which can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in a decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0149] The electronic device may also perform Figure 1 A multi-energy coupling load forecasting method for low-carbon parks based on deep learning is implemented Figure 1 The functions of the illustrated embodiment will not be described in detail in the embodiments of the present application.

[0150] An embodiment of the present application also proposes a computer-readable storage medium, which stores one or more programs, and the one or more programs include instructions. When the instructions are executed by an electronic device including multiple applications, any one of the aforementioned low-carbon park multi-energy coupling load forecasting methods based on deep learning is executed.

[0151] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0152] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0153] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0154] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0155] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0156] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0157] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0158] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0159] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0160] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for forecasting multi-energy coupling load in low-carbon parks based on deep learning. It is characterized in that The following steps are involved: Collecting load data and meteorological data of the low-carbon park, and preprocessing the load data; Classifying the load data based on the meteorological data to obtain an input matrix; An initial population is randomly generated, each particle in the population contains a set of parameters of a multi-energy coupling load forecasting model, and a multi-energy coupling load forecasting model is established through the parameters of the initial population and the input matrix; The particles are optimized by a chaos algorithm, and the parameters of the multi-energy coupling load prediction model are optimized by iterative evolution of the population; The data to be predicted is input into the multi-energy coupling load prediction model to obtain the prediction result.

2. According to the method for predicting multi-energy coupling load in a low-carbon park based on deep learning in claim 1, It is characterized in that The method for preprocessing the load data comprises: The load data includes electric load data, cooling load data and heating load data. Vertical and horizontal judgments are used to detect and correct abnormalities in the load data: Vertical judgment: The load data is classified according to working days and rest days, and the dates that are both working days or rest days are regarded as similar days. The load data at the same time on similar days are judged as abnormal points: P(t)-Pneanl>6 Where P(t) is the load data at time t, Pmea n is the average value of load data at time t on similar days, εt is the abnormal point threshold, Correction of outliers: Level judgment: max[[P(t)-P(t-1),|P(t)-P(t+1)]>5 Where P(t-1) is the load data at the moment before time t, P(t+1) is the load data at the moment after time t, ξ is the preset abnormal threshold. When the data point at time t is horizontally judged as an abnormal point, the mean of the load data at time t-1 and time t+1 is taken as the correction value at time t. The empirical mode decomposition method is used to filter the load data, remove noise data, and standardize the deviation of the load data.

3. According to the method for predicting multi-energy coupling load in a low-carbon park based on deep learning in claim 1, It is characterized in that The method of classifying the load data based on the meteorological data to obtain an input matrix includes: Meteorological data includes temperature data and humidity data. Data points are established based on the meteorological data corresponding to the load data, and the load data is classified. The preset classification categories include cooling season, heating season and mild season: Probability density function of Gaussian distribution: Where y represents the data point, represents the mean vector, represents the covariance matrix, is the determinant of the covariance matrix, M represents the dimension of the data point, T represents the transpose, η is the noise term, and the Gaussian probability density function of the data point is: Where Γ is the weight coefficient of the Gaussian distribution, J represents the number of Gaussian distributions, j represents the index of the Gaussian distribution, and the expectation of the Gaussian probability density function is: in It represents the expected value of the i-th data point for the j-th Gaussian distribution in the t-th iteration, v is the uniform mixing parameter, and the weight coefficient is updated: Where N represents the number of data points and the mean vector is updated as: Where λ is the regularization term and the update of the covariance matrix is: In the cooling season, load data and meteorological data form the input matrix: Among them, x e is the electric load data, x c is the cooling load data, x t is the temperature data, x w The time of humidity data, electric load data and cooling load data includes the current time, the day before the current time, the day before the previous time and the previous time. During the heating season, the data inputs form the matrix: In the formula, x h It is the heating load. The mild season does not include cooling load data and heating load data.

4. According to the method for predicting multi-energy coupling load in a low-carbon park based on deep learning in claim 1, It is characterized in that A method for randomly generating an initial population, wherein each particle in the population contains a set of parameters of a multi-energy coupled load prediction model, comprising: The number of neurons and the number of iterations of each layer of GRU in the multi-energy coupling load forecasting model are optimized using the particle swarm algorithm: Where V is the velocity of the particle, k is the number of iterations, i is the index of the particle, ω is the inertia weight, X is the position of the particle, G b represents the position of the global optimal particle, P ib is the historical optimal position of particle i, c 1 and c 2 is the learning factor, r 1 and r 2 is a random value between 0 and 1, ζ is a constant, υ is a random number, indicating random oscillation, Calculate the current fitness mean f of the particle a and the mean f of particles with a fitness higher than the mean fitness ab The fitness of the particle is the inverse of the objective function value of the multi-energy coupling load prediction model. The fitness of the particle is less than or equal to f a When , the calculation formula of inertia weight is: Among them, ω max and ω min are the maximum inertia weight and the minimum inertia weight, ω a is the average inertia weight, r is a random value between 0 and 1, The fitness of the particle is greater than f a , which is less than f ab When , the calculation formula of inertia weight is: In the formula, t s is the current number of iterations, T is the maximum number of iterations set, The fitness of the particle is greater than f ab When , the calculation formula of inertia weight is: The fitness of a particle is equal to f ab When ω=ω min .

5. According to the method for predicting multi-energy coupling load in a low-carbon park based on deep learning in claim 1, It is characterized in that The method for establishing a multi-energy coupling load forecasting model by using the parameters of the initial population and the input matrix comprises: The input matrix is ​​input into the multi-energy coupling load prediction model to predict the load data. The multi-energy coupling load prediction model adopts the GRU algorithm, and the objective function is: Where Θ represents the parameters of the multi-energy coupling load forecasting model, T is the length of the time series, and Y t is the load data at time t, is the forecast load data at time t, w 1 is the squared error The weight factor, w 2 is the absolute error The weight factor of is the L1 regularization term, is the L2 regularization term, γ∑ i<j Θ i Θ j is the regularization term for the interaction between parameters, α, β and γ are the regularization weights, i and j are the indexes of the parameters, n is the number of parameters, and the predicted load data is denormalized.

6. According to the method for predicting multi-energy coupling load in a low-carbon park based on deep learning in claim 1, It is characterized in that The method of optimizing the particles by a chaos algorithm and optimizing the parameters of the multi-energy coupling load prediction model by iterative evolution of the population includes: Normalize each dimension of the individual optimal position sequence and update the particles: In the formula, is the individual optimal position of the tth iteration of the i-th dimension, r is the control parameter, and its value is between 3.57 and 4, mod represents the remainder operator, and mod1 represents the modulo operation with 1 as the divisor. The updated particles are denormalized to obtain a new solution, and the fitness of the new solution is calculated. When the fitness of the new solution is higher than the current optimal fitness, the new solution is used to replace the original particles.

7. An electronic device, include: processor; as well as A memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the method according to any one of claims 1 to 6.

8. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, causes the electronic device to execute the method of claims 1 to 6.

Citation Information

Cited By

  • Earth and rockfill dam physical and mechanical parameter inversion analysis method based on hybrid intelligent algorithm

    CN122197495A

  • A method for back analysis of physical and mechanical parameters of earth-rockfill dam based on hybrid intelligent algorithm

    CN122197495B