菜鸟求助银行单服务台排队系统
银行单服务台排队系统begin P_arrive arriving
create 1 load of load type L_cust to P_serve
set i=1
while i>0 do
begin
set V_arrivinter = oneof(0.125:1,0.125:2,0.125:3,0.125:4,0.125:5, 0.125:6,0.125:7,0.125:
wait for V_arrivinter min
create 1 load of load type L_cust to P_serve
end
end
begin P_serve arriving
move into Q_wait
set V_servtime=oneof(0.1:1,0.2:2,0.3:3,0.25:4,0.1:5,0.05:6)
use R_cashier for V_servtime min
send to die
end
如何定义process loads等,如何用AUTOMOD运行?
页:
[1]