A load control method, system, device and storage medium for electric power equipment
By constructing a directed acyclic graph model and dynamically adjusting the power load, the problem of low power load management efficiency in the industrial park is solved, more efficient and stable power supply and load control are achieved, and the safety and stability of the production process are ensured. sex.
Patent Information
- Application Number
- CN202410924388.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-11
AI Technical Summary
Existing power load management methods are inefficient, waste resources and have poor power supply stability in industrial parks. They cannot achieve efficient power supply and reasonable load control, especially the physical isolation and load distribution of power supply lines under the complex relationship between production equipment and environmental control equipment. There are challenges.
By building a directed acyclic graph model, analyzing associated device information, determining topological grouping and startup sequence priorities, generating device startup strategies, and dynamically adjusting power loads and device startup sequences, we achieve precise management of power loads.
It improves the accuracy of power load management, improves the efficiency and stability of the production process, reduces equipment failure rates and energy consumption, and ensures the safety and stability of the industrial park.
Smart Images

Figure CN118472947B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power load control, and in particular to a load control method, system, device and storage medium for power equipment. Background Art
[0002] In the power management of industrial parks, there is a complex relationship between production equipment and environmental control equipment. Production equipment usually needs to be powered first to ensure the continuity of production tasks, while environmental control equipment is responsible for creating a production environment for production equipment, which will affect the production efficiency and quality of production equipment. The startup and operation modes of production equipment and environmental control equipment are different. When a piece of production equipment is underpowered, the load needs to be dispatched in time to ensure the continuity of production. How to achieve physical isolation of power supply lines and reasonable distribution of loads while meeting the complex relationship between production equipment and environmental control equipment is a key technical challenge faced in power management in industrial parks.
[0003] The current power load control strategies are mostly based on the functional areas of industrial parks, and do not pay much attention to the different power supply characteristics of the power equipment in the area. As a result, the existing power load management methods have problems such as inefficiency, waste of resources and poor power supply stability when controlling the power load of production equipment and environmental control equipment, and cannot achieve efficient power supply and reasonable load control for industrial parks. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a load control method, system, device and storage medium for power equipment, so as to solve the problems of low efficiency, waste of resources and poor power supply stability in traditional power load management, and achieve the technical effect of improving the management accuracy of power load.
[0005] In a first aspect, the present invention provides a load control method for an electric power device, the method comprising:
[0006] Acquire associated equipment information based on a production process, analyze the associated equipment information, and construct a directed acyclic graph model;
[0007] Performing connectivity analysis on the directed acyclic graph model to determine the topological grouping of each power device and the priority of the startup sequence within the group, and determining the priority of the startup sequence between the groups according to the topological grouping and the logistics cache constraint relationship of the production process;
[0008] A device startup strategy is generated according to the directed acyclic graph model, the intra-group startup sequence priority and the inter-group startup sequence priority, wherein the device startup strategy includes the device startup sequence and the corresponding power distribution in each time period.
[0009] Furthermore, the steps of obtaining associated equipment information based on the production process, analyzing the associated equipment information, and constructing a directed acyclic graph model include:
[0010] Acquire associated equipment information based on the production process, perform data mining on the associated equipment information according to equipment type, and obtain equipment association rules;
[0011] A directed acyclic graph model is constructed by taking the power equipment in the equipment association rule as nodes and the conditions and conclusions of the association rule as directed edges.
[0012] Further, the steps of performing connectivity analysis on the directed acyclic graph model, determining topological grouping of each power device and the priority of the startup sequence within the group, and determining the priority of the startup sequence between groups according to the topological grouping and the logistics cache constraint relationship of the production process include:
[0013] Performing connectivity analysis on the directed acyclic graph model, dividing the device nodes into a plurality of connected components, determining the topological grouping of each power device according to the connected components, and determining the startup sequence priority within the group according to the startup dependency relationship of each device node in the connected components;
[0014] According to the material cache capacity data and production rhythm data of each production link in the production process, and in combination with the topological grouping, the material cache constraint relationship between the devices between the groups is determined;
[0015] According to the material buffer constraint relationship, a material balance constraint satisfaction problem model is constructed, and according to the process characteristics of the production process and the equipment characteristics of the power equipment, a multi-objective optimization model is constructed;
[0016] The material balance constraint satisfaction problem model and the multi-objective optimization model are integrated to construct a hybrid intelligent optimization model based on inter-group equipment startup optimization, and the hybrid intelligent optimization model is solved to obtain the inter-group startup sequence priority.
[0017] Further, the step of generating a device startup strategy according to the directed acyclic graph model, the intra-group startup sequence priority and the inter-group startup sequence priority includes:
[0018] According to the intra-group startup sequence priority and the inter-group startup sequence priority, the directed acyclic graph model is traversed to generate a startup time plan;
[0019] Taking the joint minimization of startup time and equipment energy consumption as the first objective function, a startup sequence optimization model is constructed and solved to obtain the equipment startup sequence;
[0020] Obtaining load forecasting results of the power equipment according to the power load data of the power equipment and a preset load forecasting model;
[0021] The optimal power consumption of the power equipment in each time period is calculated according to the load forecast result and the time-of-use electricity price, and the power is distributed to each power equipment according to the optimal power consumption.
[0022] Furthermore, after the step of generating the device startup strategy, the method further includes:
[0023] Collecting power load data of each power device in real time, analyzing the power load data, and obtaining load characteristics of each power device;
[0024] According to the equipment startup sequence and the load characteristics, a load withdrawal model is constructed, and a mixed integer programming algorithm is used to solve the load withdrawal model to generate a load withdrawal plan;
[0025] Monitor the operating data of each power source and the load supply of each load supply circuit in real time, determine whether the operating data and the load supply meet preset conditions, and determine whether local load extraction is required based on the determination result.
[0026] Furthermore, the step of constructing a load extraction model according to the equipment startup sequence and the load characteristics includes:
[0027] The topological structure and material flow between power equipment are analyzed, and the maximum material transmission time and material buffer capacity between each power equipment are calculated using a directed graph algorithm to obtain the material transmission time window after the power equipment is withdrawn;
[0028] A load extraction model is established according to the load characteristics, the equipment startup sequence and the material transmission time window.
[0029] Furthermore, after the step of generating the load withdrawal plan, the method further includes:
[0030] In response to the end of the production process, load extraction is performed on each power equipment in sequence according to the load extraction plan;
[0031] Monitor the equipment status of each power equipment during the load extraction process, and determine whether there is any equipment status abnormality. If so, restore the load extraction and generate an alarm reminder.
[0032] In a second aspect, the present invention provides a load control system for an electric power device, the system comprising:
[0033] A model building module, used to obtain associated equipment information based on the production process, analyze the associated equipment information, and build a directed acyclic graph model;
[0034] A priority determination module, used to perform connectivity analysis on the directed acyclic graph model, determine the topological grouping of each power device and the priority of the startup sequence within the group, and determine the priority of the startup sequence between groups according to the topological grouping and the logistics cache constraint relationship of the production process;
[0035] The startup strategy generation module is used to generate a device startup strategy according to the directed acyclic graph model, the intra-group startup sequence priority and the inter-group startup sequence priority, wherein the device startup strategy includes the device startup sequence and the corresponding power distribution in each time period.
[0036] In a third aspect, an embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0037] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0038] The present invention provides a load control method, system, device and storage medium for power equipment. The present invention uses a directed acyclic graph model to construct a logical relationship between devices, ensures the rationality of the startup sequence and resource allocation of production equipment, and improves the management accuracy of power load. By dynamically adjusting the power load and the startup sequence of equipment, the efficiency and stability of the production process are improved, the equipment failure rate and energy consumption are reduced, and the safety and stability of the operation of the industrial park are ensured through efficient and intelligent power load control. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a flow chart of a load control method for electric power equipment according to an embodiment of the present invention;
[0040] Figure 2 is a schematic diagram of the structure of a load control system of an electric power device in an embodiment of the present invention;
[0041] Figure 3 It is a diagram of the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] 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 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.
[0043] See also Figure 1 The first embodiment of the present invention provides a load control method for electric power equipment, which includes steps S10 to S30:
[0044] Step S10, obtaining associated equipment information based on the production process, analyzing the associated equipment information, and constructing a directed acyclic graph model;
[0045] Step S20, performing connectivity analysis on the directed acyclic graph model to determine the topological grouping of each power device and the priority of the startup sequence within the group, and determining the priority of the startup sequence between the groups according to the topological grouping and the logistics cache constraint relationship of the production process;
[0046] Step S30, generating a device startup strategy according to the directed acyclic graph model, the intra-group startup sequence priority and the inter-group startup sequence priority, wherein the device startup strategy includes the device startup sequence and the corresponding power distribution in each time period.
[0047] The present invention is to control the power load distribution for the power supply demand of different power equipment in the industrial park. By analyzing the production process in the industrial park, a directed acyclic graph model based on the production process is constructed. The specific steps include:
[0048] Acquire associated equipment information based on the production process, perform data mining on the associated equipment information according to equipment type, and obtain equipment association rules;
[0049] A directed acyclic graph model is constructed by taking the power equipment in the equipment association rule as nodes and the conditions and conclusions of the association rule as directed edges.
[0050] In this embodiment, firstly, based on the associated equipment information of the production process, the association rules between the equipment are mined, where the associated equipment information includes equipment type, material conveying direction, power demand, startup environment, control logic attributes, etc. By analyzing and extracting this information, an equipment attribute database is established, and the equipment is trained and classified using machine learning algorithms such as decision trees or support vector machines using the database. Through feature selection and model optimization, automatic classification and identification of production equipment and environmental control equipment are achieved, where production equipment is equipment used for production tasks, and environmental control equipment is equipment responsible for creating the production environment of production equipment. The analysis of power equipment in the present invention targets both production equipment and environmental control equipment, and will not be repeated later.
[0051] For the classified power equipment, based on the equipment attribute database, the frequent item set mining algorithm is used to extract the association pattern between the equipment attributes, and the association rules are used to represent the implicit constraints and dependencies between the equipment. According to the mined equipment association rules, the equipment in the association rules is used as a node, and the conditions and conclusions of the rules are used as directed edges to construct a directed acyclic graph model to model the logical constraints and startup dependencies between the equipment. The acyclicity of the graph is detected by the topological sorting algorithm, and the startup dependency graph of the equipment is generated. The topological structure of the graph and the weight information of the edges are stored in the form of an adjacency matrix or an adjacency table.
[0052] The above steps are explained below through actual examples. In the process of building the equipment attribute database, the pandas library can be used to process the original data. Through data screening, field splitting, data type conversion and other operations, a structured equipment attribute table is formed, including fields such as equipment ID, material conveying direction, starting temperature, starting humidity, resource power, etc. The FP-growth algorithm is used to mine frequent itemsets, and the minimum support is set to 0.05 and the minimum confidence is set to 0.8. The association rules between equipment attributes are obtained, such as "equipment A starts => equipment B starts (support = 0.1, confidence = 0.9)", which means that when equipment A starts, there is a 90% probability that equipment B also needs to start. The association rules are converted into directed edges, with equipment A pointing to equipment B, and a directed acyclic graph model is constructed. The acyclicity of the graph is verified by the topological_sort function of the NetworkX library, and the adjacency matrix is generated by the nx.to_numpy_matrix function to store the graph structure.
[0053] In a preferred embodiment, the present invention can also optimize the power supply circuit based on the associated equipment information. Specifically, for the classified production equipment, the material conveying direction, equipment layout, material attributes and production process are comprehensively considered, and graph theory algorithms such as the shortest path and maximum flow are used to automatically generate an optimized production line material flow diagram, which clearly displays the material transfer relationship and flow path between the equipment on the production line. According to the power demand attributes of the production equipment, the historical operation data of the equipment is collected, and data preprocessing and feature engineering are performed. Time series prediction algorithms such as ARIMA and LSTM are used to establish an equipment power load prediction model, accurately predict the power load of each production equipment at different production stages, and provide data support for the power supply circuit design.
[0054] For environmental control equipment, by analyzing its startup environment attributes and historical operation data, using data statistics and analysis technology, we build an equipment environment adaptability matrix, quantify the performance and energy consumption level of the equipment under different environmental conditions, and provide a decision-making basis for the precise control of environmental control equipment. Based on factors such as equipment type, material conveying direction, power demand, etc., with the optimization goals of reducing energy consumption and improving reliability, we use intelligent optimization algorithms such as integer programming and heuristic search to perform global optimization design of the power supply circuit, and achieve load isolation. By using segmented power supply, we avoid the impact of high-load equipment on the operation of other equipment, and ensure the stability and reliability of power supply.
[0055] This embodiment, through in-depth analysis of the control logic of production equipment and environmental control equipment, uses rule-based or case-based knowledge representation methods to build an equipment control strategy knowledge base, and combines reasoning mechanisms and strategy optimization algorithms to achieve intelligent equipment control and adaptive strategy generation under changes in the production environment.
[0056] For example, in the device attribute database, the various attributes of the device are stored in a structured manner using a data table structure. For load isolation information, it is added to the device power load table so that the relevant equipment can be quickly isolated when a load abnormality occurs to ensure the stability of the overall system. Load isolation attributes are added to the device classification model so that the impact of load isolation on device classification can be considered in the decision-making process. Load isolation information is also important in the material flow diagram to ensure the rationality of the material transfer path during load isolation. For the power supply circuit optimization design, the impact of load isolation on the power supply circuit optimization is considered to ensure the stability and reliability of the power supply network during load isolation.
[0057] In another preferred embodiment, for the directed acyclic graph model, the present invention can also judge and control the device startup. Specifically, on the basis of the directed acyclic graph model, the device startup optimization problem is converted into the shortest path problem of the graph, with the device as the node and the startup dependency as the edge weight, the Dijkstra algorithm or the Bellman-Ford algorithm is used to search for the optimal path that meets the startup constraints, identify the device nodes where the startup environment does not meet the constraints, and judge that the device startup is limited. For the device nodes with limited startup, through heuristic search algorithms such as the A* algorithm, possible alternative startup paths are searched in the directed acyclic graph, the device startup constraints and the path length are comprehensively considered, and the optimal startup scheme that meets the constraints is found to generate the device optimization startup strategy. Then the device optimization startup strategy is converted into a control instruction, which is issued to each device controller through an industrial communication protocol such as Modbus or OPC UA, and the startup parameters of the device are dynamically adjusted by using real-time data monitoring and feedback mechanisms to achieve accurate startup control of the device. On the basis of equipment startup optimization, we further consider the optimization requirements of equipment material transportation direction and resource allocation. We take equipment as nodes, material transportation direction as edges, and resource consumption as edge weights to build a multi-commodity network flow model. The objective function is to minimize total resource consumption. Constraints include flow conservation, resource balance, etc., to solve the global optimal material transportation strategy. We use Python's NetworkX library to build and analyze graph models, use Gurobi, CPLEX and other optimization solvers to solve network flow models, and generate dynamically optimized equipment material transportation plans and resource allocation strategies. We convert optimization strategies into control instructions, which are issued and executed in real time through industrial control systems such as SCADA or MES to achieve dynamic scheduling and optimization of the production process and improve production efficiency and product quality.
[0058] In addition to the above-mentioned analysis based on the directed acyclic graph model to generate the device startup strategy, in order to further optimize the device startup control strategy, the present invention uses the startup sequence priority method to define the startup sequence of each power device and control the device startup sequence based on the priority. The startup sequence priority here includes the intra-group startup sequence priority and the inter-group startup sequence priority. The specific priority determination steps include:
[0059] Performing connectivity analysis on the directed acyclic graph model, dividing the device nodes into a plurality of connected components, determining the topological grouping of each power device according to the connected components, and determining the startup sequence priority within the group according to the startup dependency relationship of each device node in the connected components;
[0060] According to the material cache capacity data and production rhythm data of each production link in the production process, and in combination with the topological grouping, the material cache constraint relationship between the devices between the groups is determined;
[0061] According to the material buffer constraint relationship, a material balance constraint satisfaction problem model is constructed, and according to the process characteristics of the production process and the equipment characteristics of the power equipment, a multi-objective optimization model is constructed;
[0062] The material balance constraint satisfaction problem model and the multi-objective optimization model are integrated to construct a hybrid intelligent optimization model based on inter-group equipment startup optimization, and the hybrid intelligent optimization model is solved to obtain the inter-group startup sequence priority.
[0063] In this embodiment, according to the constructed directed acyclic graph model, the connectivity and reachability analysis of the graph are used to divide the device nodes in the graph into multiple connected components through the depth-first search (DFS) or breadth-first search (BFS) algorithm. Each connected component is a topological grouping, and there is a close startup dependency relationship between the devices in the same group. On this basis, the preliminary grouping results are optimized through data mining methods such as correlation analysis, combined with static characteristics such as the physical location and functional attributes of the equipment, to obtain a more reasonable and accurate device group division scheme. At the same time, based on the startup dependency relationship between the devices in the group, the corresponding startup sequence priority within the group is defined for each power device in the group.
[0064] Then, the material cache capacity data and production rhythm data of each process link in the production process are obtained, and the material flow bottlenecks between the various links of the production line are calculated through maximum flow algorithms such as the Ford-Fulkerson algorithm. Combined with the topological grouping results, the material cache constraint relationship between cross-group equipment is determined, and a material balance constraint satisfaction problem (CSP) model between equipment groups is constructed. The variable is the startup sequence priority of each equipment group, and the constraints include material balance, capacity matching, time window, etc.
[0065] Aiming at multiple objectives in the equipment group startup optimization process, such as minimizing the total startup time of the equipment group, minimizing the energy consumption cost, maximizing the utilization rate of key equipment, etc., the present invention provides a multi-objective optimization method, that is, according to different production process characteristics and equipment characteristics, a multi-objective optimization model is constructed, and multiple objectives are combined and optimized by using methods such as weighted summation method, ε-constraint method, hierarchical analysis method, etc., and preference information and interactive optimization technology are combined to realize dynamic adjustment and optimization of weight coefficients.
[0066] Then, the constraint satisfaction problem model and the multi-objective optimization model are integrated to form a hybrid intelligent optimization model for equipment group startup optimization. The variables include the startup time of each equipment group, material delivery volume and other decision variables. The constraints include time constraints, capacity constraints, material balance constraints, etc. The objective function is a multi-objective weighted sum. The heuristic search algorithms such as annealing algorithm and genetic algorithm are used to solve the problem, obtain the optimal startup time of each equipment group and the startup sequence priority between groups, and generate the equipment group startup optimization scheduling plan.
[0067] Furthermore, in a preferred embodiment, for large-scale and complex equipment group networks, multi-agent reinforcement learning (MARL) algorithms such as MADDPG, QMIX, etc. can also be used to adaptively optimize the equipment group optimization scheduling strategy. Each equipment group corresponds to an agent, the state is the attribute of the equipment group, the action is the startup decision of the equipment group, and the reward is the comprehensive benefit evaluation of the equipment group. The dynamic optimization of the equipment group startup scheduling is achieved through strategy iteration and update. The optimized equipment group startup scheduling plan is parsed into a control instruction set, which is sent to control systems at all levels, including MES, PLC, field bus, etc., through the industrial Ethernet protocol, and combined with real-time database technology and edge computing technology to achieve real-time parsing and execution of scheduling instructions. In addition, digital twins and virtual simulation technologies can be used to monitor and optimize the execution process of the scheduling plan in real time, and by building accurate virtual equipment models and production process models, the scheduling plan can be quickly verified and optimized. Iteration. In order to support real-time monitoring and decision-making analysis of production managers, a visual dashboard for equipment group startup management is established. Through Web front-end technology and data visualization technology, the startup status, production progress, key performance indicators and other information of the equipment group are displayed in real time. Based on anomaly detection algorithms and prediction algorithms, early warnings are issued for abnormal equipment startup and production risks to assist in production operation optimization. At the same time, the entire equipment group startup optimization system is divided into multiple microservice modules such as equipment modeling, topology analysis, constraint optimization, and policy execution. Decoupling and elastic scaling are achieved through containerization technology, and workflow engines such as Airflow and Kubeflow are used to orchestrate and schedule various modules to achieve end-to-end automated optimization processes.
[0068] After the startup sequence priority of the device is given, the device startup strategy is generated based on the startup sequence priority of the device and the directed acyclic graph model. The device startup strategy here includes the device startup sequence and the corresponding power distribution in each time period. The steps of generating the startup strategy include:
[0069] According to the intra-group startup sequence priority and the inter-group startup sequence priority, the directed acyclic graph model is traversed to generate a startup time plan;
[0070] Taking the joint minimization of startup time and equipment energy consumption as the first objective function, a startup sequence optimization model is constructed and solved to obtain the equipment startup sequence;
[0071] Obtaining load forecasting results of the power equipment according to the power load data of the power equipment and a preset load forecasting model;
[0072] The optimal power consumption of the power equipment in each time period is calculated according to the load forecast result and the time-of-use electricity price, and the power is distributed to each power equipment according to the optimal power consumption.
[0073] In this embodiment, the nodes in the relationship diagram of the directed acyclic graph model are hierarchically colored according to the inter-group startup sequence priority of each device group and the intra-group startup sequence priority of the devices in the group. The device nodes with higher priority are darker in color, and the nodes in the same group are numbered and labeled in the order of the device startup priority list to form a spatial structure model of the device startup strategy. Based on the spatial structure model, a topological sorting algorithm is used to traverse the nodes and edges of the graph, starting from the node with an in-degree of 0 (starting device), and the subsequent nodes are visited in sequence to obtain the device startup sequence and dependency relationship. The time structure model of the device startup strategy is formed on the basis of the spatial structure model, and then the startup time plan is generated based on the time structure model.
[0074] Based on the startup time plan, the startup time of the equipment is obtained, and the energy consumption cost of the equipment operation is obtained at the same time. Then, the startup time and energy consumption cost of the equipment are modeled as two independent objective functions, represented by ∑T_i and ∑E_i respectively, where i represents the equipment number, T_i represents the startup time of equipment i, and E_i represents the energy consumption cost of equipment i. The joint minimization of the startup time and energy consumption cost is used as the objective function, and the objective function is expressed as min(∑T_i, ∑E_i). With process connection, material balance, and electricity Peak-Valley price difference as constraints, a startup sequence priority model is constructed. The startup sequence optimization model here can be constructed based on a mathematical programming model and solved using a non-inferior sorting genetic algorithm (NSGA-II). For example, the parameters of the NSGA-II algorithm are set to 50 parent populations, 50 child populations, 0.8 crossover probability, 0.2 mutation probability, and the Pareto frontier is output after 500 generations of evolution. Combined with the AHP hierarchical analysis method to determine the target weight, the non-inferior optimal solution for equipment startup scheduling can be obtained, that is, the startup sequence of the equipment.
[0075] Then, the power load data of power equipment in the production process, especially key energy-consuming equipment, is obtained, and the long short-term memory network (LSTM) is used for load forecasting modeling. For example, the historical load data is sampled at intervals of 15 minutes, and the training samples are constructed in a sliding window manner, that is, the load values at the past n time points are used to predict the load values at one time point in the future. Then, the load forecast results are combined with the time-of-use electricity price of the power grid, and the interval planning method is used. The minimum electricity fee is used as the objective function, and the minimum power Peak-Valley load ratio is used as the constraint condition to solve the optimal power consumption of each device in each 15-minute period. According to the optimal power consumption, the equipment start-up and stop and production rhythm control are guided, so as to realize the power distribution and optimization on the demand side. For the equipment startup strategy, the OPCUA protocol can be written into the controller of each device to realize the closed-loop automatic control of the equipment startup. At the same time, it can also be integrated with the enterprise energy management system to realize the optimization of demand-side power distribution under the time-of-use electricity price model.
[0076] In addition, in order to cope with real-time status changes in the production process, such as equipment failures, production fluctuations, etc., in a preferred embodiment, the present invention optimizes the equipment startup strategy online based on the reinforcement learning algorithm, that is, the equipment startup scheduling problem is modeled as a Markov decision process (MDP), the state is defined as s=(t, L, C), where t is the current time, L is the cumulative load of each device, and C is the production progress of each device; the action is defined as a=(a_1,..., a_n), where a_i∈{0,1} indicates whether the device i is started at the next moment; the reward is defined as r=w_1*R_1+w_2*R_2, where R_1 is the reward for completing the work on time, R_2 is the reward for energy saving and emission reduction, and w_1 and w_2 are weight coefficients. The DeepQ-Network algorithm is used to approximate the Q(s, a) value function, input the state s, output the startup Q value of each device, use the ε-greedy strategy to balance exploration and utilization, and use experience replay to alleviate data correlation and improve training efficiency. Of course, other optimization algorithms can also be used to perform online optimization of the device startup strategy, and no excessive restrictions are made here.
[0077] In addition to the above-mentioned device startup strategy generation method, the present invention also provides another device startup strategy generation method in a preferred embodiment. In this embodiment, the device startup strategy also includes the device startup sequence and the corresponding power distribution. Among them, the device startup sequence determination method is to determine the device startup sequence of each time period based on the inter-group startup sequence priority and the intra-group startup sequence priority. Specifically, a global device startup ordered list is generated according to the inter-group startup sequence priority and the intra-group startup sequence priority, and the devices are traversed in sequence according to the sequence to determine the device startup sequence. For each device, considering its processing time, production capacity and other parameters, a finite capacity scheduling algorithm is used to calculate the earliest startup time and the latest startup time, and then the startup time window of the device is divided to construct a startup period-device matrix. For the constrained optimization problem of device startup scheduling, the processing time, production capacity demand and other parameters of the device are used as input parameters, and the shortest total processing time or the shortest total delay time is used as the optimization goal. At the same time, considering the constraints such as the serial relationship and parallel relationship of the device, a mixed integer programming (MIP) model is established, and solved by a solver to obtain the optimal startup time plan for each device. On this basis, the local search algorithm is applied to improve the optimal solution. The neighborhood solution is generated by exchanging the startup time of the two devices. If the neighborhood solution is better than the current solution, it is accepted, otherwise it is accepted with a certain probability, and the visited solutions are recorded to avoid repeated searches, forming an optimization framework for taboo search. The evaluation function is the objective function of the MIP model. The search process sets the maximum number of iterations or the target value has no obvious improvement and other stopping conditions, and finally the startup sequence of the equipment in each time period is obtained.
[0078] The power distribution method is to determine the power distribution according to the power demand of the power equipment, that is, according to the power demand of the production equipment, the startup environment and the power demand of the corresponding environmental control equipment, determine the power distribution of the corresponding environmental control equipment, the preparation time of the corresponding environmental control equipment, and the power distribution of the production equipment when the preparation time arrives.
[0079] Specifically, according to the rated power parameters of the production equipment, through on-site testing and statistical analysis of the equipment, the power-time curve of the equipment under different process parameters is obtained. For environmental control equipment such as air conditioners, dehumidifiers, purifiers, etc., for their operating data and energy consumption data, the grey correlation analysis method is used to calculate the grey correlation between the environmental parameter sequence and the energy consumption sequence, quantify the correlation between the environmental parameters and the equipment energy consumption, and construct an environment-energy consumption mapping matrix. According to the weather forecast API interface, the meteorological parameters for the next week, including temperature, humidity, air pressure, etc., are obtained. The requirements of the production equipment for the environment are used to map the startup environmental conditions of each device at different times. Through simulation or actual measurement, the preparation time required for the environmental control equipment to adjust the environmental parameters to the target range under different initial environmental conditions is obtained, and then the startup time of the environmental control equipment, the overshoot in the adjustment stage, and other factors are considered to estimate the startup advance of the environmental control equipment, and the intelligent algorithm such as ANFIS is used to establish an advance optimization model. According to the advance optimization model and combined with the environment-energy consumption mapping matrix of the environmental control equipment, the power demand of the environmental control equipment in each period is estimated. The power distribution of environmental control equipment is optimized by the power management system (PMS). A dynamic programming algorithm is used to minimize total energy consumption and use grid constraints and production constraints as boundary conditions to solve the optimal power supply curve of environmental control equipment in each period. The power curve is written into the control strategy of the PMS and sent to each controller through the field bus to achieve optimal control of the operating power of the environmental control equipment.
[0080] When the production equipment is started, the PMS will provide power supply guarantee. If the production equipment has an overpower alarm, the power load control strategy will be triggered. The fuzzy comprehensive evaluation method is used to evaluate the criticality of the overpower amplitude and duration. Combined with the equipment importance level, the power adjustment priority of each device is calculated. In order of priority from high to low, the operating power of the equipment is reduced in sequence until the total power returns to a safe range. The power adjustment range of each device is inferred using fuzzy control rules. The fuzzy control rule base and membership function are trained through expert experience and historical data to achieve emergency power control under overpower conditions. If environmental parameters exceed the standard during the production process, the environmental control equipment will be started in an emergency. The PMS will temporarily reduce the power supply of non-critical equipment according to the power priority of the production equipment, and allocate the saved power to the environmental control equipment first until the environment returns to normal.
[0081] In addition to controlling the startup of the power equipment, the present invention also controls the load extraction after the production process is completed. The specific control steps include:
[0082] Collecting power load data of each power device in real time, analyzing the power load data, and obtaining load characteristics of each power device;
[0083] According to the equipment startup sequence and the load characteristics, a load withdrawal model is constructed, and a mixed integer programming algorithm is used to solve the load withdrawal model to generate a load withdrawal plan;
[0084] Monitor the operating data of each power source and the load supply of each load supply circuit in real time, determine whether the operating data and the load supply meet preset conditions, and determine whether local load extraction is required based on the determination result.
[0085] In this embodiment, power load data is obtained by installing monitoring equipment on production equipment and environmental control equipment, and then active power, reactive power, apparent power, power factor, harmonic distortion rate and other load data are extracted in segments according to time windows to construct a device power load data set. Time series analysis and frequency domain analysis methods are used to perform feature extraction and pattern recognition on the device power load data. Signal processing techniques such as Fourier transform and wavelet transform are used to extract the time domain statistical characteristics and frequency domain characteristics of the load data to construct a device load feature vector. Then, according to the equipment startup sequence and the load characteristics of the equipment, a load extraction model is constructed, and its specific construction steps include:
[0086] The topological structure and material flow between power equipment are analyzed, and the maximum material transmission time and material buffer capacity between each power equipment are calculated using a directed graph algorithm to obtain the material transmission time window after the power equipment is withdrawn;
[0087] A load extraction model is established according to the load characteristics, the equipment startup sequence and the material transmission time window.
[0088] In this embodiment, by analyzing the equipment topology and material flow, the directed graph algorithm is used to calculate the maximum material transmission time and material buffer capacity between equipment, and the time window of material transmission and buffer consumption after equipment withdrawal is obtained. Based on the equipment load characteristics and material transmission time window, combined with the equipment startup sequence priority, a load withdrawal model is constructed.
[0089] Preferably, the load withdrawal model takes the minimum weighted total withdrawal load within a cycle as the optimization goal, takes the material transmission time of the equipment less than the material cache time of the downstream equipment and the total withdrawal load of each time step cannot exceed the power grid limit as the constraint condition, and uses the mixed integer programming algorithm to solve the load withdrawal model, obtains the optimal withdrawal power and withdrawal time of each equipment, and evaluates the production loss caused by load withdrawal based on the optimal withdrawal power and withdrawal time of the equipment. The hierarchical reinforcement learning framework is used to formulate emergency production scheduling after load withdrawal. The hierarchical reinforcement learning framework is used. The upper layer is the central scheduler responsible for formulating the global production plan and coordination strategy, and the lower layer is the equipment controller responsible for executing local optimization actions. The reward function comprehensively considers factors such as production, inventory, and energy consumption for weighted quantization. The improved MADDPG algorithm is used, and the time series feature extraction module and attention mechanism are added to enable multiple equipment agents to learn collaborative scheduling strategies, quickly resume production in an emergency state, and minimize the impact of load withdrawal. Then, the load withdrawal schedule is formed based on the information such as equipment withdrawal sequence, withdrawal power, withdrawal time window, material transmission and cache consumption time.
[0090] In addition, in this embodiment, the operating status of each device and the load supply of each load supply circuit are monitored in real time. If it is identified that the load of any production equipment is lower than the threshold corresponding to the power demand within a preset duration, or the load supply of any power supply circuit is insufficient, local load withdrawal is performed based on the load withdrawal plan.
[0091] Specifically, for production equipment, the real-time power consumption data of the production equipment is obtained through sensors to determine whether the collected real-time power data is lower than the threshold corresponding to the rated power demand of the equipment. If the real-time power data is lower than the threshold, the early warning mechanism is triggered and the equipment and time where this situation occurs are recorded. The duration of the continuously monitored low power data is analyzed by the real-time monitoring system. If the duration reaches the preset duration standard, it is determined that the equipment has potential failures or insufficient power supply. According to the priority of the load withdrawal plan, the operating status and priority information of all current production equipment are obtained. Determine which non-critical production equipment should be temporarily cut off from power to ensure the power supply of critical equipment. Control instructions are used to guide the automation system to execute the power-off operation of the determined non-critical equipment. At the same time, the power recovery of critical equipment is monitored. If the power is restored to a safe range, the power supply of the non-critical equipment that was previously cut off is gradually restored.
[0092] For the power supply circuit, the frequency, phase angle, harmonics and other indicators of each circuit are monitored in real time through the power quality analyzer. The presence of abnormal conditions such as overload and voltage drop is determined through threshold rules and expert knowledge base. The severity of underload and overload abnormalities, response time and production impact are comprehensively considered. For the load withdrawal plan, mixed integer programming is used to construct a multi-time scale local load optimization scheduling model. The emergency load removal sequence is obtained by solving the model, thereby realizing the withdrawal of local loads.
[0093] Furthermore, in another preferred embodiment, in the process of performing load shedding according to the load shedding plan, the process further includes:
[0094] In response to the end of the production process, load extraction is performed on each power equipment in sequence according to the load extraction plan;
[0095] Monitor the equipment status of each power equipment during the load extraction process, and determine whether there is any equipment status abnormality. If so, restore the load extraction and generate an alarm reminder.
[0096] In this embodiment, according to the monitoring system of the production process, real-time data of the production status is obtained. This data includes information such as whether the production line is running and whether the product has been completed. Through this data, it can be determined whether the production process has been completely completed. A pre-established load withdrawal plan is used to determine the withdrawal order of the equipment. This plan takes into account the dependencies between the equipment and the difficulty of load withdrawal, so as to ensure that the shutdown order of each equipment can maximize the safety and efficiency of the process. Through the sensors and monitoring devices installed on the equipment, the current operating parameters of each equipment, such as temperature, pressure and current, are obtained. This information is transmitted in real time, ensuring the timeliness and accuracy of monitoring. According to the data obtained from the sensors and monitoring devices, it is determined whether the status of each device is normal. Here, "normal status" is obtained based on the preset thresholds and parameter analysis. If the data shows that the equipment status is abnormal, such as too high temperature or a sudden drop in pressure, this may indicate that there is a fault or other problem with the equipment. After determining that a certain equipment status is abnormal, it is necessary to temporarily restore the load supply that has been withdrawn from the equipment. This step is achieved through a fast switching mechanism, the purpose of which is to prevent equipment damage or safety issues, while continuing to monitor the load withdrawal process of other equipment. Through the process of judging and restoring the load, an alarm message is generated to indicate that the shutdown cannot be normal. This alarm message will be sent to the plant manager and maintenance technicians to prompt them to take further countermeasures, while ensuring that all relevant events and status are recorded for subsequent analysis and responsibility tracking.
[0097] The above steps are explained below through actual examples. Assume that the production process monitoring system collects data such as the production line operation status and product completion status every 5 seconds. By comparing and analyzing with the preset production plan, it is determined whether the current production progress has reached 100%, thereby determining whether the production process has been completely completed. When the production process is completed, the load extraction is executed according to the load extraction plan. At the same time, the equipment sensors collect parameters such as temperature, pressure, and current in real time with a cycle of 200ms, and transmit them to the monitoring system through industrial Ethernet. Adopting an adaptive threshold algorithm, according to the historical data of equipment operation and the current working conditions, the boundary value of abnormal judgment is dynamically adjusted to determine whether the status of the equipment is normal. When the key parameters of a certain device exceed the normal range, switch to the backup power supply within 20ms, restore the power supply of the upstream device of the device, and start the fault diagnosis program at the same time to find out the cause of the problem as quickly as possible. Comprehensively analyze the operating status and load extraction progress of all devices, and judge whether there is a risk of abnormal shutdown through expert rule base reasoning, and give real-time alarms by SMS, email, etc., and write relevant data into the event log for subsequent review and responsibility tracing.
[0098] The present embodiment provides a load control method for power equipment. By deeply analyzing the startup and operation modes of production equipment and environmental control equipment, the logical constraints and startup dependencies between different types of equipment are determined, thereby formulating a reasonable power supply strategy and load control algorithm. The present invention effectively improves the management accuracy of the power load by dynamically adjusting the power load and the startup sequence of the equipment, thereby improving the operating efficiency and stability of the production process, reducing the equipment failure rate and energy consumption, and ensuring the safety, stability and efficiency of the operation of the industrial park through efficient and intelligent power load control.
[0099] See also Figure 2 Based on the same inventive concept, a load control system for electric power equipment proposed in the second embodiment of the present invention includes:
[0100] A model building module 10 is used to obtain associated equipment information based on the production process, analyze the associated equipment information, and build a directed acyclic graph model;
[0101] The priority determination module 20 is used to perform connectivity analysis on the directed acyclic graph model, determine the topological grouping of each power device and the priority of the startup sequence within the group, and determine the priority of the startup sequence between the groups according to the topological grouping and the logistics cache constraint relationship of the production process;
[0102] The startup strategy generation module 30 is used to generate a device startup strategy according to the directed acyclic graph model, the intra-group startup sequence priority and the inter-group startup sequence priority, wherein the device startup strategy includes the device startup sequence and the corresponding power distribution in each time period.
[0103] The technical features and technical effects of the load control system of the electric power equipment proposed in the embodiment of the present invention are the same as those of the method proposed in the embodiment of the present invention, and are not described in detail here. Each module in the load control system of the above-mentioned electric power equipment can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0104] In addition, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0105] See also Figure 3 , an internal structure diagram of a computer device in an embodiment, the computer device may specifically be a terminal or a server. The computer device includes a processor, a memory, a network interface, a display, and an input device connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a load control method for an electric power device is implemented. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0106] It can be understood by those skilled in the art that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computing device may include more or fewer components than those shown in the figure, or combine certain components, or have the same component arrangement.
[0107] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.
[0108] In summary, the load control method, system, device and storage medium of an electric power device proposed in the embodiment of the present invention, the method acquires the associated device information based on the production process, analyzes the associated device information, and constructs a directed acyclic graph model; performs connectivity analysis on the directed acyclic graph model, determines the topological grouping of each electric power device and the priority of the startup sequence within the group, and determines the priority of the startup sequence between groups according to the logistics cache constraint relationship between the topological grouping and the production process; generates a device startup strategy according to the directed acyclic graph model, the priority of the startup sequence within the group and the priority of the startup sequence between the groups, and the device startup strategy includes the startup sequence of the device in each time period and the corresponding power allocation. The present invention uses the directed acyclic graph model to construct the logical relationship between the devices, ensures the rationality of the startup sequence and resource allocation of the production equipment, and improves the management accuracy of the electric power load. The present invention improves the operating efficiency and stability of the production process, reduces the equipment failure rate and energy consumption by dynamically adjusting the electric power load and the startup sequence of the equipment, and ensures the safety, stability and efficiency of the operation of the industrial park through efficient and intelligent electric power load control.
[0109] Each embodiment in this specification is described in a progressive manner, and the same or similar parts of each embodiment can be directly referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. It should be noted that the technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0110] The above-mentioned embodiments only express several preferred implementation modes of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in the technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention, and these improvements and substitutions should also be regarded as the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be based on the protection scope of the claims.
Claims
1. A load control method for electric power equipment, It is characterized in that include: Acquire associated equipment information based on a production process, analyze the associated equipment information, and construct a directed acyclic graph model; Performing connectivity analysis on the directed acyclic graph model to determine the topological grouping of each power device and the priority of the startup sequence within the group, and determining the priority of the startup sequence between the groups according to the topological grouping and the logistics cache constraint relationship of the production process; Generate a device startup strategy according to the directed acyclic graph model, the intra-group startup sequence priority and the inter-group startup sequence priority, wherein the device startup strategy includes a device startup sequence and corresponding power allocation in each time period; The steps of performing connectivity analysis on the directed acyclic graph model, determining the topological grouping of each power device and the priority of the startup sequence within the group, and determining the priority of the startup sequence between groups according to the topological grouping and the logistics cache constraint relationship of the production process include: Performing connectivity analysis on the directed acyclic graph model, dividing the device nodes into a plurality of connected components, determining the topological grouping of each power device according to the connected components, and determining the startup sequence priority within the group according to the startup dependency relationship of each device node in the connected components; According to the material cache capacity data and production rhythm data of each production link in the production process, and in combination with the topological grouping, the material cache constraint relationship between the devices between the groups is determined; According to the material buffer constraint relationship, a material balance constraint satisfaction problem model is constructed, and according to the process characteristics of the production process and the equipment characteristics of the power equipment, a multi-objective optimization model is constructed; The material balance constraint satisfaction problem model and the multi-objective optimization model are integrated to construct a hybrid intelligent optimization model based on inter-group equipment startup optimization, and the hybrid intelligent optimization model is solved to obtain the inter-group startup sequence priority; The step of generating a device startup strategy according to the directed acyclic graph model, the intra-group startup sequence priority, and the inter-group startup sequence priority includes: According to the intra-group startup sequence priority and the inter-group startup sequence priority, the directed acyclic graph model is traversed to generate a startup time plan; Taking the joint minimization of startup time and equipment energy consumption as the first objective function, a startup sequence optimization model is constructed and solved to obtain the equipment startup sequence; Obtaining load forecasting results of the power equipment according to the power load data of the power equipment and a preset load forecasting model; The optimal power consumption of the power equipment in each time period is calculated according to the load forecast result and the time-of-use electricity price, and the power is distributed to each power equipment according to the optimal power consumption.
2. The load control method of the electric power equipment according to claim 1, It is characterized in that The steps of obtaining associated equipment information based on the production process, analyzing the associated equipment information, and constructing a directed acyclic graph model include: Acquire associated equipment information based on the production process, perform data mining on the associated equipment information according to equipment type, and obtain equipment association rules; A directed acyclic graph model is constructed by taking the power equipment in the equipment association rule as nodes and the conditions and conclusions of the association rule as directed edges.
3. The load control method of the electric power equipment according to claim 1, It is characterized in that After the step of generating the device startup strategy, the method further includes: Collecting power load data of each power device in real time, analyzing the power load data, and obtaining load characteristics of each power device; According to the equipment startup sequence and the load characteristics, a load withdrawal model is constructed, and a mixed integer programming algorithm is used to solve the load withdrawal model to generate a load withdrawal plan; Monitor the operating data of each power source and the load supply of each load supply circuit in real time, determine whether the operating data and the load supply meet preset conditions, and determine whether local load extraction is required based on the determination result.
4. The load control method of the electric power equipment according to claim 3, It is characterized in that The step of constructing a load extraction model according to the equipment startup sequence and the load characteristics comprises: The topological structure and material flow between power equipment are analyzed, and the maximum material transmission time and material buffer capacity between each power equipment are calculated using a directed graph algorithm to obtain the material transmission time window after the power equipment is withdrawn; A load extraction model is established according to the load characteristics, the equipment startup sequence and the material transmission time window.
5. The load control method of the electric power equipment according to claim 3, It is characterized in that After the step of generating the load withdrawal plan, the method further includes: In response to the end of the production process, load extraction is performed on each power equipment in sequence according to the load extraction plan; Monitor the equipment status of each power equipment during the load extraction process, and determine whether there is any equipment status abnormality. If so, restore the load extraction and generate an alarm reminder.
6. A load control system for power equipment, It is characterized in that include: A model building module, used to obtain associated equipment information based on the production process, analyze the associated equipment information, and build a directed acyclic graph model; The priority determination module is used to perform connectivity analysis on the directed acyclic graph model, determine the topological grouping of each power device and the priority of the startup sequence within the group, and determine the priority of the startup sequence between groups according to the topological grouping and the logistics cache constraint relationship of the production process. The specific steps include: Performing connectivity analysis on the directed acyclic graph model, dividing the device nodes into a plurality of connected components, determining the topological grouping of each power device according to the connected components, and determining the startup sequence priority within the group according to the startup dependency relationship of each device node in the connected components; According to the material cache capacity data and production rhythm data of each production link in the production process, and in combination with the topological grouping, the material cache constraint relationship between the devices between the groups is determined; According to the material buffer constraint relationship, a material balance constraint satisfaction problem model is constructed, and according to the process characteristics of the production process and the equipment characteristics of the power equipment, a multi-objective optimization model is constructed; The material balance constraint satisfaction problem model and the multi-objective optimization model are integrated to construct a hybrid intelligent optimization model based on inter-group equipment startup optimization, and the hybrid intelligent optimization model is solved to obtain the inter-group startup sequence priority; A startup strategy generation module is used to generate a device startup strategy according to the directed acyclic graph model, the intra-group startup sequence priority and the inter-group startup sequence priority, wherein the device startup strategy includes the device startup sequence and the corresponding power distribution in each time period, and the specific steps include: According to the intra-group startup sequence priority and the inter-group startup sequence priority, the directed acyclic graph model is traversed to generate a startup time plan; Taking the joint minimization of startup time and equipment energy consumption as the first objective function, a startup sequence optimization model is constructed and solved to obtain the equipment startup sequence; Obtaining load forecasting results of the power equipment according to the power load data of the power equipment and a preset load forecasting model; The optimal power consumption of the power equipment in each time period is calculated according to the load forecast result and the time-of-use electricity price, and the power is distributed to each power equipment according to the optimal power consumption.
7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
