简体   繁体   English

在任何逻辑中的一个“源”块中使用两个“时间表”

[英]use two "schedules" in one "source" block in anylogic

I am modeling a production process for my thesis.我正在为我的论文建模一个生产过程。 in this model I have two products (A & B) that are using same material so I have to inject the common material by schedule1 (Production Plan For Product A) and also schedule B. Is there any way to do this?在这个 model 中,我有两种使用相同材料的产品(A 和 B),所以我必须按 schedule1(产品 A 的生产计划)和 schedule B 注入通用材料。有什么办法可以做到这一点?

You can have two different schedules and two different source blocks all feeding into 1 queue.您可以有两个不同的时间表和两个不同的源块都进入 1 个队列。 This will allow you to have two separate arrivals for the separate production plans.这将允许您为单独的生产计划有两个单独的到达。 See example below请参见下面的示例

在此处输入图像描述

A more general solution更通用的解决方案

Make your sources a population让你的来源成为人口

来源

And then make a collection of all your schedules and do the following:然后收集您所有的日程安排并执行以下操作:

收藏 and now you can have as many sources as you want with as many schedules as you need现在您可以根据需要拥有任意多的资源和任意多的时间表

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM