设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5741|回复: 2

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

[复制链接]
发表于 2009-10-3 15:08:34 | 显示全部楼层 |阅读模式
刚刚开始学auto mod,这道题目搞不明白,希望大家看看 题目是这样的,7 F% E: _& F" ]- o, 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.0 @) U+ w% j0 [/ I+ L
  Loads are processed by each operator for the following time:% ]% \, W0 d5 N9 {/ j& p& I% v
  Worker_A does the job in a normally distributed time with a mean of 60 mins and a standard dev of 10 mins.
6 k: {4 n8 j& ^! R  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.
; j' R! I8 G( v% }  _  Worker_C does the job in a uniformly distributed time between 30 and 90 mins.* e0 D6 R# |2 _0 o$ y
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.# X( B4 G  r/ Y% p6 [
, q7 v: |2 y6 l9 y
问题:
3 r1 r. P4 E; o/ P/ HAfter running the model for 10,000 days, what was the average number of loads in each process?
9 p) g( T* m( [
  w1 e3 G) a. P不胜感激!
发表于 2009-10-6 22:36:13 | 显示全部楼层
begin P_A arriving
7 A$ s4 j  O$ w& U4 f7 q  \move into Q_wait /*Capacity is infinte*/$ `* ?+ c) L1 z7 s, H7 t/ y
move into Q_process /*Single capacity*/7 g% ?" N  o' U
7 [0 o9 A1 ~9 R0 B: ?0 r) c2 h
use R_A for n 60,10 min /*Resource A*/
1 X$ U- G9 Z9 R6 B0 j# Z
* l" t: D! U) f5 jsend to P_B8 s" N6 _$ }  G& _- A. {! O" ^" C. d
end
) |1 c- V9 b7 E8 h/ ?3 s
7 ^% `0 z0 }( q2 @) i1 m; PP_B and P_C is similar, }+ L# ?/ c% a8 ?0 n: y- ?
triangular 30,60,90 min# g% }' Y8 W' w' {: z3 u$ H) u
u 60,30 min- P; X2 c8 [4 ~# }: y
( t+ [2 f7 J: U3 V5 o+ B! R

- o% ~, J3 t( s1 y9 m1 ?in P_C, you need to send to die.
* E6 \- [/ a6 K; F
2 x, c, n4 V4 T5 wThen You need to add a L_Control to drive up the whole simulation. and a Run Control of 10000 days.
* h$ p# c( A; _8 [
, I4 r2 C! S* ^- Q/ m
) m/ c1 H" }7 |+ Q# j$ ?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, 2025-12-9 22:19 , Processed in 6.506954 second(s), 16 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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