32.
UNIT=-3
UNIT=3.
_Sstmulabion of Computer. Systems
BS Srmulabon. deoles
Simuladion dob tea sofhoare which 16 used. for strmuladyg
hardware, sofhome and mehwork, Th 18 2 dupe of Soffoare basedon
He prcess of vnodeling a veal wold, phenomenon with mabhernalteal
formula. Thig YoqVvawl- ‘nas, Hho User to observe. Ho operation
witha ach fips Phat operation, Ths main srapordance
381 dro ah ac he = wal bldg the trols
Commonly used. AY tS
=r Rroceaser stmubadion
> Memon simulation
> AD amublctin
> loste Nebsode etrmulation
CPU Netwok. straulabion
®Cordinusus Susten Modeling Rogan. (come): Fine}
Covdmruma Suse Modeling Rogrum (CeMe) 25 a
sdevdific comp ie sofhoare desig a for modell ce
cab, defocnbl. equine munaly Hs one Lal
on cb be. sooeled and. “eit witha. computer.
Types of shode ments -tn_CSMP?
Astruckural shalemets: Struchwal statements define the
model, conetsd of ebees aig ee and. furctional
Wock, lef o's occur. ¥n &
ro a head co vee of the
poration of addition , subsrachion, rnubliphicadios, division. and.
ous dhe came nebadion arel avel ule ag und a
PORTRAN. Tf the. wodel include the equation xa SY. 6 (za
Then, the. follosing shatemend auld, | reel
X= 6.0 Y/W + (z-2)* * 2,0Stele leonard: Dade ce “at munerteal valle
“conedanc and. hal condtdions. For
ay called Se Fe vaed de ocd de wall
> Covbvol statements: Le el es ret Be the
conn pe em TY ad th
prinbed B ombrot 5 Ss Wh.
ae me Sin PROIEL a used, Te yf the names of voniables
J form. She. subputs.
®. Greneral, flrpose. Stmulabion System (GPSS):
fd gs a diserebe Lime otmlladion eral - 08
propria lpg ide > slats coll sins
disache lin an As arin 15 modeled. 28 dransactios ever. the.
ee and oe lee fm one 20nvicet> anobler! This 18
analy wl well gutled sles auch a W GiPSS 48,
ee flesal thaw etm: such ag Srna ad,
SEMSCRIPT bul af 43 eatcer. rh vad. ound yipal pepulan.
GPSS was d meds especial analyers whe were.
nod mecessantly corp sb pepe i oe nt
eutled, for vol de Mott, 0” bid queuing syplene. A Gf:
roqrammen, ches vol orile 2 progeay aM gome sense. SINT
ee does, msfead he rola a block, regrone =
“hick a sc hain of ‘Salesciy
nee) blo en
a special atmulation. orente are chs 1 lan
GtPCS pypvtd eb of 48 diffornd blocks do cho
ir ln AS
Gro eadh of wlth can be veel spend ach blela et 2
Nowe and specific task Lo perform, Moving
o Kk ane “onli calhd. Lane. nde
watching! ele. wot tn aa
tasherren: messenger,A dransachion us a Guess object with a munthers op
ablmbubes, A dransackio 19 Like a custorner entering tf the
process for Service, A draneachion. may AS
Several, gndividual endpbies, 0 Rach dransacdion At be genenaded
ether one ata time or im. batches. Once ean. dy lle
system mus be. condarned exactly wn One, adien bhoeles
Hacer a ckevney cotam. ‘maa transactions, |
@.GrPSS_Blocks:
DGrenerode Block Block: This holocle will reduce a flow ef transactions
wilh. mnli-owive) tives dleine by fhe babi vou,
‘the Jabel ss epdional The Aislrtlution of snler—amnival fimeg
fellas a, unttorn prooalality dtshvbution,
Att GENERATE Aj®COE ' 7
whane As avensge. value of unl wm diellerbution
B= half-vidlh of reek dishtbulin
C= dime. delay before eeb dransaction 23, inewaled,
De maximve number of Kansachions erated.
ei Prion allocabed. to transaction.
chi PAT eee ete Example ,
Sppelel: ce: 4 Cae GENERATE 4836.
QUEVE Bloke this, lock wll inefrucd: 6758, foslanl gather
Dusk - on. the. nae ner te al vale,
This MH4eb ‘onal bud he necess' ave to refer
Tsar hse Yor sole oe Bap
Sypdoce QUEUE A
vohene, AZ name of quent
Sybil Range,
Symbel QUEVE Barber,
QvEVESDEPART Blk This black anebrucd GPSS thab a. dransaction 48
“I the queue ol andts albbrrbute vabue,Thaes 48 rewessay
in oll do compte the sfabsbies ot queverthe label ag ophieral
Sprlen: DEPART A
hore, As name of the, queue:
ra
DEPART Barber.
DEPART
AY SEIZE Bloch: This Mi aillnos i teenies selze = fall
ah tg free. The tobe) 35 optional, Tb may be a ar. "Seton
al such eB & pebnell IP od vat ines wn superbe
“Seizing Va, fact such, a8 checkout aasisdand, Who the car on
custolen 43 beng csoweed. bay foctltly +b 20. -satd, So town He deshhe
Syvlax, SEIZE "A
here
Set dA ST ate te
SXRELEASE Blocks RELEASE Blok: A drancocdion os ae bode -rnformn
GPS Phat oh Bre. ovon the, fact
sn the abide dduial Jd iy gad “em
Fe easter hee a fly
Sypeer: Ye
RELEASE Bao. -
REMEASE
O Ender Bloces Thig block, anshucls Gess thal 2. dangach
hes endored chest. The. name of storage ds given by “the
Sivsh ablsabule valle. the. second. atbsibe value. grves the.zl
coed of storage snevemented » when the transacdion
of priram block, A sheroge, voust: be. dealaned cb hegre
Syndoxs ENTER AsB
where Az name of sh
R= ncvement ie fy Has value,
Examples
ENTER warehouse 25 Z
ENTER
Ss
DLRAVE Blocks thes block, anchrucls GPSS Be dias
deaving ax borage. The direl abbabule nme
Nr oe IT Ie ede theology the
value of the abbthude.
Syprdacet LRAVE AB
= name hee
re rere otf oie ly Hs valve
: A Rocample.,
LRAVE warechovse 220
LEAVE
SADVANCE Blocks This bibek representa the senvetng of a,
ransacdion, The senviing de! ths a untform by
dtebtbudion. The tabel “rs optimal.
nyo A,B
= oe value & untform dacbabuckon.
Be half-wedbh A untform dasdathetion.
Syponbd H
A,B
ADVANCE
DTERMINATE Block: This block. ces heous tansachion. enteri
At avd, removes tb from computer ne Lime. a ich
i Sook yee
i athe et a alge apn lySyprdaces TERMINATE A
who, Az denements etmubebon. counter y Has, arnoiund,
Symbol, le
As
TERMINATE
A> TEST Blake This bloke ear. heel) Le dogeal condition a2
queue. or S& area alcove ing doa cular. soefrence -
Tha dransacdion ends He, block. ad wtll deck. His omdition
and af +f 4g dese, adh vill send He dansacdion to one.
destincbion. He program and. of Lhe endibion 48 fake, af
will send 2 another’
Synbore: TEST AyQC
where A= value and none of block, bes Eoonceal.
Be nae, ae oo
C= destination aCHove ce tic
si penal a ccd eeal condbon
48 nod
Sel pes
AD>TRANSFER. Bhck: This bbe will Juke ansacling ondeahg at
and Aran then +o 0 imac
Boog fled Lo teaies ents
S nlax.; TRANSFER A)8,c
shoe, Az probabil valve (0 $04)
B= proportion (4-A) deansaclions transferred 40 dis
Aabelkd Locebron
C= Prenton A Araneactions deansfoned, fo Hus dabbledCoen Ss as a
&,. Crecte a GPSS model and. pogrom A srmulle a berber!
«shop for a. day (Samm to 4 prt) what a, customer enlas
othe chop 1042 winubes vd a barber. tales 43+ 2
fora. Tobe
Satichions
“Tr Teapeie model do ermulade a henber sh
GiENERATE 40,2.
Qveve not |
sere (ete
DEPART ee Ga)
ADVANCE 13,2
SARBER,
RELEASE
TERMINATE
Program.
GENERATE 10,2
QVEVE — SEAT
SEIZE BARRER
DEPART SEAT
ADVANCE 15,3 “
RELEASE BARBER,
TERMINATE 4(ably
QWs a CSS called Lransaction foo oriented Janouane?
A ole doo), ma mamtifachwin shop 43 tunin: ig il pls
Bh Beale of cep 5 wanes. W ay ae vive ad,
pals ane suntan nspeclor, sho 43 mules
dy exranime each. on rejecds 45% of the. pente, “Dywo
avd | explamn & bode
wile a ees
laden wg he cll of fa iy cane
Solu.
GPss 48 shill ctruchuned. and eclal og. simulation
leased. om ont. clint voto eurte
ese spelens. the opel Loo small
desentloed’ hbo nee weiss blocks.
Each lobo sy)
othe, chiens, had
ee Lhe iin lao, et CuPSS #8 called rancckn
lao oriented
‘The. bled hogade - grew problem vang GPSS 38 as fellnac:
Generate (8,0
auee [Tier
bane ae CML
DEPART i
Asvance [453
RELEASEBb
slanecbion: A GENERATE hbcle. 38 used, ae vepresenh Be wofpuel
ST ee creabing one. dransaclin evey five uss of
tyme. A QUELE block. places othe drancachon + the queue ard
SEIZE block aloes a transaction to engage 2a y of thas
available. TF more than one anspector ye avalable the
Aansaclon Jeaves the quewe whtdr 43 denoled. by DEPART block
and. enlrs alo ADVANCE bhck. An ADVANCE blocke wath a.
Ynean. of 4 and modifier f S 4% used. dp 2zepresend snepechon,
the dime spend on anspection. will Bhenefnre! be ang one of the
Values 452534 ,556,0r, with equal protabrhsy given to eath
value. Upon. compledion of Bre 4nspection, RELEASE balock allus.a
transacdion. 4p disen, the Sacrhby and transaction gob a
TRANSFER. lolock, wrth, ‘a--seledlon fredor of 0.45, 50 that 854
$ He pods go de the nent locaine cabled ACC, bo represent
accepled. parts ard 15% xe to another, meek brcaton called
RET de nopresent netects, Roth docationa wreached. fave the.
Teansree’ block a? TERMINATE blocks,
roa OW
GiRNERATE 5,0
Queve 4
serze 4
DEPART 4
ASVANCE 43
REIEASE 4.
TRANSFER 0.45 ACC RET
ACC TERMINATE 4
REY TERMINATE 4.Draus and, desenthe the differant of Gaps bheks
a thab wa used. bo gathor abadesdh ie
Katies 2
Anst- Describe: GENERATE. block, QUEVE bloc. DEPART block,
SEIZE block, RELEASE blk , ADVANCE block and TERMINATE
hock Jn shook Hee we. studied eanlion sn GuPsS Bhcks.
QPVraw aud ens drfhoend Aypes of GPSS bbbche used to
ek wh eves?
‘Ans: Descathe: GiewBRATE block, QUEDE block DEPART beck,
ADVANCE block and, TERMINATE block mm ° shard: Hhad we-
studied eanbier un GPSS blebsv
If my notes really helped
you,then you can support
me on esewa for my
hardwork.
Esewa ID: 9806470952