仿真问题
本帖最后由 coolyfoot123 于 2009-12-7 20:07 编辑我今天遇到一个问题,请问你知道如何把来自两种不同的load1和load2在一个机器上加工,合成一个load,该如何使用order命令?我每次运行的时候,给出的报告里面资源机器Massm没有load经过?以下是我的程序:
begin P_in arriving
move into Q_in
use oper for 2 min
send to oneof(0.95:P_in1,0.05:die)
end
begin P_in1 arriving
if load type = load1 then
begin
move into Q_m1
use M1 for u 5,1 min
move into Q_out1
wait to be ordered on orderlist OL_1
end
if load type = load2 then
begin
move into Q_m2
use M2 for n 8,1 min
move into Q_out2
wait to be ordered on orderlist OL_2
end
end
begin P_dunmy arriving
set i = 1
while i > 0 do
begin
order 1 loads from OL_1 to die
in case order not filled backorder on OL_1
order 1 loads from OL_2 to continue
in case order not filled backorder on OL_2
move into Q_1
use Massm for n 5,1 min
send to die
end
end
这是我的报告
*** AutoMod 11.1 ***
Model q
Statistics at Absolute Clock = 1:00:00:00.00, Relative Clock = 1:00:00:00.00
CPU time: Absolute: 42.859 sec, Relative: 42.859 sec
Statistics for Process System "q"
Process Statistics
Name Total CurAverage Capacity Max Min Util Av_Time Av_Wait
========================================================================================
P_in 222 1 0.32 -- 2 0 -- 126.04 --
P_in1 212 210 102.38 -- 210 0 -- 41725.92 --
P_in3 0 0 0.00 -- 0 0 -- 0.00 --
P_in4 0 0 0.00 -- 0 0 -- 0.00 --
P_dunmy 1 0 0.00 -- 1 0 -- 277.31 --
Process Traffic Limit Statistics
Name Total CurAverage Capacity Max Min Util Av_Time Av_Wait
========================================================================================
P_in 222 1 0.32 Infinite 2 0 -- 126.04 --
P_in1 212 210 102.38 Infinite 210 0 -- 41725.92 --
P_in3 0 0 0.00 Infinite 0 0 -- 0.00 --
P_in4 0 0 0.00 Infinite 0 0 -- 0.00 --
P_dunmy 1 0 0.00 Infinite 1 0 -- 277.31 --
Queue Statistics
Name Total CurAverage Capacity Max Min Util Av_Time Av_Wait
========================================================================================
Space 223 0 0.00 Infinite 1 0 -- 0.00 --
Q_in 222 1 0.32 Infinite 2 0 -- 126.04 --
Q_m1 140 0 0.49 Infinite 2 0 -- 299.88 --
Q_m2 72 0 0.40 Infinite 2 0 -- 485.61 --
Q_out1 140 139 67.23 Infinite 139 0 -- 41490.93 --
Q_out2 72 71 34.26 Infinite 71 0 -- 41114.13 --
Q_1 1 0 0.00 1 1 00.003 277.31 0.00
Order List Statistics
Name Total CurAverage Max Min Av_Time Tot_Back_Ordered
================================================================================
OL_1 139 139 67.23 139 0 41789.43 1
OL_2 71 71 34.26 71 0 41693.20 1
Resource Statistics
Name Total CurAverage Capacity Max Min Util Av_Time Av_Wait State
====================================================================================================
M1 140 0 0.49 1 1 00.486 299.67 0.21 Up ----
M2 72 0 0.40 1 1 00.404 484.99 0.63 Up ----
Massm 1 0 0.00 1 1 00.003 277.31 0.00 Up ----
oper 222 1 0.31 1 1 00.307 119.62 6.42 Up ----
Random Number Streams
Name Total
============================
stream0 455
stream_M1_1 0
stream_M2_1 0
stream_Massm_1 0
stream_oper_1 0
stream_load1_1 184
stream_load2_1 76
stream_dummy_1 0
请问我的错误在那里?我用的版本是11.1的学生版
页:
[1]