设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6254|回复: 2

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

[复制链接]
发表于 2009-10-3 15:08:34 | 显示全部楼层 |阅读模式
刚刚开始学auto mod,这道题目搞不明白,希望大家看看 题目是这样的,9 l+ ~$ K' J0 O( A/ |
  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.
  G) S- U- z) c* q; d- M! n  Loads are processed by each operator for the following time:1 s' t4 o% T, Z
  Worker_A does the job in a normally distributed time with a mean of 60 mins and a standard dev of 10 mins.
2 S5 J5 t* D0 q3 X( l% o  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.
& e( k% a; T* M' m  Worker_C does the job in a uniformly distributed time between 30 and 90 mins.( I0 E9 `8 ?# H' N' ?& _7 t
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.* m9 d1 v# k& ]  O: K. p/ u# N* H

# t$ c: I& b* |8 f( f问题:$ a, c$ ~7 W% }4 v
After running the model for 10,000 days, what was the average number of loads in each process?7 |5 w; V8 d! k& C; E: S+ a+ Z3 R

5 H3 I7 B. y8 l) k+ C, V0 ]  }* ]3 N不胜感激!
发表于 2009-10-6 22:36:13 | 显示全部楼层
begin P_A arriving
8 o7 k8 S) z& N6 O2 c! b* |+ }8 ymove into Q_wait /*Capacity is infinte*/: W& c' A# g7 i3 V2 \1 u( }
move into Q_process /*Single capacity*/# ~. M' U, b/ C- v3 N4 _, s$ l
; z, I8 |2 L7 W1 Q, c
use R_A for n 60,10 min /*Resource A*/; a! V3 Z9 ~! T  J6 x$ B

: I6 c+ U/ E" {5 X) T+ }/ Z0 G8 Csend to P_B( J) ?  W9 G  R
end6 G( q+ r) v' Z- x
1 T' Q- ?3 o. n. R) s* A/ h
P_B and P_C is similar
- r6 m& M; a, w) ~triangular 30,60,90 min
0 \5 M! f/ I" M( k' tu 60,30 min
. R; E9 A7 J/ B0 k+ A  B4 c
2 Z( W: Z% Q. M; ?5 t2 {
8 x+ c& m9 w4 Z. r9 q/ cin P_C, you need to send to die.# t5 J% R8 H6 r+ g
( Y. n; z7 s% i% O( k9 ]
Then You need to add a L_Control to drive up the whole simulation. and a Run Control of 10000 days.
1 p/ v: A' T& i
4 N( R1 s- j; @0 _; s& Z! f- R3 l- v6 F$ m- w  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-28 02:21 , Processed in 0.019893 second(s), 16 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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