一、问题描述与系统参数 在第一个模型中,我们将研究三种产品离开一条生产线进行检验的过程。有三种不同类型的临时实体将按照正态分布的时间间隔到达。临时实体的类型符合1、2、3的均匀分布。当临时实体到达时,它们进入暂存区等待检验。有三个检验台。一台用于检验类型1,另一台检验类型2,第三台检验类型3。检验后的临时实体放到传送带上。通过传送带,送到吸收器,离开模型。 发生器到达速率:normal(20,2)秒 暂存区最大容量:25个临时实体 校验时间:exponential(0,30)秒 传送带速度:1米秒 临时实体路径:类型1到检验台1,类型2到检验台2,类型3到检验台3 二、模型总体布局如图1 三、参数设置 1。发生器参数设置 改变到达时间间隔与临时实体类型,使它产生三种不同类型的产品。双击发生器,打开属性窗口。发生器(Source)选项卡下,在到达时间间隔(InterArrivaltime)下拉列表中选择统计分布(StatisticalDistribution)。弹出统计分布窗口。将分布设置为normal,Mean设置为20,StdDev设置为2,Stream设置为0。如图2和图3。 选择发生器的触发器(Triggers)选项卡。打开离开触发器(OnExit)下拉列表,选择设置临时实体类型和颜色(SetItemTypeandColor),弹出代码模板窗口,保持默认参数不变,如图4图5。 2。暂存区 双击暂存区,打开属性(Queue)窗口,将最大容量(Maximuncontent)设置为25。 在临时实体流窗口(Flow)发送至(SendtoPort)下拉列表中选择指定端口(PortbyCase),根据不同的类型之,分配到不同的临时实体要离开的端口。如图6、7。 3。处理器 双击处理器1,打开属性窗口,在处理(Processor)选项卡,加工时间(ProcessTime)下拉列表中选择统计分布(StatisticalDistribution),在统计分布小窗口中,将分布设置为exponential,Location设置为0,Scale为30,Stream设置为0。如图8。其他两个处理器重复以上操作。 四、运行模型 点击重置Reset,把系统和模型参数返回至初始状态。点击Run,运行模型。 1。Problemdescriptionandsystemparameters Inthefirstmodel,wewillstudytheprocessofthreeproductsleavingaproductionlineforinspection。Therearethreedifferenttypesofflowitemsthatwillarriveatnormallydistributedtimeintervals。Thetypeofflowitemconformstotheuniformdistributionof1,2,and3。Whentheflowitemsarrive,theyenterthestagingareaandwaitforinspection。Therearethreeinspectionstations。Oneisforinspectiontype1,theotherisinspectiontype2,andthethirdisinspectiontype3。Theitemizedentityafterinspectionisplacedontheconveyorbelt。Passtheconveyorbelttotheabsorberandleavethemodel。 Generatorarrivalrate:normal(20,2)seconds Maximumcapacityoftemporarystoragearea:25temporaryentities Checktime:exponential(0,30)seconds Conveyorbeltspeed:1ms Temporaryentitypath:type1toinspectionstation1,type2toinspectionstation2,type3toinspectionstation3 2。TheoveralllayoutofthemodelisshowninFigure1 Three,parametersetting 1。Generatorparametersetting Changethearrivaltimeintervalandthetypeoftemporaryentitytomakeitproducethreedifferenttypesofproducts。Doubleclickthegeneratortoopenthepropertieswindow。UndertheSourcetab,selectStatisticalDistributionintheInterArrivaltimedropdownlist。Thestatisticaldistributionwindowpopsup。Setthedistributiontonormal,Meanto20,StdDevto2,andStreamto0。AsshowninFigure2andFigure3。 SelectthegeneratorsTriggerstab。OpentheOnExitdropdownlist,selectSetItemTypeandColor,thecodetemplatewindowwillpopup,andkeepthedefaultparametersunchanged,asshowninFigure4andFigure5。 2。Temporarystoragearea Doubleclickthetemporarystoragearea,opentheproperties(Queue)window,andsetthemaximumcontent(Maximuncontent)to25。 Selectthedesignatedport(PortbyCase)intheSendtoPortdropdownlistintheflowwindow(Flow)oftheflowitem,andassigntheporttowhichdifferentflowitemswanttoleaveaccordingtodifferenttypes。AsshowninFigure7。 3。Processor Doubleclickprocessor1,openthepropertieswindow,selecttheStatisticalDistributionintheProcessTimedropdownlistontheProcessortab,setthedistributiontoexponential,andsettheLocationto0,Scaleis30,Streamissetto0。AsshowninFigure8。Repeattheaboveoperationsfortheothertwoprocessors。 Fourth,runthemodel ClickResettoreturnthesystemandmodelparameterstotheinitialstate。ClickRuntorunthemodel。 参考资料:百度百科,Flexsim7。5。4版本中文用户手册【北京创时能公司汉化】版 翻译:Google翻译 本文由LearningYard学苑原创,文中部分图片和文字均来源于网络,如有侵权请联系删除!