Production scheduling method of household appliances, storage medium and electronic device
Through the concept of the set machine, the production model of internal and external units is decoupled, and the production scheduling method of home appliances is optimized, the complex production scheduling problem in the existing technology is solved, efficient production scheduling plan is realized, and production efficiency is improved. Controllability of delivery time.
Patent Information
- Application Number
- CN202411377226.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-02-11
AI Technical Summary
In the production of home appliances, the existing technology is difficult to effectively solve the production scheduling problem, especially when facing orders of a large number of and complex models, resulting in low production efficiency and delays in delivery.
A production scheduling method for home appliances is adopted, and the production models of internal and external units are decoupled through the concept of set-up. The characteristics of internal and external units on different production lines are used to establish the production scheduling targets for internal and external units. Function, optimize daily internal and external unit displacement output to meet the predetermined quantity of the set.
It has achieved the best or suboptimal production schedule in a short period of time, improved production efficiency, ensured timely delivery of orders, and reduced uncertainty and resource waste in the production process.
Smart Images

Figure CN119417094A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of household appliances, and in particular to a production scheduling method, a storage medium and an electronic device for household appliances. Background Art
[0002] In the prior art, there are many kinds of algorithms for solving production scheduling problems, including linear programming algorithms, mixed integer programming algorithms, meta-heuristic algorithms, etc. In addition, there are heuristic methods and reinforcement learning methods for various special production problems. These methods have their own characteristics, but in discrete manufacturing, production scheduling problems are especially regarded as a complex NP-hard problem, making it very difficult to find the best or suboptimal scheduling plan in a short time.
[0003] In the production process of household appliances, production efficiency will affect the delivery time of orders. The current manual production plan is unreasonable. When multiple component targets are produced at the same time, a large and bloated model will affect the production scheduling results. Summary of the invention
[0004] A production scheduling method for household electrical appliances, obtaining a predetermined quantity of a set of machines, the set of machines including at least one internal machine and one external machine, and obtaining a predetermined quantity of the internal machine according to the predetermined quantity of the set of machines;
[0005] The indoor unit includes the indoor unit category, and the indoor unit category includes the indoor unit model;
[0006] Establishing an internal machine production output objective function according to the sum of the total number of production days of the internal machine category and the total number of continuous production times of the internal machine model;
[0007] When the internal machine output target function reaches the minimum value, the daily internal machine output is obtained according to the internal machine scheduled quantity; and the daily external machine output is planned according to the internal machine output.
[0008] Further, the value of the total number of production days of the indoor machine category is determined by accumulating the first decision variable, and the first decision variable is the production status of the indoor machine category every day;
[0009] When the production status of the indoor machine category is in production, the value is 1; when the production status of the indoor machine category is not in production, the value is 0;
[0010] The value of the total number of consecutive production times of the indoor unit model is determined by accumulating the second decision variable, and the second decision variable is the daily continuous production status of the indoor unit model;
[0011] When the continuous production status of the indoor unit model is end of production, the value is 1; when the continuous production status of the indoor unit model is continuous production, the value is 0.
[0012] Further, an external machine discharge output target function is established according to the difference between the planned daily external machine discharge output and the planned daily internal machine discharge output;
[0013] Among them, when the absolute value of the external unit production target function reaches the minimum value and the daily external unit production and the daily internal unit production meet the production scheduling constraints, the daily external unit production produced on the external unit production line is obtained according to the daily internal unit production.
[0014] Furthermore, the production scheduling constraint is that there is a first association relationship between the inner machine and the set machine scheduled for daily production, and there is a second association relationship between the outer machine and the set machine;
[0015] Among them, when the cumulative number of consecutive productions of the indoor unit model on the indoor unit production line is the largest and the total number of production days of the indoor unit category is the smallest, the indoor unit production volume on the indoor unit production line that satisfies the first association relationship and the second association relationship is obtained.
[0016] Furthermore, each d days is a production cycle, and the predetermined quantity of external machines and the predetermined quantity of internal machines within the production cycle are obtained according to the predetermined quantity of the set of machines;
[0017] According to the predetermined quantity of the internal machines and the first constraint condition, the output of the internal machines on the internal machine production line within the production cycle is obtained; according to the output of the internal machines, the predetermined quantity of the external machines and the second constraint condition, the output of the external machines on the external machine production line within the production cycle is obtained;
[0018] Among them, during the production cycle, the set machine output consisting of the inner machine output and the outer machine output is basically equal to or greater than the set machine predetermined quantity.
[0019] Furthermore, during the production cycle, a first objective function is established according to the sum of the set machine output, the internal machine output and the external machine output;
[0020] When the first objective function reaches a maximum value, the set machine output consisting of the internal machine output and the external machine output within the production cycle is substantially equal to or greater than the set machine predetermined quantity.
[0021] Furthermore, the indoor unit model includes at least a first indoor unit model, a second indoor unit model, a third indoor unit model and a fourth indoor unit model, and the indoor unit category includes at least a first indoor unit category and a second indoor unit category.
[0022] Wherein, the first indoor unit model and the third indoor unit model constitute a first indoor unit category, and the second indoor unit model and the fourth indoor unit model constitute a second indoor unit category;
[0023] According to the predetermined number of indoor units, the predetermined number of indoor unit categories is obtained;
[0024] During the production cycle, a second objective function is established according to the accumulated number of days that the indoor machine type is produced on the indoor machine production line;
[0025] The first constraint condition is that the second objective function takes a minimum value;
[0026] When the second objective function obtains a minimum value, the internal machine output on the internal machine production line is obtained.
[0027] Further, the daily internal machine production volume is obtained according to the internal machine production volume on the internal machine production line within the production cycle;
[0028] Plan the daily output of the external machine according to the external machine's scheduled quantity.
[0029] Establishing a third objective function according to the difference between the daily internal machine discharge output and the daily external machine discharge output;
[0030] The second constraint condition is that the third objective function takes a minimum value;
[0031] When the third objective function obtains a minimum value, the output of the external unit on the external unit production line is obtained.
[0032] A computer-readable storage medium includes a stored program, wherein the program executes a technical solution for implementing a production scheduling method for household electrical appliances when the program is run.
[0033] An electronic device includes a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute a technical solution of a production scheduling method for household electrical appliances through the computer program. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0036] Figure 1 is a schematic diagram of a hardware environment of an interaction method of a smart device according to an embodiment of the present application;
[0037] Figure 2 It is a flow chart of the household appliance production scheduling method of the present invention;
[0038] Figure 3 It is a schematic diagram of a set consisting of an internal unit and an external unit of a household electrical appliance of the present invention;
[0039] Figure 4 It is a schematic diagram of a first indoor unit category and a second indoor unit category of an indoor unit of a household electrical appliance of the present invention;
[0040] Figure 5 It is a schematic diagram of the total number of continuous production times of the indoor machine model of the household appliance of the present invention. DETAILED DESCRIPTION
[0041] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0043] According to one aspect of an embodiment of the present application, a production scheduling method, storage medium and electronic device for household appliances are provided. The production scheduling method, storage medium and electronic device for household appliances are widely used in smart home (Smart Home), smart home, smart home equipment ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above-mentioned production scheduling method, storage medium and electronic device for household appliances can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.
[0044] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.
[0045] Embodiment 1:
[0046] The production scheduling problem is indeed a complex one, especially when it comes to complete sets of products such as air conditioners. Since complete sets of orders usually involve multiple components (such as indoor and outdoor units), each component requires a different production line to manufacture, and the production capacity of the production line is limited. Scheduling must not only consider the productivity balance of each production line, but also ensure the matching between components and the consistency of delivery dates. To solve such problems, methods such as heuristic algorithms, genetic algorithms, or mixed integer linear programming (MILP) are usually used. These methods can find approximate optimal solutions within a reasonable time frame, rather than global optimal solutions. Scheduling strategies include minimizing production lead time, maximizing resource utilization, meeting customer delivery dates, and other goals.
[0047] The present invention proposes a rapid production scheduling solution for the air-conditioning industry in view of the characteristics of air-conditioning orders and production processes. It can find the best or suboptimal production scheduling solution in a short time for large-scale production scheduling problems with the characteristics of large order volume, complex model types, many production days to be arranged, and many production lines.
[0048] The present application provides a production scheduling method for household appliances, which applies the concept of machine sets to the model objectives so that the production scheduling results are delivered as a set as possible. By utilizing the characteristics that internal and external machines are on different production lines, the production scheduling models of internal and external machines are decoupled, the model scale is further reduced, and a high-quality production scheduling plan is obtained in a short time.
[0049] Taking the air conditioner in household appliances as an example, the air conditioner includes an indoor unit and an outdoor unit. In terms of air conditioner production, facing a large number of air conditioner orders, a production scheduling plan needs to be formulated. The air conditioner in this embodiment is a set consisting of an outdoor unit and at least one indoor unit.
[0050] A production scheduling method for household electrical appliances, such as Figure 2 As shown, the order data is obtained and the predetermined quantity of the set is parsed, and the set includes an external unit and at least one internal unit;
[0051] Obtaining an external unit predetermined quantity and an internal unit predetermined quantity according to the set unit predetermined quantity;
[0052] According to the predetermined quantity of the internal units and the first constraint condition, the output of the internal units on the internal unit production line is obtained; according to the predetermined quantity of the external units, the predetermined quantity of the external units and the second constraint condition, the output of the external units on the external unit production line is obtained;
[0053] Among them, during the production cycle, the set machine output consisting of the inner machine output and the outer machine output is basically equal to or greater than the set machine predetermined quantity.
[0054] The maximum number of internal and external machines that can be produced is the maximum number of sets that can be formed when the production capacity of their own production lines is met, and the maximum number of sets that can be formed is the maximum. Among them, there is the following situation: when the internal and external machines have been produced on their own production lines at the maximum, but the external machines or the internal machines are produced a few more or a few less, it is impossible to form a new set between the internal and external machines that have been produced after the maximum generation; in order to meet the maximum production of internal and external machines, the set production that can be formed by the internal machine production and the external machine production is basically equal to or greater than the set predetermined quantity. For example, on the one hand, if the internal machine production is equal to the set predetermined quantity, but the external machine production is less than the set predetermined quantity, then the set production composed of the internal machine production and the external machine production is basically equal to the set predetermined quantity. On the other hand, if the internal machine production is equal to the set predetermined quantity, but the external machine production is greater than the set predetermined quantity, then the set production composed of the internal machine production and the external machine production is equal to or greater than the set predetermined quantity.
[0055] In some schemes of this embodiment, the output of external machines on the external machine production line is obtained according to the predetermined amount of external machines and the first constraint condition, and the output of internal machines on the internal machine production line is obtained according to the output of external machines, the predetermined amount of internal machines and the second constraint condition;
[0056] Among them, during the production cycle, the set machine output consisting of the inner machine output and the outer machine output is basically equal to or greater than the set machine predetermined quantity.
[0057] Take each d-day as a production cycle. During the production cycle, the production is arranged according to the set of machines. The internal machine output and the output of the external machine The sum of the three establishes the first objective function;
[0058] The first objective function is:
[0059] Among them: c1>0, c2>0, c3>0 are preset constants or function expressions based on a known quantity, which can be used to adjust the effect of the objective function expression.
[0060] Set machine output Indicates the kit model p set Total displacement on d-day;
[0061] Internal machine output Indicates the model of the indoor unit p in Indoor production line in Total discharge output on the previous day;
[0062] The external machine output Indicates the model of the external unit p out Outdoor machine production line out Total discharge output on the previous day.
[0063] The set machine output mentioned here is the total set machine output, the internal machine output mentioned here is the total internal machine output, and the external machine output mentioned here is the total external machine output. And the output of the external machine It should meet the constraints of production process, materials, production capacity, etc.
[0064] When the first objective function reaches a maximum value, the set quantity consisting of the internal machine output and the external machine output in the production cycle is substantially equal to or greater than the set predetermined quantity.
[0065] When the first objective function reaches a maximum value, the set machine output is maximum, and at the same time, the inner machine output and the outer machine output are respectively maximum.
[0066] Acquire a predetermined quantity of a set of machines, the set of machines comprising at least one internal machine and one external machine, and obtain a predetermined quantity of the internal machine according to the predetermined quantity of the set of machines;
[0067] The indoor unit includes the indoor unit category, and the indoor unit category includes the indoor unit model;
[0068] Establishing an internal machine production output objective function according to the sum of the total number of production days of the internal machine category and the total number of continuous production times of the internal machine model;
[0069] When the internal machine output target function reaches the minimum value, the daily internal machine output is obtained according to the internal machine scheduled quantity; and the daily external machine output is planned according to the internal machine output.
[0070] Among them, the internal machine output objective function is: in, It is the production status variable of the indoor machine category, which specifically indicates the production status of the indoor machine category on the indoor machine production line. Indicates the status variable of the indoor unit model ending production, specifically indicating whether the indoor unit model has ended production on the indoor unit line.
[0071] Internal machine category production status variables Indicates indoor unit type c in On the indoor production line in The production status on the dth day is represented by a 0-1 variable, which is either in production or finished.
[0072] Internal machine model end of production status variable Indicates whether the indoor machine model has finished production on the indoor machine production line on day d, represented by a 0-1 variable. If the model is being produced on day d and is not being produced on day d+1, it is 1; otherwise, it is 0. So 1 means that production has ended, and 0 means that production has not ended.
[0073] The value of the total number of production days of the internal machine category is determined by accumulating the first decision variable, and the first decision variable is the production status of the internal machine category every day;
[0074] When the production status of the indoor machine category is in production, the value is 1; when the production status of the indoor machine category is not in production, the value is 0;
[0075] The value of the total number of consecutive production times of the indoor unit model is determined by accumulating the second decision variable, and the second decision variable is the daily continuous production status of the indoor unit model;
[0076] When the continuous production status of the indoor unit model is end of production, the value is 1; when the continuous production status of the indoor unit model is continuous production, the value is 0.
[0077] For example, Figure 5As shown, after the production of the indoor unit model on the first day is completed, the production status of the first day is 1; on the second day, it is obtained that the indoor unit model was produced on the first day and the indoor unit model is also produced on the second day, then the continuous production status of the first day is continuous production, the continuous production status of the first day is 0, and the production status of the second day is 1.
[0078] When the indoor unit model is also produced on the third day, the production status value of the third day is 1. Since the production status values of the second and third days are both 1, the continuous production status of the second day is continuous production, and the continuous production status value is 0.
[0079] For example, if the production status on the fourth day is no production, then the production status value on the fourth day is 0; the production status value on the fourth day is 0; then the continuous production status on the third day is end of production, and the continuous production status value on the third day is 1.
[0080] When the indoor unit model continues to be produced on the fifth day, the production status value of the fifth day is 1. When the indoor unit model is also produced on the sixth day, the production status value of the sixth day is 1; then the continuous production status of the fifth day is continuous production, and the continuous production status value of the fifth day is 0.
[0081] On the seventh day, the indoor unit model is continued to be produced, and the production status of the seventh day is 1; if the seventh day is the last day of the production cycle, the continuous production status of the seventh day is the end of production, and the continuous production status is 1. Therefore, the total number of continuous production is 2 times; among them, the first continuous production is from the first day to the third day; the second continuous production is from the fifth day to the seventh day.
[0082] Wherein, each d-day is a production cycle. During the production cycle, the indoor unit model includes at least a first indoor unit model, a second indoor unit model, a third indoor unit model and a fourth indoor unit model, and the indoor unit category includes at least a first indoor unit category and a second indoor unit category.
[0083] Among them, Figure 4 As shown, the first indoor unit model and the third indoor unit model constitute a first indoor unit category, and the second indoor unit model and the fourth indoor unit model constitute a second indoor unit category;
[0084] According to the predetermined number of indoor units, the predetermined number of indoor unit categories is obtained;
[0085] During the production cycle, a second objective function is established according to the accumulated number of days that the indoor machine type is produced on the indoor machine production line;
[0086] The second objective function is:
[0087] Among them, c4>0, c5>0 are preset constants or function expressions based on a known quantity, which can be used to adjust the effect of the objective function expression.
[0088] The first constraint condition is that the second objective function takes a minimum value;
[0089] When the second objective function obtains a minimum value, the internal machine output on the internal machine production line is obtained.
[0090] When the second objective function obtains the minimum value, it indicates that the first indoor unit model and the third indoor unit model under the first indoor unit category are produced continuously. For example, the continuous days required for the production of the first indoor unit model and the third indoor unit model are as few as possible. When the continuous days required for production are as few as possible, the first indoor unit model and the third indoor unit model are produced in sequence as much as possible; or when the sequence is not distinguished, the first indoor unit category or the second indoor unit category is produced first according to the relationship between the indoor unit and the set of machines and the priority of the indoor unit category. Taking the first indoor unit category as an example, the second indoor unit category is produced after the production of the first indoor unit category is completed.
[0091] In some solutions of this embodiment, there is a first association relationship between the inner machine and the set machine scheduled for daily production, and there is a second association relationship between the outer machine and the set machine;
[0092] Among them, when the cumulative number of consecutive productions of the indoor unit model on the indoor unit production line is the largest and the total number of production days of the indoor unit category is the smallest, the indoor unit production volume on the indoor unit production line that satisfies the first association relationship and the second association relationship is obtained.
[0093] Specifically, due to the particularity of the indoor unit category and the indoor unit model, the category of the kit is determined by the category of the indoor unit model that matches the kit. For example, every day, when the first indoor unit model is produced, the first indoor unit model is locked to belong to the first indoor unit category, so it can be determined that the kit containing the first indoor unit category is being produced. Therefore, there is a first association relationship. At this time, the kit is defined as the first kit, and there is an external unit produced in conjunction with it. In this embodiment, the external unit and the kit produced in conjunction with each other are distinguished by the external unit category.
[0094] The continuous production rule of the indoor machine type is, for example, obtained by starting the second indoor machine type production scheduling after the first indoor machine type production scheduling is completed.
[0095] When the predetermined quantity of the indoor unit model is scheduled according to the continuous production rule within the preset period, the indoor unit model scheduling quantity is obtained. That is, the production of the second indoor unit category begins after the production of the first indoor unit category is completed. The sum of the cumulative number of days required to produce the first indoor unit category and the cumulative number of days required to produce the second indoor unit category is not greater than the cumulative number of days required for the indoor unit scheduling quantity.
[0096] After the first category is scheduled, the accumulated days of the first category's scheduling are obtained, and the second category's scheduling is started. After the second category's scheduling is completed, the accumulated days of the second category's scheduling are obtained.
[0097] The sum of the accumulated production days of the first category and the accumulated production days of the second category is less than or equal to the planned production days of the internal machine.
[0098] Adjusting the production order of the first indoor unit model, the second indoor unit model, and the third indoor unit model according to the production schedule of the first indoor unit category, and establishing a continuous production rule for the indoor unit model according to the production schedule of the first indoor unit category formed by the adjusted first indoor unit model and the third indoor unit model;
[0099] The first indoor unit model reservation quantity, the second indoor unit model reservation quantity, the third indoor unit model reservation quantity and the fourth indoor unit model reservation quantity of the indoor unit are analyzed according to the indoor unit reservation quantity; the first indoor unit model reservation quantity, the second indoor unit model reservation quantity, the third indoor unit model reservation quantity and the fourth indoor unit model reservation quantity are scheduled according to the indoor unit model continuous scheduling rule to obtain the first indoor unit category scheduling cumulative days and the second indoor unit category scheduling cumulative days.
[0100] In some schemes of this embodiment, the external unit includes the external unit category but the external unit does not distinguish the model; it is stipulated that multiple sets can be bound to the same external unit category, but the internal units must be different; for example, Figure 3 As shown, at least three situations of sets consisting of internal and external units are listed; the first set includes a first internal unit category and a first external unit category; the second set includes a second internal unit category and a first external unit category; the third set includes a first internal unit category, a second internal unit category and a first external unit category; there are others, which are planned based on the actual order quantity.
[0101] Establishing an external machine discharge output target function according to the difference between the planned daily external machine discharge output and the planned daily internal machine discharge output;
[0102] Among them, when the absolute value of the external unit production target function reaches the minimum value and the daily external unit production and the daily internal unit production meet the production scheduling constraints, the daily external unit production produced on the external unit production line is obtained according to the daily internal unit production.
[0103] Among them, the objective function of the external machine discharge output is: That is to say, the daily difference between the number of indoor and outdoor machine categories must be minimized.
[0104] When the daily production schedule of the internal machine complies with the first production schedule constraint, the value of the internal machine production schedule decision variable is 0;
[0105] The first production scheduling constraint is that the difference between the daily production of the internal machine and the scheduled production of the set of machines is the smallest;
[0106] When the external machine production schedule is subject to the second production schedule constraint, the external machine production schedule decision variable takes the value of 0;
[0107] The second production scheduling constraint is that within the production cycle, the difference between the external machine production and the internal machine production is the smallest; the difference between the internal machine production and the set machine scheduled quantity is the third decision variable,
[0108] Among them, the daily production scheduling of the internal machine is subject to the first production scheduling constraint.
[0109] Every day, based on the internal machine production schedule, the external machine production schedule is planned, and the external machine production schedule is subject to the second production schedule constraint.
[0110] Obtaining daily internal machine production output according to the internal machine production output on the internal machine production line within a production cycle;
[0111] Plan the daily output of the external machine according to the external machine's scheduled quantity.
[0112] Establishing a third objective function according to the difference between the daily internal machine discharge output and the daily external machine discharge output;
[0113] The third objective function is:
[0114] in It is a preset constant or a function expression based on a known quantity, which can be used to adjust the effect of the objective function expression.
[0115] in, represents the daily planned difference between the output of the external machine and the output of the internal machine. For any p out On every d day, Satisfy the constraints:
[0116]
[0117] Under the premise of satisfying the constraints, the daily production scheduling results of the indoor machine model on each line are shown here with the symbol p∈P in ,l in ∈L in , d∈D is used to represent it.
[0118] Among them, p in With p out There exists a p that satisfies the following relationship set satisfy and
[0119] The second constraint condition is that the third objective function takes a minimum value;
[0120] When the third objective function obtains a minimum value, the output of the external unit on the external unit production line is obtained.
[0121] For example, in the case where the set includes one inner unit and one outer unit, the third objective function takes the minimum value, which means that the quantity of inner unit and outer unit produced on the same day is the same; in the case where the set includes one outer unit and at least one inner unit, that is, for example, when the set includes one outer unit and two inner units, the quantity of inner units produced and the quantity of outer units produced must meet the quantity requirement of the set.
[0122] During the production cycle, a first adjustment coefficient is added to the second objective function to obtain a first target value, and a second adjustment coefficient is added to the third objective function to obtain a second target value;
[0123] The value of the first objective function is determined according to the first objective value and the second objective value.
[0124] The first adjustment coefficient includes the following:
[0125] The relationship between the production status of the internal machine model and the production volume of the internal machine model: in l in ∈L in , d∈D,M>0 is a constant. The production status includes the production status and the end of production status.
[0126] The relationship between the production end status of the indoor machine model and the production status of the indoor machine model: When d is the last day of the production scheduling cycle, the relationship between the two satisfies: l in ∈L in .
[0127] Otherwise, the relationship between the two satisfies:
[0128] in, l in ∈L in .
[0129] The relationship between the production status of the indoor unit category and the production status of the indoor unit model: in, l in ∈L in ,d∈D,p in and c in satisfy M>0 is a constant.
[0130] The lower limit of the production capacity of the internal machine model is:
[0131] The upper limit of production capacity of internal machine models is:
[0132] The second adjustment parameter includes:
[0133] The lower limit of the output of the external machine model is:
[0134] The upper limit constraint of the external machine output:
[0135] Daily production lock constraints for indoor unit models: l in ∈L in ,d∈D.
[0136] Output of external machine model Constraints such as production process, materials, and production capacity should be met.
[0137] Specifically, the first adjustment coefficient is that, within the production cycle, the internal machine output is greater than the internal machine predetermined amount;
[0138] The second adjustment coefficient is that the discharge volume of the external unit is greater than the predetermined volume of the external unit.
[0139] When the kit contains at least one internal unit and one external unit,
[0140] The second objective function is established according to the set of machines composed of the daily internal machine output and the daily external machine output,
[0141] When the second objective function takes the maximum value, the daily set-up quantity is the largest.
[0142] In some schemes of this embodiment, the indoor unit category is used as an example to group and divide the indoor unit models, and the indoor unit models of the same category are produced together or at the same time for higher efficiency. For example, the first indoor unit category includes the first indoor unit model and the third indoor unit model, and the second indoor unit category includes the second indoor unit model and the fourth indoor unit model; during production, the first indoor unit model and the third indoor unit model are produced together or at the same time, and the second indoor unit model and the fourth indoor unit model are produced together or at the same time.
[0143] In this embodiment, the indoor unit model does not distinguish the indoor unit model production line, and all are produced on the indoor unit production line.
[0144] There is no crossover model between any two different categories of indoor units or any two different categories of outdoor units. In other words, different categories must contain different models. For example, at least 1, 2, and 3 are category a, and 4, 5, and 6 are category b. The production efficiency of 1, 2, and 3 under category a is high at the same time; the production efficiency of category a and category b is low.
[0145] The classification of outdoor units and the production efficiency of outdoor unit models are the same as the classification of indoor units and the production efficiency of indoor unit models mentioned above.
[0146] The value of the indoor unit model and the indoor unit category that are bound to each other is set to 1, and the value of the indoor unit model and the indoor unit category that are not bound to each other is set to 0.
[0147] The value of the outdoor unit model that has a binding relationship with the outdoor unit category is set to 1, and the value of the outdoor unit model that has no binding relationship is set to 0.
[0148] The value of the outdoor unit model and the indoor unit model that are bound to the kit code is set to 1, and the value of the value that is not bound to the kit code is set to 0.
[0149] The purpose of this solution is to calculate the production capacity of the internal and external machines respectively, so as to achieve the maximum production capacity of the internal and external machines within the set time. When the production capacity of the internal and external machines is the maximum, the internal and external machines need to meet the continuous production rules, thereby optimizing the production capacity of the set of machines. On the other hand, the internal machines produced on the internal machine production line and the external machines produced on the external machine production line need to be produced continuously.
[0150] From the perspective of a production cycle, air conditioner production orders are generally complete sets of orders, and a set consists of an outdoor unit and one or at least two indoor units. Specifically for a single production cycle, under the premise of meeting a series of constraints, the factory must produce as many complete sets of orders as possible. While producing as many complete sets of orders as possible, the individual indoor or outdoor units must also be produced as much as possible. For example, the scheduled number of sets of units included in the order volume of one day can be completed within a set time, which is defined as a production cycle.
[0151] For example, in this embodiment, the production scheduling method for household appliances is mainly summarized into five steps: S1: obtaining order data and related production data; S2: deciding the maximum number of sets and the number of internal and external unit models that can be undertaken within the production cycle; S3: scheduling production for internal unit models; S4: scheduling production for external unit models; S5: processing the results of S3 and S4, and outputting the final production schedule.
[0152] Among them, the order data includes complete set deliveries classified by model, and is divided into a first set including an internal unit and an external unit, and a second set including an external unit and at least two internal units; according to the model of the set, the number of internal units to be pre-produced on the internal unit production line is planned, and the internal unit production capacity is solved; according to the model of the set, the number of external units to be pre-produced on the external unit production line is planned, and the external unit production capacity is solved.
[0153] The number of internal units is classified according to the type of internal units, the internal unit model capacity based on the number of internal units is obtained, and the capacity of internal units including different models is solved. The number of external units is classified according to the type of external units, the external unit model capacity based on the number of external units is obtained, and the capacity of external units including different models is solved.
[0154] Among them, one external unit model must be bound to at least one internal unit model and form a set.
[0155] Get the machine model data based on the order data; the machine model data is the first machine or the second machine; plan the internal machine model and external machine model production schedules corresponding to the machine model based on the machine model data, and solve the machine production schedule data. When the production schedule is the second machine, sort the internal machines and schedule them in order.
[0156] The production schedules of the internal and external machines are planned based on the machine model data, or the production schedules of the first and / or second machines are planned based on the machine model data.
[0157] The air conditioning scheduling method based on distributed modeling disclosed in the present application has many beneficial effects in the field of artificial intelligence technology: by obtaining order data and planning the pre-production quantity of indoor and outdoor units accordingly, it can optimize the production plan, reduce redundant production and inventory backlogs, and improve production efficiency.
[0158] Use the distribution modeling method to classify the models of indoor and outdoor units, and solve the production schedule based on the specific models, so as to achieve more accurate production arrangements and meet diverse market demands.
[0159] This method schedules production based on real-time order data, which can adjust production plans in a timely manner, flexibly respond to fluctuations in market demand, and improve the company's adaptability and market response speed.
[0160] Through precise production scheduling, we can effectively avoid inventory backlogs caused by overproduction, thereby reducing inventory management costs and improving capital utilization efficiency.
[0161] In the production scheduling of internal and external machines, scientific quantity planning and model classification are used to optimize resource allocation and improve the overall utilization of production resources.
[0162] By solving the production scheduling data of the set of machines, the production progress of the internal and external machines is coordinated to ensure the synchronization and coordination of the production of the whole machine, reducing bottlenecks and delays in the production chain.
[0163] Utilize big data and artificial intelligence technologies to make predictions and decisions based on historical order data and trends, and enhance the scientific nature of the production scheduling process.
[0164] Accurate production scheduling enables products to be delivered on time and in accordance with customers' specific needs, thereby improving customer satisfaction and brand loyalty.
[0165] By accurately calculating and optimizing the production schedule, material waste and energy consumption in the production process are reduced, which is in line with the concept of green manufacturing and sustainable development. It has significant beneficial effects in optimizing production processes, improving efficiency, reducing costs and flexibly responding to market changes.
[0166] Based on the current production speed of the internal machine and the production speed of the external machine, determine whether the production volume of the internal machine and the production volume of the external machine within the preset period meet the constraint conditions; wherein the constraint conditions include whether the production volume of all sets of machines included in the order can be completed within the preset time according to the current production speed. If not, adjust the relationship between the production volume of the internal machine and the production volume of the external machine within the unit time;
[0167] Specifically, the production scheduling status of the internal machine model and the external machine model within a unit time is obtained in real time, and it is determined whether the first production scheduling constraint is met; if it is met, it is determined that the production scheduling of the first set of machines or the second set of machines is completed. More specifically, the machine scheduling data planned according to the order data has a preset cycle that needs to be completed. When the preset cycle is reached, the production scheduling of the first set of machines or the second set of machines, or the sum of the production scheduling of the first set of machines and the second set of machines, has completed all the production scheduling. This process is based on the conclusions drawn from the production scheduling plan. During the production scheduling process on the production line, the controller obtains the results in real time.
[0168] During the entire production cycle, the internal and external machine production lines need to be monitored in real time. When the order data volume is large, the order can be planned in segments, and the production cycle of the first set of machines and the production cycle of the second set of machines can be preset separately.
[0169] It also includes that the production scheduling of the machine data corresponding to the order data can be carried out according to the method of scheduling the production of the first machine on odd days and scheduling the production of the second machine on even days. Or it is stipulated that the corresponding production line is allocated according to the indoor machine or outdoor machine, that is, the first production line only produces the indoor machine and outdoor machine corresponding to the first model. When dealing with the second machine, the production line corresponding to the indoor machine needs to be larger than the production line corresponding to the outdoor machine, so that the indoor machine and outdoor machine produced in a unit time can constitute the second machine.
[0170] When the real-time production scheduling status of the internal machine and the external machine does not meet the first production scheduling constraint, it is determined whether the production scheduling of the internal machine and the external machine in a unit time meet the second production scheduling constraint. If they do, it is determined that the production scheduling of the first and second machines included in the order data can be completed within the preset period at the current production scheduling speed. If the production scheduling of the internal machine and the external machine in a unit time does not meet the second production scheduling constraint; then according to the production scheduling of the first and second machines on the d-1 day, the quantity of the first and second machines on the d day is adjusted.
[0171] In a preferred embodiment of the present application, the daily scheduled production quantity of the internal machine and the daily scheduled production quantity of the external machine are the same, or the daily scheduled production quantity of the internal machine and the daily scheduled production quantity of the external machine can constitute the first set of machines or the second set of machines.
[0172] When the quantity reaches the daily production requirement, the internal machine models are sorted and the first set or the second set is formed according to the binding relationship between the internal machine model and the external machine model.
[0173] In order to achieve the same daily production quantity of the indoor and outdoor machines, or to make the indoor and outdoor machines form the first or second set of machines,
[0174] The daily production demand needs to be determined: first, the total number of indoor and outdoor machines that need to be produced daily, as well as the ratio of the first set of machines to the second set of machines, must be determined.
[0175] The order data includes work calendar information, indoor unit line information, outdoor unit line information; indoor unit model information, outdoor unit model information, indoor unit category information, outdoor unit category information.
[0176] Acquiring order data includes acquiring order data including indoor unit data and outdoor unit data, wherein the indoor unit data includes the quantity of indoor units and the quantity of indoor unit models; the outdoor unit data includes the quantity of outdoor units and the quantity of outdoor unit models; or the order data includes the first set of machine data and the second set of machine data. The indoor / outdoor unit data includes the indoor / outdoor unit models and the production sequence corresponding to the indoor / outdoor unit models, and the indoor / outdoor unit production line corresponding to the indoor / outdoor unit models is matched according to the indoor / outdoor unit models.
[0177] A computer-readable storage medium includes a stored program, wherein the program executes the above method when it is run.
[0178] An electronic device includes a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-mentioned method through the computer program.
[0179] During the production process, in order to control the output and ensure the stable operation of the production line, the following hardware and control parts are usually required:
[0180] Internal machine production line or external machine production line: The internal machine production line or external machine production line is a collection of equipment and process flows used to produce internal machines or external machines. It usually includes the following components:
[0181] Processing equipment: such as injection molding machines and other equipment used to process internal machine parts.
[0182] Assembly equipment: Equipment used to assemble interior machine components into a complete interior machine, such as an automatic assembly line or a manual assembly station.
[0183] Test equipment: Equipment used to perform functional tests and quality checks on internal machines, such as performance test benches and quality inspection stations.
[0184] Conveyor system: A conveyor system used to transfer internal machines from one process to the next, which can include conveyor belts, conveyor lines or automatic guided vehicles.
[0185] Controller: The controller is a device used to monitor and control the operation of the production line. It can be implemented in the following ways:
[0186] PLC (Programmable Logic Controller): can control the operation and coordination of each device on the production line according to the preset logic program. PLC can receive the signal of the sensor, judge the status and make corresponding control actions.
[0187] SCADA: It is used to monitor and control the equipment and processes on the production line. It can collect equipment status and production data in real time and provide a human-machine interface for operators to monitor and operate.
[0188] Distributed Control System: DCS is a distributed control system used to control each unit of the entire production process. It is highly flexible and scalable, and can integrate multiple controllers and devices to achieve comprehensive production line control.
[0189] In order to control production and achieve the expected goals, some measures need to be taken to monitor and adjust the operation of the production line. For example, monitor and record production data: through sensors and data acquisition systems, monitor key parameters on the production line in real time, such as output and speed, and record these data for analysis and optimization. Set production targets and production quality standards, such as hourly output, yield rate, etc., and adjust and optimize according to actual conditions. According to the output and quality targets, adjust process parameters such as temperature, pressure, speed, etc. to optimize the operation of the production line and output control. Using feedback control algorithms, according to the difference between actual output and target output, automatically adjust the operating parameters of the production line to achieve output control and stability.
[0190] Select and configure the corresponding hardware and control parts according to the specific production model or other production parameters and production rules or requirements.
[0191] A production scheduling method for household appliances is used to solve the problem of finding the optimal solution to a discrete problem in the scheduling problem. In particular, for the air-conditioning production industry, orders are usually complete sets, that is, a set of air conditioners consists of a certain number of indoor and outdoor units. The indoor and outdoor units have different production processes and are completed by different production lines. Therefore, in order to cope with the characteristics of large-scale air-conditioning orders, such as large order volume, complex model types, many production calendar days to be arranged, and many production lines, a production scheduling method for household appliances based on distribution modeling is provided.
[0192] A production scheduling device for household electrical appliances using the above-mentioned production scheduling method for household electrical appliances comprises:
[0193] The acquisition module is used to acquire order data, wherein the order data includes work calendar information, internal unit line information, external unit line information; internal unit model information, external unit model information, internal unit category information, and external unit category information.
[0194] A construction module, in a production cycle, establishes a first objective function according to the sum of the set machine output, the internal machine output and the external machine output;
[0195] During the production cycle, a second objective function is established according to the cumulative number of days that the indoor machine type is produced on the indoor machine production line.
[0196] Obtaining daily internal machine production output according to the internal machine production output on the internal machine production line within a production cycle;
[0197] Plan the daily output of the external machine according to the external machine's scheduled quantity.
[0198] Establishing a third objective function according to the difference between the daily internal machine discharge output and the daily external machine discharge output;
[0199] The solution module is used to solve the internal machine output, external machine output and set machine output.
[0200] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor may be used in practice to implement some or all of the functions of some or all of the components of an apparatus or electronic device for scheduling production according to an embodiment of the present invention. The present invention may also be implemented as a device or device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0201] Embodiment 2
[0202] In this embodiment, taking the production scheduling of the first set of machines as an example, the specific production scheduling planning method for one indoor machine and one outdoor machine included in the first set of machines and the method specifically applied to the indoor machine production line and the outdoor machine production line are explained in combination with the algorithm.
[0203] Collection definition:
[0204] Work calendar set: D = {d1, d2, d3, ...};
[0205] Internal machine line collection: L in ={l1,l3,l5,…};
[0206] External machine line collection: L out ={l2,l4,l6,…};
[0207] Indoor unit model collection: P in ={p1,p3,p5,…}, specifically refers to the models that can be produced on all internal machine lines;
[0208] External machine model collection: P out ={p2,p4,p6,…}, specifically refers to the models that can be produced on all external machine lines;
[0209] Kit model collection: P set ={a,b,c,…}, specifically refers to a set of all the kit codes. Any kit code will bind several indoor unit models to one outdoor unit model. The outdoor unit models bound to the kit code can be the same, but the indoor unit models cannot be the same. For the convenience of description, this article takes an example of binding an indoor unit model and an outdoor unit model with a kit code value.
[0210] Indoor unit category set: C in={c1,c3,c5,…}, the indoor machine category can group and divide the indoor machine models. The indoor machine models of the same category can be produced together continuously to improve production efficiency. There is no crossover model between any two different categories;
[0211] External unit category set: C out ={c2,c4,c6,…}, the external unit category can be grouped and divided into external unit models. Continuous production of external unit models in the same category will improve production efficiency. There is no overlapping model between any two different categories.
[0212] Definition of known quantity:
[0213] Working calendar code: d∈D; Internal machine line code: l in ∈L in ; External machine line code: l out ∈L out ;Indoor unit model code: p in ∈P in ;Outdoor unit model code: p out ∈P out ; Indoor unit category code: c in ∈C in ;Outdoor unit category code: c out ∈C out ; Model's output to be arranged: N p ,p∈P in ∪P out ;
[0214] Binding relationship between indoor unit models and model categories Model p in Belongs to category c in If yes, it is 1, otherwise it is 0;
[0215] Binding relationship between outdoor unit models and model categories Model p out Belongs to category c out If yes, it is 1, otherwise it is 0;
[0216] Binding relationship between the internal unit model and the kit model Model p in With kit p set If there is a correlation, it is 1, otherwise it is 0;
[0217] Binding relationship between external unit model and kit model Model p out With kit p set If there is a correlation, it is 1, otherwise it is 0;
[0218] Variable definition:
[0219] Output of internal machine model Indicates the model of the indoor unit p in In the internal machine body in The discharge volume on day d;
[0220] Output of external machine model Indicates the model of the external unit p out In the external machine line out The discharge volume on day d;
[0221] Machine Model Output Indicates the kit model p set The discharge volume on day d;
[0222] Internal machine model production status variable Internal unit model in In the internal machine body in The production status on day d is a 0-1 variable;
[0223] Internal machine model end of production status variable Internal unit model in In the internal machine body in The status of whether production ends on day d is a 0-1 variable, which means that if the model is produced on day d and not produced on day d+1, it is 1, otherwise it is 0;
[0224] External machine model production status variable External machine model out In the external machine line out The production status on day d is a 0-1 variable;
[0225] External machine model end of production status variable External machine model out In the external machine line out The status of whether production ends on day d is a 0-1 variable, which means that if the model is produced on day d and not produced on day d+1, it is 1, otherwise it is 0;
[0226] Internal machine type (series) production status variable Indoor unit model classification c in In the inner body in The production status on day d is a 0-1 variable;
[0227] External machine type (series) production status variables Outdoor machine model classification c out In the external machine line out The production status on day d is a 0-1 variable;
[0228] Specific implementation plan:
[0229] Step 1: Obtain the set definition and known quantity definition information described in the previous chapter by reading the database or third-party API interface, such as the models of the internal and external machines, the production line, the model scheduling and other information.
[0230] Step 2: Construct a mixed integer programming model to determine the maximum number of sets of machines and the number of models of internal and external machines that can be undertaken within the production cycle. Its goal is:
[0231]
[0232] Among them, c1>0, c2>0, c3>0 are preset constants or function expressions based on a known quantity, which can be used to adjust the effect of the objective function expression.
[0233] The constraints are:
[0234] 1) The upper limit constraint relationship between the internal and external unit models
[0235]
[0236] 2) The relationship between the production volume of the machine model and the production volume constraints of the model
[0237]
[0238] in p set ∈P set ,d∈D and p in and p set satisfy
[0239]
[0240] in p set ∈P set ,d∈D and p out and p set satisfy
[0241] The remaining models of internal and external units are arranged in production and The constraints on production process, materials, production capacity, etc. that should be met are omitted.
[0242] In the object obj1, the first part Indicates the total output of all machine models during the production cycle, the second part Indicates the total output of all indoor machine models during the production cycle. The third part Represents the total output of all external machine models in the production cycle. c1, c2, c3 can adjust the proportion of each part to express different optimization effects. The purpose is to maximize the output of sets of machines produced in the production cycle, and at the same time, to maximize the production capacity so that the output of internal or external machines is as much as possible. For this optimization problem, the maximum value of the target obj1 is obtained under the premise of satisfying the constraints. When the target reaches the maximum value, the maximum number of internal or external machine models that can be produced under the premise of satisfying the constraints can be obtained. Here, the symbol p∈P in ∪P out To express.
[0243] Step 3: Plan production schedule for indoor unit models
[0244] Based on the planning results of step 2, the indoor machine models are planned and arranged in the indoor machine line. Different factories have different requirements for production scheduling rules in different scenarios. Here, we only take the example of minimizing the scheduling switching of indoor and outdoor machine model classification (series) and continuous production of models as much as possible to construct the following mixed integer programming model with the following goals:
[0245]
[0246] Among them, c4>0, c5>0 are preset constants or function expressions based on a known quantity, which can be used to adjust the effect of the objective function expression.
[0247] The constraints are:
[0248] 1) Relationship between the production status of the internal machine model and the production volume of the internal machine model
[0249]
[0250] 2) The relationship between the end of production status of the indoor machine model and the production status of the indoor machine model When d is the last day of the production scheduling cycle, the relationship between the two satisfies:
[0251]
[0252] Otherwise, the relationship between the two satisfies:
[0253]
[0254] l in ∈L in
[0255] 3) Relationship between the production status of indoor unit category and the production status of indoor unit model
[0256]
[0257] l in ∈L in ,d∈D,p in and c in satisfy M>0 is a constant#
[0258] 4) Lower limit constraint on the output of internal machine model (convert the result of step 2 to constraint)
[0259]
[0260] 5) Internal machine model production upper limit constraint (same as constraint cons1)
[0261] The remaining models of indoor units have a production capacity of Constraints such as production process, materials, and production capacity should be met.
[0262] In the target obj2, the first part Indicates the total number of days for production of the internal machine category, the second part Indicates the number of times the internal machine model is produced continuously. c4 and c5 can adjust the proportion of each part to express different optimization effects. The purpose is to minimize the total number of days for the production of internal machine types within the production cycle, and to produce the internal machine models as continuously as possible. Under the premise of satisfying the constraints, the minimum value of the target obj2 is calculated for this optimization problem. When the target is minimized, the production scheduling results of the internal machine model on each line every day can be obtained under the premise of satisfying the constraints. Here, the symbol p∈P in ,l in ∈L in , d∈D is used to represent it.
[0263] Step 4: Schedule production for external machine models
[0264] Based on the planning results of step 2 and step 3, the external machine models are planned and arranged on the external machine line. Different factories have different requirements for production scheduling rules in different scenarios. This stage takes the production scheduling of external machine models as an example to plan the internal and external machine models as much as possible every day (daily production quantities are as equal as possible). First, define the following auxiliary variables:
[0265] Indicates the difference in the number of outdoor units and indoor units planned per day. For any p out On every d day, Satisfy the constraints:
[0266]
[0267] Constraining p in cons10 in With p out Satisfying the following relationship, there exists a p set satisfy and
[0268] Construct the following mixed integer programming model:
[0269]
[0270] The effect of the objective function expression.
[0271] The constraints are:
[0272] The lower limit constraint of the output of the external machine model (the result of step 2 is converted into a constraint)
[0273]
[0274] Daily production capacity lock constraint for internal machine model (Step 3 result converted to constraint)
[0275]
[0276] The remaining external machine models are arranged in production The constraints on production process, materials, production capacity, etc. that should be met are omitted.
[0277] The purpose is to minimize the difference in the number of internal and external machine models every day. Under the premise of satisfying the constraints, the minimum value of the target obj3 is obtained for this optimization problem. When the target is minimized, the production scheduling results of the external machine model in each line body every day can be obtained under the premise of satisfying the constraints. Here, the symbol p∈P out ,l out ∈L out , d∈D is used to represent it.
[0278] Step 5: Process the results and output the final production schedule
[0279] The production scheduling results of the indoor machines generated in Step 3 p∈P in ,l in ∈L in ,d∈D and the production scheduling result generated by Step 4 p∈P out ,l out ∈L out ,d∈D performs certain processing to display readable and well-visualized information to users.
[0280] Among them, planning the production schedule of sets according to order data includes planning according to the total number of sets in the order, and the order data includes data on orders placed according to set matching, or order data on sets placed with custom combinations of internal and external units.
[0281] In the above method, the production scheduling of the S2 indoor unit and the production scheduling of the S3 outdoor unit do not distinguish the order. The production scheduling method of the distribution modeling of the present application reduces the scale of the problem and improves the production scheduling efficiency. In order to ensure the production effect of the uniformity of the indoor unit model and the outdoor unit model of the air conditioner, the present invention constructs a model separately, and plans under the premise of limited resources to make the output of the set model as large as possible. At the same time, it also ensures that the output of each indoor unit model and outdoor unit model is as large as possible. At the same time, the present application utilizes the process characteristics of the air conditioner to decouple the production scheduling of the indoor unit and the outdoor unit in solving the production scheduling problem, first arranging the production of the indoor unit on the indoor unit production line, and then arranging the production of the outdoor unit on the outdoor unit production line. Alternatively, the production of the outdoor unit on the outdoor unit production line can be arranged first, and then the production of the indoor unit on the indoor unit production line can be arranged. It is realized that as many sets of machines as possible are produced within the set cycle. In addition, on the basis of determining the production scheduling results of the indoor unit, the uniformity of the indoor unit and the outdoor unit is taken as the goal to ensure the number of uniformity of the indoor and outdoor units every day. It not only meets the order's requirement of complete delivery of internal and external units, but also complies with the production process, and the production scheduling results are easy for the factory to implement.
[0282] By combining mixed integer programming algorithm and meta-heuristic algorithm, the present invention can process a large amount of complex order data in a short time and propose the best or sub-optimal production scheduling plan. This innovative method not only improves the production scheduling efficiency, but also significantly reduces the uncertainty and resource waste in the production process, thus bringing obvious economic benefits and competitive advantages to enterprises.
[0283] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A production scheduling method for household electrical appliances, characterized in that: Acquire a predetermined quantity of a set of machines, the set of machines comprising at least one internal machine and one external machine, and obtain a predetermined quantity of the internal machine according to the predetermined quantity of the set of machines; The indoor unit includes the indoor unit category, and the indoor unit category includes the indoor unit model; Establishing an internal machine production output objective function according to the sum of the total number of production days of the internal machine category and the total number of continuous production times of the internal machine model; When the internal machine output target function reaches the minimum value, the daily internal machine output is obtained according to the internal machine scheduled quantity; and the daily external machine output is planned according to the internal machine output.
2. The method according to claim 1, characterized in that The value of the total number of production days of the internal machine category is determined by accumulating the first decision variable, and the first decision variable is the production status of the internal machine category every day; When the production status of the indoor machine category is in production, the value is 1; when the production status of the indoor machine category is not in production, the value is 0; The value of the total number of consecutive production times of the indoor unit model is determined by accumulating the second decision variable, and the second decision variable is the daily continuous production status of the indoor unit model; When the continuous production status of the indoor unit model is end of production, the value is 1; when the continuous production status of the indoor unit model is continuous production, the value is 0.
3. The method according to claim 1 or 2, characterized in that: Establishing an external machine discharge output target function according to the difference between the planned daily external machine discharge output and the planned daily internal machine discharge output; Among them, when the absolute value of the external unit production target function reaches the minimum value and the daily external unit production and the daily internal unit production meet the production scheduling constraints, the daily external unit production produced on the external unit production line is obtained according to the daily internal unit production.
4. The method according to claim 3, characterized in that The production scheduling constraint is that there is a first association relationship between the internal machine and the set machine scheduled for daily production, and there is a second association relationship between the external machine and the set machine; Among them, when the cumulative number of consecutive productions of the indoor unit model on the indoor unit production line is the largest and the total number of production days of the indoor unit category is the smallest, the indoor unit production volume on the indoor unit production line that satisfies the first association relationship and the second association relationship is obtained.
5. The method according to claims 1-4, characterized in that: Each d-day is a production cycle, and the predetermined quantity of external machines and the predetermined quantity of internal machines within the production cycle are obtained according to the predetermined quantity of the set of machines; According to the predetermined quantity of the internal machines and the first constraint condition, the output of the internal machines on the internal machine production line within the production cycle is obtained; according to the output of the internal machines, the predetermined quantity of the external machines and the second constraint condition, the output of the external machines on the external machine production line within the production cycle is obtained; Among them, during the production cycle, the set machine output consisting of the inner machine output and the outer machine output is basically equal to or greater than the set machine predetermined quantity.
6. The method according to claim 5, characterized in that During the production cycle, a first objective function is established according to the sum of the set machine output, the internal machine output and the external machine output; When the first objective function reaches a maximum value, the set machine output consisting of the internal machine output and the external machine output within the production cycle is substantially equal to or greater than the set machine predetermined quantity.
7. The method according to claim 6, characterized in that The indoor unit models include at least a first indoor unit model, a second indoor unit model, a third indoor unit model and a fourth indoor unit model, and the indoor unit categories include at least a first indoor unit category and a second indoor unit category. Wherein, the first indoor unit model and the third indoor unit model constitute a first indoor unit category, and the second indoor unit model and the fourth indoor unit model constitute a second indoor unit category; According to the predetermined number of indoor units, the predetermined number of indoor unit categories is obtained; During the production cycle, a second objective function is established according to the accumulated number of days that the indoor machine type is produced on the indoor machine production line; The first constraint condition is that the second objective function takes a minimum value; When the second objective function obtains a minimum value, the internal machine output on the internal machine production line is obtained.
8. The method according to claim 7, characterized in that Obtaining daily internal machine production output according to the internal machine production output on the internal machine production line within a production cycle; Plan the daily output of the external machine according to the external machine's scheduled quantity. Establishing a third objective function according to the difference between the daily internal machine discharge output and the daily external machine discharge output; The second constraint condition is that the third objective function takes a minimum value; When the third objective function obtains a minimum value, the output of the external unit on the external unit production line is obtained.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 8 when executed.
10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 8 through the computer program.