设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6082|回复: 2

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

[复制链接]
发表于 2009-10-3 15:08:34 | 显示全部楼层 |阅读模式
刚刚开始学auto mod,这道题目搞不明白,希望大家看看 题目是这样的,
8 L$ w0 a, S/ j  k3 Z  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.
9 Q8 q! O: h6 L) {8 F  Loads are processed by each operator for the following time:
! w: L' s8 ~5 G, s, X  Worker_A does the job in a normally distributed time with a mean of 60 mins and a standard dev of 10 mins.8 [$ G) _! \3 c6 b0 I; 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.
3 O5 L  n" {+ _+ Q0 e  Worker_C does the job in a uniformly distributed time between 30 and 90 mins.! [6 J9 L' B$ t$ ?0 @9 a
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.
! m1 j8 B8 ^, o8 s2 y1 C- g2 C" F, Q! ~8 }
问题:
8 R5 g7 _' W7 Z- q+ m. zAfter running the model for 10,000 days, what was the average number of loads in each process?) h! F( L7 l5 Z4 m. c- Q/ k

" S  m. }# _6 @  s1 I1 R. n不胜感激!
发表于 2009-10-6 22:36:13 | 显示全部楼层
begin P_A arriving
0 M1 R! e  i; K! z$ Cmove into Q_wait /*Capacity is infinte*/
3 h3 |  e- a9 z: Mmove into Q_process /*Single capacity*/
) g2 \  W; c' v7 n9 s, b- p1 x# r  t
use R_A for n 60,10 min /*Resource A*/
0 f6 i: n. A6 m6 e& ^1 |2 w/ f6 \5 W/ V+ X4 e$ T5 c/ i) o$ Y
send to P_B% G) D1 G0 b2 O. I4 H
end
. t8 m3 `" e# V6 W; F
0 q; Z1 [% P6 M) T9 O3 uP_B and P_C is similar
3 e- l+ h% l: H! c$ ~! v& L) ]$ Etriangular 30,60,90 min
+ m/ x- z7 z& M% [1 t' ju 60,30 min
8 ~# T8 V/ o. x# K
2 M/ a- j) w. x
, N; u, _0 K  P& cin P_C, you need to send to die.
; H; m! |: B" P! y9 S
! J: P7 F) a$ p* R2 H" v# dThen You need to add a L_Control to drive up the whole simulation. and a Run Control of 10000 days.
1 f- ]) F" B( U+ k& Q& T+ ~) }2 X8 J! H' o
" B" g3 S# E5 u4 @' w7 x* o
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-5 04:01 , Processed in 0.018294 second(s), 16 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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