求教关于 Arena simulation
登录 | 论坛导航 -> 华新鲜事 -> 求学狮城 | 本帖共有 56 楼,当前显示第 15 楼 : 从楼主开始阅读 : 本帖树形列表 : 返回上一页
作者:lm787 (等级:3 - 略知一二,发帖:653) 发表:2013-10-24 08:52:44  15楼 
对,就是要这个,太感谢了~好聪明的点子~ 还能再问吗?我还有好多疑问啊,这几天做得脸青青的还是跑不出来,真是痛苦。 是这样的,我们的系统是一条队列3个resource,哪个resource有空就到哪个。 有两个小伙伴做了模型,但我觉得他们做的不太对,因为他们都把队列按百分比分配到resource,而我认为应该是随机,或者cyclicly seize available resources,这样才能反映真正的系统运作。另外百分比很可能会随人数和时间的不同有所变化,所以不该假设分配的百分比。 我想象中的模型应该有/显示这些: 1,到达:初始人数若干,新来的人服从采集数据的distribution ---这个用你的办法解决了。 2,共享队列: 试过用Queue,不过没法和create/process连接,放弃。 试过用Process,选择delay,那delay的分布该用什么呢?试用constant=1好像也不对。不知是不是这个想法不对? 3,分别显示3个resource: 试用过一个process with 3 resources, but only one distribution can be applied. This is not the fact. Because each resource has its own processing time distribution.而且也只能看到一个process在跑,看不到3个resource. Also tried using 3 processes to represent the 3 resources, then the conn (more...)
忘了贴一个有启发性的链接
你们课本的这一章挺不错的:Intermediate Modeling and Terminating Statistical Analysis

http://nsl.pnu.edu/lecture/MAutomation/simulation06.pdf

主要思路就是:
1。3 Resources are defined in the same Set
2. Seize module acts as a queue waiting for a resource in the set
3. Once one or more resources are available, seize one either randomly or cyclically
4. Save the resource No. in an Attribute
5. Decide through the attribute related to the resource No.
6. Delay then release the seized resource

详情看看站短你的设计图。
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表

本帖共有 56 楼,当前显示第 15 楼,本文还有 N-1 层楼,要不你试试看:点击此处阅读更多 >>



请登录后回复:帐号   密码