Order production link generation method and device, electronic equipment and storage medium

By acquiring order information, dividing processes, and constructing objective functions, a genetic algorithm is used to optimize the production chain, solving the problem that traditional production scheduling methods struggle to comprehensively consider multiple objectives, and achieving comprehensive optimization of production efficiency and energy consumption.

CN120996646APending Publication Date: 2025-11-21HITACHI BUILDING TECH GUANGZHOU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511116595.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-11
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

Traditional production scheduling methods struggle to comprehensively optimize production time, cost, and energy consumption, leading to shortcomings in resource allocation and production efficiency for modern enterprises.

Method used

By acquiring production information from orders, dividing processes and allocating production resources, constructing an objective function to comprehensively consider total energy consumption, production time, peak electricity consumption and equipment utilization efficiency, and using a genetic algorithm to optimize the production chain, a multi-objective optimization production scheduling method is provided.

Benefits of technology

It enables comprehensive multi-objective optimization in production scheduling, generates the optimal production chain, improves production efficiency and equipment utilization, and reduces energy consumption and costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120996646A_ABST
    Figure CN120996646A_ABST
Patent Text Reader

Abstract

The invention discloses an order production link generation method and device, electronic equipment and a storage medium, and the method comprises the steps: carrying out the dividing of a batch according to the production information of an order, obtaining a plurality of groups of process division information and corresponding production links, and automatically generating a plurality of production schemes with feasibility, an objective function corresponding to the production link is constructed according to the evaluation indexes, the objective function is related to the total energy consumption, the production duration, the power utilization peak value and the equipment use efficiency of the production link, and the equipment use efficiency is inversely proportional to the value of the objective function; wherein the total energy consumption, the production duration, the power consumption peak value and the equipment use efficiency are obtained according to the production information, all the production links are processed by taking the minimum objective function as the objective so as to obtain the optimal production link, and the production scheduling method capable of comprehensively considering multi-objective optimization is provided for order production.
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 management, and in particular to an order production link generation method and device, electronic equipment and a storage medium. BACKGROUND

[0002] In industrial production, production scheduling is a key link for reasonably arranging production tasks and optimizing resource allocation. Traditional production scheduling methods usually only consider a single objective, such as the shortest production time or the lowest cost, which is difficult to meet the comprehensive optimization needs of modern enterprises for efficiency, energy consumption and cost. Therefore, there is an urgent need for a production scheduling method that can comprehensively consider multi-objective optimization. SUMMARY

[0003] The present application provides an order production link generation method to solve the problem of order production link generation.

[0004] In a first aspect, the present application provides an order production link generation method, comprising:

[0005] For each order to be produced, obtain the production information of the order, which includes the order number, the equipment parameters of the required equipment and the process information of the production process, each production process with a characteristic identifier related to the order number;

[0006] According to the preset process division constraint condition and the production information, allocate production resources to the production process of each order to obtain a plurality of sets of process division information, the production resources including the equipment required by the production process and the production duration when using the equipment;

[0007] According to each set of process division information, determine at least one production link, the production link being a sequence of execution information of the production process on the equipment;

[0008] According to the evaluation index, construct a target function corresponding to the production link, the target function being related to the total energy consumption, production duration, peak power consumption and equipment use efficiency of the production link, wherein the equipment use efficiency is inversely proportional to the value of the target function; wherein the total energy consumption, production duration, peak power consumption and equipment use efficiency are obtained according to the production information;

[0009] Process all the production links with the target of minimizing the target function to obtain the optimal production link.

[0010] In a second aspect, the present application provides an order production link generation device, comprising:

[0011] The production information acquisition module is configured to acquire production information of each order to be produced, the production information including an order number, equipment parameters of required equipment, and process information of production processes, each production process having a characteristic mark related to the order number.

[0012] The process division module is configured to allocate production resources to production processes of each order according to preset process division constraint conditions and the production information, to obtain a plurality of sets of process division information, the production resources including equipment required by the production processes and production time lengths when the equipment is used.

[0013] The production link acquisition module is configured to determine at least one production link according to each set of the process division information, the production link being a sequence of execution information of the production processes on the equipment.

[0014] The objective function construction module is configured to construct an objective function corresponding to the production link according to the evaluation index, the objective function being related to total energy consumption, production time length, power peak value, and equipment use efficiency of the production link, wherein the equipment use efficiency is inversely proportional to a value of the objective function, and wherein the total energy consumption, the production time length, the power peak value, and the equipment use efficiency are obtained according to the production information.

[0015] The production link optimization module is configured to process all the production links to obtain optimal production links, with the objective function being minimized.

[0016] In a third aspect, the present application provides an electronic device, which comprises:

[0017] at least one processor; and

[0018] a memory in communication connection with the at least one processor; wherein

[0019] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the order production link generation method of the first aspect of the present application.

[0020] In a fourth aspect, the present application provides a computer readable storage medium, which stores computer instructions for enabling a processor to execute the order production link generation method of the first aspect of the present application.

[0021] The order production link generation method provided by the embodiments of the present application has the following beneficial effects:

[0022] First, according to the production information of the order, the batches are divided to obtain multiple sets of process division information and corresponding production links, multiple feasible production schemes can be automatically generated, and then an evaluation index is used to construct a target function corresponding to the production link, the target function is related to the total energy consumption, production time, power peak and equipment use efficiency of the production link, wherein the equipment use efficiency is inversely proportional to the value of the target function; wherein the total energy consumption, production time, power peak and equipment use efficiency are obtained according to the production information, and the target function is minimized to process all production links to obtain the optimal production link, which provides a production scheduling method that can comprehensively consider multi-objective optimization for order production.

[0023] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0025] Figure 1 is a flow chart of an order production link generation method provided by an embodiment of the present application;

[0026] Figure 2 is a method flow chart for obtaining the optimal production link by using a genetic algorithm provided by an embodiment of the present application;

[0027] Figure 3 is a real-time adjustment mechanism schematic diagram provided by an embodiment of the present application;

[0028] Figure 4 is a structure schematic diagram of an order production link generation device provided by an embodiment of the present application;

[0029] Figure 5 is a structure schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0030] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0031] Figure 1 This is a flowchart illustrating a method for generating an order production chain according to an embodiment of the present invention. This embodiment is applicable to the generation of order production chains. The method can be executed by an order production chain generation device, which can be implemented in hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the production chain generation method for this order includes:

[0032] S101. For each order to be produced, obtain the production information of the order, which includes the order number, the equipment parameters of the required equipment, and the process information of the production process.

[0033] Typically, order production information is pre-entered into the production management system's database, and therefore can be obtained from the system. Orders awaiting production can be single or multiple orders. Each production process carries a unique identifier associated with the order number, allowing differentiation even among processes of the same type. Specifically, each production process can correspond to a unique number linked to the order number.

[0034] Regarding the order number and production process, the order set can be provided as O = {O1, O2, ..., O...} n}, where P i ={P i1 ,P i2 ,…,P im} represents each order O i The set of m production processes contained, P ij Indicates order O i The j-th process.

[0035] The equipment parameters are as follows:

[0036] The set of devices is M = {M1, M2, ..., M} k Each device defines the following status parameters, which are stored in the database and automatically updated based on actual production data:

[0037] Standby power: (Units: kW, power consumption when the device is idle)

[0038] Start-up energy consumption: (Units: kWh, fixed energy consumption when the device starts up, including the energy consumption of the thermal engine)

[0039] Thermal engine time: (Units: h, time required for the device to reach a stable operating state after starting up)

[0040] Production power: (Units: kW, operating power when the device is in a stable operating state)

[0041] The production power in the thermal engine phase is calculated as a piecewise function:

[0042]

[0043] where t start is the start-up time of the device, is the thermal engine time of the device.

[0044] The process attribute parameters are as follows:

[0045] Processing time: Process P ij The processing time on device M l is t ijl (Units: h).

[0046] S102, according to the preset process division constraint condition and production information, allocate production resources to the production process of each order to obtain multiple sets of process division information, the production resources include the devices required by the production process and the production time when using the devices.

[0047] The process division constraint condition can include:

[0048] Process order constraint: The process order constraint is represented by a directed graph G = (V, E), where V is the process node and E is the predecessor relationship edge. If process P ij must be completed before P ik , then there is an edge (P ij , P ik ) ∈ E.

[0049] Device state constraint: The device state strictly follows the "standby → start up → thermal engine → production" process.

[0050] Time balance constraint: The difference value of the total working time of the device is within the set value range, and the set value is the product of the average working time of the device and the preset proportion, and the preset proportion is generally 0.1-0.2.

[0051] The time balance constraint is used to control the deviation of the batch processing time on each device from the average processing time, ensuring balanced device load.

[0052] In the allocation of production resources to production processes, a binary decision variable x ijh ∈{0,1} is defined, which is used to represent whether the process P ij is allocated to batch B ij , and 1 means belonging to, and 0 means not belonging to.

[0053] Integrity constraint: each production process must be and can only be allocated to one device.

[0054] Capacity constraint: the resource capacity of batch B ih satisfies the resource demand of the production process, that is, the total resource demand of all production processes in the batch does not exceed the available resource capacity.

[0055] Device exclusivity constraint: used to ensure that the same device only handles one batch task at the same time. For example, device M1 handles production process B 11 from 8:00 to 10:00, then the start time of the next production process B 12 is greater than or equal to 10:00.

[0056] S103, determine at least one production link according to each set of process division information, the production link being the execution information sequence of the production process on the device.

[0057] In a set of process division information, the number of devices is usually multiple, and there may also be multiple devices of the same type, and the same device may be used to execute production processes of the same type of different orders. Therefore, even if the process division information has been determined, there may still be multiple corresponding production links. The production link is the execution information sequence of the production process on the device, that is, the execution order of each production process in a single order and the time relationship of the execution, or the execution order of each production process in each order of multiple orders and the time relationship of the execution.

[0058] For example, the expression of the production link L is:

[0059] L=(O i ,B ih ,M l ,S lh ,C lh )

[0060] Where O i represents the order number of the i-th order, B ih represents the h-th production process of the i-th order, and device M l is used to execute B ih , S lhrepresents the start time of the hth production process in the equipment M l represents the start time of the hth production process in the equipment M lh represents the completion time of the hth production process in the equipment M l

[0061] S104, constructing a target function corresponding to the production link according to the evaluation index, the target function being related to total energy consumption, production duration, power peak and equipment use efficiency of the production link.

[0062] Wherein, the equipment use efficiency is inversely proportional to the value of the target function.

[0063] Wherein, the total energy consumption, the production duration, the power peak and the equipment use efficiency are obtained according to the production information, and when the production link is known, the production plan corresponding to the production link can be obtained, and then the total energy consumption, the production duration, the power peak and the equipment use efficiency can be calculated in combination with the production link, the equipment parameters and the process attribute parameters.

[0064] The total energy consumption is the sum of the production energy consumption and the non-production energy consumption, the production energy consumption being the energy consumption generated by executing the production process, and the non-production energy consumption including the energy consumption generated by starting the equipment, warming up the equipment and putting the equipment on standby.

[0065] The production duration represents the timeliness of the production plan corresponding to the production link, and for order production, the timeliness is usually related to the production cost and the production efficiency. The production duration is equal to the time difference between the final completion time and the initial start execution time in the production link.

[0066] The equipment use efficiency is also positively related to the production cost and the production efficiency, and the equipment use efficiency is the sum of the use efficiencies of all the equipment, and the use efficiency of a single equipment is the ratio of the duration of the equipment executing the production process to the total duration of the equipment being turned on.

[0067] For the power consumption of the factory, the power peak is related to the power consumption safety, and the power peak usually represents the number of simultaneously running equipment and the actual power of the equipment, and when the power peak is low, the safety is high.

[0068] In summary, when the optimal production link is screened, the target function can be constructed based on the total energy consumption, the production duration, the power peak and the equipment use efficiency, the equipment use efficiency being inversely proportional to the value of the target function, and the total energy consumption, the production duration and the power peak being positively proportional to the target function.

[0069] In addition, for the obtained production link, it is also necessary to judge whether the power peak is less than the maximum power supply of the power grid.

[0070] S105, processing all the production links with the minimum target function as the target to obtain the optimal production link.

[0071] ​Since the equipment use efficiency is inversely proportional to the value of the objective function, the total energy consumption, the production time length, the power peak value and the objective function are proportional, at the minimum of the objective function, the production time length, the total energy consumption, the production time length, the power peak value are minimized, and the equipment use efficiency is maximized, the production link meeting the production demand and the production index can be obtained, and the production link corresponds to the production scheme.

[0072] The order production link generation method provided by the embodiment of the application can divide batches according to production information of orders to obtain multiple sets of process division information and corresponding production links, can automatically generate multiple production schemes with feasibility, and can construct an objective function corresponding to the production link according to evaluation indexes, wherein the objective function is related to total energy consumption, production time length, power peak value and equipment use efficiency of the production link, the equipment use efficiency is inversely proportional to the value of the objective function, the total energy consumption, the production time length, the power peak value and the equipment use efficiency are obtained according to the production information, and all production links are processed to obtain an optimal production link by taking the minimum of the objective function as a target, thereby providing a production scheduling method that can comprehensively consider multi-objective optimization for order production.

[0073] In an optional embodiment, the process division information includes order numbers corresponding to each production process, devices and start time, warm-up time length, production time length and completion time when the devices are executed,

[0074] Determining at least one production link according to each set of process division information includes:

[0075] For each set of process division information, at least one initial production link is determined according to the process division information, when the number of initial production links is multiple, for each initial production link, a production time window of each device in the initial production link is obtained according to the corresponding process division information, the production time window shows order numbers, production processes and corresponding time information executed by the device, the time information includes start time, warm-up time length, production time length and completion time of the production process, total start-up times and total standby time length of all devices are determined according to the production time window, the standby time length is the time length from the completion time of the previous production process to the start time of the next production process, and the optimal production link corresponding to the current process division information is selected from the multiple initial production links by taking the total start-up times and the standby time length as the target for minimization.

[0076] Specifically, a Gantt chart can be used to obtain the production time window of each device, and the set of production links is L={l1, l2, …, l s …,l n}, the start-up times of the devices of each production link l s are N start (l s ), and the standby time is T standby (ls ). The "energy consumption priority" principle is followed when merging multi-order links, that is, links satisfying min(N start (l s )+T standby (l s )) are preferentially retained. s , and device conflicts are resolved.

[0077] Optionally, when the switching duration of the device in the production process is greater than a preset standby duration threshold, the device switches from running energy consumption to standby energy consumption.

[0078] The optimal production link screened by the embodiment satisfies the minimization of the total number of start-ups and the standby duration. The number of start-ups and the standby duration are related to non-production energy consumption. Therefore, the optimal production link can minimize non-production energy consumption, improve production efficiency, and reduce production cost.

[0079] In an optional embodiment, after determining at least one initial production link according to the process division information, the method further comprises:

[0080] For each initial production link, for each two adjacent production processes on the same device, a first energy consumption required when the adjacent production processes are combined for processing and a total processing duration are obtained, and a second energy consumption required when the adjacent production processes are processed respectively is obtained; if the first energy consumption is less than the second energy consumption and the total processing duration is less than a processing duration threshold of the device, a standby duration between the current two adjacent production processes in the initial production link is set to 0.

[0081] The embodiment is a merging process for the two adjacent production processes in the initial production link. Specifically, based on the energy consumption difference after merging, the first energy consumption is less than the second energy consumption, which means that the energy consumption value after merging processing is lower, which is conducive to reducing energy consumption. In addition, the total processing duration of the device after merging processing is limited to be less than the processing duration threshold of the device. The merging processing of the two adjacent production processes means that the continuous working duration of the device is increased. The device is prone to overheating, failure, and reduced work efficiency when working for a long time, which affects production work. Therefore, the device is usually provided with a processing duration threshold. Setting the total processing duration to be less than the processing duration threshold can avoid the above device problems.

[0082] In an optional embodiment, the expression of the objective function is:

[0083] Min F = ω1 x T total + ω2 x E total + ω3 x E peak - ω4 x η

[0084] Min F is the objective function, T totalis the maximum value of the production link completion time; E total is the total energy consumption of the production link, and peak is the peak power consumption, η is the equipment use efficiency, ω1, ω2, ω3, and ω4 are preset weight parameters.

[0085] E total is the sum of the total energy consumption of all devices in the production link, and l is the total energy consumption of a single device M

[0086]

[0087] wherein, is the total energy consumption of device M l in the production link, H l is the set of production processes handled by device M l , |H l | is the number of production processes, is the production power of device M l , Pstart is the start-up energy consumption, Pstandby is the standby power, t lh is the production duration of the hth production process in device M l in the production link, Δt h,h+1 is the interval time between adjacent batch production processes.

[0088] The function expression of the total energy consumption of a single device M l fully considers the energy consumption difference of the device in different states (standby, start-up, and production), and can achieve fine management of energy consumption.

[0089] In an optional embodiment, when all the production links are processed with the target function minimum as the target to obtain the optimal production link, a genetic algorithm is used to achieve, Figure 2 is a method flowchart for obtaining an optimal production link using a genetic algorithm, as shown in Figure 2 , and specifically includes the following steps:

[0090] S201, initialize the population.

[0091] Population size: set the population size N = 100;

[0092] Coding scheme: use multi-dimensional vector coding, and the chromosome structure is defined as:

[0093] Chromosome = {O i , B lh , M l , S lh , start_flag, starndby_dur}

[0094] wherein:

[0095] O i : order number;

[0096] B lh : production process number;

[0097] M l : equipment number;

[0098] S lh : start time of production process on equipment;

[0099] start_flag: start flag;

[0100] standby_dur: standby duration (hours).

[0101] S202, genetic operation.

[0102] It includes selection, crossover, and mutation steps, selects parents from the current population through selection operation (such as tournament selection), performs crossover operation to generate offspring, and performs mutation to introduce new genes.

[0103] In the selection step, binary tournament selection is adopted: 2 individuals are randomly selected, and solutions with low non-dominated level are preferentially selected; when the levels are the same, solutions with large crowding degree are selected.

[0104] In the crossover step, simulated binary crossover (SBX) is used: batch allocation, equipment selection, and time sequence are crossed and recombined. The crossover probability p c = 0.9;

[0105] In the mutation step, polynomial mutation is used: the batch equipment allocation or time window is randomly adjusted to ensure that the process predecessor constraint is not violated, and the mutation probability p m = 0.01.

[0106] S203, merge parent and offspring population.

[0107] S204, non-dominated sorting.

[0108] Non-dominated sorting rules:

[0109] Calculate the objective function of each solution in the population to (T total , E prod , E non-prod , E peak , η)

[0110] Hierarchical sorting:

[0111] First layer: all Pareto optimal solutions that are not dominated by others;

[0112] Second layer: remove non-dominated solutions in the remaining solutions after the first layer;

[0113] Repeat until the stratification is completed.

[0114] S205, crowdedness calculation.

[0115] Sort each layer by objective function value, calculate crowded distance:

[0116]

[0117] Where f m is the mth normalized objective function value.

[0118] S206, elite preservation.

[0119] Merge the accompanying and self-population (2N solutions in total), sort by non-dominated layer and crowdedness, select the top N solutions as the new generation population.

[0120] Constraint processing mechanism:

[0121] Penalize solutions that violate constraints, fitness adjustment:

[0122] Fitness adj = Fitness × Penalty

[0123] Where the penalty factor:

[0124]

[0125] γ is the penalty coefficient, adjusted according to the priority of the delivery period, the adjustment rule can be adjusted according to the following two ways:

[0126] 1) Urgency of delivery time division: divide the order according to the remaining delivery time into different levels, for example:

[0127] Emergency order: the remaining delivery time is less than 50% of the production cycle, the value range of γ is [1.5, 2.0];

[0128] Normal order: the remaining delivery time is 50%-150% of the production cycle, the value range of γ is [0.8, 1.2];

[0129] Loose order: the remaining delivery time is more than 150% of the production cycle, the value range of γ is [0.3, 0.7].

[0130] 2) Dynamic adjustment mechanism: combined with the order priority weight, when the order involves high-value customers or strategic cooperation projects, the original interval is increased by 20%-30%, on the contrary, if it is a trial production or low-priority order, it is decreased by 10%-20%.

[0131] S207, termination condition judgment.

[0132] Termination condition:

[0133] Maximum number of iterations reached: 500 generations;

[0134] Early stopping mechanism: consecutive 20 generations Pareto front improvement <1%.

[0135] If the termination condition is met, S208 is executed, if not, return to S202.

[0136] S208, output results.

[0137] Select the solution with the lowest comprehensive score from the final non-dominated layer:

[0138]

[0139] The prior art lacks an effective real-time adjustment mechanism when dealing with dynamic production environments (such as new order insertion, equipment failure), resulting in insufficient production plan flexibility and low resource utilization. The present application solves this technical problem in combination with the following embodiments. Figure 3 A schematic diagram of a real-time adjustment mechanism is shown in Figure 3 As shown, during production, if a new order is added or equipment fails, for a new order, the new order production process is divided and fused with the original production link. In the case of equipment failure, the replacement equipment is screened and the process is rearranged. In both cases, an updated production link can be obtained. Adjust and verify the updated production link, and output the adjusted scheme. The automatically generated production link can respond to different unexpected situations and improve the flexibility of the production plan.

[0140] In an optional embodiment, the order production link generation method further comprises the following steps:

[0141] When a new order is added to the production with the optimal production link, the state information of the current production link is obtained, the state information including the progress of the process completion and the working state of each device; the production process corresponding to the new order is obtained; at least one reordering link is generated according to the state information of the production link and the production process corresponding to the new order, the reordering link being a production link obtained after the production resources are redistributed for the unfinished production process in the production link and the production process corresponding to the new order; the first energy consumption and the first completion time required for executing the unfinished production process in the production link are calculated; for each of the reordering links, the second energy consumption required for executing the reordering link and the second completion time of the unfinished production process in the production link are calculated; the optimal reordering link is determined based on the first energy consumption, the first completion time, the second energy consumption and the second completion time; and production is performed based on the optimal reordering link.

[0142] When a new order is encountered, the production process of the new order is analyzed together with the remaining unfinished production process as the production process to be executed, and a plurality of first reordering links are obtained.

[0143] Specifically, the optimal reordering link is determined based on the first energy consumption, the first completion time, the second energy consumption and the second completion time, comprising:

[0144] The energy consumption difference value between the second energy consumption and the first energy consumption is calculated; the time difference value between the second completion time and the first completion time is calculated; and the reordering link with the time difference value less than or equal to 0 and the minimum energy consumption difference value is taken as the optimal reordering link.

[0145] The time difference value less than or equal to 0 indicates that the addition of the production process of the new order in the first reordering link does not affect the completion time of the original production process, i.e. does not affect the completion time of the original order. The energy consumption difference value between the second energy consumption and the first energy consumption is the energy consumption increment brought by inserting the production process of the new order. On the basis of the time difference value less than or equal to 0, the reordering link with the minimum energy consumption increment is further screened out, so that the production process of the new order can be added under the condition of minimum energy consumption.

[0146] In an optional embodiment, the production link generation method of the order further comprises the following steps:

[0147] When producing in the optimal production chain, if there is a faulty device, the working states of each normal device and the production process not completed by the faulty device are obtained; a normal device capable of executing the production process not completed by the faulty device is screened out to obtain a candidate device; when the candidate device is multiple, an influence factor of the candidate device is calculated according to the working state of the candidate device, the influence factor is used for evaluation, and the influence factor is positively correlated with the start time, production power and production duration when the candidate device executes the production process not completed; and the candidate device with the minimum influence factor is taken as the replacement device of the faulty device.

[0148] The start time and the production duration both affect the production efficiency when the production process not completed, so the device with the minimum start time and production duration can be selected as the replacement, and the production powers of different devices are different, and the device with the minimum production power can reduce energy consumption.

[0149] In order to clearly illustrate the implementation process of the scheme, the following examples are combined for description.

[0150] Order demand: four models of electronic board products need to be produced, namely, order number O1: A type, order number O2: B type, order number O3: C type, and order number O4: D type. The rated capacity is 60kW. The factory goal is to realize the shortest production time, the lowest energy consumption and the minimum power peak value while ensuring the balance of device load under the premise of meeting the order delivery period.

[0151] 1, basic data setting

[0152] 1.1, order and process information

[0153] The correspondence between order and process information is specifically referred to Table 1.

[0154] Table 1. Correspondence table of order and process information

[0155]

[0156] 1.2, device parameters

[0157] Among them, the aging device M6 can execute multiple order aging processes in parallel, and the working energy consumption is not affected by the number of executed orders. The device parameters are specifically referred to Table 2.

[0158] Table 2. Device parameter table

[0159]

[0160]

[0161] 2, batch production algorithm execution process

[0162] 2.1, Initial batch division

[0163] According to the order of the procedures, each procedure is divided into an independent batch to obtain procedure division information, which is specifically referred to Table 3.

[0164] Table 3. Procedure division information table

[0165] Device Order Batch Process Start time Hot engine duration Production time Completion time M1 O1 B 11 ]]> P 11 ]]> 0 0.12 3 3.12 M1 O3 B 31 ]]> P 31 ]]> 3.12 0.12 4 7.24 [M2] O2 B 21 ]]> P 21 ]]> 0 0.11 2 2.11 [M2] O4 B 41 ]]> P 41 ]]> 2.11 0.11 3 5.22 [M3] O1 B 12 ]]> P 12 ]]> 3.12 0.15 4 7.27 M4 O2 B 22 ]]> P 22 ]]> 2.11 0.14 3 5.25 [M5] [O3] B 32 ]]> P 32 ]]> 7.24 0.13 2 9.37 [M5] O4 B 42 ]]> P 42 ]]> 5.22 0.13 5 10.35 M6 O1 B 13 ]]> P 13 ]]> 7.27 0.18 2 9.45 M6 O2 B 23 ]]> P 23 ]]> 5.25 0.18 3 8.43 M6 O3 B 33 ]]> P 33 ]] 9.37 0.18 4 13.55 M6 O4 B 43 ]]> P 43 ]]> 10.35 0.18 4 14.53

[0166] 2.2, Batch merging optimization

[0167] An energy consumption evaluation model is established:

[0168]

[0169] Standby power: (unit: kW, power consumption when the device is idle);

[0170] Startup energy consumption: (unit: kWh, fixed energy consumption for one startup of the device, including the warm-up energy consumption);

[0171] Warm-up time: (unit: h, time required for the device to reach a stable running state after startup);

[0172] Production power: (unit: kW, power when the device is running stably);

[0173] Adjacent batch interval time (standby time): Δt h,h+1 (unit: h).

[0174] When ΔE < 0, batch merging is triggered to reduce energy consumption. Taking B 11 and B 31 on device M1 as an example:

[0175] Original startup times: 2 times, startup energy consumption: 2 × 2.2 = 4.4 kWh.

[0176] Merged startup times: 1 time, startup energy consumption saving 2.2 kWh, i.e.

[0177] Batch interval time: B 11 Completion time 3.12 h, B 31 Original planned start time 0 h, adjusted B 31 starts at 3.12 h, although it is delayed, but the standby time remains unchanged at 0 h.

[0178] Standby energy consumption increment:

[0179] Energy consumption change: ΔE = -2-0 = -2 kWh <0, meet the merging condition.

[0180] Optimized batch plan:

[0181] Merge B on M1 11 and B 31 Batch, batch execution sequence adjustment to B 11 → B 31 (continuous execution without interval);

[0182] Other equipment batch division is merged according to this example.

[0183] 2.3, Equipment load balancing

[0184] If there is a requirement for equipment load balancing, the production batches on the equipment with the same processing procedure are automatically allocated and adjusted according to the preset load balancing parameters. For the aging equipment in the example, since there is only one, it is meaningless to consider load balancing.

[0185] Take the patch procedures M1 and M2 as an example: load deviation calculation formula: take δ t = 15% × average processing time.

[0186] M1 total processing time: 3+4=7h, M2 total processing time: 2+3=5h;

[0187] Average processing time: (7+5) / 2=6h;

[0188] Load deviation: δ t = 15% × 6 = 0.9h;

[0189] M1 deviation: |7-2×6 / 2|=1h>0.9h (over standard);

[0190] M2 deviation: |5-2×6 / 2|=1h>0.9h (over standard);

[0191] Automatic adjustment scheme: when automatically adjusting the scheme, the energy consumption of the adjusted equipment, batch splitting difficulty, etc. need to be considered comprehensively. Here O3-B 31 split 1h workload to M2, load balancing M1 processing time adjustment to 6h, deviation reduced to 0h, M2 processing time adjustment to 6h, deviation changed to 0h.

[0192] 3, production link generation

[0193] 3.1, single order link generation

[0194] Based on the initial batch of the original plan start time to build a single order link, here take O1 link as an example:

[0195] O1 link

[0196] B 11 : M1 start (0) -> warm engine (0.12) -> production (3), finish time 3.12h;

[0197] B 12 : M3 start (3.12) -> warm engine (0.15) -> production (4), finish time 7.27h;

[0198] B 13 : M6 start (7.27) -> warm engine (0.18) -> production (2), finish time 9.45h.

[0199] The numbers in the brackets of the above link represent the time length corresponding to the node, for example, warm engine (0.12) represents the time length corresponding to the warm engine node is 0.12h. The number after the finish time represents the time length accumulated from the start of the device to the completion of the batch.

[0200] 3.2 Multi-order link integration

[0201] Take the integrated production link L1 as an example, the time window of the integrated link L1:

[0202]

[0203] The parameters of the calculated link meet the constraints.

[0204] 4、Optimal production link screening result

[0205] NSGA-II output scheme (weight: time ω1=40%; energy consumption (production energy consumption + non-production energy consumption) ω2=30%; peak ω3=20%; efficiency ω4=10%), the comprehensive score formula is:

[0206] After the NSGA-II algorithm calculates and screens the link set generated in 2.3, the Pareto frontier improvement rate of the last 20 generations from the 46th generation is less than 1%, the iteration is ended, and the optimal production link is obtained.

[0207] 5、Dynamic adjustment function

[0208] 5.1、New order joining

[0209] When the processing progress is executed to 4h, a new production order O5 is added:

[0210]

[0211] 5.2、Current state evaluation

[0212] Production progress matrix C progress The text description of this matrix is as follows:

[0213] M1: Processing batch B 31 (2.12 hours remaining);

[0214] M2: Processing batch B 41 (2.11 hours remaining);

[0215] M3: Processing batch B 12 (3.12 hours remaining);

[0216] M4: Processing batch B 22 (2.61 hours remaining);

[0217] M5: On standby;

[0218] M6: On standby.

[0219] 5.3. Dynamic adjustment steps:

[0220] (1) Generate initial batch B 51 , B 52 , B 53 ;

[0221] (2) Link fusion;

[0222] Objective: Minimize time and energy consumption increment

[0223] Candidate solutions include Solution A and Solution B, as follows:

[0224] Solution A:

[0225] B 51 after B 31 at M2 (start time = 6.11h, end = 9.11h);

[0226] B 52 after B 32 at M4 (start time = 9.11h, end = 13.11);

[0227] B 53 parallel execution on v6 (start time = 13.11, end = 15.11).

[0228] Original order delay time: 0;

[0229] New order end time: 15.11 (satisfies new order delivery period);

[0230] Incremental energy consumption = M1 new energy consumption 33 kWh + V4 new energy consumption 51.4 kWh + M6 new energy consumption 20 kWh = 104.4 kWh.

[0231] Scheme B:

[0232] B 51 After B 41 of M2 (start time = 6.11h, end = 9.11h);

[0233] B 52 After B 32 of M5 (start time = 11.11h, end = 15.11);

[0234] B 53 Parallel execution on M6 (start time = 15.11, end = 17.11).

[0235] The original order delay time is 0;

[0236] New order end time: 17.11 (satisfies the new order delivery cycle);

[0237] Incremental energy consumption = M2 new energy consumption 30.15 kWh + M5 new energy consumption 50 kWh + M6 new energy consumption 23.6 kWh = 103.75 kWh.

[0238] According to the order delay time and energy consumption increment evaluation, scheme A and B can all meet the delivery time after adding new orders, but scheme B has lower energy consumption increment, so scheme B is selected.

[0239] (3) Constraint verification

[0240] Order delivery period: all orders can meet the delivery period.

[0241] Process predecessor constraint: compliance;

[0242] Device exclusivity: no conflict;

[0243] Peak power: E peak = 58kW < 60kW, compliance.

[0244] 5.4 Equipment failure

[0245] 1. Failure condition evaluation

[0246] On the basis of the 2.4 optimal production line, the processing progress is executed to 5h, and M4 fails. According to the production progress, the affected batches B 22 (remaining 1.61h, completion degree 53.7%) and B 32 (subsequent batches, scheduled 6.61-8.11h).

[0247] 2. Dynamic adjustment steps

[0248] 1) Status assessment

[0249] Completion progress matrix: B 22 Status = Incomplete (1.61 hours remaining);

[0250] Energy consumption deviation: Actual energy consumption = Planned energy consumption × 53.7%

[0251] 2) Selection of alternative equipment

[0252] Weighted scoring formula: Where (time factor α = 0.5, power factor β = 0.3, availability factor γ = 0.2)

[0253] Time factor:

[0254] t ijl′ = 1.61 + 3h (the remaining amount takes the same time in any alternative device), t ijl = 3 + 3h (total processing time for M4). t ijl′ The total production time required to complete the remaining unfinished batches using alternative equipment. ijl The total production time required to complete the remaining unfinished batches using the original equipment.

[0255]

[0256] Power factor:

[0257] p ijl′ The production power of the replacement equipment, and the production power p of the original equipment. ijl =12.5kW

[0258] M3: Production power, p ijl′ =13kW,

[0259] M4: Production power, p ijl′ =12kW,

[0260] Availability factor calculation:

[0261] Available time (M′) i ): The earliest time when the alternative equipment can begin processing;

[0262] C current Current time;

[0263] M3: B is being processed. 12 Remaining time: 2.12 hours; Available time (M′3) = 2.12 + 5 = 7.12 hours.

[0264] M5: in standby state, available time (M'5) = 5 + 0.11 = 5.11h, availability factor

[0265] Overall score:

[0266] Score (M'3) = 0.5 x 0.7683 + 0.3 x 1.04 + 0.2 x 1.424 = 0.9805

[0267] Score (M'5) = 0.5 x 0.7683 + 0.3 x 0.96 + 0.2 x 1.022 = 0.8766

[0268] M5 has a lower score, so M5 is selected as the alternative production equipment.

[0269] According to the re-allocated equipment, the process is rearranged.

[0270] Figure 4 A structural schematic diagram of an order production link generation device provided by an embodiment of the application is shown in FIG. 1. As shown in the figure, the order production link generation device comprises: Figure 4

[0271] A production information acquisition module 100, configured to acquire production information of an order for each order to be produced, wherein the production information comprises an order number, equipment parameters of required equipment, and process information of a production process, and each production process is provided with a characteristic identifier related to the order number;

[0272] A process division module 200, configured to allocate production resources to production processes of each order according to preset process division constraint conditions and the production information, to obtain a plurality of sets of process division information, wherein the production resources comprise equipment required by the production process and production duration when the equipment is used;

[0273] A production link acquisition module 300, configured to determine at least one production link according to each set of the process division information, wherein the production link is a sequence of execution information of the production process on the equipment;

[0274] A target function construction module 400, configured to construct a target function corresponding to the production link according to the evaluation index, wherein the target function is related to total energy consumption, production duration, power peak value, and equipment use efficiency of the production link, and the equipment use efficiency is inversely proportional to the value of the target function; wherein the total energy consumption, the production duration, the power peak value, and the equipment use efficiency are obtained according to the production information;

[0275] A production link optimization module 500, configured to process all the production links with the minimum target function as the target, to obtain an optimal production link.​

[0276] Optionally, the process division information includes order number corresponding to each production process, equipment, and start time, warm-up time length, production time length, and completion time when executed on the equipment,

[0277] The production link acquisition module 300 comprises:

[0278] For each set of process division information, at least one initial production link is determined according to the process division information;

[0279] When the number of initial production links is multiple, for each initial production link, a production time window of each equipment in the initial production link is acquired according to the corresponding process division batch information, the production time window shows the order number, production process, and corresponding time information executed by the equipment, and the time information includes the start time of the production process, warm-up time length, production time length, and completion time;

[0280] The total start-up times and total standby time length of all equipment are determined according to the production time window, and the standby time length is the time length from the completion time of the previous production process to the start time of the next production process;

[0281] With the sum of start-up times and standby time length minimized as the target, an optimal production link corresponding to the current process division information is selected from the multiple initial production links.

[0282] Optionally, after the at least one initial production link is determined according to the process division information, the order production link generation device is further used for:

[0283] For each initial production link, for each two adjacent production processes on the same equipment, a first energy consumption and total processing time length required for processing the adjacent production processes together, and a second energy consumption required for processing the adjacent production processes respectively are acquired;

[0284] If the first energy consumption is less than the second energy consumption and the total processing time length is less than the processing time length threshold of the equipment, the standby time length between the current two adjacent production processes in the initial production link is set to 0.

[0285] Optionally, the expression of the objective function is:

[0286] Min F = ω1 × T total + ω2 × E total + ω3 × E peak - ω4 × η

[0287] Min F is the objective function, T total is the maximum value of the completion time in the production link; Etotal , E peak respectively, total energy consumption of a production link, peak power consumption, η is equipment use efficiency, ω1, ω2, ω3, ω4 are preset weight parameters.

[0288] Optionally, the order production link generation apparatus further comprises:

[0289] a state information acquisition module, configured to, when production is performed by the optimal production link, acquire state information of the production link if a new order is added, the state information comprising process completion progress and working state of each device;

[0290] a new production process acquisition module, configured to acquire a production process corresponding to the new order;

[0291] a reordering link acquisition module, configured to generate at least one reordering link according to the state information of the production link and the production process corresponding to the new order, the reordering link being a production link obtained by re-allocating production resources to the production process corresponding to the new order and the production process not completed in the production link;

[0292] a first calculation module, configured to calculate first energy consumption and first completion time required for performing the production process not completed in the production link;

[0293] a second calculation module, configured to, for each reordering link, calculate second energy consumption required for performing the reordering link and second completion time of the production process not completed in the production link;

[0294] a reordering link screening module, configured to determine the optimal reordering link based on the first energy consumption, the first completion time, the second energy consumption and the second completion time;

[0295] a re-production module, configured to perform production based on the optimal reordering link.

[0296] Optionally, the reordering link screening module is configured to:

[0297] calculate an energy consumption difference value between the second energy consumption and the first energy consumption;

[0298] calculate a time difference value between the second completion time and the first completion time;

[0299] determine the reordering link with the time difference value less than or equal to 0 and the minimum energy consumption difference value as the optimal reordering link.

[0300] Optionally, the order production link generation apparatus is further configured to:

[0301] When production is performed on the optimal production link, if there is a faulty device, obtaining a production process not completed by the faulty device and working states of each normal device;

[0302] Screening a normal device capable of performing the production process not completed by the faulty device to obtain a candidate device;

[0303] When the candidate device is multiple, calculating an influence factor of the candidate device according to the working state of the candidate device, the influence factor being used for evaluation, the influence factor being positively correlated with a start time, production power and production duration when the candidate device performs the production process not completed;

[0304] Taking the candidate device with the minimum influence factor as a replacement device of the faulty device.

[0305] The order production link generation device provided by the embodiment of the application can execute the order production link generation method provided by any embodiment of the application, and has the corresponding function modules and beneficial effects of the execution method.

[0306] Figure 5 A structural schematic diagram of an electronic device 40 that can be used to implement embodiments of the application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smart phones, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the applications described and / or claimed in this document.

[0307] As shown in Figure 5 The electronic device 40 includes at least one processor 41, and a memory, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., which is communicatively connected to the at least one processor 41, wherein the memory stores a computer program that can be executed by the at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 into the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.

[0308] A plurality of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a magnetic disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0309] The processor 41 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 performs various methods and processes described above, such as the order production link generation method.

[0310] In some embodiments, the order production link generation method can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded onto the RAM 43 and executed by the processor 41, one or more steps of the order production link generation method described above can be performed. Alternatively, in other embodiments, the processor 41 can be configured to perform the order production link generation method by any other appropriate means, such as by means of firmware.

[0311] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0312] Computer programs for implementing the methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer program, when executed, enables the functions / acts specified in the flowcharts and / or block diagrams to be implemented. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as a standalone software package and partially on a remote machine or entirely on a remote machine or server.

[0313] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0314] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a monitor, a display, a screen, a video, etc.) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse, a trackball, a trackpad, a stylus, etc.) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0315] The systems and techniques described herein can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described herein, or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0316] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.

[0317] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be performed in parallel, in series, or in a different order, as long as the desired results of the technical solutions of the present disclosure are achieved, and the present disclosure is not limited herein.

[0318] The specific embodiments described above are not intended to limit the scope of the present disclosure. Those skilled in the art will understand that various modifications, combinations, sub-combinations, and alternatives can be made to the specific embodiments without departing from the spirit and principles of the present disclosure. Any further modifications, equivalents, and / or alternatives come within the scope of the present disclosure as set forth in the following claims.

Claims

1. A method for generating an order production chain, characterized in that, include: For each order to be produced, obtain the order's production information, which includes the order number, the equipment parameters of the required equipment, and the process information of the production process. Each production process has a feature identifier related to the order number. Based on the preset process division constraints and the production information, production resources are allocated to the production processes of each order to obtain multiple sets of process division information. The production resources include the equipment required for the production process and the production time when using the equipment. At least one production link is determined based on the process division information of each group, and the production link is the sequence of execution information of the production process on the equipment; Based on the evaluation indicators, an objective function is constructed corresponding to the production link. The objective function is related to the total energy consumption, production duration, peak electricity consumption, and equipment utilization efficiency of the production link. The equipment utilization efficiency is inversely proportional to the value of the objective function. The total energy consumption, production duration, peak electricity consumption, and equipment utilization efficiency are obtained from the production information. The production links are processed with the objective function being minimized to obtain the optimal production link.

2. The method as described in claim 1, characterized in that, The process division information includes the order number, equipment, start time, warm-up time, production time, and completion time for each production process. The step of determining at least one production link based on the process division information of each group includes: For each group of process division information, at least one initial production link is determined based on the process division information; When there are multiple initial production links, for each initial production link, the production time window of each device in the initial production link is obtained according to the corresponding process batching information. The production time window shows the order number, production process and corresponding time information executed by the device. The time information includes the start time, warm-up time, production time and completion time of the production process. The total number of starts and the total standby time of all equipment are determined based on the production time window. The standby time is the length of time from the completion time of the previous production process to the start time of the next production process. With the goal of minimizing the total number of startups and the standby time, the optimal production link corresponding to the current process division information is selected from multiple initial production links.

3. The method as described in claim 1, characterized in that, After determining at least one initial production link based on the process division information, the method further includes: For each of the initial production links, for every two adjacent production processes on the same device, obtain the first energy consumption and total processing time required to merge the adjacent production processes, and the second energy consumption required to process the adjacent production processes separately. If the first energy consumption is less than the second energy consumption and the total processing time is less than the processing time threshold of the equipment, then the standby time between the two adjacent production processes in the initial production chain is set to 0.

4. The method as described in claim 1, characterized in that, The expression for the objective function is: Min F=ω1×T total +ω2×E total +ω3×E peak -ω4×η; Min F is the objective function, T total E represents the maximum completion time in the production chain. total E peak These represent the total energy consumption and peak power consumption of the production chain, respectively; η represents the equipment utilization efficiency; and ω1, ω2, ω3, and ω4 are preset weight parameters.

5. The method as described in claim 1, characterized in that, Also includes: When production is carried out with the optimal production chain, if a new order is added, the current status information of the production chain is obtained, including the process completion progress and the working status of each device. Obtain the production process corresponding to the new order; At least one reordering link is generated based on the status information of the production link and the production process corresponding to the new order. The reordering link is the production link obtained by reallocating production resources to the incomplete production process in the production link and the production process corresponding to the new order. Calculate the first energy consumption and the first completion time required to execute the unfinished production process in the production chain; For each of the reordering links, calculate the second energy consumption required to execute the reordering link and the second completion time of the unfinished production process in the production link; The optimal reordering link is determined based on the first energy consumption, the first completion time, the second energy consumption, and the second completion time; Production is based on the optimal reordered links.

6. The method of claim 5, wherein determining the optimal reordering link based on the first energy consumption, the first completion time, the second energy consumption, and the second completion time comprises: Calculate the energy consumption difference between the second energy consumption and the first energy consumption; Calculate the time difference between the second completion time and the first completion time; The reordered link with the time difference less than or equal to 0 and the smallest energy consumption difference is selected as the optimal reordered link.

7. The method of claim 1, further comprising: When production is carried out with the optimal production chain, if there is a faulty device, the unfinished production process of the faulty device and the working status of each normal device are obtained. Select normal equipment capable of performing the production processes that the faulty equipment failed to complete, and obtain alternative equipment; When there are multiple candidate devices, the influence factor of each candidate device is calculated based on its working status. The influence factor is used for evaluation and is positively correlated with the start time, production power, and production duration of the candidate device when it performs an incomplete production process. The candidate device with the smallest impact factor is selected as the replacement device for the faulty device.

8. An order production chain generation device, characterized in that, include: The production information acquisition module is used to acquire the production information of each order to be produced. The production information includes the order number, the equipment parameters of the required equipment, and the process information of the production process. Each production process has a feature identifier related to the order number. The process division module is used to allocate production resources to the production processes of each order according to preset process division constraints and the production information, and obtain multiple sets of process division information. The production resources include the equipment required for the production process and the production time when using the equipment. The production link acquisition module is used to determine at least one production link based on the process division information of each group, wherein the production link is a sequence of execution information of the production process on the equipment; The objective function construction module is used to construct an objective function corresponding to the production link based on the evaluation indicators. The objective function is related to the total energy consumption, production duration, peak electricity consumption, and equipment utilization efficiency of the production link. The equipment utilization efficiency is inversely proportional to the value of the objective function. The total energy consumption, production duration, peak electricity consumption, and equipment utilization efficiency are obtained based on the production information. The production link optimization module is used to process all the production links with the objective function as the goal, so as to obtain the optimal production link.

9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the production chain generation method for orders according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the production chain generation method for orders as described in any one of claims 1-7.