设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7535|回复: 2

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

[复制链接]
发表于 2009-10-3 15:08:34 | 显示全部楼层 |阅读模式
刚刚开始学auto mod,这道题目搞不明白,希望大家看看 题目是这样的,* x( v0 V/ g+ ~, m- e0 W% X
  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.
0 W, r( O8 \& K+ i1 j% Y  Loads are processed by each operator for the following time:/ m7 j  F* I/ i
  Worker_A does the job in a normally distributed time with a mean of 60 mins and a standard dev of 10 mins.
1 X6 Q& z4 }- R9 K" }$ S1 q  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.% H" t* L* C4 q3 U
  Worker_C does the job in a uniformly distributed time between 30 and 90 mins.
) Y8 O8 Z2 B( T3 V3 F* mSend 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.+ u# S3 z" F. o& k) \) a4 |
1 l  j7 |) \) E) K# W8 y5 @+ h
问题:) K4 |1 j: n' C+ ?7 ?+ d- E5 ]
After running the model for 10,000 days, what was the average number of loads in each process?- G' i' ], [/ w
  Y9 }2 \# E+ ]
不胜感激!
发表于 2009-10-6 22:36:13 | 显示全部楼层
begin P_A arriving0 h& m6 a8 K6 ~
move into Q_wait /*Capacity is infinte*/0 k3 ?5 F/ x: x4 t' L& W& A
move into Q_process /*Single capacity*/! m; L$ T" Y5 x) V
- I' P6 ^+ j; ~9 K% a2 g2 B) X
use R_A for n 60,10 min /*Resource A*/( }" B7 S+ r. `. x5 n$ ^7 F
1 j% u, s: P! ~  n4 ]3 g! t8 n4 \
send to P_B; C8 D5 c( J  B7 h
end3 j/ D& e$ h$ p1 a5 O/ x/ _, _/ q

( y3 V. _9 q' w* D! u3 p+ sP_B and P_C is similar3 ^" i% I4 L5 B0 D, @
triangular 30,60,90 min5 O( [; i  A3 {4 Z+ X
u 60,30 min( g7 q2 O, W# ]4 f. @

: P! V: K3 i5 N+ ?  h( `- D6 Z; k; m
in P_C, you need to send to die.
0 C- I' J* |' ^) }: O7 j; a7 O+ }& z) [+ S
Then You need to add a L_Control to drive up the whole simulation. and a Run Control of 10000 days.
4 c0 y1 _: T4 I0 o+ \
4 b' b' w! [4 o8 v( G0 X  F$ n. R, `; l" O. I
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-7-17 20:44 , Processed in 0.014688 second(s), 16 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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