设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6211|回复: 2

[求助] 本人初学auto mod,有一道题目希望大家赐教

[复制链接]
发表于 2009-10-3 15:08:34 | 显示全部楼层 |阅读模式
刚刚开始学auto mod,这道题目搞不明白,希望大家看看 题目是这样的," R1 \: D8 U; H
  Create a new model containing three independent processes, each with one operator. In each process, loads first move into an infinite capacity waiting queue, then into a single-capacity processing queue.
/ d  W; b  D5 l' l4 c4 a1 |  Loads are processed by each operator for the following time:: c% w3 k2 O' S& m+ N
  Worker_A does the job in a normally distributed time with a mean of 60 mins and a standard dev of 10 mins.
! ?; W' |- y6 L0 m  Worker_B does the job according to a triangular distribution with a min of 30 mins, most likely value of 60 mins, and a max of 90 mins.8 L& i# c4 R9 u, C8 w- E1 I
  Worker_C does the job in a uniformly distributed time between 30 and 90 mins.
! L6 o+ N! {$ y8 _2 DSend loads to each pocess at the same rate (an exponentially distributed inter-arrival time with a mean of 68 mins) to understand the difference in the processing times of the three workers.: Q: q* S3 ?9 I/ c
2 P! |  X& x. i2 l
问题:
( V$ g0 S& e: ?3 Q! D; qAfter running the model for 10,000 days, what was the average number of loads in each process?) Q; {- {7 r. v1 q

# ]5 A8 s) U7 n# Z( G不胜感激!
发表于 2009-10-6 22:36:13 | 显示全部楼层
begin P_A arriving
0 m. O$ h  {9 V- Emove into Q_wait /*Capacity is infinte*/+ W: L2 x  v3 p9 f+ x
move into Q_process /*Single capacity*/  m) T6 j: I( V2 @# i
4 |+ _( u8 c: ], K4 b
use R_A for n 60,10 min /*Resource A*/
+ \1 ^' j/ [5 F5 S) R7 q6 a# d/ ]) _. E0 T- y( p4 d
send to P_B! w3 b6 H4 _2 N' z0 }
end
3 m4 p* z9 T1 f- T+ o# l0 }7 t4 I3 q7 m8 U! m& \) X8 \
P_B and P_C is similar2 R( I6 {3 i2 _$ K: J$ ?( P% W# ^
triangular 30,60,90 min
, U" ], k4 V  `: D3 _  [" ]1 ju 60,30 min, X0 D( S% {8 b  E

1 U) s& J# o5 b$ S" K' b( z0 g8 Y# v" J: A
in P_C, you need to send to die.+ u; i% M* V! u0 a
- a/ `( Q- {$ d8 V, i: ?; V
Then You need to add a L_Control to drive up the whole simulation. and a Run Control of 10000 days.
6 }; e; w. ^5 e
, m5 R- B5 t) Q  h' Y' [, T5 F& ]7 S* ^% O9 Q
Remember to turn off the animation before you run your model.

评分

参与人数 1仿真币 +12 收起 理由
shakie + 12

查看全部评分

 楼主| 发表于 2009-10-27 23:53:02 | 显示全部楼层
thanks...
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2026-2-22 13:55 , Processed in 0.020982 second(s), 16 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表