Electric energy meter production decision optimization method and system based on genetic algorithm

Through the optimization method of power meter production decision-making based on genetic algorithms, an evaluation index system and a multi-objective optimization model are built, which solves the problem that traditional production plans cannot cope with market changes, achieves rapid response and resource optimization, and improves production efficiency and market competitiveness. .

CN119090192APending Publication Date: 2024-12-06FUJIAN NETPOWER TECH DEV CO LTD +1

Patent Information

Application Number
CN202411102524.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

Traditional production planning and resource allocation cannot effectively respond to market dynamic changes, resulting in overcapacity or insufficient production capacity, low production efficiency and resource utilization, and inability to respond quickly to market and customer demands, resulting in increased energy consumption and poor environmental impact.

Method used

Using the genetic algorithm-based electric energy meter production decision optimization method, the evaluation index system for the electric energy meter production capacity is constructed, the weight of each evaluation index is determined, the multi-objective optimization model is constructed, and the genetic algorithm is used to solve it to obtain the optimal production plan. Monitor and adjust production decisions in real time to achieve dynamic optimization of production plans.

Benefits of technology

It has achieved rapid response to changes in market demand and production environment, reduced production costs, improved production efficiency and resource utilization, reduced waste, adapted to the ever-changing production environment, improved the level of intelligent decision-making, and maintained market competitiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119090192A_ABST
    Figure CN119090192A_ABST
Patent Text Reader

Abstract

The invention relates to an electric energy meter production decision optimization method and system based on a genetic algorithm, and the method comprises the following steps: collecting and analyzing the system composition of an electric energy meter production line and main influence factors of the capacity of the electric energy meter production line, and constructing an evaluation index system of the capacity of the electric energy meter; performing expert evaluation based on the evaluation system of the production efficiency of the electric energy meter, and determining weight distribution of each evaluation index; constructing a multi-objective optimization model by taking optimal production efficiency and lowest production cost as optimization objectives; solving the multi-objective optimization model by utilizing a genetic algorithm to obtain an optimal electric energy meter production scheme, and realizing optimal sorting of the production scheme for decision makers to select; in the decision execution process, real-time data of the production process is continuously monitored, and when an abnormal condition occurs or an expected result is not met in the execution process, an early warning report is generated and self-adaptive adjustment is performed according to an actual condition, so that practical deployment of the optimized production decision is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of production line production, and more specifically, to a method and system for optimizing production decisions of electric energy meters based on genetic algorithms. Background Art

[0002] Traditional production plans are formulated to meet current market demand. Production plans and resource allocation can only meet the market demand for a certain period of time. As the market changes in real time, improper production plans and resource allocation are prone to occur, resulting in overcapacity or undercapacity.

[0003] For a certain production plan, production line managers rely on their own experience to allocate production resources. However, human experience is not always reliable, and resource allocation cannot be adjusted in time when dealing with some unexpected problems in the production process, and production efficiency and resource utilization cannot be maximized.

[0004] The production scheduling and production line scheduling are relatively fixed and cannot be adaptively optimized as technology and manufacturing processes change, resulting in cross-flexibility and slow response of the production line.

[0005] Due to the fixed nature of traditional production plans and the inflexibility of production decisions, facing the competitive pressure of today's market and the diversity of customer needs, it is impossible to respond quickly to the changing needs of the market and customers, and it is difficult to achieve customized production and flexible supply chain management.

[0006] Traditional production plans use fixed patterns and arrangements to carry out production and manufacturing. In the face of some disturbances and changes, it is impossible to quickly change the production plan to adapt to the new production environment and conditions. The original plan will become less reasonable, and the machine will easily idle and standby. These standby and idling times will lead to excessive energy consumption and adverse environmental impacts over time. From the perspective of sustainable development and resource efficiency, such traditional production plans are not in line with the sustainable development strategy of enterprises in the new era.

[0007] Prior art, such as the Chinese patent with patent number "CN117709617A", discloses a production monitoring method and system for molds. The method includes collecting production process monitoring data of multiple production process nodes in the mold production line and performing preprocessing to obtain a target production monitoring data set for each production process node; predicting production efficiency through a Gaussian regression model to obtain production efficiency prediction data for each production process node; estimating the risk probability of the production efficiency prediction data to obtain a risk probability value for each production process node; performing process parameter adjustment analysis on each production process node according to the risk probability value to obtain process parameter adjustment data; generating a production process flow allocation strategy according to the process parameter adjustment data, and executing the production process flow allocation strategy, while collecting production monitoring feedback data in the execution of the production process flow allocation strategy. The present application improves the accuracy of production monitoring of molds.

[0008] The problems existing in the above prior art are:

[0009] 1. Single risk assessment: Estimating risk probability through production efficiency may not be comprehensive enough. Risks in the production process may also include factors such as fluctuations in raw material quality, sudden equipment failures, and worker operating errors. Assessing risks based solely on production efficiency may ignore other important risk sources.

[0010] 2. Model limitations: Although the Gaussian regression model can predict production efficiency to a certain extent, it may not be able to capture the complex nonlinear relationships and sudden changes in the production process.

[0011] 3. Complexity of process parameter adjustment: Process parameter adjustment analysis based on risk probability values ​​may not fully take into account the process limitations and equipment performance in actual production. Summary of the invention

[0012] In order to solve the above technical problems, the present invention proposes a method and system for optimizing production decision of electric energy meters based on genetic algorithm.

[0013] The technical solution of the present invention is as follows:

[0014] The present invention proposes a method for optimizing electric energy meter production decision based on genetic algorithm, comprising the following steps:

[0015] Step S1: Collect and analyze the system composition of the electric energy meter production line and the main influencing factors of the electric energy meter production line capacity, and build an evaluation index system for the electric energy meter capacity;

[0016] Step S2: Perform expert evaluation based on the evaluation system of electric energy meter production efficiency to determine the weight distribution of each evaluation index;

[0017] Step S3: Taking the best production efficiency and the lowest production cost as the optimization goals, a multi-objective optimization model is constructed;

[0018] Step S4: using a genetic algorithm to solve the multi-objective optimization model, obtaining the optimal electric energy meter production plan, and realizing the optimal sorting of the production plans for decision makers to choose;

[0019] Step S5: During the decision-making process, the real-time data of the production process is continuously monitored. If any abnormal situation or unexpected results occur during the execution process, an early warning report will be generated and adaptive adjustments will be made according to the actual situation to ensure that the optimized production decision is actually deployed.

[0020] As a preferred implementation method, the evaluation index system for the production capacity of the electric energy meter is constructed; the first-level indicators include: personnel management, raw materials, equipment and facilities, production process, and production environment; the second-level indicators of personnel management include: rationality of job arrangement, adequacy of personnel quantity, and operational proficiency; the second-level indicators of raw materials include: timeliness of supply and stability of supply; the second-level indicators of equipment and facilities include: equipment operating efficiency, fault repair speed, and daily maintenance; the second-level indicators of production process include: smoothness of process connection, degree of process simplification, and frequency of process optimization; the production environment includes: temperature and humidity.

[0021] As a preferred implementation, the specific process of determining the weight distribution of each evaluation index is as follows:

[0022] Using the analytic hierarchy process (AHP) to determine subjective weights involves the following steps:

[0023] Construct a judgment matrix. The specific formula is as follows:

[0024] A=(aij)nn × n

[0025] where a ij Indicates the importance of factor i relative to factor j; n is the order of the judgment matrix;

[0026] Calculate the maximum eigenvalue of the judgment matrix. Let the n-order judgment matrix be B, and use BW=λW to find its largest eigenvalue λ. max , where W is the eigenvector of B;

[0027] The consistency test index, the specific formula is as follows:

[0028]

[0029] Among them, CI = 0 means that the judgment matrix is ​​completely consistent, and the larger the CI, the greater the inconsistency of the judgment matrix;

[0030] To determine whether the consistency is passed, the specific formula is as follows:

[0031]

[0032] Among them, RI is the random consistency index obtained by looking up the table; when CR < 0.1, the judgment matrix passes the consistency test, and the eigenvector W is the weight vector;

[0033] Calculating objective weights using the entropy weight method involves the following steps:

[0034] Data Standardization:

[0035] Suppose there are b objects to be evaluated and c evaluation indicators, and construct the original data matrix:

[0036] X=(xyz)b×c

[0037] Among them, x yz represents the original data value of the yth object to be evaluated on the zth indicator;

[0038] For positive indicators:

[0039]

[0040] For negative indicators:

[0041]

[0042] Among them, r yz represents the data value of the yth object to be evaluated on the zth indicator after standardization;

[0043] Calculate the proportion of the yth sample under the zth indicator:

[0044]

[0045] Calculate the entropy value of the z-th indicator:

[0046]

[0047] If p yz =0, then let p yz ln(p yz )=0;

[0048] Calculate the coefficient of variation of the z-th indicator:

[0049] gz=1-e, Z

[0050] Calculate the weight of each indicator:

[0051]

[0052] As a preferred implementation, the use of a genetic algorithm to solve the multi-objective optimization model specifically includes the following steps:

[0053] Initialization: Set the initial parameters, including population size, learning factor, maximum number of iterations, initial speed, number of indicators, and inertia weight; and create the initial population. The "initial population" is also equivalent to the production influencing factor database, and each piece of data in it is regarded as a "chromosome" of the "initial population";

[0054] Individual fitness calculation, calculate the fitness of each particle in the initial population, find the global optimal particle and the individual optimal particle, where the fitness function is configured as the error function between the production efficiency evaluation value and the production efficiency prediction value calculated based on each evaluation index and the corresponding combination weight;

[0055] Selection, after calculating the fitness of each individual in the population, determines the best individuals for reproduction and produces the next generation; individuals with high fitness are more likely to be selected and pass their genetic material to the next generation;

[0056] Crossover and mutation: Perform crossover and mutation operations on the selected optimal individuals to generate a new generation of individuals and increase population diversity;

[0057] The optimal solution set is output. After several rounds of selection, crossover, and mutation, if the fitness of all individuals meets the requirements, the genetic algorithm iteration is considered complete. The Pareto optimal solution set is output based on the data in the current population to provide a basis for the formulation of the production plan.

[0058] On the other hand, the present invention also provides an electric energy meter production decision optimization system based on genetic algorithm, comprising:

[0059] Evaluation index system construction module: collect and analyze the system composition of the electric energy meter production line and the main influencing factors of the electric energy meter production line capacity, and build an evaluation index system for the electric energy meter capacity;

[0060] Weight determination module: Perform expert evaluation based on the evaluation system of electric energy meter production efficiency and determine the weight distribution of each evaluation index;

[0061] Optimization model building module: Build a multi-objective optimization model with the optimal production efficiency and the lowest production cost as the optimization goals;

[0062] Decision output module: Use genetic algorithm to solve the multi-objective optimization model, obtain the optimal electricity meter production plan, and realize the optimal sorting of production plans for decision makers to choose;

[0063] Decision execution module: During the decision execution process, the real-time data of the production process is continuously monitored. If any abnormal situation or unexpected results occur during the execution process, an early warning report will be generated and adaptive adjustments will be made according to the actual situation to ensure that the optimized production decision is actually deployed.

[0064] As a preferred implementation, the evaluation index system construction module constructs an evaluation index system for the production capacity of the electric energy meter; the first-level indicators include: personnel management, raw materials, equipment and facilities, production process, and production environment; the second-level indicators of personnel management include: rationality of job arrangement, adequacy of personnel quantity, and operational proficiency; the second-level indicators of raw materials include: timeliness of supply and stability of supply; the second-level indicators of equipment and facilities include: equipment operating efficiency, fault repair speed, and daily maintenance; the second-level indicators of production process include: smoothness of process connection, degree of process simplification, and frequency of process optimization; the production environment includes: temperature and humidity.

[0065] As a preferred implementation, the weight determination module determines the weight distribution of each evaluation index, and the specific process is as follows:

[0066] Using the analytic hierarchy process (AHP) to determine subjective weights involves the following steps:

[0067] Construct a judgment matrix. The specific formula is as follows:

[0068] A=(aij)n×n

[0069] where a ij Indicates the importance of factor i relative to factor j; n is the order of the judgment matrix;

[0070] Calculate the maximum eigenvalue of the judgment matrix. Let the n-order judgment matrix be B, and use BW=λW to find its largest eigenvalue λ. max , where W is the eigenvector of B;

[0071] The consistency test index, the specific formula is as follows:

[0072]

[0073] Among them, CI = 0 means that the judgment matrix is ​​completely consistent, and the larger the CI, the greater the inconsistency of the judgment matrix;

[0074] To determine whether the consistency is passed, the specific formula is as follows:

[0075]

[0076] Among them, RI is the random consistency index obtained by looking up the table; when CR < 0.1, the judgment matrix passes the consistency test, and the eigenvector W is the weight vector;

[0077] Calculating objective weights using the entropy weight method involves the following steps:

[0078] Data Standardization:

[0079] Suppose there are b objects to be evaluated and c evaluation indicators, and construct the original data matrix:

[0080] X==(xyz)b×c

[0081] Among them, x yz represents the original data value of the yth object to be evaluated on the zth indicator;

[0082] For positive indicators:

[0083]

[0084] For negative indicators:

[0085]

[0086] Among them, r yz represents the data value of the yth object to be evaluated on the zth indicator after standardization;

[0087] Calculate the proportion of the yth sample under the zth indicator:

[0088]

[0089] Calculate the entropy value of the z-th indicator:

[0090]

[0091] If p yz =0, then let p yz ln(p yz )=0;

[0092] Calculate the coefficient of variation of the z-th indicator:

[0093] gz=1-ee z

[0094] Calculate the weight of each indicator:

[0095]

[0096] As a preferred implementation, the decision output module uses a genetic algorithm to solve the multi-objective optimization model, specifically including the following steps:

[0097] Initialization: Set the initial parameters, including population size, learning factor, maximum number of iterations, initial speed, number of indicators, and inertia weight; and create the initial population. The "initial population" is also equivalent to the production influencing factor database, and each piece of data in it is regarded as a "chromosome" of the "initial population";

[0098] Individual fitness calculation, calculate the fitness of each particle in the initial population, find the global optimal particle and the individual optimal particle, where the fitness function is configured as the error function between the production efficiency evaluation value and the production efficiency prediction value calculated based on each evaluation index and the corresponding combination weight;

[0099] Selection, after calculating the fitness of each individual in the population, determines the best individuals for reproduction and produces the next generation;

[0100] Crossover and mutation: Perform crossover and mutation operations on the selected optimal individuals to generate a new generation of individuals and increase population diversity;

[0101] The optimal solution set is output. After several rounds of selection, crossover, and mutation, if the fitness of all individuals meets the requirements, the genetic algorithm iteration is considered complete. The Pareto optimal solution set is output based on the data in the current population to provide a basis for the formulation of the production plan.

[0102] On the other hand, the present invention further provides an electronic device having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for optimizing electric energy meter production decisions based on a genetic algorithm as described in any embodiment of the present invention is implemented.

[0103] On the other hand, the present invention also provides a computer-readable medium for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement a genetic algorithm-based electricity meter production decision optimization method as described in any embodiment of the present invention.

[0104] The present invention has the following beneficial effects:

[0105] 1. Through the energy meter production decision optimization method based on genetic algorithm, the genetic algorithm is used to update and iterate the production plan according to the real-time changes of the outside world, which overcomes the defects of the traditional energy meter production line that often responds slowly to real-time changes and cannot quickly adjust the production strategy. The optimization decision system of the present invention can integrate and analyze production line data in real time, quickly respond to changes in market demand and production environment, and realize dynamic adjustment.

[0106] 2. Through the method of optimizing the production decision of electric energy meters based on genetic algorithms, the genetic algorithm is used to adjust the production plan according to the remaining data of the raw material warehouse and the real-time situation of the production line, thus overcoming the waste in resource allocation and planning of the traditional electric energy meter production line. The flexible decision-making system of the present invention can effectively reduce production costs and waste by optimizing production decisions, such as adjusting production time, optimizing equipment configuration, reallocating raw materials, updating personnel arrangements, adjusting production product ratios, etc.

[0107] 3. Through the method of optimizing the production decision of electric energy meters based on genetic algorithms, the genetic algorithm is used to optimize the production plan according to external factors and the working conditions of machines and personnel, thus overcoming the defect of insufficient production efficiency of traditional electric energy meter production lines due to rigid production plans. The optimization decision system of the present invention can identify the key factors affecting production efficiency by integrating and analyzing data from all aspects, and optimize the production plan by making new decisions, which can effectively improve equipment efficiency, raw material utilization, etc., thereby improving overall production efficiency.

[0108] 4. Through the electric energy meter production decision optimization method based on genetic algorithm, the genetic algorithm is used to integrate and analyze various current and past market data and production data, overcoming the defect that the traditional electric energy meter production line cannot cope with sudden changes in the market situation due to the fixed production plan. The optimization decision system of the present invention realizes intelligent decision-making through data collection and analysis and continuous iteration of genetic algorithms, and can make more reasonable production decisions, thereby more accurately adjusting and making production decisions according to market demand and production plans.

[0109] 5. Through the method for optimizing the production decision of electric energy meters based on genetic algorithms, after deploying the decision suggestions obtained by the genetic algorithm, continuous feedback and optimization are continued, overcoming the defects of the traditional electric energy meter production line: the production line cannot cope well with the changing production environment due to the fixed production plan. The optimization decision system of the present invention can continuously improve its decision-making ability and intelligence level through continuous feedback and optimization, and realize continuous improvement and learning to adapt to the changing production environment.

[0110] 6. The method for optimizing the production decision of electric energy meters based on genetic algorithms can overcome the shortcomings of the traditional electric energy meter production line in terms of lack of competitiveness. The optimization decision system of the present invention enables electric energy meter manufacturers to maintain their advantages in the fierce market competition by improving production efficiency, reducing costs and waste, and optimizing product production structure. BRIEF DESCRIPTION OF THE DRAWINGS

[0111] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0112] Figure 1 The figure is a schematic diagram of the method flow of embodiment 1. DETAILED DESCRIPTION

[0113] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0114] It should be understood that the step numbers used in this document are only for convenience of description and are not intended to limit the order in which the steps are executed.

[0115] It should be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0116] The terms “include” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0117] The term "and / or" means and includes any and all possible combinations of one or more of the associated listed items.

[0118] Embodiment 1:

[0119] In order to make the purpose, technical solutions and advantages of the present invention more clear, the following will be combined with the specific embodiments of the present application and refer to the attached Figure 1 , clearly and completely describe the technical solution of the present invention.

[0120] In order to solve the problems in the prior art, the present invention provides an electric energy meter production decision optimization method based on a genetic algorithm, comprising the following steps:

[0121] Step S1: Collect and analyze the system composition of the electric energy meter production line and the main influencing factors of the electric energy meter production line capacity, and build an evaluation index system for the electric energy meter capacity;

[0122] The specific evaluation index system is as follows:

[0123]

[0124] The above evaluation index data can be collected through sensors installed on the production line (such as photoelectric sensors, infrared sensors, ultrasonic sensors, pressure sensors, etc.) and monitoring systems (such as monitoring warehouses and real-time image information of production lines). All sensors and monitoring systems are integrated into the production data collection network, and the collected data are cleaned, converted and standardized to ensure the quality and consistency of the data. In this way, real-time data of the complete production process can be obtained.

[0125] Step S2: Perform expert evaluation based on the evaluation system of electric energy meter production efficiency to determine the weight distribution of each evaluation index;

[0126] Determine the weight distribution of each evaluation indicator. The specific process is as follows:

[0127] Using the analytic hierarchy process (AHP) to determine subjective weights involves the following steps:

[0128] Construct a judgment matrix. The specific formula is as follows:

[0129] A=(aij)n×n

[0130] where a ij Indicates the importance of factor i relative to factor j; n is the order of the judgment matrix;

[0131] Calculate the maximum eigenvalue of the judgment matrix. Suppose the n-order judgment matrix is ​​B, and its largest eigenvalue λ can be obtained by using BW=λW max , where W is the eigenvector of B;

[0132] The consistency test index, the specific formula is as follows:

[0133]

[0134] Among them, CI = 0 means that the judgment matrix is ​​completely consistent, and the larger the CI, the greater the inconsistency of the judgment matrix;

[0135] To determine whether the consistency is passed, the specific formula is as follows:

[0136]

[0137] Among them, RI is the random consistency index obtained by looking up the table; when CR < 0.1, the judgment matrix passes the consistency test, and the eigenvector W is the weight vector;

[0138] Calculating objective weights using the entropy weight method involves the following steps:

[0139] Data Standardization:

[0140] Suppose there are b objects to be evaluated and c evaluation indicators, and construct the original data matrix:

[0141] X==(xyz)b×c

[0142] Among them, x yz represents the original data value of the yth object to be evaluated on the zth indicator;

[0143] For positive indicators:

[0144]

[0145] For negative indicators:

[0146]

[0147] Among them, r yz represents the data value of the yth object to be evaluated on the zth indicator after standardization;

[0148] Calculate the proportion of the yth sample under the zth indicator:

[0149]

[0150] Calculate the entropy value of the z-th indicator:

[0151]

[0152] If p yz =0, then let p yz ln(p yz )=0;

[0153] Calculate the coefficient of variation of the z-th indicator:

[0154] gz=1-ee z

[0155] Calculate the weight of each indicator:

[0156]

[0157] Step S3: Taking the optimal production efficiency and the lowest production cost as the optimization objectives, a multi-objective optimization model is constructed;

[0158] Step S4: using a genetic algorithm to solve the multi-objective optimization model, obtaining the optimal electric energy meter production plan, and realizing the optimal sorting of the production plans for decision makers to choose;

[0159] Step S401: Initialization, setting the initial parameters, including population size, learning factor, maximum number of iterations, initial speed, number of indicators, inertia weight; and creating the initial population. The "initial population" is also equivalent to the production influencing factor database, and each piece of data in it is regarded as a "chromosome" of the "initial population";

[0160] Step S402: Calculate individual fitness, calculate the fitness of each particle in the initial population, find the global optimal particle and the individual optimal particle, wherein the fitness function is configured as an error function between the production efficiency evaluation value and the production efficiency prediction value calculated based on each evaluation index and the corresponding combination weight;

[0161] Step S403: selection, after calculating the fitness of each individual in the population, determining the best individual for reproduction and producing the next generation; individuals with high fitness are more likely to be selected and pass their genetic material to the next generation;

[0162] Step S404: crossover and mutation, performing crossover and mutation operations on the selected optimal individuals to generate a new generation of individuals and increase population diversity;

[0163] Step S405: Output of the optimal solution set. After several rounds of selection, crossover, and mutation, if the fitness of all individuals meets the requirements, the genetic algorithm iteration is considered complete. The Pareto optimal solution set can be output based on the data in the current population to provide a basis for the formulation of the production plan.

[0164] Step S5: During the decision-making process, the real-time data of the production process is continuously monitored. If any abnormal situation or unexpected results occur during the execution process, an early warning report will be generated and adaptive adjustments will be made according to the actual situation to ensure that the optimized production decision is actually deployed.

[0165] After confirmation by the production manager, the new production decision plan will be directly delivered to the production line machine, or communicated to the relevant personnel in the production process for manual execution to complete the deployment of the new production plan. During the decision execution process, the entire production data collection system will continue to monitor the real-time data of the production process to ensure the effective execution of the decision. If an abnormal situation is found during the execution process that causes the optimization strategy to fail to achieve the expected effect, the abnormal problem will be promptly generated into an abnormal report to generate early warning information (such as insufficient raw material reserves, insufficient number of personnel, etc.), and feedback will be given to the decision maker; and the production plan will be adjusted according to the existing situation.

[0166] Embodiment 2:

[0167] This embodiment provides an electric energy meter production decision optimization system based on a genetic algorithm, including:

[0168] Evaluation index system construction module: collect and analyze the system composition of the electric energy meter production line and the main influencing factors of the electric energy meter production line capacity, and construct an evaluation index system for the electric energy meter capacity; this module is used to implement the function of step S1 in embodiment 1, which will not be repeated here.

[0169] Weight determination module: Perform expert evaluation based on the evaluation system of electric energy meter production efficiency to determine the weight distribution of each evaluation index; this module is used to implement the function of step S2 in embodiment 1, which will not be repeated here.

[0170] Optimal model building module: construct a multi-objective optimization model with the optimal production efficiency and the lowest production cost as the optimization goals; this module is used to implement the function of step S3 in Example 1, which will not be repeated here.

[0171] Decision output module: Use genetic algorithm to solve the multi-objective optimization model to obtain the optimal electricity meter production plan, and implement the optimal sorting of production plans for decision makers to choose; this module is used to implement the function of step S4 in Example 1, which will not be repeated here.

[0172] Decision execution module: During the decision execution process, the real-time data of the production process is continuously monitored. If an abnormal situation or an unexpected result occurs during the execution process, an early warning report will be generated and adaptive adjustments will be made according to the actual situation to ensure that the optimized production decision is effectively deployed. This module is used to implement the function of step S5 in Example 1, which will not be repeated here.

[0173] Embodiment three:

[0174] This embodiment provides an electronic device having a computer program stored thereon. When the computer program is executed by a processor, the method for optimizing electric energy meter production decisions based on a genetic algorithm as described in any embodiment of the present invention is implemented.

[0175] Embodiment 4:

[0176] This embodiment provides a computer-readable medium for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement a method for optimizing electric energy meter production decisions based on a genetic algorithm as described in any embodiment of the present invention.

[0177] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0178] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0179] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0180] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk, and other media that can store program codes.

[0181] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for optimizing electric energy meter production decision based on genetic algorithm, characterized in that: The following steps are involved: Step S1: Collect and analyze the system composition of the electric energy meter production line and the main influencing factors of the electric energy meter production line capacity, and build an evaluation index system for the electric energy meter capacity; Step S2: Perform expert evaluation based on the evaluation system of electric energy meter production efficiency to determine the weight distribution of each evaluation index; Step S3: Taking the best production efficiency and the lowest production cost as the optimization goals, a multi-objective optimization model is constructed; Step S4: using a genetic algorithm to solve the multi-objective optimization model, obtaining the optimal electric energy meter production plan, and realizing the optimal sorting of the production plans for decision makers to choose; Step S5: During the decision-making process, the real-time data of the production process is continuously monitored. If any abnormal situation or unexpected results occur during the execution process, an early warning report will be generated and adaptive adjustments will be made according to the actual situation to ensure that the optimized production decision is actually deployed.

2. The method for optimizing electric energy meter production decision based on genetic algorithm according to claim 1, characterized in that: The evaluation index system for constructing the energy meter capacity; The first-level indicators include: personnel management, raw materials, equipment and facilities, production process, and production environment; the second-level indicators of personnel management include: rationality of job arrangement, adequacy of personnel quantity, and operational proficiency; the second-level indicators of raw materials include: timeliness of supply and stability of supply; the second-level indicators of equipment and facilities include: equipment operating efficiency, fault repair speed, and daily maintenance; the second-level indicators of production process include: smoothness of process connection, degree of process simplification, and frequency of process optimization; the production environment includes: temperature and humidity.

3. The method for optimizing electric energy meter production decision based on genetic algorithm according to claim 1, characterized in that: The specific process of determining the weight distribution of each evaluation index is as follows: Using the analytic hierarchy process (AHP) to determine subjective weights involves the following steps: Construct a judgment matrix. The specific formula is as follows: A=(a ij ) n×n where a ij Indicates the importance of factor i relative to factor j; n is the order of the judgment matrix; Calculate the maximum eigenvalue of the judgment matrix. Let the n-order judgment matrix be B, and use BW=λW to find its largest eigenvalue λ. max , where W is the eigenvector of B; The consistency test index, the specific formula is as follows: Among them, CI = 0 means that the judgment matrix is ​​completely consistent, and the larger the CI, the greater the inconsistency of the judgment matrix; To determine whether the consistency is passed, the specific formula is as follows: Among them, RI is the random consistency index obtained by table lookup; when CR<0.1, the judgment matrix passes the consistency test, and the eigenvector W is the weight vector; Calculating objective weights using the entropy weight method involves the following steps: Data Standardization: Suppose there are b objects to be evaluated and c evaluation indicators, and construct the original data matrix: X=(xyz)b×c Among them, x yz represents the original data value of the yth object to be evaluated on the zth indicator; For positive indicators: For negative indicators: Among them, r yz represents the data value of the yth object to be evaluated on the zth indicator after standardization; Calculate the proportion of the yth sample under the zth indicator: Calculate the entropy value of the z-th indicator: If p yz =0, then let p yz ln(p yz )=0; Calculate the coefficient of variation of the z-th indicator: g z =1-e z Calculate the weight of each indicator:

4. The method for optimizing electric energy meter production decision based on genetic algorithm according to claim 1, characterized in that: The method of solving the multi-objective optimization model by using a genetic algorithm specifically includes the following steps: Initialization: Set the initial parameters, including population size, learning factor, maximum number of iterations, initial speed, number of indicators, and inertia weight; and create the initial population. The "initial population" is also equivalent to the production influencing factor database, and each piece of data in it is regarded as a "chromosome" of the "initial population"; Individual fitness calculation, calculate the fitness of each particle in the initial population, find the global optimal particle and the individual optimal particle, where the fitness function is configured as the error function between the production efficiency evaluation value and the production efficiency prediction value calculated based on each evaluation index and the corresponding combination weight; Selection, after calculating the fitness of each individual in the population, determines the best individuals for reproduction and produces the next generation; Crossover and mutation: Perform crossover and mutation operations on the selected optimal individuals to generate a new generation of individuals and increase population diversity; The optimal solution set is output. After several rounds of selection, crossover, and mutation, if the fitness of all individuals meets the requirements, the genetic algorithm iteration is considered complete. The Pareto optimal solution set is output based on the data in the current population to provide a basis for the formulation of the production plan.

5. A power meter production decision optimization system based on genetic algorithm, characterized in that: include: Evaluation index system construction module: collect and analyze the system composition of the electric energy meter production line and the main influencing factors of the electric energy meter production line capacity, and build an evaluation index system for the electric energy meter capacity; Weight determination module: Perform expert evaluation based on the evaluation system of electric energy meter production efficiency and determine the weight distribution of each evaluation index; Optimization model building module: Build a multi-objective optimization model with the optimal production efficiency and the lowest production cost as the optimization goals; Decision output module: Use genetic algorithm to solve the multi-objective optimization model, obtain the optimal electricity meter production plan, and realize the optimal sorting of production plans for decision makers to choose; Decision execution module: During the decision execution process, the real-time data of the production process is continuously monitored. If any abnormal situation or unexpected results occur during the execution process, an early warning report will be generated and adaptive adjustments will be made according to the actual situation to ensure that the optimized production decision is actually deployed.

6. The electric energy meter production decision optimization system based on genetic algorithm according to claim 5 is characterized by: The evaluation index system construction module constructs an evaluation index system for the energy meter's capacity; The first-level indicators include: personnel management, raw materials, equipment and facilities, production process, and production environment; the second-level indicators of personnel management include: rationality of job arrangement, adequacy of personnel quantity, and operational proficiency; the second-level indicators of raw materials include: timeliness of supply and stability of supply; the second-level indicators of equipment and facilities include: equipment operating efficiency, fault repair speed, and daily maintenance; the second-level indicators of production process include: smoothness of process connection, degree of process simplification, and frequency of process optimization; the production environment includes: temperature and humidity.

7. The electric energy meter production decision optimization system based on genetic algorithm according to claim 5 is characterized by: The weight determination module determines the weight distribution of each evaluation index, and the specific process is as follows: Using the analytic hierarchy process (AHP) to determine subjective weights involves the following steps: Construct a judgment matrix. The specific formula is as follows: A=(a ij ) n×n where a ij Indicates the importance of factor i relative to factor j; n is the order of the judgment matrix; Calculate the maximum eigenvalue of the judgment matrix. Let the n-order judgment matrix be B, and use BW=λW to find its largest eigenvalue λ. max , where W is the eigenvector of B; The consistency test index, the specific formula is as follows: Among them, CI = 0 means that the judgment matrix is ​​completely consistent, and the larger the CI, the greater the inconsistency of the judgment matrix; To determine whether the consistency is passed, the specific formula is as follows: Among them, RI is the random consistency index obtained by table lookup; when CR<0.1, the judgment matrix passes the consistency test, and the eigenvector W is the weight vector; Calculating objective weights using the entropy weight method involves the following steps: Data Standardization: Suppose there are b objects to be evaluated and c evaluation indicators, and construct the original data matrix: X=(x yz ) b×c Among them, x yz represents the original data value of the yth object to be evaluated on the zth indicator; For positive indicators: For negative indicators: Among them, r yz represents the data value of the yth object to be evaluated on the zth indicator after standardization; Calculate the proportion of the yth sample under the zth indicator: Calculate the entropy value of the z-th indicator: If p yz =0, then let p yz ln(p yz )=0; Calculate the coefficient of variation of the z-th indicator: g z =1-e z Calculate the weight of each indicator:

8. The electric energy meter production decision optimization system based on genetic algorithm according to claim 5 is characterized by: The decision output module uses a genetic algorithm to solve the multi-objective optimization model, specifically including the following steps: Initialization: Set the initial parameters, including population size, learning factor, maximum number of iterations, initial speed, number of indicators, and inertia weight; and create the initial population. The "initial population" is also equivalent to the production influencing factor database, and each piece of data in it is regarded as a "chromosome" of the "initial population"; Individual fitness calculation, calculate the fitness of each particle in the initial population, find the global optimal particle and the individual optimal particle, where the fitness function is configured as the error function between the production efficiency evaluation value and the production efficiency prediction value calculated based on each evaluation index and the corresponding combination weight; Selection, after calculating the fitness of each individual in the population, determines the best individuals for reproduction and produces the next generation; Crossover and mutation: Perform crossover and mutation operations on the selected optimal individuals to generate a new generation of individuals and increase population diversity; The optimal solution set is output. After several rounds of selection, crossover, and mutation, if the fitness of all individuals meets the requirements, the genetic algorithm iteration is considered complete. The Pareto optimal solution set is output based on the data in the current population to provide a basis for the formulation of the production plan.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for optimizing electric energy meter production decisions based on a genetic algorithm as described in any one of claims 1 to 4 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for optimizing electric energy meter production decisions based on a genetic algorithm as described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • MES-based production workshop intelligent scheduling system

    CN117709617A

Cited By

  • Electric energy meter full-performance test task allocation management method and system

    CN119415270A

  • Structure optimization method and system for suspension line 3dB bridge

    CN120197456A

  • A Structural Optimization Method and System for Suspension Line 3dB Bridges

    CN120197456B