案例21.mp34:41来自LearningYard学苑
案例要求如下:在一个快递中转场,每小时都会有快递车辆到达,车上装载有待配送的快件,每车的装载数量为800件。作业流程如下所述:
(1)接货人员将车厢内的快件逐一放置在传送带上,确保条码可以被扫描到。
(2)条码扫描光电传感器在获得快件地址信息后决定分派到不同的区域,本中转场负责五个区域。
(3)操作人员将传送带上的快件放置在待运区域,每小时由本区域配送车辆取走快件,所有存放快件的待运区域均满足批量大小为400,最长等待时间为3600秒。。
(4)所有快件中有1%的条码无法被传感器识别,需要单独放置在一个红色故障区域等待人工进行识别与处理。
(5)该中转场共有六名员工,每工作两小时需要休息50~100秒,中午12:00~12:30为午休时间,下午18:00~18:30为休息时间。
先拖出模型所需实体,1个发生器、6个暂存区、7条传送带、6个决策点(DP)和1个光电传感(Photo Eye)
、6个操作员、1台任务分配器以及1个吸收器,并进行相应连线。
模型整体布局如下:
The case requirements are as follows:
In a courier transfer station, express vehicles will arrive every hour, and the vehicles are loaded with express items to be delivered. The loading quantity of each vehicle is 800 pieces.
The job flow is as follows:
(1) The receiving personnel place the express items in the carriage one by one on the conveyor belt to ensure that the barcode can be scanned.
(2) The bar code scanning photoelectric sensor decides to assign it to different areas after obtaining the express address information. This transit field is responsible for five areas.
(3) The operator places the express on the conveyor belt in the waiting area, and the delivery vehicle in this area takes the express every hour. All the waiting areas for storing express should meet the batch size of 400, and the longest waiting time is 3600 seconds. .
(4) 1% of the barcodes in all shipments cannot be recognized by the sensor, and need to be placed in a red fault area for manual identification and processing.
(5) There are six employees in the transit center. They need to rest for 50~100 seconds every two hours of work. The lunch break is from 12:00 to 12:30, and the rest time is from 18:00 to 18:30.
First drag out the entities required for the model, 1 generator, 6 temporary storage areas, 7 conveyor belts, 6 decision points (DP) and 1 photoelectric sensor (Photo Eye)
, 6 operators, 1 task distributor and 1 absorber, and connect them accordingly.
The overall layout of the model is as follows:
然后进行基本参数设置,首先是发生器1,选择时间表到达触发,勾选重复时间表,并按下图设置参数,另外还需在触发器的创建触发中设置快件的类型与颜色。
Then set the basic parameters. First, generator 1, select the schedule arrival trigger, check the repeat schedule, and set the parameters as shown in the figure below. In addition, you need to set the type and color of the shipment in the trigger creation trigger.
然后进行暂存区1的设置,在临时实体流选项中勾选使用运输工具。并在触发器的进入触发中创建一个标签barcode,并设置其类型值99%的类型值为1,剩下1%的类型值为2,这个可以通过选择“根据百分比设置实体类型值”这一命令,并对代码进行如下图所示的更改即可实现。
Then set the staging area 1, and check the use of transport tools in the flow option of the flowitem. And create a label barcode in the entry trigger of the trigger, and set the type value of 99% of its type value to 1, and the type value of the remaining 1% to 2. This can be done by selecting “Set entity type value according to percentage”. command and make changes to the code as shown in the figure below.
然后进行光电传感器(Photo Eye)与6个决策点之间的连线,并对光电传感器进行设置,在触发器中选择 On Cover触发,即在快件到达时进行条码扫描。在发送可移动实体时采用条件判断,代码如下图所示。
Then connect the photoelectric sensor (Photo Eye) to the 6 decision points, set the photoelectric sensor, and select the On Cover trigger in the trigger, that is, scan the barcode when the shipment arrives. Conditional judgment is used when sending movable entities, and the code is shown in the following figure.
然后设置5种快件存放的待运区,设置批量作业,目标批量大小为400,最长等待时间为3600秒。
Then set the waiting area for 5 kinds of express shipments, set up batch jobs, the target batch size is 400, and the longest waiting time is 3600 seconds.
最后是故障区域的设置,首先在临时实体流选项卡中勾选使用运输工具,由于故障区域的卸货任务优先级更高所以需要设置其优先级为1,Preemption先占为“Preempt only”,然后卸货时需要根据不同类型值选择不同的端口卸货,所以选择根据返回值选择输出端口命令,最后设置其颜色为红色。
The last is the setting of the fault area. First, check the use of transport tools in the flow tab of the flowitem. Since the unloading task in the fault area has a higher priority, you need to set its priority to 1, and the Preemption will be “Preempt only”, and then unload the goods. When you need to select different ports for unloading according to different types of values, select the output port command according to the return value, and finally set its color to red.
接着设置任务分配器,采用最短队列进行任务分配。
Then set the task allocator and use the shortest queue for task allocation.
然后按住Ctrl键同时选择所有操作员,并单击鼠标右键,在弹出菜单中选择“Object Groups”,选择创建新群组“Add to new groups”,并将此群组命名为“OP”。
Then hold down the Ctrl key while selecting all operators, right-click, select “Object Groups” in the pop-up menu, select “Add to new groups”, and name this group “OP”.
然后双击任何一个Operater,选择break选项卡中“Add new MTBFMTTR”创建一个故障表,并单击Edit进行设置,进入设置界面后先将所有操作员添加进来,然后在Functions标签页中,对于首次故障时间、停机时间以及恢复时间进行相应的参数设置。
Then double-click any operator, select “Add new MTBF MTTR” in the break tab to create a fault table, and click Edit to set it. After entering the setting interface, add all operators first, and then in the Functions tab, for the first time Set the corresponding parameters for failure time, downtime and recovery time.
然后创建一个时间表,也是按照如上设置。
Then create a schedule, also set as above.
至此,模型建立完毕,最后我们来看一下最终的运行效果。
At this point, the model is established, and finally let’s take a look at the final running effect.
参考资料:《物流系统仿真与应用(微课版)》
英文翻译:Google翻译
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!