A single electric heating load regulation capability evaluation method based on SSA-DBP neural network
By using SSA-DBP neural network and Sparrow search algorithm to optimize the model in the evaluation of electric heating equipment, the modeling complexity and parameter problems in traditional methods are solved, a high-precision evaluation of the regulating ability of electric heating equipment is achieved, and the stability of the evaluation is improved. sex and accuracy.
Patent Information
- Application Number
- CN202210782139.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-05
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-07-05
AI Technical Summary
Traditional methods have problems such as complex modeling process, difficulty in solving parameters, and low accuracy when evaluating the regulating ability of a single electric heating equipment, and cannot accurately express complex nonlinear relationships.
Using a method based on SSA-DBP neural network, by defining a single electric heating load adjustability index and constructing a dynamic BP neural network model optimized based on the Sparrow search algorithm, the problem of difficulty in determining the number of hidden layer nodes and difficulty in parameter selection is solved. Achieve accurate expression of complex nonlinear function mapping.
It improves the evaluation accuracy and stability, provides a new idea for the evaluation of electric heating load adjustment ability, and can more accurately evaluate the adjustment ability of a single electric heating equipment.
Smart Images

Figure CN115099652B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to electric heating and is a single electric heating load regulation capability evaluation method based on SSA-DBP neural network. Background Art
[0002] The low-carbon supply of electricity has become an inevitable trend in economic and social development. Promoting the transformation of energy structure and achieving a safe, clean, low-carbon and efficient power system are important guarantees for accelerating the modernization process and improving people's living standards. Relying on the adjustment of national energy policies and the various auxiliary technical supports provided by smart grids for load-side resources, the excavation and utilization of load-side regulation resources have gradually replaced traditional power generation regulation resources such as hydropower and thermal power, and have become an important means to cope with the insufficient regulation capacity of the power grid. Electric heating loads have the characteristics of large adjustable thermal energy storage potential and fast demand response speed. When their capacity is considerable, it is promising to use "electric heating" as a storage load to improve the regulation capacity of the power grid.
[0003] At present, the research on electric heating load mainly focuses on the aggregation model of electric heating load and the research on new control strategies, while there are relatively few studies on evaluating the regulation capacity of individual electric heating equipment, and usually a simplified equivalent thermal parameters (ETP) model is used to model a single electric heating equipment. Due to the problems of complex modeling process and difficulty in solving parameters in traditional evaluation methods, it is impossible to accurately express complex nonlinear relationships, resulting in low accuracy of evaluation results.
[0004] Considering that the SSA-DBP neural network can solve complex nonlinear function mapping problems and has strong learning and simulation capabilities in dealing with multi-factor problems, it can solve this problem well.
[0005] In this context, this patent proposes a method for evaluating the regulation capacity of a single electric heating load based on the SSA-DBP neural network. Summary of the invention
[0006] The technical problem to be solved by the present invention is: to overcome the shortcomings of the prior art and provide a single electric heating load regulation capacity evaluation method based on the SSA-DBP neural network, which can effectively solve the problem of the difficulty in determining the number of hidden layer nodes and the difficulty in parameter selection of the traditional BP neural network; it can accurately express complex nonlinear function mapping problems and has good evaluation accuracy and stability.
[0007] The solution adopted by the present invention to solve the technical problem is: a method for evaluating the regulating capacity of a single electric heating load based on an SSA-DBP neural network, which is characterized by: defining a single electric heating load adjustable capacity index, constructing a dynamic BP neural network SSA-DBP model optimized based on a sparrow search algorithm, and evaluating the regulating capacity of a single electric heating load based on the SSA-DBP neural network, and the specific steps are as follows:
[0008] 1) Define the adjustable capacity index of a single electric heating load
[0009] ① Establish a first-order ETP model for a single electric heating load, and link the equivalent thermal resistance and equivalent thermal capacity of the room with the heating power of the electric heating equipment and the ambient temperature;
[0010] ② The first-order ETP model uses a simplified first-order ordinary differential equation to describe the indoor temperature change as shown in formula (1):
[0011]
[0012] Where: is the indoor temperature at time t, in °C; are the outdoor temperature and indoor temperature at time t+1, in °C; R, C, Q are the equivalent thermal resistance of the first-order ETP model (J·W -1 ), equivalent heat capacity (J·℃ -1 ), heating power of electric heating equipment (W); Δt is the set sampling interval, min; s(t) is the switch timing state of a single electric heating load at time t, 0 means the switch is off, 1 means the switch is on; T set is the indoor temperature setting value; δ is the indoor temperature adjustment range; T max 、T min are the upper and lower limits of the indoor temperature constraints, respectively, and the two form the temperature constraint range [T min ,T max ];
[0013] ③Define the adjustable capacity index of a single electric heating load
[0014] Since the single electric heating load to be evaluated has no gear adjustment function, it runs at a fixed power when turned on and at zero power when turned off, and its adjustment ability is a constant value in the power dimension. The adjustable capacity index of a single electric heating load is defined as: under the set temperature constraint, the original switch timing state is changed, and the adjustable time length τ(τ on ,τ off );
[0015] ④ By solving equation (1), the adjustable duration τ(τ) of a single electric heating load at time t based on the first-order ETP model is calculated.on ,τ off )See formulas (2) and (3):
[0016]
[0017]
[0018] Where: When s(t) = 1, the indoor temperature gradually rises. The closer to T max , The smaller it is, the smaller the upward adjustment capacity of a single electric heating load at time t is; on the contrary, when s(t) = 0, the indoor temperature gradually decreases. The closer to T min , The smaller it is, the smaller the ability of a single electric heating load to be adjusted downward at time t is;
[0019] 2) Construct a dynamic BP neural network SSA-DBP model based on sparrow search algorithm optimization
[0020] The specific steps of the SSA-DBP model of SSA optimized DBP neural network are as follows:
[0021] S1: Construct a DBP neural network with optimal hidden layer nodes;
[0022] S2: initial DBP neural network weights and thresholds;
[0023] S3: Initialize SSA algorithm parameters;
[0024] S4: Calculate the fitness f of each sparrow i , determine the optimal fitness f g and the corresponding area xb and the worst fitness f at the current stage w and the corresponding area xw;
[0025] S5: After one iteration is completed, the fitness value of each sparrow is calculated again, and the positions of the discoverer, joiner, and scout are updated;
[0026] S6: According to the current state of the sparrow population, calculate the current optimal fitness f of the entire population g and the corresponding area xb and the worst fitness f at the current stage w and the corresponding area xw, determine whether the maximum iteration termination condition is reached, if so, output the optimal weight w1 and threshold b1, if not, return to S2;
[0027] S7: Input the output optimal weight w1 and threshold b1 into the DBP neural network;
[0028] S8: Establishing SSA-DBP neural network model;
[0029] 3) Evaluation of single electric heating load regulation capability based on SSA-DBP neural network
[0030] ② Determine the model input data
[0031] Based on the measured data of the electric heating load operation experiment and formulas (2) to (3), the model input data is determined as follows: the switching timing state s(t) of a single electric heating load at time t, the indoor temperature at time t Outdoor temperature at time t+1 And the temperature constraint range formed by the upper and lower limits of the indoor temperature constraint [T min ,T max ];
[0032] ②Data preprocessing
[0033] Considering that the electric heating load may have thermostat equipment failures during actual operation, it is necessary to clean the model input data, taking days as the unit, and remove the sampling points in the data that do not meet the change rules in 2);
[0034] ③ Divide the data preprocessed in step ② into training sets and test sets, initialize the parameters of the SSA-DBP network, and input the training data set into the SSA-DBP network for training until the target accuracy of the model is obtained;
[0035] ④After the model training is completed, save the training file and test the test data set;
[0036] ⑤ Output the model evaluation results, analyze the evaluation results through model evaluation indicators, and end the algorithm.
[0037] Preferably: in the construction of the dynamic BP neural network (SSA-DBP) model optimized by the sparrow search algorithm, step S1 of constructing the DBP neural network with the best hidden layer nodes is specifically as follows: the DBP neural network dynamically selects the number of hidden layer nodes according to different evaluation accuracies to form a topological structure, in which mse0 is the minimum mean square error initial value; mse i is the mean square error between the measured value of τ and the simulated output result of each training; n i is the number of hidden layer nodes, select the best n i , save and build the DBP neural network.
[0038] Preferably, in constructing the DBP neural network with the best hidden layer nodes, the best n i The reference formula is shown in formula (4):
[0039]
[0040] Where: n is the number of input layer nodes; m is the number of output layer nodes; a is a random constant between [1,10].
[0041] Preferably, in the dynamic BP neural network (SSA-DBP) model for constructing the sparrow search algorithm optimization, step S3 initializes the SSA algorithm parameters including: sparrow population range N, number of discoverers pNum, number of scouts sNum, maximum iteration value T, safety value ST, objective function dimension D, and initial value control interval [lb, ub].
[0042] Preferably, in the construction of the dynamic BP neural network (SSA-DBP) model optimized by the sparrow search algorithm, the update formula of the position of the finder in step S5 is shown in formula (5):
[0043]
[0044] Where: t is the current iteration number; T is the maximum iteration number; α∈(0,1] is a uniform random number; Q is a random number that satisfies the standard normal walk; L is a 1×d matrix of all 1 elements; R2(R2∈(0,1]) and ST(ST∈(0,1]) are the warning value and safety value respectively;
[0045] When R2<ST, the population is in the safe zone and the discoverer can forage extensively; when R2≥ST, the predator is discovered by the scout, and the population must change its search method in time and quickly move to the safe zone.
[0046] Preferably, in the construction of the dynamic BP neural network (SSA-DBP) model optimized by the sparrow search algorithm, the position update formula of the joiner in step S5 is shown in formula (6):
[0047]
[0048] Where: When the population is iterated t times, the most disadvantageous area where the sparrow is in dimension d is When the population is iterated for the t+1th time, the optimal area where the sparrows are located in dimension d is When i>n / 2, it indicates that the fitness of the i-th joiner is low and the foraging position needs to be adjusted.
[0049] Preferably, in the construction of the sparrow search algorithm optimized dynamic BP neural network (SSA-DBP) model, the scout position update formula in step S5 is shown in formula (7):
[0050]
[0051] Where: β and K are random numbers in the range of [-1,1], which are the control parameters of the sparrow movement step length; e is a very small constant to avoid the denominator being 0; f iReflects the fitness value of the i-th sparrow, f g and f w are the optimal and worst fitness values of the sparrow population respectively;
[0052] When f i ≠f g When f i =f g , it means that the sparrow is in the center of the population and needs to get closer to other sparrows.
[0053] The calculation of the model evaluation index ⑤ in step 3) is shown in formulas (8) to (11):
[0054]
[0055]
[0056]
[0057] e ME =max|y i -y′ i | (11)
[0058] The beneficial effects of the present invention are as follows: a single electric heating load regulation capacity evaluation method based on the SSA-DBP neural network provided by the present invention can not only effectively solve the problem that the number of hidden layer nodes of the traditional BP neural network is difficult to determine, but also the SSA algorithm optimizes the input weight w1 and threshold b1 parameters of the DBP neural network, thereby solving the problem of difficult parameter selection; and it can accurately express complex nonlinear function mapping problems, has good evaluation accuracy and stability, and provides new ideas for subsequent research on electric heating load regulation capacity evaluation. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 It is a schematic diagram of a first-order ETP model of a single electric heating load of the present invention;
[0060] Figure 2 It is a schematic diagram of the topological structure of the DBP neural network of the present invention;
[0061] Figure 3 The present invention is a flowchart of constructing a dynamic BP neural network SSA-DBP model based on sparrow search algorithm optimization;
[0062] Figure 4 It is a flowchart of the single electric heating load regulation capability evaluation process based on the SSA-DBP neural network of the present invention;
[0063] Figure 5 The best n of the present inventioni Training diagram;
[0064] Figure 6 Absolute error diagram of the evaluation results of the single electric heating load regulation capability based on the present invention and the first-order ETP model;
[0065] Figure 7 Absolute error distribution diagram of the evaluation results of the single electric heating load regulation capability based on the present invention and the first-order ETP model. DETAILED DESCRIPTION
[0066] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0067] See also Figure 1-Figure 7 Embodiment 1: This embodiment is a method for evaluating the regulation capability of a single electric heating load based on an SSA-DBP neural network, and the specific steps are as follows:
[0068] 1) Define the adjustable capacity index of a single electric heating load
[0069] ① Through the centralized thermal parameter method, the equivalent thermal resistance and equivalent thermal capacity of the room are linked to the heating power of the electric heating equipment and the ambient temperature to establish the 10.15m 2 Model of cooling / heating load of household user rooms;
[0070] ② The first-order ETP model uses a simplified first-order ordinary differential equation to describe the indoor temperature change as shown in formula (1):
[0071]
[0072] Where: is the indoor temperature at time t, in °C; are the outdoor temperature and indoor temperature at time t+1, in °C; R, C, Q are the equivalent thermal resistance of the first-order ETP model (J·W -1 ), equivalent heat capacity (J·℃ -1 ), heating power of electric heating equipment (W); Δt is the set sampling interval, min; s(t) is the switch timing state of a single electric heating load at time t, 0 means the switch is off, 1 means the switch is on; T set is the indoor temperature setting value; δ is the indoor temperature adjustment range; T max 、T min are the upper and lower limits of the indoor temperature constraints, respectively, and the two form the temperature constraint range [T min ,T max ];
[0073] ③Define the adjustable capacity index of a single electric heating load
[0074] Since the single electric heating load to be evaluated has no gear adjustment function, it runs at a fixed power when turned on and at zero power when turned off, and its adjustment ability is a constant value in the power dimension. The adjustable capacity index of a single electric heating load is defined as: under the set temperature constraint, the original switch timing state is changed, and the adjustable time length τ(τ on ,τ off );
[0075] ④ By solving equation (1), the adjustable duration τ(τ) of a single electric heating load at time t based on the first-order ETP model is calculated. on ,τ off )See formulas (2) and (3):
[0076]
[0077]
[0078] Where: When s(t) = 1, the indoor temperature gradually rises. The closer to T max , The smaller it is, the smaller the upward adjustment capacity of a single electric heating load at time t is; on the contrary, when s(t) = 0, the indoor temperature gradually decreases. The closer to T min , The smaller it is, the smaller the ability of a single electric heating load to be adjusted downward at time t is;
[0079] 2) Construct a dynamic BP neural network SSA-DBP model based on sparrow search algorithm optimization
[0080] The specific steps of the SSA-DBP model of SSA optimized DBP neural network are as follows:
[0081] S1: Constructing a DBP neural network with optimal hidden layer nodes
[0082] The DBP neural network dynamically selects the number of hidden layer nodes according to the different evaluation accuracies to form a topological structure. Figure 2 In its topological structure, mse0 is the initial value of the minimum mean square error; mse i is the mean square error between the measured value of τ and the simulated output result of each training; n i is the number of hidden layer nodes, select the best n i , save and build the DBP neural network;
[0083] In the construction of the DBP neural network with the best hidden layer nodes, the best n i The reference formula is shown in formula (4):
[0084]
[0085] Where: n is the number of input layer nodes; m is the number of output layer nodes; a is a random constant between [1,10];
[0086] DBP network parameter settings are shown in Table 2:
[0087] Table 2 DBP network parameters
[0088]
[0089] Substituting the parameters n=5 and m=1 in Table 2 into formula (4), the optimal n can be calculated. i The network is between 3 and 12. The training starts from the minimum number of units i = 3 and stops at the maximum number of units i = 12. i The training results are shown in Figure 5 .from Figure 5 It can be seen that increasing n i The number can reduce the training mean square error, but when it exceeds 11, the training mean square error will fluctuate slightly, and the best n is finally determined. i =11;
[0090] S2: initial DBP neural network weights and thresholds;
[0091] S3: Initialize SSA algorithm parameters;
[0092] The initialization of the SSA algorithm parameters includes: setting the sparrow population size N=30, the number of discoverers pNum=70%N, the number of scouts sNum=30%N, the maximum iteration value T=50, the safety value ST=0.6, the objective function dimension D=1, and the initial value constraint range [lb, ub]=[-3,3];
[0093] S4: Calculate the fitness f of each sparrow i , determine the optimal fitness f g and the corresponding area xb and the worst fitness f at the current stage w and the corresponding area xw;
[0094] S5: After one iteration is completed, the fitness value of each sparrow is calculated again, and the positions of the discoverer, joiner, and scout are updated according to equations (5) to (7);
[0095] The discoverer location update formula is shown in formula (5):
[0096]
[0097] Where: t is the current iteration number; T is the maximum iteration number; α∈(0,1] is a uniform random number; Q is a random number that satisfies the standard normal walk; L is a 1×d matrix of all 1 elements; R2(R2∈(0,1]) and ST(ST∈(0,1]) are the warning value and safety value respectively;
[0098] When R2<ST, the population is in the safe zone, and the discoverer can forage extensively; when R2≥ST, the predator is discovered by the scout, and the population must change the search method in time and quickly move to the safe zone;
[0099] The joiner position update formula is shown in formula (6):
[0100]
[0101] Where: When the population is iterated t times, the most disadvantageous area where the sparrow is in dimension d is When the population is iterated for the t+1th time, the optimal area where the sparrows are located in dimension d is When i>n / 2, it indicates that the fitness of the i-th joiner is low and the foraging position needs to be adjusted.
[0102] The scout position update formula is shown in formula (7):
[0103]
[0104] Where: β and K are random numbers in the range of [-1,1], which are the control parameters of the sparrow movement step length; e is a very small constant to avoid the denominator being 0; f i Reflects the fitness value of the i-th sparrow, f g and f w are the optimal and worst fitness values of the sparrow population respectively;
[0105] When f i ≠f g When f i =f g , it means that the sparrow is in the center of the population and needs to get closer to other sparrows.
[0106] S6: According to the current state of the sparrow population, calculate the current optimal fitness f of the entire population g and the corresponding area xb and the worst fitness f at the current stage w and the corresponding area xw, determine whether the maximum iteration termination condition is reached, if so, output the optimal weight w1 and threshold b1, if not, return to S2;
[0107] S7: Input the output optimal weight w1 and threshold b1 into the DBP neural network;
[0108] S8: Establishing SSA-DBP neural network model;
[0109] 3) Evaluation of single electric heating load regulation capability based on SSA-DBP neural network
[0110] ① Determine the model input data
[0111] Based on the measured data of the electric heating load operation experiment and formulas (2) to (3), the model input data is determined as follows: the switching timing state s(t) of a single electric heating load at time t, the indoor temperature at time t Outdoor temperature at time t+1 And the temperature constraint range formed by the upper and lower limits of the indoor temperature constraint [T min ,T max ];
[0112] ②Data preprocessing
[0113] Considering that the electric heating load may have thermostat equipment failures during actual operation, it is necessary to clean the model input data. The sampling points that do not meet the change rules in 2) are removed in units of days. After data preprocessing, the data set contains 12,550 sets of data, totaling 309 complete control cycles.
[0114] ③ Divide the data preprocessed in step ② into training sets and test sets, select the last 4 control cycle data as the training data set, and the remaining 305 control cycle data as the test data set, initialize the parameters of the SSA-DBP network, and input the training data set into the SSA-DBP network for training until the target accuracy of the model is obtained;
[0115] ④After the model training is completed, save the training file and test the test data set;
[0116] ⑤ Output the model evaluation results, analyze the evaluation results through model evaluation indicators, and end the algorithm.
[0117] The calculation of the model evaluation index is shown in formulas (8) to (11):
[0118]
[0119]
[0120]
[0121] e ME =max|y i -y′ i | (11)
[0122] To illustrate the effectiveness of the evaluation method of the present invention, the evaluation of the single electric heating load regulation capability of Example 1 by the method of the present invention is compared with the evaluation of the single electric heating load regulation capability based on the first-order ETP model. The comparison results are shown in FIG. Figure 6 ,The specific error analysis comparison of the evaluation results of the two methods is shown in Table 3:
[0123] Table 3 Error analysis of evaluation results
[0124]
[0125] contrast Figure 6 As well as the analysis of the evaluation results of the regulation capacity of a single electric heating load in Table 2, the variance (variance, S2), root mean square error (root mean square error, RMSE), mean absolute percentage error (mean absolute percentage error, MAPE) and maximum absolute error (max error, ME) of the evaluation results based on the evaluation method of the present invention are all smaller than the evaluation results of the traditional first-order ETP model.
[0126] The above embodiments also illustrate the feasibility and effectiveness of the method for evaluating the regulating capability of a single electric heating device based on the SSA-DBP neural network described in the present invention.
Claims
1. A method for evaluating the regulation capability of a single electric heating load based on an SSA-DBP neural network, characterized in that: It includes defining the adjustable capacity index of a single electric heating load, constructing a dynamic BP neural network SSA-DBP model based on sparrow search algorithm optimization, and evaluating the adjustable capacity of a single electric heating load based on the SSA-DBP neural network. The specific steps are as follows: 1) Define the adjustable capacity index of a single electric heating load ① Establish a first-order ETP model for a single electric heating load, and link the equivalent thermal resistance and equivalent thermal capacity of the room with the heating power of the electric heating equipment and the ambient temperature; ②The first-order ETP model describes the indoor temperature change as shown in formula (1): Where: is the indoor temperature at time t; are the outdoor temperature and indoor temperature at time t+1 respectively; R, C, and Q are the equivalent thermal resistance, equivalent thermal capacity, and heating power of the electric heating equipment of the first-order ETP model respectively; Δt is the set sampling interval; s(t) is the switch timing state of a single electric heating load at time t, 0 means the switch is off, and 1 means the switch is on; T set is the indoor temperature setting value; δ is the indoor temperature adjustment range; T max 、T min are the upper and lower limits of the indoor temperature constraints, respectively, and the two form the temperature constraint range [T min ,T max ]; ③ Define the adjustable capacity index of a single electric heating load as: Under the set temperature constraint, change the original switch timing state, and the adjustable time length τ(τ on ,τ off ); ④ By solving equation (1), the adjustable duration τ(τ) of a single electric heating load at time t based on the first-order ETP model is calculated. on ,τ off )See formulas (2) and (3): Where: When s(t) = 1, the indoor temperature gradually rises. The closer to T max , The smaller it is, the smaller the upward adjustment capacity of a single electric heating load at time t is; on the contrary, when s(t) = 0, the indoor temperature gradually decreases. The closer The smaller it is, the smaller the ability of a single electric heating load to be adjusted downward at time t is; 2) Construct a dynamic BP neural network SSA-DBP model based on sparrow search algorithm optimization The specific steps of the SSA-DBP model of SSA optimized DBP neural network are as follows: S1: Construct a DBP neural network with optimal hidden layer nodes; S2: initial DBP neural network weights and thresholds; S3: Initialize SSA algorithm parameters; S4: Calculate the fitness f of each sparrow i , determine the optimal fitness f g and the corresponding area xb and the worst fitness f at the current stage w and the corresponding area xw; S5: After one iteration is completed, the fitness value of each sparrow is calculated again, and the positions of the discoverer, joiner, and scout are updated; S6: According to the current state of the sparrow population, calculate the current optimal fitness f of the entire population g and the corresponding area xb and the worst fitness f at the current stage w and the corresponding area xw, determine whether the maximum iteration termination condition is reached, if so, output the optimal weight w1 and threshold b1, if not, return to S2; S7: Input the output optimal weight w1 and threshold b1 into the DBP neural network; S8: Establishing SSA-DBP neural network model; 3) Evaluation of single electric heating load regulation capability based on SSA-DBP neural network ① Determine the model input data Based on the measured data of the electric heating load operation experiment and formulas (2) to (3), the model input data is determined as follows: the switching timing state s(t) of a single electric heating load at time t, the indoor temperature at time t Outdoor temperature at time t+1 And the temperature constraint range formed by the upper and lower limits of the indoor temperature constraint [T min ,T max ]; ②Data preprocessing Clean the model input data, taking days as the unit, and remove the sampling points in the data that do not meet the change rules in 2); ③ Divide the data preprocessed in step ② into training sets and test sets, initialize the parameters of the SSA-DBP network, and input the training data set into the SSA-DBP network for training until the target accuracy of the model is obtained; ④After the model training is completed, save the training file and test the test data set; ⑤ Output the model evaluation results, analyze the evaluation results through model evaluation indicators, and end the algorithm.
2. The single electric heating load regulation capability evaluation method based on the SSA-DBP neural network according to claim 1 is characterized in that: The step S1 of constructing a DBP neural network with optimal hidden layer nodes is specifically as follows: the DBP neural network dynamically selects the number of hidden layer nodes according to different evaluation accuracies to form a topological structure, in which mse0 is the minimum mean square error initial value; mse i is the mean square error between the measured value of τ and the simulated output result of each training; n i is the number of hidden layer nodes, select the best n i , save and build the DBP neural network.
3. The single electric heating load regulation capability evaluation method based on the SSA-DBP neural network according to claim 2 is characterized in that: The optimal n i The reference formula is shown in formula (4): Where: n is the number of input layer nodes; m is the number of output layer nodes; a is a random constant between [1,10].
4. The single electric heating load regulation capability evaluation method based on the SSA-DBP neural network according to claim 1 is characterized in that: The step S3 initializes the SSA algorithm parameters including: sparrow population range N, number of discoverers pNum, number of scouts sNum, maximum iteration value T, safety value ST, objective function dimension D, and initial value control interval [lb, ub].
5. The single electric heating load regulation capability evaluation method based on the SSA-DBP neural network according to claim 1 is characterized in that: The update formula of the location of the discoverer in step S5 is shown in formula (5): Where: t is the current iteration number; T is the maximum iteration number; α∈(0,1] is a uniform random number; Q is a random number that satisfies the standard normal walk; L is a 1×d matrix of all 1 elements; R2(R2∈(0,1]) and ST(ST∈(0,1]) are the warning value and safety value respectively; When R2<ST, the population is in the safe zone and the discoverer can forage extensively; when R2≥ST, the predator is discovered by the scout, and the population must change its search method in time and quickly move to the safe zone.
6. The single electric heating load regulation capability evaluation method based on the SSA-DBP neural network according to claim 1 is characterized in that: The formula for updating the location of the joiner in step S5 is shown in formula (6): Where: When the population is iterated t times, the most disadvantageous area where the sparrow is in dimension d is When the population is iterated for the t+1th time, the optimal area where the sparrows are located in dimension d is When i>n / 2, it indicates that the fitness of the i-th joiner is low and the foraging position needs to be adjusted.
7. The single electric heating load regulation capability evaluation method based on the SSA-DBP neural network according to claim 1 is characterized in that: The scout position update formula in step S5 is shown in formula (7): Where: β and K are random numbers in the range of [-1,1], which are the control parameters of the sparrow movement step length; e is a very small constant to avoid the denominator being 0; f i Reflects the fitness value of the i-th sparrow, f g and f w are the optimal and worst fitness values of the sparrow population respectively; When f i ≠f g When f i =f g , it means that the sparrow is in the center of the population and needs to get closer to other sparrows.
8. The single electric heating load regulation capability evaluation method based on the SSA-DBP neural network according to claim 1 is characterized in that: The calculation of the model evaluation index ⑤ in step 3) is shown in formulas (8) to (11): and ME =max|y i -and' i | (11) 。
Citation Information
Patent Citations
Machine learning implementation for multi-analyte assay of biological samples
CA3095056A1
A BP neural network electric heating equipment regulation ability evaluation method based on similarity
CN109377060A
