设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6735|回复: 2

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

[复制链接]
发表于 2009-10-3 15:08:34 | 显示全部楼层 |阅读模式
刚刚开始学auto mod,这道题目搞不明白,希望大家看看 题目是这样的,- s% a* y; c: N# R
  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./ g4 x' S5 h% {0 n/ @2 l
  Loads are processed by each operator for the following time:* W4 f$ s+ L- _0 w- \/ X: U
  Worker_A does the job in a normally distributed time with a mean of 60 mins and a standard dev of 10 mins.
2 _; D) q0 H" f& z  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., i1 J. `7 n% M3 A* c
  Worker_C does the job in a uniformly distributed time between 30 and 90 mins.
9 [6 b: J+ N8 KSend 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.
) h4 g0 x. x/ b& R2 p- T0 X+ D& _. P- K) \4 i2 J
问题:4 x2 K$ @7 m# n  v4 Z$ U
After running the model for 10,000 days, what was the average number of loads in each process?- W9 A: U, Z5 A
) v8 K$ w- e2 j4 a0 T7 E9 U
不胜感激!
发表于 2009-10-6 22:36:13 | 显示全部楼层
begin P_A arriving
6 g# j5 N1 }. ]. Cmove into Q_wait /*Capacity is infinte*/, a$ Q$ Y1 e" L
move into Q_process /*Single capacity*/
# C' g1 A/ P( g0 a. z% @
3 b. Z/ n2 `# z- m0 E. |3 c- guse R_A for n 60,10 min /*Resource A*/: G, E1 {1 X& R7 G) Y+ Q! x4 P: \2 s

5 ]8 J& C; j' Isend to P_B
9 z/ h" G* \. F2 }. Hend
9 k. |: Z2 m. H
; X& m4 V! e6 F* O# A2 w* A$ bP_B and P_C is similar) s1 Q. X" `+ y( @  g
triangular 30,60,90 min, y6 ^5 p& ~5 U. M2 j* @. [
u 60,30 min
, J5 p# d2 J: ]% t6 b; ]2 J0 U
7 H% ~0 E- m" N2 V' t6 K/ l/ f2 s! l$ a$ P, s; \8 [+ x& g8 o) {5 P5 Z
in P_C, you need to send to die.! ^$ x- D$ Q- O8 @3 ?  d+ B5 `
  x$ F, d6 k9 E7 k4 t
Then You need to add a L_Control to drive up the whole simulation. and a Run Control of 10000 days.% X2 D& j9 T" V; i. l
8 `$ y8 w9 ^% F7 \; G

' t* f/ p& P) b6 x+ V9 gRemember 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-4-29 20:55 , Processed in 0.018603 second(s), 16 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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