管理信息系统大纲Word文档格式.docx
《管理信息系统大纲Word文档格式.docx》由会员分享,可在线阅读,更多相关《管理信息系统大纲Word文档格式.docx(14页珍藏版)》请在冰豆网上搜索。
模拟钟只有在个事件的发生点上才需要调整的事件。
*管理系统大多数是动态离散随机。
二.GPSS与语句解释
三.填空(P51-P57)
GENERATE活动实体
ADVANCE延时服务
QUEUE排队
DEPART离开
GATE
SAVEVALUE保存值
TRANSFER条件转向
SEIZE抢占服务设施
LOGIC逻辑开关
TEST测试语言
INITIAL
TERMINATE活动实体消失
ENTER进入存储器
SPLIT复制
LINK用户链
四.改错
五.程序填空
P24A.单窗口排队系统:
SIMULATE
GENERATE18,6
QUEUE1
SEIZE1
DEPART1
ADVANCE16,4
RELEASE1
TERMINATE1
START25
P106B.募捐问题:
LINE1EQU1
LINE2EQU2
ANNEQU1
JONEQU2
SPLIT1,ANNA
QUEUELINE1
SEIZEJON
DEPARTLINE1
ADVANCE10,4
RELEASEJON
HEREMATCHTHERE
TRANSFER,FINAL
ANNAQUEUELINE2
SEIZEANN
DEPARTLINE2
ADVANCE14,5
RELEASEANN
THEREMATCHHERE
FINALASSEMBLE2
P140C.优先规则问题
GENERATE5
BUF1ADVANCE
SEIZEMACH
ADVANCE4
RELEASEMACH
GENERATE11
PRIORITY1
TRANSFER,BUF1
START11
P138D.用户链应用问题
MACH1EQU1
MACH2EQU2
MACH3EQU3
TAA1TABLEM1,100,600,20
FNA1FUNCTIONP1,D3
5,50/6,70/7,60
FNA2FUNCTIONRN2,D4
.2,.5/.7,1/.9,1.5/1,2
FNA3FUNCTIONRN1,C24
0,0/.1,.104/.2,.222/.3,.355/.4,.509/.5,.69/.6,.915/.7,1.2/.75,1.38
.8,1.6/.84,1.83/.88,2.12/.9,2.3/.92,2.52/.94,2.81/.95,2.99/.96,3.2
.97,3.5/.98,3.9/.99,4.6/.995,5.3/.998,6.2/.999,7/.9998,8
VAA1VARIABLEFN$FNA1#FN$FNA2
GENERATE150,FN$FNA3
ASSIGN1,5
ASSIGN5,V$VAA1
ASSIGN1,6
ASSIGN6,V$VAA1
ASSIGN1,7
ASSIGN7,V$VAA1
LINK1,P5,PROC1
PROC1SEIZEMACH1
ADVANCEP5
RELEASEMACH1
UNLINK1,PROC1,1
LINK2,P6,PROC2
PROC2SEIZEMACH2
ADVANCEP6
RELEASEMACH2
UNLINK2,PROC2,1
LINK3,P7,PROC3
PROC3SEIZEMACH3
ADVANCEP7
RELEASEMACH3
UNLINK3,PROC3,1
TABULATETAA1
START1000
六.程序输出结果分析
A.零件的加工工程
方法一:
GENERATE10,3
QUEUE1
SEIZE1
DEPART1
ADVANCE10,2
RELEASE1
QUEUE2
SEIZE2
DEPART2
ADVANCE9,3
RELEASE2
QUEUE3
SEIZE3
DEPART3
ADVANCE8,1
RELEASE3
TERMINATE1
START50
GPSSWorldSimulationReport-UntitledModel2.1.1
Saturday,December04,200410:
59:
21
STARTTIMEENDTIMEBLOCKSFACILITIESSTORAGES
0.000534.0701730
LABELLOCBLOCKTYPEENTRYCOUNTCURRENTCOUNTRETRY
1GENERATE5300
2QUEUE5310
3SEIZE5200
4DEPART5200
5ADVANCE5210
6RELEASE5100
7QUEUE5100
8SEIZE5100
9DEPART5100
10ADVANCE5110
11RELEASE5000
12QUEUE5000
13SEIZE5000
14DEPART5000
15ADVANCE5000
16RELEASE5000
17TERMINATE5000
FACILITYENTRIESUTIL.AVE.TIMEAVAIL.OWNERPENDINTERRETRYDELAY
1520.9739.9931520001
2510.8759.1591510000
3500.7497.996100000
QUEUEMAXCONT.ENTRYENTRY(0)AVE.CONT.AVE.TIMEAVE.(-0)RETRY
1215340.5645.6806.1430
21051210.1871.9533.3210
31050410.0130.1380.7650
FECXNPRIBDTASSEMCURRENTNEXTPARAMETERVALUE
520536.0925256
540536.9395401
510538.316511011
方法二:
simulate
mean
equ
1
def
2
function
p1,d3
1,10/2,9/3,8
1,2/2,3/3,1
generate
10,3,,,3
assign
2,3
bak
1+,1
queue
p1
seize
depart
3,fn$def
advance
fn$mean,p3
release
loop
p2,bak
terminate
start
50
GPSSWorldSimulationReport-UntitledModel5.1.1
Saturday,December04,200411:
20:
14
0.000534.0701130
NAMEVALUE
BAK3.000
DEF2.000
MEAN1.000
2ASSIGN5300
BAK3ASSIGN15400
4QUEUE15410
5SEIZE15300
6DEPART15300
7ASSIGN15300
8ADVANCE15320
9RELEASE15100
10LOOP15100
11TERMINATE5000
523536.092528911.000
23.000
32.000
543536.9395401
513538.316518912.000
33.000
B.家电维修
程序:
SIMULATE
GENQEQU1
SPECQEQU2
HANDYMEQU1
SPCLSTEQU1
SPCLSTSTORAGE2
GENERATE11,5
QUEUEGENQ
TRANSFER.7,SPEC,HANDY
HANDYSEIZEHANDYM
DEPARTGENQ
ADVANCE13,5
RELEASEHANDYM
TRANSFER,DONE
SPECSEIZEHANDYM
ADVANCE4,2
QUEUESPECQ
ENTERSPCLST,1
DEPARTSPECQ
ADVANCE62,20
LEAVESPCLST,1
DONETERMINATE1
START45
运行结果;
GPSSWorldSimulationReport-UntitledModel1.28.1
Wednesday,November30,201111:
31:
47
0.000542.0741811
DONE18.000
GENQ1.000
HANDY4.000
HANDYM1.000
SPCLST1.000
SPEC9.000
SPECQ2.000
1GENERATE4700
2QUEUE4700
3TRANSFER4710
HANDY4SEIZE3010
5DEPART2900
6ADVANCE2900
7RELEASE2900
8TRANSFER2900
SPEC9SEIZE1600
10DEPART1600
11ADVANCE1600
12RELEASE1600
13QUEUE1600
14ENTER1600
15DEPART1600
16ADVANCE1600
17LEAVE1600
DONE18TERMINATE4500
HANDYM460.85510.0761460001
GENQ3247170.5576.42810.0700
SPECQ301631.04735.47643.6630
STORAGECAP.REM.MIN.MAX.ENTRIESAVL.AVE.C.UTIL.RETRYDELAY
SPCLST22021611.7340.86700
CECXNPRIM1ASSEMCURRENTNEXTPARAMETERVALUE
460517.8564645
480543.1654801
*下面乱写的
(1)普通修理工及专家的平均利用率。
0.855,0.867
(2)普通修理工及专家队列的平均等待时间。
6.428,35.476
(3)普通修理工及专家队列的平均.0.557,1.047
(4)普通修理工修理一件设备的平均时间。
10.076
(5)专家修理一件设备的平均时间。
43.663
(6)需维修的家电在修理部平均的逗留时间。
543.165
C.船舶停港:
程序:
PORT1EQU1
PORT1STORAGE5
INITIALLS$MOVABLE
GENERATE,,6,1
HIGHLOGICSMOVABLE
ADVANCE12
LOGICRMOVABLE
TRANSFER,HIGH
GENERATE15,10
GATELSMOVABLE
ADVANCE6,3
GATESNFPORT1,PRT2
ADVANCE40,10
PRT1ENTERPORT1
ADVANCE65,30
LEAVEPORT1
GENERATE30,15
TRANSFER,PRT1
PRT2TERMINATE
START1000
结果:
GPSSWorldSimulationReport-UntitledModel2.18.1
Tuesday,December06,201111:
13:
11
0.00015523.5371801
HIGH2.000
MOVABLE10001.000
PORT11.000
PRT112.000
PRT218.000
1GENERATE100
HIGH2LOGIC64700
3ADVANCE64700
4LOGIC64700
5ADVANCE64710
6TRANSFER64600
7GENERATE103500
8GATE103500
9ADVANCE103510
10GATE103400
11ADVANCE49920
PRT112ENTER100400
13ADVANCE100440
14LEAVE100000
15TERMINATE100000
16GENERATE50700
17TRANSFER50700
PRT218TERMINATE53500
PORT15105100414.1800.83600
LOGICSWITCHVALUERETRY
MOVABLE00
1543015525.6141543016
1544015525.8041544910
1528015527.93115281314
1545015528.070154507
1015534.000156
1539015537.60715391112
1533015561.01015331314
1542015563.11515421112
1538015573.92015381314
1540015591.04015401314