设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6907|回复: 2

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

[复制链接]
发表于 2009-10-3 15:08:34 | 显示全部楼层 |阅读模式
刚刚开始学auto mod,这道题目搞不明白,希望大家看看 题目是这样的,
: F% m/ G+ i+ m" r5 e4 Y  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.; [, _$ j' g6 d3 b& r; {
  Loads are processed by each operator for the following time:
" |  m' {- T3 r9 z3 |  D  Worker_A does the job in a normally distributed time with a mean of 60 mins and a standard dev of 10 mins.
3 V8 d4 `+ Q" ^  L7 a, w  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.
- |; N7 e3 v6 A  Worker_C does the job in a uniformly distributed time between 30 and 90 mins.
% Y! g6 }3 Y5 @' hSend 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; u! [- g3 a
  ]! H3 q5 }0 F
问题:
& k+ I9 P$ v, C" VAfter running the model for 10,000 days, what was the average number of loads in each process?
' N* T: n) l( v* ]7 [
# c# T& d% s4 }! l不胜感激!
发表于 2009-10-6 22:36:13 | 显示全部楼层
begin P_A arriving
5 z9 E. ^" ~3 X6 V5 G( Fmove into Q_wait /*Capacity is infinte*/* \. C2 V8 \, `  R) r! m
move into Q_process /*Single capacity*/* J: f  f- @: z$ L* a. Q1 n$ k, \

; }4 U3 H/ J/ S  suse R_A for n 60,10 min /*Resource A*/' n) V* a* _' n" O( {
( z) C4 P$ L# o! B% X
send to P_B! L+ W: D" m# V+ \. M+ X/ ^+ V* ~
end
4 A) A* g! P  O4 S9 V5 }) n6 F; f6 {
P_B and P_C is similar
/ [9 l; F4 O, ]* Q, o, ?triangular 30,60,90 min+ Y8 J0 i, q) O( {; ?. s
u 60,30 min
, R2 u  A) u6 O, R
& T0 j$ W8 u4 o! T+ M* [" f' a  t* C! |1 Y* \- z, F3 G  b
in P_C, you need to send to die.
( Y: q7 s# {) A2 {$ s2 _2 @1 e* [1 @% t' |. c; ?! e7 I
Then You need to add a L_Control to drive up the whole simulation. and a Run Control of 10000 days.
' i, B  Q3 A1 Y' H
& A. ~* O1 R4 V) m9 U- c
- h3 o5 W0 p3 F) P3 X) w" SRemember 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-5-19 13:29 , Processed in 0.024405 second(s), 16 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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