-
Call Center
到达联络中心需要
处理的有两种电话。电话的达到服从一个泊松分布,分布
的<
/p>
到达率分别为
ArrivalRatel
和
AmvalRate2
。对于每种电话都有一个队列,而且<
/p>
有些来电
在经过一段服从指数分布的时
间后会被放弃而离开队列,
指数分布的期
望分别是
AbandonmentTime1
和
AbandonmentTime2
。
有两个代理组,第一个组被培训处理第一种电话,服务时间的期望是
ServiceTimel;
第二个组被培训来处理第二
种电话,服务时间的期望是
ServiceTime2
然而,这些代理也要被交叉培训以便第一组的成员也能处理第二
种电
话,服务时间的期望是
ServiceTime12
第二组的成员也可以处理第一种电
话,服务时间的期望是
ServiceTim
e21
。理所应当,交叉培训的代理在他们不擅
长的岗
位的绩效是相对较低的。
安排电话的逻辑是可以多种多样的。
在本模型中,
当一个电话正在被处理时,
如果有空闲的代理,
它就被安排到相对应的代理上,
否则就安排的旁边组的代理
上,重复这个过程如果后者是空闲的。
本模型的输出标准是两种电话的队长和服务水平。
服务水平的概念指的是在
20
秒之内处理完毕的来电所占的比例。
第一步:创建新模型(同模型一)
第二步:建立流程逻辑模型
1.
点击
General,
拖入
12
个
Parameter
,分别命名为
ArrivalRatel
、
AbandonmentTime1
、
ServiceTime1
、
ServiceTime12<
/p>
、
NAgents1
、
< br>
allowRouting12
、
ArrivalRate2
、
AbandonmentTime2
、
ServiceTime2
、
ServiceTime21
NAgents2
和
ServiceTimeDeviatior
。其中
NAgents1
和
NAgents2
在
Type
处选择
int
型,分别代表处理两种电话代理人数,
allowRouting12
在
Type
选择
boolean
型,用来判断第一种电话能否被第二
种代理
处理,其他则选择
double
型,代表服务时间,到达率等。该
12
个
Parameter
的
default value
分别为
1
、
100
、
100
、
200
、
100
、
true
、
1
、
100
、
100
、
200
、
100
、
150
。
2.
点击
Ge neral,
拖入
7
个
P
lain Variable
分别命名为
n OK1
、
n
Late1
、
nAbandoned1
、
nAbandoned2
、
< br>nLate2
、
nOK2
、
p>
nRouted12
,并全部选择
int
类型。
3.
点击
Enterprise
Library,
拖入两个
Source,
分别命名为
sourcel
和
source2
,
代表两种电话的到达,如下图所示
:
O
Main
Parameters
0 Abfl
ndonme ntTin cl
sourcel
◎
Serviceljmel
C?Hn
送
51
◎
flIlowRcKJtiogil?
0 ArrivalRatc-2
Aba KKJonme ii:Time2
3
ScfviceTimcil
0 NAgents2
3 Servic
e
T
me DevatiO n
4.
再从
Enterprise Library
< br>中拖入两个
Queue,
分别命名为
queue1
和
queue2
,
之后利用
Presentation
中
的
Polyline
和
Rounded
Rectangle
画出如下图的图
形
:
划
Ma
ir.
密
I
Paamotors
C*
如
rivdiRit
口
1
uurccl
qucucl
过
AM^TdcntTcntlinrel
3
SrrviZfTim^l
Qf-c
【
3
A-
M
ndonrr>c
他
uiw
5.
从
Enterprise Library
中拖入两个
Enter
,
分别命名
为
enter1
和
enter2
,再
拖入两个
Se
rvice,
分别命名为
servicel
和
service2,
之后拖入两个
Resource Pool
分别命名为
age nts1
和
age
nts2,
最后再在
Enterp
rise Library
中拖入一个
Sink
,
并将其
连接起来,如下图
:
G1
Main
冷
|__
P
Brmetflfs
^Mrl
servicel
ScrvkeTiiTiel
*=Ha-----
d
ServiffTirr^l
;
X
link
■S
-
?
巧
ArrrvalRaleJ
quebe2
ertterZ
缶
rvic
P
TI
EF
?
SerJfeTirris21
E
So
r,-
ifflTinr?flD#vlMion
第三步:设置流程逻辑模型参数
1.
创建
Java
Clas
(步骤如
Billing Department
p>
)。命名为
Bill
,
其具体的代码
如下
:
心
卫
0
訥
Li
U □
OJ
M
A
n
Cdlh
Jh'J
_-i
-
EilGig
□Tp^rlPTr
点
pablic cl9.s>
C-=_1I
■Twh
g
二
-
■:寸
Lfriji
- - I :
■?7:
■■
-
■二匚
-
■
■■
r-
:
J
3
匕”
I Mp
I
biibng
S
_
二
&
比匕
=
Funrd
十
Cfli fLWL
O
VUtr
Int
&
Q
31
d?hla
A^AC^-ZBOAZCrjJU.J
iin^lrtiipnr Wan
匕」
L L JI.
pTTiffttzr
final.
Ifiii
于
rj =
IVtr
j
crJ
C
■
IL;
2.
点击
Gen era
,
从中拖入三个
p>
Function
,分别命名为
setCa
llParameters
callA nswered
s
erviceTime,
分别用来设置不同
call
的参数、统计在
20
秒
内处理完毕电话的数量、设置电话的服务时间。
其中
setCallParamet
ers
在
Return type
里面选择
void
,
Function argument
< br>中写入两个参数:
Call
类型的
call
和
int
类型的
type
。
Code
里面写入
:
-
□avE..xo
.
卜
Q
catcallParametfirs -
Function
Functor body:
cod fl
t.
3CS
5t
亠亠
t j?5 Giid
:filar
Lcll,
I'/VC -
二
FliU
;
r 3a
-
日化三
二”怦
( 1/at
)
j
吓
e*
:
1
-
donbla
iz
■
二
■■ 1 ? AbindoniuDclJJiel
: AbasdoimnTTiic*
2;
call < bDandaiuKntTjL?c
?
cxponenziaul
callAnswered
的
Return type
选择
void
,
Function
arguments
写入
Call
类型
的
callo
在
Code
里面写入
:
B
Properties
?3
旦
Console
?
cal I Answered - Function
General
Function
body:
Code
//in
time
was trie call
Description
doable
cwait
=
//updflLe stats
tinie (J -
call .timeArrived;
i?
[
calL
.
type = 1
)
t
hxstwait1-
耳
dd(
uweit )
;
if
(
twait <= 2(3 )
nOKl+ + |
else
nLate
1++
;
}
el?e
{
hisrMaiE^.add( rwait
、:
if
[
twait
<
—
20
E0Xi++
;
>
else
Eluate
2++
:
serviceTime
的
Return type
选择
double
,
Function
argument
选择
Call
类型
的
call
,
int
类型的
agentType,
Code
中写入
:
戸
Props
riJsi
:
口
I
曰
Console
0
serviceTime -
Function
Function
body:
Gen-?ral
Code
DcScription
lonjQje
meaiiL
;
ir
(
figentrype =
i
j
ncan
-
iwfln ■ call
-
tVP*
■■ 2
? Serui = *7iTwJ
I S*rvic?tTLi?31;
—
1
?
ScrvlccTincl
:
5czv±ccT:.ncI2;
/Vdraw troa service
TIEH
leLuru
匚
rldHyLlai
( mtdu
/
2,
dia^rifcjiCiQE
loeaur
ixt
已
u
1.3
)
;
3.
点击
sourcel,
在
Entity class
处写
Call, Arrivals defined
by
选择
Rate,
Arrival
rate
填写
AmvalRate1, Entities per arrival
填写
1, New entity
填写
new Call(),
On exit
填写
setCallParameters( entity, 1
);
在
source2
处在以上各处分别填
写
AmvalRate2
、
1
、
new
Call() setCallParameters( entity, 2 )
点击
qu?Ml>
在
Entity dan
处写
Cii> Capacity
选择
JofrJHAOMlULr
On enter
填写
mrtIngLflgMb
并勾中
Enable exit ontfmeoub Umsmt
填
写
entHv^bsfidonmenCTIme. On
cxlt(titiMoiit)
填写
nttAiidomdl^t;
queiMZ
的參数与
qiieuel
S
本相
Rh
只有在
On cKUftfimMit
}
处
4(
写
iiAb9mloned2^.
5.
点击
service1
,
在
Entity
class
出填写
Call,
Resource quantity
填写
1
,
Delay
time
写
serviceTime( en tity, 1
,
Resource Pool object
为
n
ull
,
On en ter delay
填写
callA nswered(
en tity );, On exit
填写
rout in gLogic();, Queue cap acity
为
100
。点击
age nts1
,
Resource un its
are
选择
In dividual
objects
,
Cap acity
defined
选择
Directly
,
Capacity
填写
NAgents1
。
service2
与
service1
设置
基本相同,在上述各处分别填写
Calk
1
、
serviceTime( entity, 2
)
、
null
、
p>
callAnswered( entity );
、
routingLogic();
、
100
。
agents2
与
agents1
设置基本
相同,各处分别为
In
dividual objects
、
Directly
和
NAge nts2
6.
从
Ge
neral
中拖入一个
Fun ctio n
< br>,
命名为
resetStats,
返回类型选择
void
,
Code
中写入
:
-
-
-
-
-
-
-
-
-
上一篇:基因芯片大攻略
下一篇:植物表达载体 Pcambia1302 序列图谱