设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 8054|回复: 2

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

[复制链接]
发表于 2009-10-3 15:08:34 | 显示全部楼层 |阅读模式
刚刚开始学auto mod,这道题目搞不明白,希望大家看看 题目是这样的,2 s; B% t1 S2 D. D  g$ n( q
  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.
5 _( y  G8 S% e  Loads are processed by each operator for the following time:
4 x4 S+ Z2 [" c% ?! T& F: [  Worker_A does the job in a normally distributed time with a mean of 60 mins and a standard dev of 10 mins.1 Y$ L7 U# G' ^/ _$ G4 R4 ]
  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.
; k, v' l0 `8 }9 @2 Q9 W$ {5 k  Worker_C does the job in a uniformly distributed time between 30 and 90 mins.3 N" B1 l+ T' O, i
Send 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.
3 I$ d- p. d' S2 T1 n
0 W/ W/ M. |* v* g7 C- A问题:
1 J2 V% K8 O7 C/ m$ A, g% zAfter running the model for 10,000 days, what was the average number of loads in each process?
) ^2 O. \6 O$ R( k# K6 \4 e9 B% d) V# _7 p, K
不胜感激!
发表于 2009-10-6 22:36:13 | 显示全部楼层
begin P_A arriving
0 j6 X$ G) B5 H6 X& b) bmove into Q_wait /*Capacity is infinte*/6 g, Q' l; b& r; a
move into Q_process /*Single capacity*/6 n2 ]# r7 M" D  w; T

* O. o# A: f8 \6 F7 _use R_A for n 60,10 min /*Resource A*/
# H: c5 H- L3 e! q- e9 O+ x: v$ d# Y& k& F) p8 ~) w
send to P_B8 i. i0 `& C3 M$ c0 q$ J
end
: F4 `# H0 A) E% t, k/ K' b
  |  ^+ p2 Z0 Z: `9 C( bP_B and P_C is similar/ e- D" C! t/ v$ o, U% |
triangular 30,60,90 min0 \; N; C& C4 F" a5 B1 H7 H
u 60,30 min
& @5 R+ z  z+ k/ x" ]  M2 w9 \5 c- K0 g, K$ n

1 F3 X* _' L3 K1 din P_C, you need to send to die.
; ?- r/ W8 m) }1 c# X7 i% t4 p/ k. q0 \; ^1 }2 O3 L1 h
Then You need to add a L_Control to drive up the whole simulation. and a Run Control of 10000 days.
; k( D1 R3 A# q( Q7 d( W# w3 f9 V6 P1 ^! @& a  ]5 D
2 ?7 B% D$ L6 [& h; c
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-9-2 18:34 , Processed in 0.016034 second(s), 16 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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