An intelligent power grid optimization method based on an optimization algorithm
Patent Information
- Application Number
- CN202510843345.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-23
- Publication Date
- 2026-09-29
- Estimated Expiration
- 2045-06-23
AI Technical Summary
[0003]针对现有技术存在的不足,本发明目的是提供一种基于优化算法的智能电网优化方法,旨在解决智能优化复杂的问题
增强供能平衡:根据供能需求的波动性将多个用电端作为整体,使整体的供能处于相对平衡的状态,降低供能的波动性,使智能电网对该整体的供能呈现稳定供能的状态,保障了电能质量与设备安全,同时加强了智能电网的稳定性。
Smart Images

Figure CN120688691B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a smart grid optimization method based on an optimization algorithm, and pertains to the field of smart optimization. Background Technology
[0002] Existing methods for optimizing smart grids have the following shortcomings: Lagging response to dynamic changes in power supply: Power supply in smart grids is random and fluctuating. For example, electricity consumption increases sharply during peak hours for residential use and power is frequently started and stopped during industrial production. When power supply suddenly increases, if the power generation capacity cannot be adjusted in time, it will lead to a drop in system frequency and affect power quality. When power supply suddenly decreases, if the power generation output cannot be reasonably controlled, it may cause generator set overload or system voltage rise, threatening equipment safety. Delayed fault detection and location: The smart grid is large in scale and complex in structure. When a fault occurs, the existing optimization methods are delayed in fault detection and location. Traditional fault detection methods mainly rely on relay protection devices, but these devices may malfunction or fail to operate, and it is difficult to quickly and accurately locate the fault location. Cyberattacks can lead to control failures: Smart grids rely heavily on information and communication technologies, and cyberattacks can cause grid control systems to fail, disrupting the power balance of the grid. Summary of the Invention
[0003] In view of the shortcomings of existing technologies, the purpose of this invention is to provide a smart grid optimization method based on optimization algorithms, which aims to solve the complex problems of smart optimization.
[0004] To achieve the above objectives, the present invention provides a smart grid optimization method based on an optimization algorithm, characterized in that the optimization method includes: Step S1: Obtain hardware and transmission information of the smart grid; Step S2: Based on the hardware information of the smart grid, monitor the hardware of the smart grid. Based on the monitoring results, divide the hardware of the smart grid into normal hardware and maintenance hardware, and perform maintenance operations on the maintenance hardware. Obtain the transmission route by transmitting information, and adjust the transmission route in combination with the distribution of normal hardware to obtain the adjusted transmission information. Step S3: Based on the adjusted transmission information, obtain the power consumption end information and the power generation end information; analyze the power supply and demand based on the power consumption end information and the power generation end information, and schedule the power production and operation based on the analysis results; Step S4: Inspect the power dispatching process; control the power dispatching based on the inspection results; Step S5: Implement network security protection for the smart grid to ensure the safe execution of power dispatch.
[0005] Furthermore, the specific steps of step S2 are as follows: Step S21: Obtain the standard parameters of the hardware based on the hardware information of the smart grid; monitor the hardware of the smart grid to obtain the actual parameters of the hardware; classify the hardware according to the standard parameters and the actual parameters of the hardware to obtain normal hardware and repair hardware; and repair the repair hardware. Step S22: Based on the transmission information, obtain the transmission route, and according to the repair hardware, cut off the transmission route. Transfer the transmission of the cut-off part through normal hardware to obtain the adjusted transmission information.
[0006] Furthermore, the specific steps of step S21 are as follows: Step S211: Obtain the number of hardware parameters a; denote the standard parameters of the hardware as bz1, bz2, ..., bza; denote the actual parameters of the hardware as sj1, sj2, ..., sja; compare sj1 to sja with bz1 to bza. If there is a discrepancy between the actual parameters of the hardware and the standard parameters, it is determined that the hardware is abnormal. The hardware is marked as repair hardware, and the parameters are marked as abnormal parameters. Repair the hardware. If there is a discrepancy between the actual parameters of the hardware and the standard parameters, it is determined to be normal hardware. Step S212: Search for hardware repair methods based on abnormal hardware parameters, repair the hardware according to the repair methods, record the frequency of occurrence of abnormal parameters, sort the abnormal parameters in descending order according to the frequency of occurrence, build a knowledge base, record the repair methods corresponding to the sorted abnormal parameters, and perform timely maintenance on hardware abnormalities based on the knowledge base.
[0007] Furthermore, the specific steps of step S22 are as follows: Step S221: Obtain the transmission route, store the transmission route through a graph data structure, obtain the hardware on the transmission route, treat the hardware as nodes, treat the connections between hardware as connected lines, and treat the power transmission between hardware as weights to obtain the transmission route graph. Step S222: If the hardware is normal, then the node is a connected node; if the hardware is under repair, then the node is an interrupted node. Traverse the transmission route map. If the transmission route map reaches the interrupted node, adjust the traversal position to the previous node, obtain the weight between the node and the interrupted node, distribute the weight to the other connected lines of the node, and delete the interrupted node and the connected lines with a weight of 0 according to the traversal results to obtain the improved transmission route map, which is called the adjusted route map. Step S223: Adjust the transmission information according to the adjustment route map. Map the transmission route according to the weights and connected lines in the adjustment route map to obtain the adjusted transmission information.
[0008] Furthermore, the specific steps of step S3 are as follows: Step S31: Based on the adjusted transmission information, obtain the power consumption end information and the power generation end information. Based on the power generation end information, obtain the power generation terminal of the smart grid, obtain the power generation type of the power generation terminal, and classify the power generation terminal into renewable energy terminals and traditional energy terminals according to the power generation type of the power generation terminal. Based on the information from the electricity consumption terminals, the user's electricity consumption is analyzed, and combined with the renewable energy terminals, the local electricity balance of the user is judged. Step S32: Analyze the power supply and demand at the power consumption end based on the judgment results, and supply power to the power consumption end through traditional energy terminals; perform power dispatching based on the power supply behavior of traditional energy terminals to the power consumption end.
[0009] Furthermore, the specific steps of step S31 are as follows: Step S311: Based on the electricity consumption information, obtain the electricity consumption curve F1(b) for the electricity consumption period from 0 to b at the electricity consumption terminal. Obtain the electricity consumption curve F2(b) for the adjacent electricity consumption terminal for the b-th period. Add the electricity consumption curve F1(b) and the electricity consumption curve F2(b) to obtain F(b); calculate the change ratio bz(b); as follows: ; Where: d(F(b)) / d(b) represents the derivative of F(b) with respect to b, d(F1(b)) / d(b) represents the derivative of F1(b) with respect to b, and d(F2(b)) / d(b) represents the derivative of F2(b) with respect to b; If the change ratio bz(b) is always less than 0 in the range of 0 to b, then the power consumption terminal and the adjacent power consumption terminal are regarded as a whole and regarded as a local power consumption terminal. Step S312: Obtain the renewable energy terminal, connect the nearby local power consumption terminal of the renewable energy terminal, count the amount of renewable energy of the renewable energy terminal, and transmit the renewable energy of the renewable energy terminal to the nearby local power consumption terminal. Obtain the total energy consumption of the adjacent local power consumption terminals. If the renewable energy terminal's renewable energy consumption is greater than the total energy consumption of the adjacent local power consumption terminals, establish an energy storage device between the renewable energy terminal and the adjacent local power consumption terminals. Through the energy storage device, the renewable energy terminal and the adjacent local power consumption terminals can complete a local power supply cycle.
[0010] Furthermore, step S311 also includes: Obtain the power consumption curve F3(b) of the local power consumption terminal, extract the minimum value min in F3(b), and shift the power consumption curve F3(b) of the local power consumption terminal downward based on the minimum value min to obtain the shifted curve F4(b). Determine the constant energy amount hdn provided to the local power consumption terminal based on min. The total fluctuating energy bdn at the local power consumption end is calculated based on the translation curve F4(b): ; The average value of the fluctuating energy is calculated from the total fluctuating energy amount bdn at the local power consumption end, and the fluctuating average value bjz is obtained. Energy is supplied to the local power consumption terminals based on the constant energy quantity hdn and the average fluctuation value bjz, as follows: A power storage device is installed at the local power consumption point, and the power storage capacity of the power storage device is xdl=2×bdn; Energy is transmitted to the energy storage device so that it stores energy of bdn. The energy storage device is connected to a local power consumption terminal. The energy storage device provides energy to the local power consumption terminal and provides energy of hdn to the local power consumption terminal. The energy storage device provides energy of bjz to the energy storage device. Real-time monitoring of the energy storage device; early warning when the energy level in the energy storage device is lower than bdn / 2 or higher than xdn-bdn / 2. Treating a local power consumption terminal as a whole, its adjacent power consumption terminals are expanded. If its adjacent power consumption terminals meet the expansion conditions, then the power consumption terminal belongs to the local power consumption terminal. Similarly, multiple power-consuming terminals can be integrated into multiple local power-consuming terminals.
[0011] Furthermore, the specific steps of step S312 are as follows: Obtain the regenerative energy curve T(c) of the regenerative energy terminal from time 0 to time c; calculate the total regenerative energy of the regenerative energy terminal based on the regenerative energy curve T(c) to obtain the total regenerative energy ZZL; ; The average regeneration value ZJZ from time 0 to time c is calculated based on the total regeneration amount ZZL; Obtain the energy consumption curve Y(c) of the adjacent local power consumption terminal from time 0 to time c; calculate the total energy consumption of the adjacent local power consumption terminal based on the energy consumption curve Y(c) of the adjacent local power consumption terminal to obtain the total energy consumption YZL. ; The average energy consumption YJZ from time 0 to time c is calculated based on the total energy consumption YZL. Comparison of total energy regeneration (ZZL) and total energy consumption (YZL): If ZZL≥YZL, it is determined that the amount of renewable energy in the renewable energy terminal is greater than the total energy consumption of the adjacent local power consumption terminal, and the renewable energy terminal and the adjacent local power consumption terminal can achieve local power self-production and self-consumption. If ZZL < YZL, it is determined that the amount of renewable energy at the renewable energy terminal is less than the total energy consumption of the adjacent local power consumption terminal. The renewable energy terminal and the adjacent local power consumption terminal cannot achieve local power self-production and self-consumption, and energy needs to be transmitted to the power consumption terminal. The amount of energy transmitted is the difference between the average energy consumption YJZ and the average renewable energy ZJZ.
[0012] Furthermore, the specific steps of step S32 are as follows: Step S321: If the renewable energy terminal and the adjacent local power consumption terminal can achieve local power self-production and self-consumption, then monitor the local power consumption terminal and intervene when the local power consumption terminal shows abnormal energy consumption. Step S322: If the renewable energy terminal and the adjacent local power consumption terminal cannot achieve local power self-production and self-consumption, obtain the average production capacity and average energy consumption, and transmit energy to the local area according to the difference between the average production capacity and average energy consumption. Step S323: Statistically identify the power-consuming terminals that require energy transmission, produce energy through traditional energy terminals, and transmit it to the power-consuming terminals to complete power dispatch.
[0013] Furthermore, the specific steps of step S4 are as follows: Step S41: Acquire external images during power dispatch, clean the external images using artificial intelligence to obtain abnormal images, and make maintenance personnel make maintenance judgments on the power grid based on the abnormal images to determine whether the abnormality requires shutdown maintenance. Step S42: Monitor the grid operation status during the power dispatching process and obtain the grid voltage in real time; obtain the standard voltage based on the transmitted information; compare the grid voltage with the standard voltage, issue an early warning when the grid voltage is greater than the standard voltage, and record the number of early warnings; when the number of early warnings is greater than y, perform grid maintenance. Step S43: When an anomaly is discovered during inspection, the anomaly is uploaded. It is determined by manual identification whether maintenance is required. If not, the anomaly area is marked and provided to maintenance personnel. If it is required, the area is designated as a circuit breaker area, and the dispatch route is changed in conjunction with step S22.
[0014] Compared with the prior art, the beneficial effects of the present invention are: Enhanced energy supply balance: By treating multiple power consumption points as a whole based on the fluctuations in energy demand, the overall energy supply is kept in a relatively balanced state, reducing energy supply volatility and ensuring a stable energy supply from the smart grid to the whole. This guarantees power quality and equipment safety, while also enhancing the stability of the smart grid.
[0015] Strengthen fault monitoring: During energy dispatching, the smart grid is monitored in real time to promptly reflect the location of faults and carry out timely repairs to ensure the effective dispatching of the smart grid; abnormal power consumption is monitored at the power consumption end, and by setting thresholds, power consumption at the power consumption end can be prevented in advance and repaired in a timely manner to ensure the power needs of users.
[0016] Strengthen cybersecurity: Build a layered defense architecture for the smart grid, monitor and block external network attacks in real time to ensure the effective operation of the smart grid, and encrypt data to ensure data security. Attached Figure Description
[0017] Other features, objects, and advantages of the invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 This is a schematic diagram of the method of the present invention; Figure 2 This is a schematic diagram of the route adjustment for the present invention; Figure 3 This is a schematic diagram of the data processing of the present invention. Detailed Implementation
[0018] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0019] Example 1 Please see Figure 1 A smart grid optimization method based on optimization algorithms includes: It should be noted that a smart grid is an energy network system that comprehensively upgrades the traditional power grid through digitalization, automation, and information technology. Its core lies in realizing two-way interaction of power flow and real-time coordination of information flow.
[0020] Step S1: Obtain hardware and transmission information of the smart grid; Step S2: Based on the hardware information of the smart grid, monitor the hardware of the smart grid. Based on the monitoring results, classify the hardware of the smart grid into normal hardware and maintenance hardware, and perform maintenance operations on the maintenance hardware. By transmitting information, the transmission route is obtained, and the transmission route is adjusted in combination with the normal hardware distribution to obtain the adjusted transmission information; Step S21: Based on the hardware information of the smart grid, obtain the standard parameters of the hardware; apply a composite diagnostic method of infrared imaging and partial discharge detection to monitor the hardware of the smart grid, obtain the actual parameters of the hardware, classify the hardware according to the standard parameters and the actual parameters of the hardware, obtain normal hardware and repair hardware, and repair the repair hardware. Step S211: Obtain the number of hardware parameters a; denote the standard parameters of the hardware as bz1, bz2, ..., bza; denote the actual parameters of the hardware as sj1, sj2, ..., sja; compare sj1, sj2, ..., sja with bz1, bz2, ..., bza. If there is a discrepancy between the actual parameters of the hardware and the standard parameters, it is determined that the hardware is abnormal. The hardware is marked as hardware to be repaired, and the parameters are marked as abnormal parameters. Repair is then performed on the hardware. Step S212: Import the standard working method manual, search the standard working method manual according to the abnormal parameters of the hardware to obtain the hardware repair methods, repair the hardware according to the repair methods, record the frequency of occurrence of abnormal parameters, sort the abnormal parameters in descending order according to the frequency of occurrence of abnormal parameters, build a knowledge base, record the repair methods corresponding to the sorted abnormal parameters, and perform timely maintenance on hardware abnormalities according to the knowledge base. It should be noted that a construction method refers to a comprehensive and integrated set of construction methods that take a project as its object, technology as its core, apply the principles of systems engineering, and combine advanced technology with scientific management, formed through engineering practice. It must be advanced, applicable, and possess characteristics such as ensuring project quality and safety, environmental protection, improved construction efficiency, and reduced project costs. A standard construction method manual is a guiding document that systematically organizes and compiles these construction methods.
[0021] Step S22: Based on the transmission information, obtain the transmission route; based on the repair hardware, cut off the transmission route; transfer the transmission of the cut-off part through normal hardware to obtain the adjusted transmission information. Please see Figure 2 Step S221: Obtain the transmission route, store the transmission route through a graph data structure, obtain the hardware on the transmission route, treat the hardware as nodes, treat the connections between hardware as connected lines, and treat the power transmission between hardware as weights to obtain the transmission route graph. Step S222: Improve the transmission route map according to the hardware classification. If the hardware is normal, the node is a connected node. If the hardware is under repair, the node is an interrupted node. Traverse the transmission route map. If the transmission route map reaches the interrupted node, adjust the traversal position to the previous node, obtain the weight between the node and the interrupted node, distribute the weight to the other connected lines of the node, and delete the interrupted node and the connected lines with a weight of 0 according to the traversal results to obtain the improved transmission route map, which is called the adjusted route map. Step S223: Adjust the transmission information according to the adjustment route map. Map the transmission route according to the weights and connected lines in the adjustment route map to obtain the adjusted transmission information. Step S3: Based on the adjusted transmission information, obtain the power consumption end information and the power generation end information; analyze the power supply and demand based on the power consumption end information and the power generation end information, and schedule the power production and operation based on the analysis results; Step S31: Based on the adjusted transmission information, obtain the power consumption end information and the power generation end information. Based on the power generation end information, obtain the power generation terminal of the smart grid, obtain the power generation type of the power generation terminal, and classify the power generation terminal into renewable energy terminals and traditional energy terminals according to the power generation type of the power generation terminal. It should be noted that: renewable energy terminals refer to power generation terminals that are renewable energy sources and can provide distributed clean energy access, such as photovoltaic power plants, wind turbines, and small hydropower; traditional energy terminals refer to power generation terminals that are traditional energy sources and can provide baseload and peak-shaving capabilities, such as gas turbines and coal-fired power plants (with CCUS installed). Based on the information from the electricity consumption terminals, the user's electricity consumption is analyzed, and combined with the renewable energy terminals, the local electricity balance of the user is judged. Please see Figure 3 Step S311: Based on the power consumption information, obtain the power consumption curve F1(b) for the power consumption period from 0 to b at the power consumption terminal, obtain the power consumption curve F2(b) for the adjacent power consumption terminal for the b-th period, add the power consumption curve F1(b) and the power consumption curve F2(b) together to obtain F(b); compare and calculate the change ratio bz(b) by comparing the change rates of the power consumption curves F1(b) and F2(b) based on the change rate of F(b). ; Where: d(F(b)) / d(b) represents the derivative of F(b) with respect to b, which indicates the rate of change of F(b) when b changes slightly; similarly, d(F1(b)) / d(b) represents the derivative of F1(b) with respect to b, and d(F2(b)) / d(b) represents the derivative of F2(b) with respect to b.
[0022] It should be noted that: d() represents the differentiation operation of the function within the parentheses, and max represents taking the maximum value of the two; If the change ratio bz(b) is always less than 0 in the range of 0 to b, then the power consumption terminal and the adjacent power consumption terminal are regarded as a whole and regarded as a local power consumption terminal. Obtain the power consumption curve F3(b) of the local power consumption terminal, extract the minimum value min in F3(b), and shift the power consumption curve F3(b) of the local power consumption terminal downward based on the minimum value min to obtain the shifted curve F4(b). Determine the constant energy amount hdn provided to the local power consumption terminal based on min.
[0023] The total fluctuating energy bdn at the local power consumption end is calculated based on the translation curve F4(b): ; The average value of the fluctuating energy is calculated from the total fluctuating energy amount bdn at the local power consumption end, and the fluctuating average value bjz is obtained.
[0024] Energy is supplied to the local power consumption terminals based on the constant energy quantity hdn and the average fluctuation value bjz, as follows: A power storage device is installed at the local power consumption point, and the power storage capacity of the power storage device is xdl=2×bdn; Energy is transmitted to the energy storage device so that it stores energy of bdn. The energy storage device is connected to a local power consumption terminal. The energy storage device provides energy to the local power consumption terminal and provides energy of hdn to the local power consumption terminal. The energy storage device provides energy of bjz to the energy storage device. The energy storage device is monitored in real time, and an early warning is issued when the energy level in the energy storage device is lower than bdn / 2 or higher than xdn-bdn / 2.
[0025] Treating a local power consumption terminal as a whole, its adjacent power consumption terminals are expanded. If its adjacent power consumption terminals meet the expansion conditions, then the power consumption terminal belongs to the local power consumption terminal. It should be noted that: the extended condition refers to the ratio bz(b) of the change between the local power consumption terminal and its adjacent power consumption terminal being always less than 0 in the range of 0 to b; Similarly, multiple power consumption terminals can be integrated into multiple local power consumption terminals; It should be noted that the change ratio bz(b) is always less than 0 in the range of 0 to b, indicating that the power transmission is more stable when the two power terminals are treated as a whole. Step S312: Obtain the renewable energy terminal, connect the nearby local power consumption terminal of the renewable energy terminal, count the amount of renewable energy of the renewable energy terminal, and transmit the renewable energy of the renewable energy terminal to the nearby local power consumption terminal. Obtain the total energy consumption of the adjacent local power consumption terminals. If the renewable energy terminal's renewable energy consumption is greater than the total energy consumption of the adjacent local power consumption terminals, establish an energy storage device between the renewable energy terminal and the adjacent local power consumption terminals. Through the energy storage device, the renewable energy terminal and the adjacent local power consumption terminals can complete a local power supply cycle. Step S3121: Obtain the regenerative energy curve T(c) of the regenerative energy terminal from time 0 to time c; calculate the total regenerative energy of the regenerative energy terminal based on the regenerative energy curve T(c) of the regenerative energy terminal to obtain the total regenerative energy ZZL; ; The average regeneration value ZJZ from time 0 to time c is calculated based on the total regeneration amount ZZL; ; Step S3122: Obtain the energy consumption curve Y(c) of the adjacent local power consumption terminal from time 0 to time c; calculate the total energy consumption of the adjacent local power consumption terminal based on the energy consumption curve Y(c) of the adjacent local power consumption terminal to obtain the total energy consumption YZL. ; The average energy consumption YJZ from time 0 to time c is calculated based on the total energy consumption YZL. ; Step S3123: Compare and determine the total amount of regenerated energy ZZL with the total amount of energy consumed YZL: If ZZL≥YZL, it indicates that the amount of renewable energy at the renewable energy terminal is greater than the total energy consumption of the adjacent local power consumption terminal, and the renewable energy terminal and the adjacent local power consumption terminal can achieve local power self-production and self-consumption. If ZZL < YZL, it indicates that the amount of renewable energy at the renewable energy terminal is less than the total energy consumption of the adjacent local power consumption terminal. The renewable energy terminal and the adjacent local power consumption terminal cannot achieve self-production and self-consumption of local electricity, and energy needs to be transmitted to the power consumption terminal. The amount of energy transmitted is the difference between the average energy consumption YJZ and the average renewable energy ZJZ.
[0026] Step S32: Analyze the power supply and demand at the power consumption end based on the judgment results, and supply power to the power consumption end through traditional energy terminals; perform power dispatching based on the power supply behavior of traditional energy terminals to the power consumption end; Step S321: If the renewable energy terminal and the adjacent local power consumption terminal can achieve local power self-production and self-consumption, then monitor the local power consumption terminal and intervene when the local power consumption terminal shows abnormal energy consumption. Step S322: If the renewable energy terminal and the adjacent local power consumption terminal cannot achieve local power self-production and self-consumption, obtain the average production capacity and average energy consumption, and transmit energy to the local area according to the difference between the average production capacity and average energy consumption. Step S323: Statistically identify the power-consuming terminals that require energy transmission, produce energy through traditional energy terminals, and transmit it to the power-consuming terminals to complete power dispatch.
[0027] Step S4: Conduct inspections of the power dispatching process and control the power dispatching based on the inspection results; Step S41: Establish an intelligent inspection system for drones to inspect the power dispatching process. The system acquires external images of the power dispatching process using drones, cleans the external images using artificial intelligence to obtain abnormal images, and maintenance personnel make maintenance judgments on the power grid based on the abnormal images to determine whether the abnormality requires shutdown maintenance. Step S42: Monitor the grid operation status during the power dispatching process and obtain the grid voltage in real time; obtain the standard voltage based on the transmitted information; compare the grid voltage with the standard voltage, issue an early warning when the grid voltage is greater than the standard voltage, and record the number of early warnings; when the number of early warnings is greater than y, perform grid maintenance. It should be noted that y refers to the warning threshold set by power grid maintenance personnel. When the number of warnings exceeds the warning threshold, it indicates that the problem is serious and timely maintenance is required.
[0028] Step S43: When an anomaly is discovered during inspection, the anomaly is uploaded. It is determined by manual identification whether maintenance is required. If not, the anomaly area is marked and provided to maintenance personnel. If it is required, the area is designated as a circuit breaker area, and the dispatch route is changed in conjunction with step S22.
[0029] Step S5: Implement network security protection for the smart grid to ensure the secure execution of power dispatch; Step S51: Construct a layered defense architecture for the smart grid, consisting of a boundary protection layer, a network isolation layer, and an endpoint protection layer; deploy industrial-grade firewalls and intrusion detection systems (IDS) on the boundary protection layer to monitor and block external network attacks in real time; use virtual private networks (VPNs) and physical isolation devices to divide the production control area and management information area for isolated management of control and information on the network isolation layer; install host protection software (such as a whitelist mechanism) on the endpoint protection layer to prohibit the execution of unauthorized programs.
[0030] Step S52: Encrypt and store the scheduling and control information using a randomly generated key. Link the key to the operation permission and decrypt the information only with the permission. At the same time, limit the access address. If the access address is not within the limited range, issue a warning for the access behavior and lock the information.
[0031] The above formulas are all dimensionless calculations. The formulas are derived from software simulations using a large amount of collected data to obtain the most recent real-world results. The preset parameters in the formulas are set by those skilled in the art according to the actual situation. For example, there are weighting coefficients and proportional coefficients. The values set are to quantify each parameter to obtain a specific value, which is convenient for subsequent comparison. The values of the weighting coefficients and proportional coefficients are only required to not affect the proportional relationship between the parameters and the quantified values.
[0032] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A smart grid optimization method based on an optimization algorithm, characterized in that, The optimization method includes: Step S1: Obtain hardware and transmission information of the smart grid; Step S2: Based on the hardware information of the smart grid, monitor the hardware of the smart grid. Based on the monitoring results, divide the hardware of the smart grid into normal hardware and maintenance hardware, and perform maintenance operations on the maintenance hardware. Obtain the transmission route by transmitting information, and adjust the transmission route in combination with the distribution of normal hardware to obtain the adjusted transmission information. Step S3: Based on the adjusted transmission information, obtain the power consumption end information and the power generation end information; analyze the power supply and demand based on the power consumption end information and the power generation end information, and schedule the power production and operation based on the analysis results; Step S4: Inspect the power dispatching process; control the power dispatching based on the inspection results; Step S5: Implement network security protection for the smart grid to ensure the secure execution of power dispatching; The specific steps of step S3 are as follows: Step S31: Based on the adjusted transmission information, obtain the power consumption end information and the power generation end information. Based on the power generation end information, obtain the power generation terminal of the smart grid, obtain the power generation type of the power generation terminal, and classify the power generation terminal into renewable energy terminals and traditional energy terminals according to the power generation type of the power generation terminal. Based on the information from the electricity consumption terminals, the user's electricity consumption is analyzed, and combined with the renewable energy terminals, the local electricity balance of the user is judged. Step S32: Analyze the power supply and demand at the power consumption end based on the judgment results, and supply power to the power consumption end through traditional energy terminals; perform power dispatching based on the power supply behavior of traditional energy terminals to the power consumption end; The specific steps of step S31 are as follows: Step S311: Based on the electricity consumption information, obtain the electricity consumption curve F1(b) for the electricity consumption period from 0 to b at the electricity consumption terminal. Obtain the electricity consumption curve F2(b) for the adjacent electricity consumption terminal for the b-th period. Add the electricity consumption curve F1(b) and the electricity consumption curve F2(b) to obtain F(b); calculate the change ratio bz(b); as follows: ; Where: d(F(b)) / d(b) represents the derivative of F(b) with respect to b, d(F1(b)) / d(b) represents the derivative of F1(b) with respect to b, and d(F2(b)) / d(b) represents the derivative of F2(b) with respect to b; If the change ratio bz(b) is always less than 0 in the range of 0 to b, then the power consumption terminal and the adjacent power consumption terminal are regarded as a whole and regarded as a local power consumption terminal. Step S312: Obtain the renewable energy terminal, connect the nearby local power consumption terminal of the renewable energy terminal, count the amount of renewable energy of the renewable energy terminal, and transmit the renewable energy of the renewable energy terminal to the nearby local power consumption terminal. Obtain the total energy consumption of the adjacent local power consumption terminals. If the renewable energy terminal's renewable energy consumption is greater than or equal to the total energy consumption of the adjacent local power consumption terminals, establish an energy storage device between the renewable energy terminal and the adjacent local power consumption terminals. Through the energy storage device, the renewable energy terminal and the adjacent local power consumption terminals can complete a local power supply cycle. Step S311 further includes: Obtain the power consumption curve F3(b) of the local power consumption terminal, extract the minimum value min in F3(b), and shift the power consumption curve F3(b) of the local power consumption terminal downward based on the minimum value min to obtain the shifted curve F4(b). Determine the constant energy amount hdn provided to the local power consumption terminal based on min. The total fluctuating energy bdn at the local power consumption end is calculated based on the translation curve F4(b): ; The average value of the fluctuating energy is calculated from the total fluctuating energy amount bdn at the local power consumption end, and the fluctuating average value bjz is obtained. Energy is supplied to the local power consumption terminals based on the constant energy quantity hdn and the average fluctuation value bjz, as follows: A power storage device is installed at the local power consumption point, and the power storage capacity of the power storage device is xdl=2×bdn; Energy is transmitted to the energy storage device so that it stores energy of bdn. The energy storage device is connected to a local power consumption terminal. The energy storage device provides energy to the local power consumption terminal and provides energy of hdn to the local power consumption terminal. The energy storage device provides energy of bjz to the energy storage device. Real-time monitoring of the energy storage device; early warning when the energy level in the energy storage device is lower than bdn / 2 or higher than xdl-bdn / 2. Treating a local power consumption terminal as a whole, its adjacent power consumption terminals are expanded. If its adjacent power consumption terminals meet the expansion conditions, then the power consumption terminal belongs to the local power consumption terminal. Similarly, multiple power-consuming terminals can be integrated into multiple local power-consuming terminals.
2. The smart grid optimization method based on an optimization algorithm according to claim 1, characterized in that, The specific steps of step S2 are as follows: Step S21: Obtain the standard parameters of the hardware based on the hardware information of the smart grid; monitor the hardware of the smart grid to obtain the actual parameters of the hardware; classify the hardware according to the standard parameters and the actual parameters of the hardware to obtain normal hardware and repair hardware; and repair the repair hardware. Step S22: Based on the transmission information, obtain the transmission route, and according to the repair hardware, cut off the transmission route. Transfer the transmission of the cut-off part through normal hardware to obtain the adjusted transmission information.
3. The smart grid optimization method based on an optimization algorithm according to claim 2, characterized in that, The specific steps of step S21 are as follows: Step S211: Obtain the number of hardware parameters a; denote the standard parameters of the hardware as bz1, bz2, ..., bza; denote the actual parameters of the hardware as sj1, sj2, ..., sja; compare sj1 to sja with bz1 to bza. If there is a discrepancy between the actual parameters of the hardware and the standard parameters, it is determined that the hardware is abnormal. The hardware is marked as repair hardware, and the parameters are marked as abnormal parameters. Repair the hardware. If there is a discrepancy between the actual parameters of the hardware and the standard parameters, it is determined to be normal hardware. Step S212: Search for hardware repair methods based on abnormal hardware parameters, repair the hardware according to the repair methods, record the frequency of occurrence of abnormal parameters, sort the abnormal parameters in descending order according to the frequency of occurrence, build a knowledge base, record the repair methods corresponding to the sorted abnormal parameters, and perform timely maintenance on hardware abnormalities based on the knowledge base.
4. The smart grid optimization method based on an optimization algorithm according to claim 2, characterized in that, The specific steps of step S22 are as follows: Step S221: Obtain the transmission route, store the transmission route through a graph data structure, obtain the hardware on the transmission route, treat the hardware as nodes, treat the connections between hardware as connected lines, and treat the power transmission between hardware as weights to obtain the transmission route graph. Step S222: If the hardware is normal, then the node is a connected node; if the hardware is under repair, then the node is an interrupted node. Traverse the transmission route map. If the transmission route map reaches the interrupted node, adjust the traversal position to the previous node, obtain the weight between the node and the interrupted node, distribute the weight to the other connected lines of the node, and delete the interrupted node and the connected lines with a weight of 0 according to the traversal results to obtain the improved transmission route map, which is called the adjusted route map. Step S223: Adjust the transmission information according to the adjustment route map. Map the transmission route according to the weights and connected lines in the adjustment route map to obtain the adjusted transmission information.
5. The smart grid optimization method based on an optimization algorithm according to claim 1, characterized in that, The specific steps of step S312 are as follows: Obtain the regenerative energy curve T(c) of the regenerative energy terminal from time 0 to time c; calculate the total regenerative energy of the regenerative energy terminal based on the regenerative energy curve T(c) to obtain the total regenerative energy ZZL; ; The average regeneration value ZJZ from time 0 to time c is calculated based on the total regeneration amount ZZL; Obtain the energy consumption curve Y(c) of the adjacent local power consumption terminal from time 0 to time c; calculate the total energy consumption of the adjacent local power consumption terminal based on the energy consumption curve Y(c) of the adjacent local power consumption terminal to obtain the total energy consumption YZL. ; The average energy consumption YJZ from time 0 to time c is calculated based on the total energy consumption YZL. Comparison of total energy regeneration (ZZL) and total energy consumption (YZL): If ZZL≥YZL, it is determined that the amount of renewable energy in the renewable energy terminal is greater than or equal to the total energy consumption of the adjacent local power consumption terminal, and the renewable energy terminal and the adjacent local power consumption terminal can achieve local power self-production and self-consumption. If ZZL < YZL, it is determined that the amount of renewable energy at the renewable energy terminal is less than the total energy consumption of the adjacent local power consumption terminal. The renewable energy terminal and the adjacent local power consumption terminal cannot achieve local power self-production and self-consumption, and energy needs to be transmitted to the power consumption terminal. The amount of energy transmitted is the difference between the average energy consumption YJZ and the average renewable energy ZJZ.
6. The smart grid optimization method based on an optimization algorithm according to claim 1, characterized in that, The specific steps of step S32 are as follows: Step S321: If the renewable energy terminal and the adjacent local power consumption terminal can achieve local power self-production and self-consumption, then monitor the local power consumption terminal and intervene when the local power consumption terminal shows abnormal energy consumption. Step S322: If the renewable energy terminal and the adjacent local power consumption terminal cannot achieve local power self-production and self-consumption, obtain the average production capacity and average energy consumption, and transmit energy to the local area according to the difference between the average production capacity and average energy consumption. Step S323: Statistically identify the power-consuming terminals that require energy transmission, produce energy through traditional energy terminals, and transmit it to the power-consuming terminals to complete power dispatch.
7. The smart grid optimization method based on an optimization algorithm according to claim 2, characterized in that, The specific steps of step S4 are as follows: Step S41: Acquire external images during power dispatch, clean the external images using artificial intelligence to obtain abnormal images, and make maintenance personnel make maintenance judgments on the power grid based on the abnormal images to determine whether the abnormality requires shutdown maintenance. Step S42: Monitor the grid operation status during the power dispatching process and obtain the grid voltage in real time; obtain the standard voltage based on the transmitted information; compare the grid voltage with the standard voltage, issue an early warning when the grid voltage is greater than the standard voltage, and record the number of early warnings; when the number of early warnings is greater than y, perform grid maintenance. Step S43: When an anomaly is discovered during inspection, the anomaly is uploaded. It is determined by manual identification whether maintenance is required. If not, the anomaly area is marked and provided to maintenance personnel. If it is required, the area is designated as a circuit breaker area, and the dispatch route is changed in conjunction with step S22.
Citation Information
Patent Citations
Intelligent control method of peak-valley load balance of high-tension distribution network
CN109842140A
Double-layer aggregation method, system and device for transformer area side resources and storage medium
CN118171163A