[go: up one dir, main page]

CN111445079B - A multi-fidelity simulation optimization method and equipment applied to workshop planning and production - Google Patents

A multi-fidelity simulation optimization method and equipment applied to workshop planning and production Download PDF

Info

Publication number
CN111445079B
CN111445079B CN202010245660.1A CN202010245660A CN111445079B CN 111445079 B CN111445079 B CN 111445079B CN 202010245660 A CN202010245660 A CN 202010245660A CN 111445079 B CN111445079 B CN 111445079B
Authority
CN
China
Prior art keywords
fidelity
production
low
search
solution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010245660.1A
Other languages
Chinese (zh)
Other versions
CN111445079A (en
Inventor
岳磊
管在林
张正敏
王创剑
周洋
田亚娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN202010245660.1A priority Critical patent/CN111445079B/en
Publication of CN111445079A publication Critical patent/CN111445079A/en
Application granted granted Critical
Publication of CN111445079B publication Critical patent/CN111445079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/067Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Evolutionary Biology (AREA)
  • Development Economics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Genetics & Genomics (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Molecular Biology (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Biomedical Technology (AREA)
  • Artificial Intelligence (AREA)
  • Physiology (AREA)
  • Manufacturing & Machinery (AREA)
  • Primary Health Care (AREA)
  • Educational Administration (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明属于生产控制技术领域,具体涉及一种应用于车间计划投产的多保真仿真优化方法及设备。该方法通过使用两个保真级别的仿真模型配合使用优化车间计划投产问题:首先根据实际生产系统建立高保真与低保真仿真模型;然后使用低保真仿真模型,结合GA算法的寻优迭代特性对投产计划问题的解空间进行搜索;根据低保真模型运行得到的结果使用具有序数变换和最佳抽样的抽样方法进行抽样,得到最佳抽样集;最后通过高保真仿真模型运行最佳抽样集,由于高保真模型与车间实际生产系统相似度极高,使用高保真模型运行最佳抽样集中的投产方案可获得相对精确的结果,故可此结果作为依据选择最优投产方案。

Figure 202010245660

The invention belongs to the technical field of production control, and in particular relates to a multi-fidelity simulation optimization method and equipment applied to workshop planning and production. This method optimizes the problem of workshop planning and production by using two fidelity levels of simulation models: first, a high-fidelity and low-fidelity simulation model is established based on the actual production system; then a low-fidelity simulation model is used, combined with the optimization iteration of the GA algorithm Search the solution space of the production planning problem; use the sampling method with ordinal transformation and optimal sampling to sample according to the results obtained by running the low-fidelity model to obtain the optimal sampling set; finally run the optimal sampling through the high-fidelity simulation model Since the high-fidelity model is very similar to the actual production system of the workshop, using the high-fidelity model to run the production plan in the optimal sampling set can obtain relatively accurate results, so this result can be used as a basis to select the optimal production plan.

Figure 202010245660

Description

一种应用于车间计划投产的多保真仿真优化方法及设备A multi-fidelity simulation optimization method and equipment applied to workshop planning and production

技术领域technical field

本发明属于生产控制领域,涉及一种应用于车间计划投产的多保真仿真优化方法及设备,更具体地,涉及一种应用于车间计划投产的基于DBR理论的多保真仿真优化方法。The invention belongs to the field of production control, and relates to a multi-fidelity simulation optimization method and equipment applied to workshop planning and production, more particularly, to a DBR theory-based multi-fidelity simulation optimization method applied to workshop planning and production.

背景技术Background technique

制订合理的生产计划可以使车间加工更加顺畅,使车间资源充分利用。以车间计划投产问题为例,不恰当的工件投产方案可能会导致车间加工堵塞或机台大量空闲,因此,对车间投产计划进行优化能够提高加工效率。由于生产系统的生产过程具备不可逆性,车间管理人员在执行生产决策之前经常使用仿真模拟的方法判断方案的可行性,甚至通过仿真运行的方法寻找问题的较优解。传统仿真技术通常采用单一的仿真模型模拟物理空间,在面对大规模问题时,仿真速度慢,难以应用于现今越来越复杂的加工场景中。而简化的仿真模型运行得到的结果与实际生产系统可能大相径庭,不具备参考意义。Making a reasonable production plan can make workshop processing smoother and make full use of workshop resources. Taking the problem of workshop production planning as an example, an inappropriate workpiece production plan may cause workshop processing blockage or a large number of idle machines. Therefore, optimizing the workshop production plan can improve processing efficiency. Because the production process of the production system is irreversible, the workshop managers often use the simulation method to judge the feasibility of the plan before executing the production decision, and even find the optimal solution to the problem through the simulation operation method. Traditional simulation technology usually uses a single simulation model to simulate the physical space. When faced with large-scale problems, the simulation speed is slow and it is difficult to apply to today's increasingly complex processing scenarios. However, the results obtained by running the simplified simulation model may be very different from the actual production system and have no reference significance.

然而,对于所研究系统,通常可构建不同保真度级别的多个仿真模型。其中,对系统还原度高的高保真仿真模型可以准确预测解决方案的效果,但复杂系统的仿真模拟计算较高成本且可能非常耗时;低保真仿真模型求解速度较快,但仿真结果可靠性相对较低,且可能具有显著偏差与随机性,无法准确评估候选解决方案的效果。However, it is often possible to build multiple simulation models of different fidelity levels for the system under study. Among them, the high-fidelity simulation model with a high degree of system reduction can accurately predict the effect of the solution, but the simulation calculation of complex systems is expensive and may be very time-consuming; the low-fidelity simulation model is faster to solve, but the simulation results are reliable. The performance is relatively low, and may have significant bias and randomness, making it impossible to accurately assess the effect of candidate solutions.

为尽可能保证模型精准度与求解速度,可考虑提出通过不同保真度模型的配合使用来实现问题的快速求解,该方法被称为多精度建模或多保真建模,即在合理抽象和简化的基础上,建立易于计算的低保真模型对整个解空间进行求解,对解进行排序等一些操作后进行抽样,并将抽样的结果作为高保真仿真模型的输入进行计算评估得到优质方案,此方法可能缩短使用高保真模型找到最优解的时间。In order to ensure the model accuracy and solution speed as much as possible, it can be considered to solve the problem quickly by using different fidelity models. This method is called multi-precision modeling or multi-fidelity modeling, that is, in a reasonable abstraction. On the basis of and simplification, a low-fidelity model that is easy to calculate is established to solve the entire solution space, and the solutions are sorted and then sampled. , this method may reduce the time to find the optimal solution using a high-fidelity model.

目前对多保真仿真优化方法的研究和应用目前多集中于连续系统仿真中,对离散系统仿真中的相关应用和研究极少。另一方面,对于复杂生产计划问题,即使使用低保真仿真模型运行,其整个解空间的运行时间也是难以忽略的,这就导致解空间的搜索时间较长,影响决策效率。At present, the research and application of multi-fidelity simulation optimization methods are mostly concentrated in continuous system simulation, and there are very few related applications and research in discrete system simulation. On the other hand, for complex production planning problems, even if a low-fidelity simulation model is used, the running time of the entire solution space is difficult to ignore, which leads to a long search time in the solution space and affects decision-making efficiency.

发明内容SUMMARY OF THE INVENTION

针对现有技术的以上缺陷或改进需求,本发明提供了一种应用于车间计划投产的多保真仿真优化方法,其目的在于使用基于多保真度仿真模型的仿真优化方法优化车间产品投产计划,由此解决实际生产车间产品投放计划仅依据管理人员的经验制订的技术问题。In view of the above defects or improvement needs of the prior art, the present invention provides a multi-fidelity simulation optimization method applied to workshop planning and production, the purpose of which is to use the simulation optimization method based on the multi-fidelity simulation model to optimize the production planning of workshop products , so as to solve the technical problem that the actual production workshop product launch plan is only based on the experience of the management personnel.

为实现上述目的,按照本发明的一个方面,提供了一种应用于车间计划投产的多保真仿真优化方法,该方法具体包括以下步骤:In order to achieve the above object, according to one aspect of the present invention, a multi-fidelity simulation optimization method applied to workshop planning and production is provided, and the method specifically includes the following steps:

步骤1、建立实际生产系统投产问题的高保真仿真模型与低保真仿真模型,高保真仿真模型运行方案X获得的运行结果记为h(X),低保真仿真模型运行方案x获得的运行结果记为l(x);Step 1. Establish a high-fidelity simulation model and a low-fidelity simulation model of the actual production system commissioning problem. The operation result obtained by the high-fidelity simulation model running the scheme X is denoted as h(X), and the low-fidelity simulation model The operation obtained by running the scheme x The result is recorded as l(x);

步骤2、使用低保真仿真模型进行GA搜索,从而对具体投产问题进行低保真大致解空间搜索,获得低保真搜索解空间集;Step 2. Use the low-fidelity simulation model to perform a GA search, so as to perform a low-fidelity rough solution space search for the specific production problem, and obtain a low-fidelity search solution space set;

步骤3、将步骤2的低保真搜索解空间集按照解的优劣进行重排序;Step 3. Reorder the low-fidelity search solution space set in step 2 according to the pros and cons of the solutions;

步骤4、从重排序后的解空间集中抽样形成最佳抽样子集;Step 4. Sampling from the reordered solution space set to form the best sampling subset;

步骤5、使用高保真模型运行最佳抽样子集Nj并选出最佳方案,获得最佳投产计划。Step 5. Use the high-fidelity model to run the best sampling subset N j and select the best plan to obtain the best production plan.

进一步地,所述步骤1包括如下子步骤:Further, the step 1 includes the following sub-steps:

步骤1.1:根据实际生产系统的生产运作与工艺流程特征建立真实场景的高保真仿真模型,并根据生产实际在高保真仿真模型中设置运行过程中的调度规则及相关参数;Step 1.1: Establish a high-fidelity simulation model of the real scene according to the production operation and technological process characteristics of the actual production system, and set the scheduling rules and related parameters in the running process in the high-fidelity simulation model according to the actual production;

步骤1.2:对实际生产系统的生产运作与工艺流程特征进行简化,保留系统中瓶颈问题的建模,其他非关键工序与资源使用无限产能替代,获得低保真仿真模型;将低保真仿真模型中的调度规则与相关参数设置成与高保真仿真模型相同。Step 1.2: Simplify the production operation and technological process characteristics of the actual production system, retain the modeling of bottleneck problems in the system, and replace other non-critical processes and resources with unlimited capacity to obtain a low-fidelity simulation model; The scheduling rules and related parameters are set to be the same as the high-fidelity simulation model.

进一步地,在低保真仿真模型中将非瓶颈工序的产能使用通过时间代替。Further, the throughput of the non-bottleneck process is replaced by the throughput time in the low-fidelity simulation model.

进一步地,所述步骤2包括如下子步骤:Further, the step 2 includes the following sub-steps:

步骤2.1:设置低保真搜索总预算数量Mmax,GA种群数量P,初始化进化代数为r=0;Step 2.1: Set the total budget number M max for low-fidelity search, the number P of GA populations, and initialize the evolutionary algebra as r=0;

步骤2.2:生成初始种群的解决方案集{xr1,xr2,...,xrp},xrp表示第r代进化得到的第p个解决方案;使用低保真仿真模型运行并得到解集{l(xr1),l(xr2),…,l(xrp)},l(xrp)是xrp对应的低保真仿真解;Step 2.2: Generate the solution set {x r1 , x r2 , ..., x rp } of the initial population, where x rp represents the p-th solution obtained by the evolution of the r-th generation; use the low-fidelity simulation model to run and get the solution The set {l(x r1 ), l(x r2 ), ..., l(x rp )}, l(x rp ) is the low-fidelity simulation solution corresponding to x rp ;

步骤2.3:设置进化代数为r=r+1;解集{l(xr1),l(xr2),...,l(xrp)}使用精英选择规则选取交叉种群1,然后将解集{l(xr1),l(xr2),...,l(xrp)}顺序打乱,使用精英选择规则选取交叉种群2,使用交叉种群1和交叉种群2进行遗传进化,获得新的方案解集xr={xr1,xr2,...,xrp};Step 2.3: Set the evolutionary algebra as r=r+1; the solution set {l(x r1 ), l(x r2 ), ..., l(x rp )} uses the elite selection rule to select the cross population 1, and then the solution Set {l(x r1 ), l(x r2 ), ..., l(x rp )}, shuffle the order, use the elite selection rule to select cross population 2, use cross population 1 and cross population 2 for genetic evolution, and obtain The new solution set x r ={x r1 , x r2 , . . . , x rp };

步骤2.4:判断低保真搜索预算是否已经用完,即判断是否有r*P<Mmax,如果不等式成立,重复步骤2.3,否则转到步骤2.5;Step 2.4: Determine whether the low-fidelity search budget has been used up, that is, determine whether there is r*P<M max , if the inequality is established, repeat step 2.3, otherwise go to step 2.5;

步骤2.5:将进化过程中的所有方案收集起来形成低保真搜索方案集{x1,x2,...,xr,...,xM},M是解的总数量,并获得对应的低保真搜索解空间集{l(x1),l(x2),...,l(xr),...,l(xM)}。Step 2.5: Collect all schemes in the evolution process to form a low-fidelity search scheme set {x 1 , x 2 , ..., x r , ..., x M }, M is the total number of solutions, and obtain The corresponding set of low-fidelity search solution spaces {l(x 1 ), l(x 2 ), ..., l(x r ), ..., l(x M )}.

进一步地,步骤2.3中的精英选择规则如下:顺次挑选种群中未被挑选的两个个体,将两个个体的结果进行比较,选择出更好的个体,直到种群中所有的个体均被挑选过;Further, the elite selection rule in step 2.3 is as follows: select two unselected individuals in the population in sequence, compare the results of the two individuals, and select a better individual until all individuals in the population are selected. Pass;

步骤2.3中的遗传进化方法如下:使用遗传算法中的染色体交叉和变异思想,使用两点交叉的方式将两个方案进行交叉操作,实现全局搜索,使用单点变异方式将两个方案进行变异操作,实现邻域搜索。The genetic evolution method in step 2.3 is as follows: using the idea of chromosome crossover and mutation in the genetic algorithm, use the two-point crossover method to crossover the two schemes to achieve global search, and use the single-point mutation method to mutate the two schemes. , to implement neighborhood search.

进一步地,步骤3包括如下子步骤:Further, step 3 includes the following substeps:

步骤3.1:序数转换Step 3.1: Ordinal Conversion

将低保真搜索解空间集{l(x1),l(x2),...,l(xM)}根据解的大小进行排序,形成结果由好到次的序数转换后的解空间集{l(xOT1),l(xOT2),...,l(xOTM)};Sort the low-fidelity search solution space set {l(x 1 ), l(x 2 ), ..., l(x M )} according to the size of the solutions, and form the ordinal-transformed solutions from the best to the next space set {l(x OT1 ), l(x OT2 ), ..., l(x OTM )};

步骤3.2:将序数转换后的解空间集{l(xOT1),l(xOT2),...,l(xOTM)}均匀分为K个子集Θj,j=1,...,K,则每个子集Θj中包含N个解,M=N*K。Step 3.2: Divide the ordinal transformed solution space set {l(x OT1 ), l(x OT2 ), ..., l(x OTM )} into K subsets Θ j , j=1, ... , K, then each subset Θ j contains N solutions, M=N*K.

进一步地,步骤4中采用如下最佳抽样策略进行抽样:Further, in step 4, the following optimal sampling strategy is adopted for sampling:

步骤4.1:设置高保真搜索预算Nmax,初始样本数量N0和总增量样本数Δ;设置进化代数为r=0;Step 4.1: Set the high-fidelity search budget N max , the number of initial samples N 0 and the total number of incremental samples Δ; set the evolutionary algebra to r=0;

步骤4.2:在每个子集Θj中随机选择

Figure BDA0002433912470000046
个样本并通过高保真仿真模型运行得到运行结果;Step 4.2: Randomly choose in each subset Θ j
Figure BDA0002433912470000046
samples and run the high-fidelity simulation model to get the running results;

步骤4.3:如果

Figure BDA0002433912470000041
则跳转到步骤4.5,否则增加Δ个预算,根据公式
Figure BDA0002433912470000042
j≠l≠b和
Figure BDA0002433912470000043
计算获得每个子集新的预算结果
Figure BDA0002433912470000044
j,n,l=1,...,K;每个子集新增的预算数量为
Figure BDA0002433912470000045
δb,j表示子集Θb和Θj之间的平均差,δb,l表示子集Θb和Θl之间的平均差,σj表示Θj的标准差,σl表示Θl的标准差,σb表示Θb的标准差,Nl表示分配给Θl的高保真度评估预算的数量;Step 4.3: If
Figure BDA0002433912470000041
Then jump to step 4.5, otherwise add Δ budget, according to the formula
Figure BDA0002433912470000042
j≠l≠b and
Figure BDA0002433912470000043
Compute to get new budget results for each subset
Figure BDA0002433912470000044
j,n,l=1,...,K; the new budget amount for each subset is
Figure BDA0002433912470000045
δb , j is the mean difference between subsets Θb and Θj, δb , l is the mean difference between subsets Θb and Θl , σj is the standard deviation of Θj , σl is Θl The standard deviation of , σ b is the standard deviation of Θ b , and N l is the amount of high-fidelity evaluation budget allocated to Θ l ;

步骤4.4:从子集Θj中继续随机选择Nrj个样本;设置进化代数为r=r+1;Step 4.4: Continue to randomly select N rj samples from the subset Θ j ; set the evolutionary algebra as r=r+1;

步骤4.5:获得每个子集Θj对应的最佳抽样子集NjStep 4.5: Obtain the best sampled subset N j corresponding to each subset Θ j .

进一步地,步骤5包括如下子步骤:Further, step 5 includes the following substeps:

步骤5.1:将步骤4.5中的Nj收集起来形成高保真搜索最佳抽样集

Figure BDA0002433912470000051
j=1,...,K,使用步骤1.1中的高保真模型及相应规则和参数运行,获得高保真的解空间集
Figure BDA0002433912470000052
Step 5.1: Collect N j in step 4.5 to form a high-fidelity search optimal sampling set
Figure BDA0002433912470000051
j=1,...,K, run using the high-fidelity model from step 1.1 and the corresponding rules and parameters to obtain a high-fidelity solution space set
Figure BDA0002433912470000052

步骤5.2:从步骤5.1中的解空间集中选择具有最小运行时间的方案作为最终方案,即最佳投产计划。Step 5.2: From the solution space set in step 5.1, the solution with the smallest running time is selected as the final solution, that is, the best commissioning plan.

为了实现上述目的,按照本发明的另一个方面,提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现如前任一项所述的方法。In order to achieve the above object, according to another aspect of the present invention, a computer-readable storage medium is provided, and a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned items are realized. Methods.

为了实现上述目的,按照本发明的另一个方面,提供了一种应用于车间计划投产的多保真仿真优化设备,包括如前所述的计算机可读存储介质以及处理器,处理器用于调用和处理计算机可读存储介质中存储的计算机程序。In order to achieve the above object, according to another aspect of the present invention, there is provided a multi-fidelity simulation and optimization device applied to workshop planning and production, comprising the aforementioned computer-readable storage medium and a processor, and the processor is used for calling and A computer program stored in a computer-readable storage medium is processed.

总体而言,本发明所构思的以上技术方案与现有技术相比,首先根据实际生产系统建立高保真与低保真仿真模型;然后使用低保真仿真模型,结合GA算法的寻优迭代特性对投产计划问题的解空间进行搜索,根据低保真模型运行得到的结果使用具有序数变换和最佳抽样的抽样方法进行抽样,得到最佳抽样集。最后通过高保真仿真模型运行最佳抽样集,由于高保真模型与车间实际生产系统相似度极高,使用高保真模型运行最佳抽样集中的投产方案可获得相对精确的结果,故可此结果作为依据选择最优投产方案。基于上述构思,本发明能够取得下列有益效果。In general, compared with the prior art, the above technical solution conceived by the present invention firstly establishes high-fidelity and low-fidelity simulation models according to the actual production system; The solution space of the production planning problem is searched, and the sampling method with ordinal transformation and optimal sampling is used for sampling according to the results obtained by running the low-fidelity model to obtain the optimal sampling set. Finally, run the optimal sampling set through the high-fidelity simulation model. Since the high-fidelity model is very similar to the actual production system in the workshop, using the high-fidelity model to run the production plan in the optimal sampling set can obtain relatively accurate results, so this result can be used as According to the selection of the optimal production plan. Based on the above concept, the present invention can achieve the following beneficial effects.

(1)本发明提供的一种应用于车间计划投产的多保真仿真优化方法,实用性较强,其在传统多保真仿真优化框架的基础上,使用遗传算法加速低保真模型解空间的搜索速度,提高了低保真仿真模型搜索问题解空间的效率,能够提高决策效率,有助于优化离散制造行业决策等。(1) A multi-fidelity simulation optimization method applied to workshop planning and production provided by the present invention has strong practicability. On the basis of the traditional multi-fidelity simulation optimization framework, the genetic algorithm is used to accelerate the low-fidelity model solution space It can improve the efficiency of low-fidelity simulation model search problem solution space, improve decision-making efficiency, and help to optimize decision-making in discrete manufacturing industry.

(2)本发明基于DBR理论设计低保真仿真模型,经验证与同问题下的高保真仿真模型的运行结果具有较强的一致性,因此是一种十分方便有效的低保真建模方法。(2) The present invention designs a low-fidelity simulation model based on the DBR theory, which has been verified to have strong consistency with the operation results of the high-fidelity simulation model under the same problem, so it is a very convenient and effective low-fidelity modeling method. .

(3)本发明将改进的多保真仿真优化方法成功应用于离散生产计划优化问题中,该方法框架易根据企业实际生产问题进行调整,灵活实用。(3) The present invention successfully applies the improved multi-fidelity simulation optimization method to the discrete production planning optimization problem. The method framework is easy to adjust according to the actual production problems of the enterprise, and is flexible and practical.

附图说明Description of drawings

图1是应用于车间计划投产的多保真仿真优化方法流程框架图;Figure 1 is a flow chart of the multi-fidelity simulation optimization method applied to workshop planning and production;

图2的(a)和(b)是应用于多保真优化方法解空间搜索过程中GA的两个交叉过程示意图;(a) and (b) of FIG. 2 are schematic diagrams of two crossover processes of GA applied to the multi-fidelity optimization method in the solution space search process;

图3的(a)和(b)是应用于多保真优化方法解空间搜索过程中GA的两个变异过程示意图;(a) and (b) of Figure 3 are schematic diagrams of two mutation processes of GA applied to the multi-fidelity optimization method in the solution space search process;

图4是本发明给出的一个实际案例的车间数据报告图;Fig. 4 is the workshop data report figure of a practical case provided by the present invention;

图5是本发明基于图4的实际案例抽象得到的高保真仿真模型示意图。FIG. 5 is a schematic diagram of a high-fidelity simulation model abstracted by the present invention based on the actual case of FIG. 4 .

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。此外,下面所描述的本发明各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

图1为一种应用于车间计划投产的多保真仿真优化方法的流程框架图,该方法可以更具体地用于制造环境。车间计划投产问题描述如下:车间中有n个工件需要加工,由于工件交期与车间资源的限制,不同的工件需要选择不同的投放时间,该车间计划投产问题需要选择每个工件的释放时间,并使用已知的调度规则进行调度,形成完整的调度方案。该问题的目标一般为总加工时间最短。高保真模型与低保真模型的基本概念可以参照Xu J,Zhang S,Huang E,et al.MO 2 TOS:Multi-Fidelity Optimization with OrdinalTransformation and Optimal Sampling[J].Asia Pacific Journal of OperationalResearch,2016,33(3):1650017.本发明不再另行介绍。Figure 1 is a flow diagram of a multi-fidelity simulation optimization method applied to shop floor planning and production, which can be used more specifically in a manufacturing environment. The problem of workshop planning and production is described as follows: There are n workpieces in the workshop that need to be processed. Due to the limitation of workpiece delivery and workshop resources, different workpieces need to choose different delivery times. The workshop planning and production problem needs to select the release time of each workpiece. And use the known scheduling rules for scheduling to form a complete scheduling scheme. The goal of this problem is generally to minimize the total machining time. For the basic concepts of high-fidelity models and low-fidelity models, please refer to Xu J, Zhang S, Huang E, et al. MO 2 TOS: Multi-Fidelity Optimization with Ordinal Transformation and Optimal Sampling [J]. Asia Pacific Journal of Operational Research, 2016, 33(3):1650017. The present invention will not be further introduced.

优选地,高保真模型使用仿真建模软件SIMIO进行模型构建。以轴类零件混流加工车间为例,根据车间生产状况与设备建立如下图所示的轴类零件混流加工车间仿真模型数据结构关系图,反映车间内各个对象的基础信息与其关联关系。以便于在实际应用中根据车间生产数据、布局变化、设备更变等情况进行实时调整,使仿真模型与车间现实场景保持一致性。Preferably, the high-fidelity model is constructed using simulation modeling software SIMIO. Taking the mixed-flow processing workshop of shaft parts as an example, according to the workshop production status and equipment, the data structure diagram of the simulation model of the mixed-flow processing workshop of shaft parts as shown in the figure below is established, which reflects the basic information of each object in the workshop and its association. In order to facilitate real-time adjustment according to workshop production data, layout changes, equipment changes, etc. in practical applications, the simulation model can be consistent with the real scene of the workshop.

为便于理解,下面,以图4所示的一个实际的案例对仿真建模的系统对象及属性进行更为细致的介绍:For ease of understanding, a more detailed introduction to the system objects and attributes of simulation modeling is given below with an actual case shown in Figure 4:

(1)订单对象(1) Order object

订单对象是车间中的订单实体,作为生产对象的集合进行加工和处理,订单对象的主要属性有:The order object is the order entity in the workshop. It is processed and processed as a collection of production objects. The main attributes of the order object are:

表1-订单对象属性表Table 1 - Order Object Properties Table

Figure BDA0002433912470000071
Figure BDA0002433912470000071

(2)零件产品(2) Parts products

零件产品在数据模型中可由订单对象集成,但其概念对象与相关数据依然存在,用于表示加工产品的种类,并与工艺路线相关联,其主要属性有:The part product can be integrated by the order object in the data model, but its concept object and related data still exist, which are used to represent the type of processed product and associated with the process route. Its main attributes are:

表2-零件产品属性表Table 2 - Parts Product Attribute Table

Figure BDA0002433912470000072
Figure BDA0002433912470000072

Figure BDA0002433912470000081
Figure BDA0002433912470000081

(3)工艺路线(3) Process route

工艺路线即为产品的加工工艺路线表,包括车间内、车间外所有工艺路线,现场调度需循序工艺路线中相关要求,工艺路线表主要属性有:The process route is the processing process route table of the product, including all the process routes in the workshop and outside the workshop. On-site scheduling requires the relevant requirements in the sequential process route. The main attributes of the process route table are:

表3-工艺路线属性表Table 3 - Routing attribute table

Figure BDA0002433912470000082
Figure BDA0002433912470000082

(4)产线(4) Production line

该车间生产模式为混流生产,但实际过程存在很多混线生产的情况,产品与产线并未严格对应。产线的主要属性有:The workshop production mode is mixed flow production, but there are many mixed production lines in the actual process, and the products and production lines do not strictly correspond. The main attributes of the production line are:

表4-产线属性表Table 4 - Production line attribute table

属性名称property name 数据类型type of data 说明illustrate ★产线名称★Production line name StringString 即生产线名称,具有唯一性Namely the production line name, which is unique 工位器具workstation equipment StringString 所属于该产线的工位器具The workstation equipment belonging to the production line 产线设备Production line equipment StringString 属于该产线管理的设备Equipment belonging to the line management

(5)物流资源(5) Logistics resources

由于车间内其他副资源对生产约束较少,因此在数据模型中只考虑工位器具这一种物流资源对象。工位器具是车间中进行物料转运的运输工具以及容器,其主要属性有:Since other auxiliary resources in the workshop have less constraints on production, only one kind of logistics resource object is considered in the data model. Workstation equipment is a transport tool and container for material transfer in the workshop. Its main attributes are:

表5-物流资源属性表Table 5-Logistics resource attribute table

Figure BDA0002433912470000083
Figure BDA0002433912470000083

Figure BDA0002433912470000091
Figure BDA0002433912470000091

(6)加工设备(6) Processing equipment

加工设备对象为车间内车间外的加工设备实体,这一实体包括加工设备、检测设备、检测区域、钳工区域、其他外协车间等工艺认定的实际对象或概念对象,其主要属性有:The processing equipment object is the processing equipment entity inside and outside the workshop. This entity includes processing equipment, testing equipment, testing area, fitter area, other outsourcing workshops and other actual or conceptual objects identified by the process. Its main attributes are:

表6-加工设备属性表Table 6 - Processing Equipment Attribute Table

Figure BDA0002433912470000092
Figure BDA0002433912470000092

在以上仿真框架与数据关系表的基础上可以对轴类零件混流加工车间建立高保真度的数字化仿真模型。On the basis of the above simulation framework and data relationship table, a high-fidelity digital simulation model can be established for the mixed-flow machining workshop of shaft parts.

由于车间生产现状非常复杂,各类信息统计并不全面,以及对车间对象进行抽象建模时造成的信息损失,使得想要实现对现实场景的完全还原是不现实的。因此有必要对轴类零件混流加工车间进行一定程度的抽象与合理的假设。Due to the complex production status of the workshop, the incomplete statistics of various types of information, and the loss of information caused by abstract modeling of workshop objects, it is unrealistic to fully restore the real scene. Therefore, it is necessary to make a certain degree of abstraction and reasonable assumptions about the mixed-flow machining workshop of shaft parts.

所以,对轴类零件混流加工车间系统仿真模型做出如下基本假设:Therefore, the following basic assumptions are made for the simulation model of the mixed-flow machining workshop system for shaft parts:

1)假定上班期间设备与工人能持续工作,正常情况下不会由于各种原因导致停工;若有异常情形发生则做另外的场景安排考虑;1) Assuming that the equipment and workers can continue to work during the work period, under normal circumstances, there will be no shutdown due to various reasons; if there is an abnormal situation, another scenario arrangement will be considered;

2)假定所有产品的加工时间与车间制定的标准工时相同,正常不考虑工人技能熟练程度、设备状况等其他因素对工时的影响;必要时另做特例安排考虑;2) It is assumed that the processing time of all products is the same as the standard working hours set by the workshop, and the influence of other factors such as workers' skill proficiency and equipment conditions on the working hours is normally not considered; if necessary, special arrangements shall be made to consider;

3)假定不良品率为零,暂不考虑产出不良品带来的一系列影响;特定情形下对于质量波动影响另做其他场景安排考虑;3) Assuming that the defective product rate is zero, the series of impacts brought about by the output of defective products are not considered for the time being; under certain circumstances, other scenarios will be considered for the impact of quality fluctuations;

4)假定外协工序能及时送达与返回,或者服务水平处于某种分布范围;暂不考虑外协单位的产能与调度;4) It is assumed that the outsourcing process can be delivered and returned in time, or the service level is in a certain distribution range; the capacity and scheduling of the outsourcing unit are not considered for the time being;

5)假定车间内缓存区容量可变化,暂不考虑车间内实际空间的严格限制;遇有空间资源刚性约束时,另做其他场景安排考虑。5) Assuming that the capacity of the buffer area in the workshop can be changed, the strict restrictions on the actual space in the workshop are not considered for the time being; when there are rigid constraints on space resources, other scenarios should be considered.

基于以上基本假设以及仿真框架对车间进行仿真建模。仿真模型布局基本按照车间提供的CAD布局图并结合现场实际情况进行布置。模型内的物流路径按照车间实际情况进行规划,车间有唯一入口,纵向形成一条主通道,通向精密间,精密间内横向有一条物流通道,精密间外横向有两条物流通道,在车间两端有两条纵向的通道。该车间高保真仿真模型如图5所示,图中黑实线段表示车间物流路径。Based on the above basic assumptions and the simulation framework, the workshop is simulated and modeled. The layout of the simulation model is basically arranged according to the CAD layout provided by the workshop and combined with the actual situation on site. The logistics path in the model is planned according to the actual situation of the workshop. There is only one entrance in the workshop, and a main channel is formed vertically leading to the precision room. There is one horizontal logistics channel inside the precision room, and two horizontally outside the precision room. There are two longitudinal channels at the end. The high-fidelity simulation model of the workshop is shown in Figure 5, and the black solid line segment in the figure represents the logistics path of the workshop.

优选地,低保真仿真模型通常是对低保真模型进行简化与抽象得到的。本专利提供了一种基于约束理论的低保真仿真模型建立方法。以本轴类零件混流加工车间为例,通过对车间设备负荷进行统计分析,保留其中的瓶颈设备与可能成为临时瓶颈的设备。其他产能充足或大多数时间处于空闲待机状态的设备可将其合并简化为一产能无限的设备组,使用固定的加工时间代替。本专利按照上述高保真仿真模型的建立方法结合瓶颈理论建立了低保真仿真模型。Preferably, the low-fidelity simulation model is usually obtained by simplifying and abstracting the low-fidelity model. This patent provides a low-fidelity simulation model establishment method based on constraint theory. Taking the mixed-flow processing workshop for shaft parts as an example, through statistical analysis of the equipment load in the workshop, the bottleneck equipment and the equipment that may become a temporary bottleneck are retained. Other equipment that has sufficient capacity or is idle most of the time can be reduced to a single unit of infinite capacity, using a fixed processing time instead. In this patent, a low-fidelity simulation model is established according to the above-mentioned method for establishing a high-fidelity simulation model combined with the bottleneck theory.

针对该车间计划投产问题,应用于车间计划投产的多保真仿真优化流程主要包括以下实施步骤:Aiming at the problem of the planned production of the workshop, the multi-fidelity simulation optimization process applied to the planned production of the workshop mainly includes the following implementation steps:

步骤1、建立实际生产系统投产问题的高保真模型与低保真模型Step 1. Establish a high-fidelity model and a low-fidelity model of the actual production system commissioning problem

步骤1.1根据实际生产系统的生产运作与工艺流程特征建立与真实场景几乎相同的高保真仿真模型,并根据生产实际在模型中设置运行过程中的调度规则及相关参数。高保真仿真模型运行方案x获得的运行结果记为h(x)。Step 1.1 Establish a high-fidelity simulation model that is almost the same as the real scene according to the production operation and technological process characteristics of the actual production system, and set the scheduling rules and related parameters in the running process in the model according to the actual production. The running result obtained by the high-fidelity simulation model running scheme x is denoted as h(x).

步骤1.2根据DBR理论对实际生产系统的生产运作与工艺流程特征进行简化,突出系统中瓶颈问题的建模,其他非关键工序与资源可考虑使用无限产能替代。将低保真仿真模型中的调度规则与相关参数设置成与高保真仿真模型相同。低保真仿真模型运行方案x获得的运行结果记为l(x)。Step 1.2 simplifies the production operation and technological process characteristics of the actual production system according to the DBR theory, and highlights the modeling of the bottleneck problem in the system. Other non-critical processes and resources can be replaced with unlimited capacity. Set the scheduling rules and related parameters in the low-fidelity simulation model to be the same as the high-fidelity simulation model. The running result obtained by running the scheme x of the low-fidelity simulation model is denoted as l(x).

步骤2、使用步骤1.2中建立的低保真仿真模型,结合了GA的搜索过程对具体投产问题进行低保真大致解空间搜索。Step 2. Using the low-fidelity simulation model established in Step 1.2, combined with the search process of GA, perform a low-fidelity general solution space search for the specific production problem.

步骤2.1设置低保真搜索总预算数量Mmax,GA种群数量P等参数,设置进化代数为r=0。Step 2.1 Set parameters such as the total budget number M max of low-fidelity search, the number of GA populations P and so on, and set the evolutionary algebra as r=0.

步骤2.2生成初始种群的解决方案集{xr1,xr2,...,xrp},使用低保真仿真模型运行并得到解集{l(xr1),l(xr2),...,l(xrp)}。Step 2.2 Generate solution set {x r1 , x r2 , ..., x rp } of initial population, run with low fidelity simulation model and get solution set {l(x r1 ), l(x r2 ), .. ., l(x rp )}.

步骤2.3设置进化代数为r=r+1。解集{l(xr1),l(xr2),...,l(xrp)}使用精英选择规则选取交叉种群1,然后将解集{l(xr1),l(xr2),...,l(xrp)}顺序打乱,使用精英选择规则选取交叉种群2,使用交叉种群1和交叉种群2并进行遗传进化,获得新的方案解集{xr1,xr2,...,xrp}。Step 2.3 Set the evolutionary algebra as r=r+1. The solution set {l(x r1 ), l(x r2 ), ..., l(x rp )} uses the elite selection rule to select cross population 1, then the solution set {l(x r1 ), l(x r2 ) , ..., l(x rp )} order is scrambled, use the elite selection rule to select cross population 2, use cross population 1 and cross population 2 and perform genetic evolution to obtain a new solution set {x r1 , x r2 , ..., x rp }.

步骤2.4判断低保真搜索预算是否已经用完,即判断是否有rP<Mmax,如果不等式成立,重复步骤2.3,否则转到步骤2.5。Step 2.4 judges whether the low-fidelity search budget has been used up, that is, judges whether there is rP<M max , if the inequality is established, repeat step 2.3, otherwise go to step 2.5.

步骤2.5将进化过程中的所有方案收集起来形成低保真搜索方案集{x1,x2,...,xM},并获得对应的低保真搜索解空间集{l(x1),l(x2),...,l(xM)}。Step 2.5 Collect all schemes in the evolution process to form a low-fidelity search scheme set {x 1 , x 2 , ..., x M }, and obtain the corresponding low-fidelity search solution space set {l(x 1 ) , l(x 2 ), ..., l(x M )}.

步骤3、将步骤2.5中的解空间集{l(x1),l(x2),...,l(xM)}使用序数转换策略形成排序后的解空间集。Step 3. The solution space set {l(x 1 ), l( x 2 ), .

步骤3.1序数转换:将低保真搜索解空间集{l(x1),l(x2),...,l(xM)}根据解的大小进行排序,形成结果由好到次的序数转换后的解空间集{l(xOT1),l(xOT2),...,l(xOTM)}。Step 3.1 Ordinal conversion: Sort the low-fidelity search solution space set {l(x 1 ), l(x 2 ), ..., l(x M )} according to the size of the solution, forming the results from the best to the next Ordinal transformed solution space set {l(x OT1 ), l(x OT2 ), ..., l(x OTM )}.

步骤3.2将序数转换后的解空间集{l(xOT1),l(xOT2),...,l(xOTM)}均匀分为K个子集Θj(j=1,...,K),则每个子集Θj中包含N个解。Step 3.2 Divide the ordinal transformed solution space set {l(x OT1 ), l(x OT2 ), ..., l(x OTM )} into K subsets Θ j (j=1, ..., K), then each subset Θ j contains N solutions.

步骤4将步骤3.1中的序数转换后的解空间集{l(xOT1),l(xOT2),...,l(xOTM)}使用最佳采样策略进行抽样形成最佳抽样集。Step 4 uses the optimal sampling strategy to sample the ordinal transformed solution space set {l(x OT1 ), l(x OT2 ), ..., l(x OTM )} in step 3.1 to form the optimal sampling set.

步骤4.1设置高保真搜索预算Nmax,初始样本数量N0和总增量样本数Δ。设置进化代数为r=0。Step 4.1 Set the high-fidelity search budget N max , the initial number of samples N 0 and the total number of incremental samples Δ. Set the evolutionary algebra to r=0.

步骤4.2在每个子集Θj中随机选择

Figure BDA0002433912470000121
个样本并运行得到结果Step 4.2 Randomly select in each subset Θ j
Figure BDA0002433912470000121
samples and run to get the result

步骤4.3如果

Figure BDA0002433912470000122
则跳转到步骤4.5,否则增加Δ个预算,根据公式
Figure BDA0002433912470000123
Figure BDA0002433912470000124
计算获得每个子集新的预算结果
Figure BDA0002433912470000125
每个子集新增的预算数量为
Figure BDA0002433912470000126
Figure BDA0002433912470000127
Step 4.3 If
Figure BDA0002433912470000122
Then jump to step 4.5, otherwise add Δ budget, according to the formula
Figure BDA0002433912470000123
and
Figure BDA0002433912470000124
Compute to get new budget results for each subset
Figure BDA0002433912470000125
The number of new budgets added to each subset is
Figure BDA0002433912470000126
Figure BDA0002433912470000127

步骤4.4从子集Θj中继续随机选择Nrj个样本。设置进化代数为r=r+1。Step 4.4 continues to randomly select N rj samples from the subset Θ j . Set the evolutionary algebra as r=r+1.

步骤4.5获得每个子集Θj对应的最佳抽样子集NjStep 4.5 obtains the best sampling subset N j corresponding to each subset Θ j .

步骤5使用高保真模型运行最佳抽样子集Nj并选出最佳方案。Step 5 uses the high-fidelity model to run the best sampled subset N j and select the best solution.

步骤5.1将步骤4.5中的Nj(j=1,...,K)收集起来形成高保真搜索最佳抽样集

Figure BDA0002433912470000128
使用步骤1.1中的高保真模型及相应规则和参数运行,获得较精确的解空间集
Figure BDA0002433912470000129
Step 5.1 Collect N j (j=1,...,K) in step 4.5 to form the best sampling set for high-fidelity search
Figure BDA0002433912470000128
Run with the high-fidelity model from step 1.1 and the corresponding rules and parameters to obtain a more accurate set of solution spaces
Figure BDA0002433912470000129

步骤5.2从步骤5.1中的解空间集中选择具有最小运行时间的方案作为最终方案。Step 5.2 selects the solution with the smallest running time as the final solution from the solution space set in step 5.1.

图2为应用于多保真优化方法解空间搜索过程中GA的交叉过程示意图。图中所示的个体1,2为车间投产计划问题中的解。每个单元格及单元格中的数字表示一种工件及该种工件选择的投产时间点。交叉过程如图所示,随机选择两个交叉点,将两个个体交叉点间的解片段进行交叉,形成新解。Figure 2 is a schematic diagram of the crossover process of GA applied to the multi-fidelity optimization method in the solution space search process. Individuals 1 and 2 shown in the figure are solutions to the workshop production planning problem. Each cell and the number in the cell indicate a type of workpiece and the point in time at which it was selected for production. The crossover process is shown in the figure. Two crossover points are randomly selected, and the solution segments between the two individual crossover points are crossed to form a new solution.

图3为应用于多保真优化方法解空间搜索过程中GA的变异过程示意图。图中所示的个体1为车间投产计划问题中的解。变异过程如图所示,随机选择一个变异点,将该变异点对应的投产时间点随机修改为其他投产点,形成新解。Figure 3 is a schematic diagram of the mutation process of GA applied to the multi-fidelity optimization method in the solution space search process. The individual 1 shown in the figure is the solution in the shop production planning problem. The mutation process is shown in the figure. A mutation point is randomly selected, and the production time point corresponding to the mutation point is randomly modified to other production points to form a new solution.

本领域的技术人员容易理解,以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。Those skilled in the art can easily understand that the above are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention, etc., All should be included within the protection scope of the present invention.

Claims (5)

1.一种应用于车间计划投产的多保真仿真优化方法,其特征在于,该方法具体包括以下步骤:1. a multi-fidelity simulation optimization method that is applied to workshop planning and put into production, is characterized in that, this method specifically comprises the following steps: 步骤1、建立实际生产系统投产问题的高保真仿真模型与低保真仿真模型,高保真仿真模型运行方案X获得的运行结果记为h(X),低保真仿真模型运行方案x获得的运行结果记为l(x);Step 1. Establish a high-fidelity simulation model and a low-fidelity simulation model of the actual production system commissioning problem. The operation result obtained by the high-fidelity simulation model running the scheme X is denoted as h(X), and the low-fidelity simulation model The operation obtained by running the scheme x The result is recorded as l(x); 步骤2、使用低保真仿真模型进行GA搜索,从而对具体投产问题进行低保真大致解空间搜索,获得低保真搜索解空间集;Step 2. Use the low-fidelity simulation model to perform a GA search, so as to perform a low-fidelity rough solution space search for the specific production problem, and obtain a low-fidelity search solution space set; 步骤3、将步骤2的低保真搜索解空间集按照解的优劣进行重排序;Step 3. Reorder the low-fidelity search solution space set in step 2 according to the pros and cons of the solutions; 步骤4、从重排序后的解空间集中抽样形成最佳抽样子集;Step 4. Sampling from the reordered solution space set to form the best sampling subset; 步骤5、使用高保真模型运行最佳抽样子集Nj并选出最佳方案,获得最佳投产计划;Step 5. Use the high-fidelity model to run the best sampling subset N j and select the best plan to obtain the best production plan; 所述步骤1包括如下子步骤:The step 1 includes the following sub-steps: 步骤1.1:根据实际生产系统的生产运作与工艺流程特征建立真实场景的高保真仿真模型,并根据生产实际在高保真仿真模型中设置运行过程中的调度规则及相关参数;Step 1.1: Establish a high-fidelity simulation model of the real scene according to the production operation and technological process characteristics of the actual production system, and set the scheduling rules and related parameters in the running process in the high-fidelity simulation model according to the actual production; 步骤1.2:对实际生产系统的生产运作与工艺流程特征进行简化,保留系统中瓶颈问题的建模,其他非关键工序与资源使用无限产能替代,获得低保真仿真模型;将低保真仿真模型中的调度规则与相关参数设置成与高保真仿真模型相同;Step 1.2: Simplify the production operation and technological process characteristics of the actual production system, retain the modeling of bottleneck problems in the system, and replace other non-critical processes and resources with unlimited capacity to obtain a low-fidelity simulation model; The scheduling rules and related parameters are set to be the same as the high-fidelity simulation model; 所述步骤2包括如下子步骤:The step 2 includes the following sub-steps: 步骤2.1:设置低保真搜索总预算数量Mmax,GA种群数量P,初始化进化代数为r=0;Step 2.1: Set the total budget number M max for low-fidelity search, the number P of GA populations, and initialize the evolutionary algebra as r=0; 步骤2.2:生成初始种群的解决方案集{xr1,xr2,...,xrp},xrp表示第r代进化得到的第p个解决方案;使用低保真仿真模型运行并得到解集{l(xr1),l(xr2),...,l(xrp)},l(xrp)是xrp对应的低保真仿真解;Step 2.2: Generate the solution set {x r1 , x r2 , ..., x rp } of the initial population, where x rp represents the p-th solution obtained by the evolution of the r-th generation; use the low-fidelity simulation model to run and get the solution The set {l(x r1 ), l(x r2 ), ..., l(x rp )}, l(x rp ) is the low-fidelity simulation solution corresponding to x rp ; 步骤2.3:设置进化代数为r=r+1;解集{l(xr1),l(xr2),...,l(xrp)}使用精英选择规则选取交叉种群1,然后将解集{l(xr1),l(xr2),...,l(xrp)}顺序打乱,使用精英选择规则选取交叉种群2,使用交叉种群1和交叉种群2进行遗传进化,获得新的方案解集xr={xr1,xr2,...,xrp};Step 2.3: Set the evolutionary algebra as r=r+1; the solution set {l(x r1 ), l(x r2 ), ..., l(x rp )} uses the elite selection rule to select the cross population 1, and then the solution Set {l(x r1 ), l(x r2 ), ..., l(x rp )}, shuffle the order, use the elite selection rule to select cross population 2, use cross population 1 and cross population 2 for genetic evolution, and obtain The new solution set x r ={x r1 , x r2 , . . . , x rp }; 步骤2.4:判断低保真搜索预算是否已经用完,即判断是否有r*P<Mmax,如果不等式成立,重复步骤2.3,否则转到步骤2.5;Step 2.4: Determine whether the low-fidelity search budget has been used up, that is, determine whether there is r*P<M max , if the inequality is established, repeat step 2.3, otherwise go to step 2.5; 步骤2.5:将进化过程中的所有方案收集起来形成低保真搜索方案集{x1,x2,...,xr,...,xM},M是解的总数量,并获得对应的低保真搜索解空间集{l(x1),l(x2),...,l(xr),...,l(xM)};Step 2.5: Collect all schemes in the evolution process to form a low-fidelity search scheme set {x 1 , x 2 , ..., x r , ..., x M }, M is the total number of solutions, and obtain the corresponding low-fidelity search solution space set {l(x 1 ), l(x 2 ), ..., l(x r ), ..., l(x M )}; 步骤2.3中的精英选择规则如下:顺次挑选种群中未被挑选的两个个体,将两个个体的结果进行比较,选择出更好的个体,直到种群中所有的个体均被挑选过;The elite selection rules in step 2.3 are as follows: select two unselected individuals in the population in sequence, compare the results of the two individuals, and select a better individual until all individuals in the population have been selected; 步骤2.3中的遗传进化方法如下:使用遗传算法中的染色体交叉和变异思想,使用两点交叉的方式将两个方案进行交叉操作,实现全局搜索,使用单点变异方式将两个方案进行变异操作,实现邻域搜索;The genetic evolution method in step 2.3 is as follows: using the idea of chromosome crossover and mutation in the genetic algorithm, use the two-point crossover method to crossover the two schemes to achieve global search, and use the single-point mutation method to mutate the two schemes. , to achieve neighborhood search; 步骤3包括如下子步骤:Step 3 includes the following sub-steps: 步骤3.1:序数转换Step 3.1: Ordinal Conversion 将低保真搜索解空间集{l(x1),l(x2),...,l(xM)}根据解的大小进行排序,形成结果由好到次的序数转换后的解空间集{l(xOT1),l(xOT2),...,l(xOTM)};Sort the low-fidelity search solution space set {l(x 1 ), l(x 2 ), ..., l(x M )} according to the size of the solutions, and form the ordinal-transformed solutions from the best to the next space set {l(x OT1 ), l(x OT2 ), ..., l(x OTM )}; 步骤3.2:将序数转换后的解空间集{l(xOT1),l(xOT2),...,l(xOTM)}均匀分为K个子集Θj,j=1,...,K,则每个子集Θj中包含N个解,M=N*K;Step 3.2: Divide the ordinal transformed solution space set {l(x OT1 ), l(x OT2 ), ..., l(x OTM )} into K subsets Θ j , j=1, ... , K, then each subset Θ j contains N solutions, M=N*K; 步骤4中采用如下最佳抽样策略进行抽样:In step 4, the following optimal sampling strategy is used for sampling: 步骤4.1:设置高保真搜索预算Nmax,初始样本数量N0和总增量样本数Δ;设置进化代数为r=0;Step 4.1: Set the high-fidelity search budget N max , the number of initial samples N 0 and the total number of incremental samples Δ; set the evolutionary algebra to r=0; 步骤4.2:在每个子集Θj中随机选择
Figure FDA0003636552430000031
个样本并通过高保真仿真模型运行得到一共K组运行结果;
Step 4.2: Randomly choose in each subset Θ j
Figure FDA0003636552430000031
A total of K groups of running results are obtained by running the high-fidelity simulation model;
步骤4.3:如果
Figure FDA0003636552430000032
则跳转到步骤4.5,否则增加Δ个预算,根据公式
Figure FDA0003636552430000033
Figure FDA0003636552430000034
计算获得每个子集新的预算结果
Figure FDA0003636552430000035
j,b,l=1,...,K;每个子集新增的预算数量为
Figure FDA0003636552430000036
δb,j表示子集Θb和Θj之间的平均差,δb,l表示子集Θb和Θl之间的平均差,σj表示Θj的标准差,σl表示Θl的标准差,σb表示Θb的标准差,Nl表示分配给Θl的高保真度评估预算的数量;
Step 4.3: If
Figure FDA0003636552430000032
Then jump to step 4.5, otherwise add Δ budget, according to the formula
Figure FDA0003636552430000033
and
Figure FDA0003636552430000034
Compute to get new budget results for each subset
Figure FDA0003636552430000035
j, b, l = 1, ..., K; the number of new budgets added to each subset is
Figure FDA0003636552430000036
δb , j is the mean difference between subsets Θb and Θj, δb , l is the mean difference between subsets Θb and Θl , σj is the standard deviation of Θj , σl is Θl The standard deviation of , σ b is the standard deviation of Θ b , and N l is the amount of high-fidelity evaluation budget allocated to Θ l ;
步骤4.4:从子集Θj中继续随机选择Nrj个样本,分别为每个
Figure FDA0003636552430000037
增加Nrj个样本;设置进化代数为r=r+1,重复步骤4.3;
Step 4.4: Continue to randomly select N rj samples from the subset Θ j , one for each
Figure FDA0003636552430000037
Add N rj samples; set the evolutionary algebra to r=r+1, repeat step 4.3;
步骤4.5:获得每个子集Θj对应的最佳抽样子集NjStep 4.5: Obtain the best sampled subset N j corresponding to each subset Θ j .
2.如权利要求1所述的一种应用于车间计划投产的多保真仿真优化方法,其特征在于,步骤5包括如下子步骤:2. a kind of multi-fidelity simulation optimization method that is applied to workshop planning and put into production as claimed in claim 1 is characterized in that, step 5 comprises following substep: 步骤5.1:将步骤4.5中的Nj收集起来形成高保真搜索最佳抽样集
Figure FDA0003636552430000038
j=1,...,K,使用步骤1.1中的高保真模型及相应规则和参数运行,获得高保真的解空间集
Figure FDA0003636552430000039
Step 5.1: Collect N j in step 4.5 to form a high-fidelity search optimal sampling set
Figure FDA0003636552430000038
j=1,...,K, run using the high-fidelity model from step 1.1 and the corresponding rules and parameters to obtain a high-fidelity solution space set
Figure FDA0003636552430000039
步骤5.2:从步骤5.1中的解空间集中选择具有最小运行时间的方案作为最终方案,即最佳投产计划。Step 5.2: From the solution space set in step 5.1, the solution with the smallest running time is selected as the final solution, that is, the best commissioning plan.
3.如权利要求1所述的一种应用于车间计划投产的多保真仿真优化方法,其特征在于,在低保真仿真模型中将非瓶颈工序的产能使用通过时间代替。3 . The multi-fidelity simulation optimization method applied to workshop planning and production as claimed in claim 1 , wherein in the low-fidelity simulation model, the production capacity of the non-bottleneck process is replaced by the throughput time. 4 . 4.一种计算机可读存储介质,其特征在于,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现如权利要求1~3任一项所述的方法。4. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented. 5.一种应用于车间计划投产的多保真仿真优化设备,其特征在于,包括如权利要求4所述的计算机可读存储介质以及处理器,处理器用于调用和处理计算机可读存储介质中存储的计算机程序。5. a kind of multi-fidelity simulation optimization equipment applied to workshop planning and put into production, is characterized in that, comprises the computer-readable storage medium and processor as claimed in claim 4, and the processor is used for calling and processing in the computer-readable storage medium. Stored computer program.
CN202010245660.1A 2020-03-31 2020-03-31 A multi-fidelity simulation optimization method and equipment applied to workshop planning and production Active CN111445079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010245660.1A CN111445079B (en) 2020-03-31 2020-03-31 A multi-fidelity simulation optimization method and equipment applied to workshop planning and production

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010245660.1A CN111445079B (en) 2020-03-31 2020-03-31 A multi-fidelity simulation optimization method and equipment applied to workshop planning and production

Publications (2)

Publication Number Publication Date
CN111445079A CN111445079A (en) 2020-07-24
CN111445079B true CN111445079B (en) 2022-07-05

Family

ID=71649483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010245660.1A Active CN111445079B (en) 2020-03-31 2020-03-31 A multi-fidelity simulation optimization method and equipment applied to workshop planning and production

Country Status (1)

Country Link
CN (1) CN111445079B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083698B (en) * 2020-09-10 2021-08-20 南昌市言诺科技有限公司 Production line real-time control method and device based on digital twin model
CN114721340B (en) * 2022-03-25 2025-04-04 华中科技大学 A simulation-based optimization method for production planning of tank welding workshop

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007041950A (en) * 2005-08-04 2007-02-15 Sharp Corp Production simulation management apparatus
CN106250650A (en) * 2016-08-15 2016-12-21 北京理工大学 The resource allocation and optimization method of model in high flux emulation
CN107767068A (en) * 2017-11-02 2018-03-06 山东中烟工业有限责任公司 A kind of lean production high-level plan product plan and method
CN107767022A (en) * 2017-09-12 2018-03-06 重庆邮电大学 A kind of Dynamic Job-shop Scheduling rule intelligent selecting method of creation data driving

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2717572A1 (en) * 2008-04-18 2009-10-22 Exxonmobil Upstream Research Company Markov decision process-based decision support tool for reservoir development planning
US10896270B2 (en) * 2015-07-08 2021-01-19 The Boeing Company Method for solving multi-fidelity optimization problems
TWI633504B (en) * 2017-11-16 2018-08-21 財團法人工業技術研究院 Tree search-based scheduling method and an apparatus using the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007041950A (en) * 2005-08-04 2007-02-15 Sharp Corp Production simulation management apparatus
CN106250650A (en) * 2016-08-15 2016-12-21 北京理工大学 The resource allocation and optimization method of model in high flux emulation
CN107767022A (en) * 2017-09-12 2018-03-06 重庆邮电大学 A kind of Dynamic Job-shop Scheduling rule intelligent selecting method of creation data driving
CN107767068A (en) * 2017-11-02 2018-03-06 山东中烟工业有限责任公司 A kind of lean production high-level plan product plan and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
基于SIMIO的装配车间生产线配送物流仿真分析;岳磊等;《机械制造》;20130220;全文 *
基于交互仿真及神经网络的生产单元换线决策专家系统研究;陈进;《中国优秀博硕士学位论文全文数据库(博士) 工程科技Ⅱ辑》;20130215;全文 *
基于遗传算法的MES热轧型钢生产计划调度系统的研究;花季伟等;《计算机应用与软件》;20131015(第10期);全文 *

Also Published As

Publication number Publication date
CN111445079A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN107169628B (en) A distribution network reliability assessment method based on big data mutual information attribute reduction
Demir et al. The state of the art on buffer allocation problem: a comprehensive survey
Venkatesan et al. Evolutionary estimation of macro-level diffusion models using genetic algorithms: An alternative to nonlinear least squares
CN111445079B (en) A multi-fidelity simulation optimization method and equipment applied to workshop planning and production
CN115145235B (en) Multi-target intelligent scheduling method for casting whole process
CN113919162B (en) Voltage sag risk early warning method based on simulation and multi-source measured data fusion
CN110348623B (en) Complex product development time prediction and optimization method based on design structure matrix
Bernedixen et al. Simulation-based multi-objective bottleneck improvement: towards an automated toolset for industry
CN115221770A (en) Elite population genetic algorithm-based electric power information system migration method
CN119250455A (en) Product process route generation method, device, medium and equipment based on bill of materials
Horng et al. Ordinal optimization of G/G/1/K polling systems with k-limited service discipline
CN112396430B (en) Processing method and system for enterprise evaluation
Piplani et al. Simplification strategies for simulation models of semiconductor facilities
Kikolski Sample measurement of the ISO 22400 standard key performance indicators with the use of simulation models
Gao et al. Flow shop scheduling with variable processing times based on differential shuffled frog leaping algorithm
CN116957146A (en) Workshop open equipment layout optimization method based on improved simulated annealing algorithm
CN111260078A (en) Parameter tuning method and system for machine learning algorithm
Xie Time series prediction based on recurrent LS-SVM with mixed kernel
Korytkowski A genetic algorithm with tournament selection for optimising inspection allocation in multiproduct multistage production systems
CN113419854A (en) Cloud resource scheduling method oriented to unbalanced multi-objective optimization
TWI653587B (en) Dispatching method and system based on multiple levels of steady state production rate in working benches
Wang et al. Energy Efficiency Optimization Based on Digital Twin Workshops
CN119668529B (en) Distributed storage electronic data processing system
Zou et al. Research on Parallel CKLDC-means Clustering Algorithm Based on Hadoop Platform
Biller et al. Propagation of input uncertainty in manufacturing process flow simulations

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant