Coordinated dispatch optimization method and system based on source, grid, load and storage

By predicting renewable energy production and optimizing power system operation, the problem of power grid supply and demand imbalance is solved, the stability of the power grid and the utilization rate of renewable energy are improved, and operating costs and carbon emissions are reduced.

CN117977718BActive Publication Date: 2024-09-13ZHEJIANG POWER (NINGBO BEILUN) SMART ENERGY CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410384330.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-01
Publication Date
2024-09-13
Estimated Expiration
2044-04-01

AI Technical Summary

Technical Problem

When the electricity load of the existing power grid system suddenly increases, the imbalance between supply and demand affects the safe operation of the power grid and makes it difficult to effectively regulate.

Method used

By collecting historical data on power generation from renewable resources, combined with environmental impact factors, a long-short-term memory model is used to construct an energy production prediction network to predict renewable energy production based on the goals of maximizing renewable energy utilization and minimizing power system operating costs. , construct a coordination scheduling function, and obtain the optimal scheduling plan iteratively.

Benefits of technology

It improves the utilization rate of renewable energy in the power grid, reduces the dependence on non-renewable energy, reduces carbon emissions, optimizes the operating cost of the power system, and enhances the stability and flexibility of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117977718B
    Figure CN117977718B
Patent Text Reader

Abstract

The present invention provides a coordinated dispatch optimization method and system based on source-grid-load-storage, which relates to the technical field of power system optimization, including collecting historical data, combining environmental impact factors, constructing the correlation relationship between historical data and time through a relationship capture layer, determining the time relationship sequence, and determining the renewable energy output prediction result through an energy output prediction network constructed based on a long short-term memory model; determining the proportion of renewable energy according to the attributes of the power generation unit, constructing a first objective function with the goal of maximizing the utilization rate of renewable energy; calculating the power system operation cost, constructing a second objective function with the goal of minimizing the power system operation cost; determining a coordinated dispatch function based on the first objective function and the second objective function, constructing a dispatch scheme search algorithm, and iteratively obtaining the optimal dispatch scheme based on the coordinated dispatch function by calculating the evaluation quality value of the dispatch scheme and combining an adaptive state factor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system optimization, and in particular to a coordinated dispatch optimization method and system based on source, grid, load and storage. Background Art

[0002] Source-grid-load-storage is a new power operation mode with "power source, power grid, load, and energy storage" as the overall planning. With the acceleration of the construction of new power systems, the proportion of renewable resources represented by hydropower, wind power, and photovoltaics in the energy system structure continues to increase, but their volatility, intermittency, and randomness also bring challenges to the stable operation of the power grid;

[0003] CN202310209275.5 discloses a source-grid-load-storage collaborative interaction optimization scheduling system, including an edge computing module, a state evaluation module and a collaborative scheduling module; the edge computing module is used to perform data calculations on new energy power stations and electric vehicle charging stations in the power grid, and transmit the calculation results to the state evaluation module; the state evaluation module evaluates the state of the power grid and sends the evaluation results to the collaborative scheduling module; the collaborative scheduling module performs collaborative scheduling of the source-grid-load-storage units in the power grid according to the evaluation results; and different source-grid-load-storage collaborative interaction optimization scheduling can be implemented according to different power grid states;

[0004] To sum up, in the prior art, the power grid system regulation mainly adopts the "source follows load" mode. When the power load suddenly increases, once the power generation capacity on the power supply side is insufficient, there will be an imbalance between supply and demand, which will seriously affect the safe operation of the power grid. By accurately predicting power demand and power supply through algorithms, comprehensively optimizing scheduling, and obtaining the optimal scheduling plan, the application of the present invention can at least solve some of the problems of the prior art. Summary of the invention

[0005] The embodiments of the present invention provide a coordinated scheduling optimization method and system based on source, grid, load and storage, which can at least solve some problems in the prior art.

[0006] According to a first aspect of the embodiments of the present invention,

[0007] A coordinated dispatch optimization method based on source, grid, load and storage is provided, comprising:

[0008] Collect historical data on renewable energy generation, combine it with environmental impact factors, build the correlation between the historical data and time through the relationship capture layer, determine the time relationship sequence, and analyze the time relationship sequence through the energy production prediction network built based on the long short-term memory model to determine the renewable energy production prediction result;

[0009] According to the properties of the power generation unit, the proportion of renewable energy is determined, and based on the forecast results of the renewable energy output and the proportion of renewable energy, a first objective function is constructed with the goal of maximizing the utilization rate of renewable energy; according to the power generation cost, the transmission loss cost, the charging and discharging cost of the energy storage facility and the power purchase cost, the power system operation cost is calculated, and a second objective function is constructed with the goal of minimizing the power system operation cost;

[0010] Based on the first objective function and the second objective function, a coordinated scheduling function is determined, and a scheduling scheme search algorithm is constructed. Based on the coordinated scheduling function, an evaluation quality value of the scheduling scheme is calculated, combined with an adaptive state factor, and an optimal scheduling scheme is iteratively obtained.

[0011] In an optional embodiment,

[0012] Determining renewable energy production forecasts includes:

[0013] The environmental influencing factors include natural environmental factors and man-made environmental factors, wherein the natural environmental factors include temperature and humidity, and the man-made environmental factors include holidays and celebrations;

[0014] Based on the environmental influencing factors and time characteristics, determining the correlation between the historical data and time, and constructing the time relationship sequence;

[0015] Based on the environmental impact factor corresponding to the time point to be predicted, the corresponding renewable energy output is predicted by analyzing the time relationship sequence.

[0016] In an optional embodiment,

[0017] According to the properties of the power generation unit, the proportion of renewable energy is determined. Based on the forecast results of the renewable energy output and the proportion of renewable energy, a first objective function is constructed with the goal of maximizing the utilization rate of renewable energy. According to the power generation cost, transmission loss cost, energy storage facility charging and discharging cost, and power purchase cost, the power system operation cost is calculated. With the goal of minimizing the power system operation cost, a second objective function is constructed, which includes:

[0018] The first objective function has the following formula:

[0019] ;

[0020] in, Z renewable represents the utilization rate of renewable energy, a Indicates the time period, r Represents the ordinal number of renewable energy power generation unit, R represents the total number of renewable energy generating units,P gen,r Represents renewable energy generation unit r of power generation, g Indicates the order of the power generation unit, G Represents the total number of power generation units, P gen,g Indicates power generation unit g of power generation;

[0021] The power generation cost is as follows:

[0022] ;

[0023] in, C gen represents the cost of electricity generation, MC g Indicates power generation unit g marginal cost;

[0024] The transmission loss cost is as follows:

[0025] ;

[0026] in, C trans represents the transmission loss cost, h Indicates the transmission line number, L h Indicates h The energy loss of the transmission line, CP h Indicates the price per unit of energy;

[0027] The charging and discharging cost of the energy storage facility is as follows:

[0028] ;

[0029] in, C storage represents the charging and discharging cost of energy storage facilities, k Indicates the serial number of the energy storage facility. P charge,k Indicates k The charge of the energy storage device CC k Indicates k The unit cost of charging a storage facility, P discharge,k Indicates k The discharge capacity of the energy storage device, η k Indicates k The discharge efficiency of each energy storage facility is DCk Indicates k Unit cost of discharging a storage facility;

[0030] The formula for the electricity purchase cost is as follows:

[0031] ;

[0032] in, C purchase represents the cost of purchasing electricity, j Indicates the electricity purchasing market number, P purchase,j Indicates j The amount of electricity purchased in each electricity purchasing market, MP j Indicates j The electricity price in the electricity purchasing market;

[0033] The second objective function minimizes the sum of power generation cost, transmission loss cost, energy storage facility charging and discharging cost, and power purchase cost, and its formula is as follows:

[0034] ;

[0035] in, Z total Represents the operating cost of the power system.

[0036] In an optional embodiment,

[0037] Based on the coordinated scheduling function, by calculating the evaluation quality value of the scheduling scheme, combined with the adaptive state factor, iteratively obtaining the optimal scheduling scheme includes:

[0038] Based on the preset sample size, randomly determine the solution sample and construct the first generation solution set;

[0039] Based on the coordinated scheduling function, the evaluation quality value corresponding to each of the solution samples in the first generation solution set is calculated, and the adaptive state factor is determined according to the evaluation quality value and the distribution density, and the adaptive step length is calculated. The location of the solution sample is used as a reference point, and the location of the solution sample is updated in combination with the adaptive step length to determine a new solution sample;

[0040] Calculate the evaluation quality value corresponding to the new solution sample, add the new solution sample to the first generation solution set, and screen and construct the second generation solution set based on the evaluation quality value and according to a preset number of optimal selections;

[0041] The update operation of the solution sample is iterated until the preset number of iterations is reached, and the solution sample corresponding to the maximum evaluation quality value is selected to obtain the optimal solution of the scheduling plan.

[0042] In an optional embodiment,

[0043] Based on the coordinated scheduling function, calculating the evaluation quality value corresponding to each of the solution samples in the first generation solution set, determining the adaptive state factor according to the evaluation quality value and the distribution density, and calculating the adaptive step size includes:

[0044] Determine the distribution state of the solution samples based on the evaluation quality value, determine the distribution density of the solution samples in the solution space according to the distribution state, and determine the adaptive state factor based on the distribution density;

[0045] Determine the adaptive step size according to the preset maximum step size and minimum step size in combination with the adaptive state factor;

[0046] The formula for the adaptive step size is as follows:

[0047] ;

[0048] in, t represents the number of iterations, λ ( t ) indicates the t The adaptive step size at the iteration, λ max represents the maximum step size, λ min Indicates the preset minimum step size, f s represents the adaptive state factor, d represents the distribution density of the current solution sample, d min represents the minimum value of distribution density, d max Indicates the maximum value of distribution density.

[0049] In an optional embodiment,

[0050] The adaptive step size also includes:

[0051] Setting a step-size scaling factor, adjusting the step-size by the step-size scaling factor, presetting a step-size scaling factor range, and gradually reducing the step-size scaling factor based on the iteration progress;

[0052] The step size scaling factor is as follows:

[0053] ;

[0054] in, α ( t ) indicates the t The step size scaling factor for the iteration,α max Indicates the preset maximum step size scaling factor, α min Indicates the preset minimum step size scaling factor, T Indicates the preset maximum number of iterations.

[0055] In an optional embodiment,

[0056] Updating the location of the solution sample and determining a new solution sample also includes:

[0057] Taking the new solution sample as the basic solution, based on the preset disturbance intensity and in combination with the disturbance adjustment factor, randomly adjusting the basic solution to determine the disturbance solution;

[0058] If the evaluation quality value corresponding to the disturbance solution is greater than the evaluation quality value corresponding to the basic solution, the basic solution is replaced by the disturbance solution; otherwise, based on the difference in the evaluation quality values ​​and a preset disturbance start temperature, a disturbance execution temperature is determined, based on the disturbance execution temperature, a replacement rate is determined, and based on the replacement rate, it is determined whether to replace the basic solution with the disturbance solution;

[0059] Based on the cooling rate, the disturbance execution temperature is cooled down to determine the disturbance start temperature for the next iteration;

[0060] The perturbation solution is as follows:

[0061] ;

[0062] in, x' i,t represents the perturbation solution, x i,t represents the basic solution, δ Indicates the perturbation intensity, and rand() indicates a random number in [0,1].

[0063] According to a second aspect of the embodiments of the present invention,

[0064] Provided is a coordinated dispatch optimization system based on source, grid, load and storage, including:

[0065] The first unit is used to collect historical data of renewable energy power generation, combine environmental impact factors, and construct the correlation between the historical data and time through the relationship capture layer to determine the time relationship sequence. The energy production prediction network constructed based on the long short-term memory model is used to analyze the time relationship sequence to determine the renewable energy production prediction result;

[0066] The second unit is used to determine the proportion of renewable energy according to the properties of the power generation unit, and based on the forecast result of the renewable energy output and in combination with the proportion of renewable energy, a first objective function is constructed with the goal of maximizing the utilization rate of renewable energy; the power system operation cost is calculated according to the power generation cost, the transmission loss cost, the charging and discharging cost of the energy storage facility and the power purchase cost, and a second objective function is constructed with the goal of minimizing the power system operation cost;

[0067] The third unit is used to determine a coordinated scheduling function based on the first objective function and the second objective function, construct a scheduling scheme search algorithm, and iteratively obtain the optimal scheduling scheme based on the coordinated scheduling function by calculating the evaluation quality value of the scheduling scheme and combining the adaptive state factor.

[0068] According to a third aspect of the embodiments of the present invention,

[0069] An electronic device is provided, comprising:

[0070] processor;

[0071] a memory for storing processor-executable instructions;

[0072] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0073] A fourth aspect of the embodiments of the present invention is:

[0074] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0075] In the embodiment of the present invention, the model comprehensively considers the impact of various factors on renewable resource power generation by including natural and artificial environmental factors such as temperature, humidity, holidays, celebrations, etc., so as to make the prediction more comprehensive; by using the long short-term memory model, it can better capture complex time series data with long-term and short-term correlations, and improve the adaptability of the model to complex environmental conditions; by adjusting the proportion of renewable energy and optimizing the properties of power generation units, the goal of maximizing the utilization rate of renewable energy is achieved; by increasing the proportion of renewable energy, the system uses renewable energy more effectively, reduces dependence on non-renewable energy, and achieves the goals of environmental friendliness and reducing carbon emissions; the cost of power generation, transmission loss cost, charging and discharging cost of energy storage facilities, and power purchase cost are taken into account. The operation cost of the entire power system is taken into comprehensive consideration from multiple aspects, and the system operation is optimized and the overall cost is reduced by adjusting the properties of the power generation units and the charging and discharging strategies of the energy storage facilities. The introduction of the adaptive state factor is to make the search algorithm more flexible, and to automatically adjust the parameters at different stages of the search to adapt to the complexity and uncertainty of the problem. Through adaptability, the search algorithm can better adapt to the characteristics of the problem, accelerate the convergence process, and improve the search efficiency. By introducing randomness and temperature control, the algorithm has a stronger global search capability, can jump out of the local optimal solution during the search process, and is more likely to find the global optimal solution. By introducing randomness in the search space, the algorithm can explore the potential solution space more quickly and improve the search efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] Figure 1 It is a flow chart of a coordinated scheduling optimization method based on source, grid, load and storage according to an embodiment of the present invention;

[0077] Figure 2 It is a structural schematic diagram of a coordinated scheduling optimization system based on source, grid, load and storage according to an embodiment of the present invention. DETAILED DESCRIPTION

[0078] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0079] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0080] Figure 1FIG. 1 is a flow chart of a coordinated scheduling optimization method based on source, grid, load and storage according to an embodiment of the present invention. Figure 1 As shown, the method includes:

[0081] S101. Collect historical data on renewable energy generation, combine environmental impact factors, construct the correlation between the historical data and time through the relationship capture layer, determine the time relationship sequence, and analyze the time relationship sequence through the energy production prediction network constructed based on the long short-term memory model to determine the renewable energy production prediction result;

[0082] The environmental impact factors specifically refer to external conditions or factors that may affect the amount of electricity generated by renewable resources, including but not limited to weather conditions, temperature, wind speed, light intensity and other environmental parameters related to the output of renewable energy;

[0083] Collect historical renewable energy power generation data, including specific power generation values ​​and timestamps, and obtain data on environmental factors related to renewable energy production, such as weather conditions, temperature, wind speed, light intensity, etc.;

[0084] Apply historical data to train the LSTM model, which learns and captures the complex patterns and trends of renewable energy output and determines the temporal relationship sequence, that is, establishes the temporal dependency between renewable energy generation and environmental impact factors;

[0085] Input new environmental impact factor data into the trained model, analyze the time relationship series, and obtain the prediction results of future renewable energy output;

[0086] In this embodiment, a powerful time series prediction technology based on the long short-term memory model is used. The model can capture complex time series patterns and improve the accuracy of predictions. The model fully considers the time relationship between historical data and environmental influencing factors during construction, so that the prediction results are more in line with actual time dynamic changes, thereby improving the accuracy of time series predictions. Multiple environmental influencing factors related to renewable energy power generation are considered, including weather conditions, temperature, wind speed, light intensity, etc., so that the model can more comprehensively reflect the impact of the external environment on energy production.

[0087] In an optional embodiment, determining the renewable energy output prediction result includes:

[0088] The environmental influencing factors include natural environmental factors and man-made environmental factors, wherein the natural environmental factors include temperature and humidity, and the man-made environmental factors include holidays and celebrations;

[0089] Based on the environmental influencing factors and time characteristics, determining the correlation between the historical data and time, and constructing the time relationship sequence;

[0090] Based on the environmental impact factor corresponding to the time point to be predicted, predict the corresponding renewable energy output by analyzing the time relationship sequence;

[0091] The use of renewable resources to generate electricity depends on natural resources. The power generation output is significantly affected by geographical characteristics and climatic conditions, and has obvious seasonality, volatility and instability. Among them, various natural conditions constitute natural environmental factors, which play a core role in the prediction of power generation from renewable resources.

[0092] For example, in solar photovoltaic power generation scenarios, temperature affects the conversion rate of solar energy; increased humidity leads to an increase in cloud cover, affecting the lighting conditions for solar power generation; in wind power generation scenarios, changes in temperature and air pressure increase the relative flow of air, thereby increasing wind speed, allowing wind turbines to generate more electricity at higher wind speeds;

[0093] Human environmental factors refer to various factors that cause changes in electricity demand due to human activities. For example, due to holidays and large-scale events, there is a greater demand for lighting, transportation, etc., which requires more electricity support, and thus has higher requirements for power generation, thus affecting the increase or decrease in the number of renewable resource power generation equipment and the length of operation time;

[0094] Collect historical renewable energy power generation data and capture environmental impact factors. Analyze historical data through statistical methods to determine the relationship between environmental impact factors and power generation. Combine environmental impact factors and power generation in historical data in chronological order to form a time relationship sequence.

[0095] Using the training data set, based on historical data and time relationship sequences, a long short-term memory model is trained to capture the impact of environmental factors on power generation, and the long short-term memory model is tuned. When it is necessary to predict power generation at a certain point in the future, the time point and the corresponding environmental factors are input, and the time relationship sequence is parsed by the trained long short-term memory model to obtain a renewable energy output prediction result;

[0096] In this embodiment, by including natural and man-made environmental factors such as temperature, humidity, holidays, celebrations, etc., the model comprehensively considers the impact of various factors on renewable resource power generation, making the prediction more comprehensive; by using long short-term memory models, it can better capture complex time series data with long-term and short-term correlations, and improve the adaptability of the model to complex environmental conditions; considering the seasonality, volatility and instability of renewable resource power generation scenarios, the model can better adapt to these characteristics and improve the accuracy of power generation in different seasons and climatic conditions; by real-time input of environmental influencing factors at the current time point, the model can parse the time relationship series in real time, improve the real-time and accuracy of the prediction, and meet the requirements for immediate power generation demand.

[0097] S102. Determine the proportion of renewable energy according to the properties of the power generation unit, and construct a first objective function based on the forecast result of the renewable energy output and the proportion of renewable energy with the goal of maximizing the utilization rate of renewable energy; calculate the power system operation cost according to the power generation cost, transmission loss cost, energy storage facility charging and discharging cost, and power purchase cost, and construct a second objective function with the goal of minimizing the power system operation cost;

[0098] With the goal of maximizing the utilization rate of renewable energy, the utilization rate of renewable energy in the power system is maximized by optimizing the properties of power generation units, especially the proportion of renewable energy; by adjusting the proportion of renewable energy, the power system can make more efficient use of renewable energy and reduce dependence on non-renewable energy, thereby reducing carbon emissions and improving the environmental friendliness of the system;

[0099] When renewable energy is used for power generation, different energy sources need different related equipment to be converted into electricity. The technical content and production cost of the related equipment are high, and the corresponding equipment investment cost is also higher, and the maintenance and repair cost is also higher, which will also affect the scale;

[0100] Renewable energy generation is affected by the specific natural environment and geographical location, and the output of electricity is unstable and volatile. More costs are incurred in power transmission and storage. Among them, renewable energy is usually distributed in areas far away from the power load center, so long-distance transmission is required, which may lead to increased transmission losses and affect the efficiency of the power system. Different energy storage technologies, such as battery energy storage, compressed air energy storage, water pump energy storage, etc., have different costs, efficiencies and applicable scenarios. Choosing appropriate energy storage technology is crucial to maintaining the balance of the power system. When there is a shortage of renewable energy generation, it is necessary to make up for the gap in power supply and demand through external power purchases. External power purchases usually involve purchasing electricity on the power market, and its cost will be affected by factors such as market electricity price fluctuations and seasonal demand changes. Market supply and demand, policy changes, weather conditions, etc. will all have an impact on market electricity prices.

[0101] In this embodiment, the goal of maximizing the utilization rate of renewable energy is achieved by adjusting the proportion of renewable energy and optimizing the properties of power generation units. By increasing the proportion of renewable energy, the system can more effectively utilize renewable energy, reduce dependence on non-renewable energy, and achieve the goals of environmental friendliness and reduced carbon emissions. The cost of power generation, transmission loss cost, charging and discharging cost of energy storage facilities, and electricity purchase cost are taken into consideration. The operating cost of the entire power system is comprehensively considered. By adjusting the properties of power generation units and the charging and discharging strategies of energy storage facilities, the system operation is optimized and the overall cost is reduced. Considering that renewable energy is usually distributed in areas far away from load centers, the use of high-efficiency transmission technology helps to reduce transmission losses and improve the efficiency of the power system.

[0102] In an optional embodiment, the proportion of renewable energy is determined according to the properties of the power generation unit, and based on the forecast result of the renewable energy output and in combination with the proportion of renewable energy, a first objective function is constructed with the goal of maximizing the utilization rate of renewable energy; the power system operation cost is calculated according to the power generation cost, the transmission loss cost, the charging and discharging cost of the energy storage facility, and the power purchase cost, and the second objective function is constructed with the goal of minimizing the power system operation cost, including:

[0103] The first objective function has the following formula:

[0104] ;

[0105] in, Z renewable represents the utilization rate of renewable energy, a Indicates the time period, r Represents the ordinal number of renewable energy power generation unit, R represents the total number of renewable energy generating units, P gen,r Represents renewable energy generation unit r of power generation, g Indicates the order of the power generation unit, G Represents the total number of power generation units, P gen,g Indicates power generation unit g of power generation;

[0106] The power generation cost is as follows:

[0107] ;

[0108] in, C gen represents the cost of electricity generation, MC g Indicates power generation unit g marginal cost;

[0109] The transmission loss cost is as follows:

[0110] ;

[0111] in, C trans represents the transmission loss cost, h Indicates the transmission line number, L h Indicates h The energy loss of the transmission line, CP h Indicates the price per unit of energy;

[0112] The charging and discharging cost of the energy storage facility is as follows:

[0113] ;

[0114] in, C storage represents the charging and discharging cost of energy storage facilities, k Indicates the serial number of the energy storage facility. P charge,k Indicates k The charge of the energy storage device CC k Indicates k The unit cost of charging a storage facility, P discharge,k Indicates k The discharge capacity of the energy storage device, η k Indicates k The discharge efficiency of each energy storage facility is DC k Indicates k Unit cost of discharging a storage facility;

[0115] The formula for the electricity purchase cost is as follows:

[0116] ;

[0117] in, C purchase represents the cost of purchasing electricity, j Indicates the electricity purchasing market number, P purchase,j Indicates j The amount of electricity purchased in each electricity purchasing market, MP j Indicates j The electricity price in the electricity purchasing market;

[0118] The second objective function minimizes the sum of power generation cost, transmission loss cost, energy storage facility charging and discharging cost, and power purchase cost, and its formula is as follows:

[0119] ;

[0120] in, Z total Represents the operating cost of the power system.

[0121] According to the renewable energy utilization rate formula, the numerator is the sum of the power generation of all renewable energy generation units in each time period, and the denominator is the sum of the total power generation of all generation units (including renewable and non-renewable energy) in each time period. By maximizing their ratio, the system can optimize the utilization of renewable energy and reduce dependence on non-renewable energy.

[0122] According to the power generation cost formula, the cost of each power generation unit is equal to its power generation in each time period multiplied by the corresponding marginal cost. By optimizing this objective function, the power generation cost of the system can be reduced;

[0123] According to the transmission loss cost formula, the cost of each transmission line is equal to its energy loss in each time period multiplied by the price of unit energy. By minimizing this objective function, the transmission loss cost of the system can be reduced.

[0124] According to the energy storage facility charging and discharging cost formula, the cost of each energy storage facility is equal to its charging capacity in each time period multiplied by the charging unit cost, plus the product of its discharge capacity divided by the discharge efficiency multiplied by the discharge unit cost. By optimizing this objective function, the system's energy storage facility charging and discharging costs can be minimized.

[0125] According to the electricity purchase cost formula, the cost of each electricity purchase market is equal to the amount of electricity purchased in each time period multiplied by the corresponding electricity price. By minimizing this objective function, the system's electricity purchase cost can be reduced;

[0126] According to the formula, by optimizing the proportion of renewable energy power generation units, the overall utilization rate of the system for renewable energy can be improved and dependence on traditional energy can be reduced; the power system can be encouraged to be more inclined towards a clean and renewable energy mix, reducing carbon emissions and meeting the goals of sustainable development; by considering the cost of power generation, transmission loss cost, charging and discharging cost of energy storage facilities and power purchase cost, the operation of the entire power system can be comprehensively optimized to minimize costs, improve the economic benefits of the power system and reduce the overall cost of power production and transmission.

[0127] S103. Based on the first objective function and the second objective function, determine a coordinated scheduling function, construct a scheduling solution search algorithm, and iteratively obtain an optimal scheduling solution by calculating the evaluation quality value of the scheduling solution based on the coordinated scheduling function and combining the adaptive state factor;

[0128] The evaluation quality value specifically refers to a value of the comprehensive impact of a given scheduling scheme on system performance and economy while satisfying the objective function through a certain metric standard, which can reflect the pros and cons of the scheduling scheme and is a quantitative representation of the effect of the scheme; the certain metric standard is specifically a coordinated scheduling function, and the evaluation quality value is used to compare the pros and cons of different scheduling schemes, guiding the search algorithm to iterate in a more optimized direction;

[0129] The adaptive state factor specifically refers to a dynamic adjustment parameter in the search algorithm, whose value changes according to the current search state and past search experience, and is used to adjust the search strategy and direction to make the search more intelligent and efficient;

[0130] In this embodiment, by coordinating the scheduling function to simultaneously consider the two objectives of maximizing the utilization rate of renewable energy and minimizing the operating cost of the power system, multi-objective optimization is achieved, which helps to find a balanced scheduling plan that not only improves the utilization rate of renewable energy but also reduces the overall operating cost; through the iterative process, the search algorithm continuously optimizes the scheduling plan and gradually approaches the optimal solution, which helps to achieve long-term optimization of the power system and improves the overall performance of the system; the introduction of the adaptive state factor is to make the search algorithm more flexible, and can automatically adjust parameters at different stages of the search to adapt to the complexity and uncertainty of the problem. Through adaptability, the search algorithm can better adapt to the characteristics of the problem, accelerate the convergence process, and improve the search efficiency.

[0131] In an optional embodiment, based on the coordinated scheduling function, by calculating the evaluation quality value of the scheduling scheme, combined with the adaptive state factor, iteratively obtaining the optimal scheduling scheme includes:

[0132] Based on the preset sample size, randomly determine the solution sample and construct the first generation solution set;

[0133] Based on the coordinated scheduling function, the evaluation quality value corresponding to each of the solution samples in the first generation solution set is calculated, and the adaptive state factor is determined according to the evaluation quality value and the distribution density, and the adaptive step length is calculated. The location of the solution sample is used as a reference point, and the location of the solution sample is updated in combination with the adaptive step length to determine a new solution sample;

[0134] Calculate the evaluation quality value corresponding to the new solution sample, add the new solution sample to the first generation solution set, and screen and construct the second generation solution set based on the evaluation quality value and according to a preset number of optimal selections;

[0135] The update operation of the solution sample is iterated until the preset number of iterations is reached, and the solution sample corresponding to the maximum evaluation quality value is selected to obtain the optimal solution of the scheduling plan.

[0136] The distribution density specifically refers to the description of the compactness of the distribution of each solution point in the current solution space in the search algorithm. The distribution density can be regarded as a measure to describe the distribution of solution samples in the solution space. A high distribution density indicates that the distribution of solution points is relatively dense, and a low distribution density indicates that the distribution of solution points is relatively sparse.

[0137] The adaptive step size specifically refers to dynamically adjusting the size of each search step size according to the distribution density of the current solution point in the search algorithm. The adaptive step size can help the search algorithm more flexibly adapt to the local and global features in the solution space and accelerate the search process;

[0138] Initialize the scheduling scheme search algorithm, set the sample size, and randomly generate the first generation of scheme sets; set the number of iterations and the number of optimal selections, and initialize the adaptive step size;

[0139] Using the coordinated scheduling function, the evaluation quality value of each solution sample in the first generation solution set is calculated. According to the evaluation quality value, the distribution of the first generation solution set is determined, and then the distribution density is determined. Then, the adaptive step size is calculated according to the distribution density.

[0140] For each solution sample, take the current position as the reference point, combine the adaptive step size calculated in this iteration, update the position of the solution sample, and calculate the evaluation quality value of the newly generated solution sample;

[0141] Add the newly generated solution samples to the first generation solution set, sort them in descending order from high to low according to the evaluation quality value, select the one with higher evaluation quality value according to the initialization setting of the optimal number, and construct the second generation solution set;

[0142] In the next iteration, the above process is repeated. By determining a new adaptive step size, the position of the solution sample is continuously updated, thereby generating a third-generation solution set, and so on, until the preset number of iterations is reached; in the final solution set, the solution sample with the maximum evaluation quality value is selected to obtain the optimal solution for the scheduling scheme;

[0143] In this embodiment, a global search of the scheduling space is achieved through randomly generated solution samples combined with dynamic adjustment of the adaptive step size, which helps to discover a wider solution space; the introduction of the adaptive step size makes the search process more intelligent, and the search step size can be adjusted according to the current search status to improve the efficiency and robustness of the search; the randomly generated initial solution samples and the adjustment of the adaptive step size help to maintain diversity in the search process and prevent falling into local optimal solutions; through the preset number of optimal selections, solution samples with higher evaluation quality values ​​are screened out, so that each generation of solutions can concentrate on retaining better solutions, pushing the algorithm towards a better solution.

[0144] In an optional embodiment, based on the coordinated scheduling function, calculating the evaluation quality value corresponding to each of the solution samples in the first generation solution set, determining the adaptive state factor according to the evaluation quality value and the distribution density, and calculating the adaptive step size includes:

[0145] Determine the distribution state of the solution samples based on the evaluation quality value, determine the distribution density of the solution samples in the solution space according to the distribution state, and determine the adaptive state factor based on the distribution density;

[0146] Determine the adaptive step size according to the preset maximum step size and minimum step size in combination with the adaptive state factor;

[0147] The formula for the adaptive step size is as follows:

[0148] ;

[0149] in, t represents the number of iterations, λ ( t ) indicates the t The adaptive step size at the iteration, λ max represents the maximum step size, λ min Indicates the preset minimum step size, f s represents the adaptive state factor, d represents the distribution density of the current solution sample, d min represents the minimum value of distribution density, d max Indicates the maximum value of distribution density.

[0150] According to the evaluation quality value, determine the distribution state of the solution samples, that is, the position distribution in the solution space. Combined with the distribution state of the solution samples, determine the distribution density of the solution samples in the solution space, that is, the density of the solution space around the current solution samples. Based on the density of the current solution samples, calculate the adaptive state factor. The value of the adaptive state factor is between 0 and 1, indicating the relative position of the solution sample in the solution space. 0 means in the sparsest area, and 1 means in the most concentrated area. The adaptive state factor is used to dynamically adjust the adaptive step size.

[0151] Based on the calculated adaptive state factor, combined with the preset maximum step size and minimum step size, the adaptive step size for the current iteration is determined;

[0152] The adaptive step size is adjusted in each iteration according to the current adaptive state factor. The adaptive step size is between the preset minimum step size and the maximum step size. The larger the adaptive state factor value, the closer the adaptive step size is to the minimum step size, indicating a smaller update in a more concentrated area; the smaller the adaptive state factor value, the closer the adaptive step size is to the maximum step size, indicating a larger update in a sparser area.

[0153] According to the formula, the calculation of the adaptive step size enables the algorithm to automatically adjust the step size during the search process, and flexibly adapt to the characteristics of the search space according to the current distribution density and state, which helps the algorithm better adapt to different problem structures and search states, and improves the robustness of the algorithm; through the adaptive step size, the algorithm can quickly explore the global space with a larger step size in the early stage of the search, and more finely perform local searches with a smaller step size in the later stage of the search. Such a balance makes the algorithm more capable of global and local searches, which helps to find the global optimal solution and avoid falling into the local optimal solution; the adaptive step size adjustment mechanism enables the algorithm to use computing resources more efficiently at different stages of the search. When exploring sparse areas of the space, a larger step size can quickly cover more solution space; while in dense areas, a smaller step size helps to adjust the position more accurately and improve the accuracy of the search.

[0154] In an optional embodiment, the adaptive step size further includes:

[0155] Setting a step-size scaling factor, adjusting the step-size by the step-size scaling factor, presetting a step-size scaling factor range, and gradually reducing the step-size scaling factor based on the iteration progress;

[0156] The step size scaling factor is as follows:

[0157] ;

[0158] in, α ( t ) indicates thet The step size scaling factor for the iteration, α max Indicates the preset maximum step size scaling factor, α min Indicates the preset minimum step size scaling factor, T Indicates the preset maximum number of iterations.

[0159] Determine the range of the step scaling factor, set the maximum step scaling factor and the minimum step scaling factor;

[0160] As the number of iterations increases, the value of the step scaling factor gradually decreases. This linear decreasing trend helps improve the accuracy of the algorithm in the later stages of the search;

[0161] Apply the current step size scaling factor to the current step size, determined by multiplying the original step size by the step size scaling factor;

[0162] Gradually increase the number of iterations. Through continuous iterations, the value of the step-size scaling factor will gradually decrease, so that in the later stages of the search, the updated step size will gradually decrease, which will help to more finely adjust the location of the solution samples;

[0163] In this embodiment, by gradually reducing the step size scaling factor, the algorithm gradually shifts from global search to local search during the search process, pays more attention to details and accuracy, helps to better adjust the position of solution samples within a limited number of iterations, and improves the convergence and accuracy of the algorithm.

[0164] In an optional embodiment, updating the position of the solution sample and determining a new solution sample further includes:

[0165] Taking the new solution sample as the basic solution, based on the preset disturbance intensity and in combination with the disturbance adjustment factor, randomly adjusting the basic solution to determine the disturbance solution;

[0166] If the evaluation quality value corresponding to the disturbance solution is greater than the evaluation quality value corresponding to the basic solution, the basic solution is replaced by the disturbance solution; otherwise, based on the difference in the evaluation quality values ​​and a preset disturbance start temperature, a disturbance execution temperature is determined, based on the disturbance execution temperature, a replacement rate is determined, and based on the replacement rate, it is determined whether to replace the basic solution with the disturbance solution;

[0167] Based on the cooling rate, the disturbance execution temperature is cooled down to determine the disturbance start temperature for the next iteration;

[0168] The perturbation solution is as follows:

[0169] ;

[0170] in, x' i,trepresents the perturbation solution, x i,t represents the basic solution, δ Indicates the perturbation intensity, and rand() indicates a random number in [0,1].

[0171] The new solution sample is taken as the basic solution, and the parameters such as disturbance intensity, disturbance adjustment factor, disturbance start temperature, replacement rate and cooling rate are set;

[0172] According to the generation formula of the perturbation solution, the basic solution is randomly perturbed to obtain the perturbation solution; the evaluation quality value corresponding to the perturbation solution is compared with the evaluation quality value corresponding to the basic solution, and if the evaluation quality value of the perturbation solution is greater than the evaluation quality value of the basic solution, the basic solution is replaced by the perturbation solution;

[0173] If the evaluation quality value of the perturbation solution is less than or equal to the evaluation quality value of the basic solution, the difference between the evaluation quality value of the perturbation solution and the evaluation quality value of the basic solution is calculated, and then combined with the perturbation start temperature, the perturbation execution temperature is determined;

[0174] Based on the perturbation execution temperature, the replacement rate is calculated by an exponential function. According to the replacement rate, a value is randomly generated to determine whether the perturbation solution is accepted. For example, the calculated replacement rate is 73%, corresponding to 0.73. A number such as 0.62 is generated between 0 and 1 through a random function. At this time, 0.62 is less than 0.73 and is within the range of 0 to 0.73, indicating that the perturbation solution is accepted and the basic solution is replaced by the perturbation solution. If the random function generates a number such as 0.87, which exceeds the range of 0 to 0.73, it means that the perturbation solution is not accepted.

[0175] According to the cooling rate, the disturbance execution temperature is cooled down to generate a new disturbance start temperature and enter the next iteration; the cooling rate can be linear cooling, uniformly participating in the disturbance, or nonlinear cooling, and the disturbance is reduced in the later stage of the iteration.

[0176] In this embodiment, by introducing randomness and temperature control, the algorithm has a stronger global search capability, can jump out of the local optimal solution during the search process, and is more likely to find the global optimal solution; when the temperature is high, the algorithm is more likely to accept poorer solutions, thereby exploring more widely in the search space; and when the temperature gradually decreases, the algorithm tends to accept better solutions, which helps to perform fine optimization in local areas; by adjusting parameters such as disturbance intensity, disturbance adjustment factor and temperature, the algorithm can more flexibly adapt to the parameter space of different problems, thereby improving the versatility and applicability of the algorithm; by introducing randomness in the search space, the algorithm can explore the potential solution space more quickly and improve the search efficiency; the gradual decrease in temperature allows the algorithm to focus more on in-depth and detailed local searches in the later stages of the search, thereby accelerating the convergence speed.

[0177] Figure 2FIG. 1 is a schematic diagram of a coordinated scheduling optimization system based on source, grid, load and storage according to an embodiment of the present invention. Figure 2 As shown, the system comprises:

[0178] The first unit is used to collect historical data of renewable energy power generation, combine environmental impact factors, and construct the correlation between the historical data and time through the relationship capture layer to determine the time relationship sequence. The energy production prediction network constructed based on the long short-term memory model is used to analyze the time relationship sequence to determine the renewable energy production prediction result;

[0179] The second unit is used to determine the proportion of renewable energy according to the properties of the power generation unit, and based on the forecast result of the renewable energy output and in combination with the proportion of renewable energy, a first objective function is constructed with the goal of maximizing the utilization rate of renewable energy; the power system operation cost is calculated according to the power generation cost, the transmission loss cost, the charging and discharging cost of the energy storage facility and the power purchase cost, and a second objective function is constructed with the goal of minimizing the power system operation cost;

[0180] The third unit is used to determine a coordinated scheduling function based on the first objective function and the second objective function, construct a scheduling scheme search algorithm, and iteratively obtain the optimal scheduling scheme based on the coordinated scheduling function by calculating the evaluation quality value of the scheduling scheme and combining the adaptive state factor.

[0181] According to a third aspect of the embodiments of the present invention,

[0182] An electronic device is provided, comprising:

[0183] processor;

[0184] a memory for storing processor-executable instructions;

[0185] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0186] A fourth aspect of the embodiments of the present invention is:

[0187] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0188] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.

[0189] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A coordinated dispatch optimization method based on source, grid, load and storage, characterized in that: include: Collect historical data on renewable energy power generation, combine it with environmental impact factors, and build a correlation between the historical data and time through a relationship capture layer to determine a time relationship sequence. The time relationship sequence is parsed through an energy production prediction network built based on a long short-term memory model to determine a renewable energy production prediction result. The relationship capture layer is built based on a long short-term memory model to learn and capture patterns and trends in renewable energy production and determine a time relationship sequence. Determine the proportion of renewable energy according to the properties of the power generation unit, and construct a first objective function based on the renewable energy output prediction result and the proportion of renewable energy with the goal of maximizing the utilization rate of renewable energy; Calculate the power system operation cost based on the power generation cost, transmission loss cost, energy storage facility charging and discharging cost, and power purchase cost, and construct a second objective function with the goal of minimizing the power system operation cost; Based on the first objective function and the second objective function, a coordinated scheduling function is determined, a scheduling solution search algorithm is constructed, and based on the coordinated scheduling function, an evaluation quality value of the scheduling solution is calculated, combined with an adaptive state factor, and an optimal scheduling solution is iteratively obtained; The adaptive state factor has a value range of [0, 1]. When the scheduling scheme is in the sparsest region of the solution space, the adaptive state factor is 0. When the scheduling scheme is in the most concentrated region of the solution space, the adaptive state factor is 1. Determine the proportion of renewable energy according to the properties of the power generation unit, and construct a first objective function based on the renewable energy output prediction result and the proportion of renewable energy with the goal of maximizing the utilization rate of renewable energy; The power system operation cost is calculated based on the power generation cost, transmission loss cost, energy storage facility charging and discharging cost, and power purchase cost. The second objective function is constructed with the goal of minimizing the power system operation cost, including: The first objective function has the following formula: ; in, Z renewable represents the utilization rate of renewable energy, a Indicates the time period, r Represents the ordinal number of renewable energy power generation unit, R represents the total number of renewable energy generating units, P gen,r Represents a renewable energy power generation unit r of power generation, g Indicates the order of the power generation unit, G Represents the total number of power generation units, P gen,g Indicates power generation unit g of power generation; The power generation cost is as follows: ; in, C gen represents the cost of electricity generation, MC g Indicates power generation unit g marginal cost; The transmission loss cost is as follows: ; in, C trans represents the transmission loss cost, h Indicates the transmission line number, L h Indicates h The energy loss of the transmission line, CP h Indicates the price per unit of energy; The charging and discharging cost of the energy storage facility is as follows: ; in, C storage represents the charging and discharging cost of energy storage facilities, k Indicates the serial number of the energy storage facility. P charge,k Indicates k The charge of the energy storage device CC k Indicates k The unit cost of charging a storage facility, P discharge,k Indicates k The discharge capacity of the energy storage device, η k Indicates k The discharge efficiency of each energy storage facility is DC k Indicates k Unit cost of discharging a storage facility; The formula for the electricity purchase cost is as follows: ; in, C purchase represents the cost of purchasing electricity, j Indicates the electricity purchasing market number, P purchase,j Indicates j The amount of electricity purchased in each electricity purchasing market, MP j Indicates j The electricity price in the electricity purchasing market; The second objective function minimizes the sum of power generation cost, transmission loss cost, energy storage facility charging and discharging cost, and power purchase cost, and its formula is as follows: ; in, Z total represents the power system operating cost; Based on the coordinated scheduling function, by calculating the evaluation quality value of the scheduling scheme, combined with the adaptive state factor, iteratively obtaining the optimal scheduling scheme includes: Based on the preset sample size, randomly determine the solution sample and construct the first generation solution set; Based on the coordinated scheduling function, the evaluation quality value corresponding to each of the solution samples in the first generation solution set is calculated, and the adaptive state factor is determined according to the evaluation quality value and the distribution density, and the adaptive step length is calculated. The location of the solution sample is used as a reference point, and the location of the solution sample is updated in combination with the adaptive step length to determine a new solution sample; Calculate the evaluation quality value corresponding to the new solution sample, add the new solution sample to the first generation solution set, and screen and construct the second generation solution set based on the evaluation quality value and according to a preset number of optimal selections; Iterate the update operation of the solution sample until the preset number of iterations is reached, select the solution sample corresponding to the maximum evaluation quality value, and obtain the optimal solution of the scheduling solution; Based on the coordinated scheduling function, calculating the evaluation quality value corresponding to each of the solution samples in the first generation solution set, determining the adaptive state factor according to the evaluation quality value and the distribution density, and calculating the adaptive step size includes: Determine the distribution state of the solution samples based on the evaluation quality value, determine the distribution density of the solution samples in the solution space according to the distribution state, and determine the adaptive state factor based on the distribution density; Determine the adaptive step size according to the preset maximum step size and minimum step size in combination with the adaptive state factor; The formula for the adaptive step size is as follows: ; in, t represents the number of iterations, λ ( t ) indicates the t The adaptive step size at the iteration, λ max represents the maximum step size, λ min Indicates the preset minimum step size. f s represents the adaptive state factor, d represents the distribution density of the current solution sample, d min represents the minimum value of distribution density, d max Indicates the maximum value of distribution density.

2. The method according to claim 1, characterized in that Determining renewable energy production forecasts includes: The environmental influencing factors include natural environmental factors and man-made environmental factors, wherein the natural environmental factors include temperature and humidity, and the man-made environmental factors include holidays and celebrations; Based on the environmental influencing factors and time characteristics, determining the correlation between the historical data and time, and constructing the time relationship sequence; Based on the environmental impact factor corresponding to the time point to be predicted, the corresponding renewable energy output is predicted by analyzing the time relationship sequence.

3. The method according to claim 1, characterized in that The adaptive step size also includes: Setting a step-size scaling factor, adjusting the step-size by the step-size scaling factor, presetting a step-size scaling factor range, and gradually reducing the step-size scaling factor based on the iteration progress; The step size scaling factor is as follows: ; in, α ( t ) indicates the t The step size scaling factor for the iteration, α max Indicates the preset maximum step size scaling factor, α min Indicates the preset minimum step size scaling factor, T Indicates the preset maximum number of iterations.

4. The method according to claim 1, characterized in that Updating the location of the solution sample and determining a new solution sample also includes: Taking the new solution sample as the basic solution, based on the preset disturbance intensity and in combination with the disturbance adjustment factor, randomly adjusting the basic solution to determine the disturbance solution; If the evaluation quality value corresponding to the disturbance solution is greater than the evaluation quality value corresponding to the basic solution, the basic solution is replaced by the disturbance solution; otherwise, based on the difference in the evaluation quality values ​​and a preset disturbance start temperature, a disturbance execution temperature is determined, based on the disturbance execution temperature, a replacement rate is determined, and based on the replacement rate, it is determined whether to replace the basic solution with the disturbance solution; Based on the cooling rate, the disturbance execution temperature is cooled down to determine the disturbance start temperature for the next iteration; The perturbation solution is as follows: ; in, x' i,t represents the perturbation solution, x i,t represents the basic solution, δ Indicates the perturbation intensity, and rand() indicates a random number in [0,1].

5. A coordinated dispatch optimization system based on source, grid, load and storage, used to implement the coordinated dispatch optimization method based on source, grid, load and storage as described in any one of claims 1 to 4, characterized in that: include: The first unit is used to collect historical data of renewable energy power generation, combine environmental impact factors, and construct the correlation between the historical data and time through the relationship capture layer to determine the time relationship sequence. The energy production prediction network constructed based on the long short-term memory model is used to analyze the time relationship sequence to determine the renewable energy production prediction result; The second unit is used to determine the proportion of renewable energy according to the properties of the power generation unit, and to construct a first objective function based on the renewable energy output prediction result and the proportion of renewable energy with the goal of maximizing the utilization rate of renewable energy; Calculate the power system operation cost based on the power generation cost, transmission loss cost, energy storage facility charging and discharging cost, and power purchase cost, and construct a second objective function with the goal of minimizing the power system operation cost; The third unit is used to determine a coordinated scheduling function based on the first objective function and the second objective function, construct a scheduling scheme search algorithm, and iteratively obtain the optimal scheduling scheme based on the coordinated scheduling function by calculating the evaluation quality value of the scheduling scheme and combining the adaptive state factor.

6. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method described in any one of claims 1 to 4.

7. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 4 is implemented.