任务列表法(任务序列二)
任务列表法(任务序列二)As shown in the figure below this is an example of a task sequence in the temporary storage area in flexsim.如下图所示,这是flexsim中暂存区的一个任务序列举例。The complete task sequence or task schedule will be used here.任务安排表由执行人‘dispatcher’、重要性‘priority’(优先级)和紧急程度‘preempt’(任务的抢占能力)这几个重要的部分组成。The task schedule is composed of several important parts: the executor’s ‘dispatcher’ the importance ‘priority’ (priority) an
在上一次中,我们学习了单个执行任务,完成一次装载一个实体,那如果我们想一次性装载多个实体该怎么操作呢?
In the last time we learned how to perform a single task and load one entity at a time. What should we do if we want to load multiple entities at once?
这里就会用到完整的任务序列或者任务安排表。
The complete task sequence or task schedule will be used here.
任务安排表由执行人‘dispatcher’、重要性‘priority’(优先级)和紧急程度‘preempt’(任务的抢占能力)这几个重要的部分组成。
The task schedule is composed of several important parts: the executor’s ‘dispatcher’ the importance ‘priority’ (priority) and the urgency ‘preempt’ (the preemptive ability of the task).
如下图所示,这是flexsim中暂存区的一个任务序列举例。
As shown in the figure below this is an example of a task sequence in the temporary storage area in flexsim.
(有兴趣的同学可以看看哦!)
完整的任务序列的编制过程
1、createemptytasksequence(...);新建一个“空”的任务序列。
2、Inserttask(...);往任务序列中插入具体的任务,根据任务的不同选用不同的参数。
3、dispatchtasksequence(...);将创建好的任务序列分派出去。
这里有一个具体的例子
发生器与暂存区1,暂存区1与处理器进行‘A’连接,其余的进行‘S’连接。
The generator is connected to the temporary storage area 1 and the temporary storage area 1 is connected to the processor ‘A’ and the rest are connected to the ‘S’.
操作员在暂存区1等待实体,将实体搬运到处理器,等待实体处理完毕后运送到暂存区2,再返回到暂存区1等待实体产生,如此反复。
The operator waits for the entity in the temporary storage area 1 transports the entity to the processor waits for the entity to be processed and transports it to the temporary storage area 2 and then returns to the temporary storage area 1 to wait for the entity to be generated and so on.
要实现上述过程,双击暂存区1,在临时实体流中勾选使用运输工具,打开其触发器的代码编辑框,将默认的任务序列(图1)删掉,按照图2编写任务安排表。
To achieve the above process double-click the temporary storage area 1 check the use of transport in the flow of temporary entities open the code edit box of its trigger delete the default task sequence (Figure 1) and write the task schedule according to Figure 2.
图一
图二
参考文献:腾讯课堂任务序列全指导(flexsim);
英文翻译:Google翻译;
本文由learningyard学苑原创,部分内容来源于网络,如有侵权请联系。