Wireless Sensor Actor Network Simulation for a Fire Extinguishing System

Wireless Sensor Actor Network Simulation for a Fire Extinguishing System

Available online at www.sciencedirect.com Procedia Computer Science 5 (2011) 874–880 )LUVW,QWHUQDWLRQDO:RUNVKRSRQ:LUHOHVV1HWZRUNHG&RQWURO6\VW...

1MB Sizes 5 Downloads 130 Views

Available online at www.sciencedirect.com

Procedia Computer Science 5 (2011) 874–880

)LUVW,QWHUQDWLRQDO:RUNVKRSRQ:LUHOHVV1HWZRUNHG&RQWURO6\VWHPV

:LUHOHVV6HQVRU$FWRU1HWZRUN6LPXODWLRQIRUD)LUH ([WLQJXLVKLQJ6\VWHP -RKQ.KDOLOD5DPLUR/LVFDQRE )DFXOW\RI(QJLQHHULQJDQG$SSOLHG6FLHQFH 8QLYHUVLW\RI2QWDULR,QVWLWXWHRI7HFKQRORJ\DE 

$EVWUDFW 2QHRIWKH:LUHOHVV6HQVRU$FWRU1HWZRUNDSSOLFDWLRQVLVWRPRQLWRUWKHWHPSHUDWXUHLQDVSHFLILFDUHDDQGUHDFWLQ UHVSRQVHWRWKHVHQVHGGDWDLQFDVHDILUHLVGHWHFWHG7KHWLPHGHOD\EHWZHHQWKHLQVWDQFHRIWKHILUHGHWHFWLRQDQG UHDFWLRQWDNHQE\WKHQHWZRUNWRGDPSHQWKHILUHSOD\VDFUXFLDOUROHWRFRQWUROWKHVL]HRIWKHILUH,QWKLVSDSHUZH VLPXODWHWKHEHKDYLRXURIWKHILUHLQDVSHFLILFDUHDE\XVLQJWKH3WROHP\VLPXODWLRQHQYLURQPHQW$GGLWLRQDOO\WKH PRGHO VLPXODWHV WKH WRWDOGHOD\ WLPH WDNHQ E\ D ZLUHOHVV VHQVRU DFWRU QHWZRUN WR UHDFW WR WKH VHQVLQJ RI D ILUH DQG FRPPHQFH WKH SURFHVV WR GDPSHQ WKH ILUH 7KH ZLUHOHVV VHQVRU DFWRU QHWZRUN FRQVLVWV RI  EDVH VWDWLRQ  ILUH H[WLQJXLVKLQJDFWXDWRUVDQGVHQVRUVDVVRFLDWHGZLWKHDFKILUHH[WLQJXLVKLQJDFWXDWRU  .H\ZRUG:LUHOHVV6HQVRU$FWRU1HWZRUNV3WROHP\ILUHH[WLQJXLVKLQJV\VWHPVGHOD\LQ:6$1V

,QWURGXFWLRQ 5HFHQWO\ :LUHOHVV 6HQVRU 1HWZRUNV :61V  KDYH EHHQ XVHIXO IRU PDQ\ DSSOLFDWLRQV VXFK DV HQYLURQPHQWDO PRQLWRULQJ HYHQW GHWHFWLRQ PHDVXULQJ WHQVLRQV PLOLWDU\ VXUYHLOODQFH DQG SUHFLVLRQ DJULFXOWXUH 7KH ZLUHOHVV VHQVRUV DUH WLQ\ DQG ORZSRZHU XQLWV7KHVH XQLWVFDQEHUHIHUUHGWRDV PRWHV DQG GHSOR\HG LQ KXQGUHGV RU WKRXVDQGV RI XQLWV LQ WKH WDUJHWHG DUHD 7KH GHSOR\HG PRWHV JDWKHU GDWD DERXWWKHHQYLURQPHQW¶VSK\VLFDOSKHQRPHQDDQGSDVVWKHJDWKHUHGLQIRUPDWLRQWRWKHEDVHVWDWLRQZKLFK UHFHLYHVWKHGDWDDQGVWRUHVWKHPLQDFHQWUDOGDWDEDVH>@ :LUHOHVV 6HQVRU $FWRU 1HWZRUNV :6$1V  DV RSSRVHG WR :61V DUH QRW RQO\ DEOH WR VHQVH WKH HQYLURQPHQW SKHQRPHQD EXW DOVR DFWRUV DUH DEOH WR UHDFW WRZDUGV WKH VHQVHG GDWD )RU H[DPSOH WKH ZLUHOHVVVHQVRUVGHWHFWWKHLQFUHDVHLQWHPSHUDWXUHGXHWRD ILUHLQDVHQVHGDUHDDQG DFFRUGLQJWR WKH VHQVHG GDWD WKH DFWRUV VWDUW WR UHDFW LQ RUGHU WR GDPSHQ WKH ILUH $FWRUV DUH ULFK UHVRXUFH QRGHV LQ WKH  D E

-RKQNKDOLO#XRLWFD 5DPLUR/LVFDQR#XRLWFD

1877–0509 © 2011 Published by Elsevier Ltd. Selection and/or peer-review under responsibility of Prof. Elhadi Shakshuki and Prof. Muhammad Younas. doi:10.1016/j.procs.2011.07.121

John Khalil and Ramiro Liscano / Procedia Computer Science 5 (2011) 874–880

WHUPVRISRZHUDQGORQJHUEDWWHU\OLIHZLWKEHWWHUSURFHVVLQJFDSDELOLWLHVDQGKLJKHUSRZHUWUDQVPLVVLRQ FRPSDUHGWRVHQVRUV6HQVRUVDUHGHSOR\HGLQWKHILHOGLQKXQGUHGVRUWKRXVDQGVRIXQLWVKRZHYHULWLV QRWQHFHVVDU\WRGHSOR\WKHVDPHDPRXQWRIDFWRUV>@ 6RPH:6$1VKDYHDKLHUDUFKLFDOVWUXFWXUHZKHUHHDFKJURXSRIVHQVRUVFUHDWHVDFOXVWHUHDFKFOXVWHU LV FRQWUROOHG E\ RQH DFWRU DQG DOO DFWRUV DUH FRQWUROOHG E\ D EDVH VWDWLRQ 7KHUH DUH WZR W\SHV RI FRRUGLQDWLRQ PRGHOV LQ WKH QHWZRUN VHQVRUDFWRU FRRUGLQDWLRQ DQG DFWRUDFWRU FRRUGLQDWLRQ ,Q VHQVRU DFWRU FRRUGLQDWLRQ WKH VHQVRUV VHQVH WKH WHPSHUDWXUH DQG WUDQVPLW WKH GDWD WR WKH DFWRUV ,Q DFWRUDFWRU FRRUGLQDWLRQ WKH DFWRUV FRRUGLQDWH ZLWK HDFK RWKHU WR GHWHUPLQH WKH ORFDWLRQ DQG VL]H RI WKH DQRPDO\ GHWHFWHG IRU H[DPSOH WKH VRXUFH RI D ILUH %DVHG RQ WKLV LQIRUPDWLRQ WKH QXPEHU RI DFWRUV QHHGHG WR FRQWURO WKH ILUH ZLOO EH GHWHUPLQHG DXWRPDWLFDOO\ ,Q DGGLWLRQ DFWRUV FDQ IRUP ZKDW LV FDOOHG D VXSHU FOXVWHU7KLVVXSHUFOXVWHUFDQEHFRQWUROOHGE\RQHRIWKHDFWRUVZKLFKLVFRQQHFWHGWRWKHEDVHVWDWLRQ 7KHEDVHVWDWLRQWDNHVW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UWWKHUHDFWLRQDJDLQVWWKHILUH 5HODWHG:RUN $VDSDUWRIWKHVLPXODWLRQRI:6$1VDPRGHOLVQHHGHGWRH[SUHVVWKHILUHEHKDYLRXULQVLGHRQHRI WKHURRPV7KHFKDOOHQJHLQPRGHOLQJWKHILUHLVWRFDOFXODWHWKHILUHVSUHDGUDWHIODPHIURQWSRVLWLRQDQG WKHWHPSHUDWXUHGLVWULEXWLRQ %DVHG RQ :HEHU¶V FODVVLILFDWLRQ >@ WKHUH DUH WKUHH NLQGV RI PDWKHPDWLFDO PRGHOV IRU ILUH SURSDJDWLRQV6WDWLVWLFDOPRGHOVZKLFKGRQRWFRQVLGHUWKHSK\VLFDOLQIRUPDWLRQVHPLHPSLULFDOPRGHOV ZKLFKLVEDVHGRQWKHHQHUJ\FRQVHUYDWLRQEXWGRHVQRWGLVWLQJXLVKEHWZHHQWKHGLIIHUHQWPHFKDQLVPVRI KHDWWUDQVIHUDQGSK\VLFDOPRGHOVZKLFKGHVFULEHWKHYDULRXVPHFKDQLVPVRIKHDWWUDQVIHUDQGWDNHWKH

875

876

John Khalil and Ramiro Liscano / Procedia Computer Science 5 (2011) 874–880

ILQHVW PHFKDQLVPV 7KH PRGHO XVHG LQ WKLV VWXG\ LV WKH VHPLHPSLULFDO PRGHO 7ZR FRPSRQHQWV DUH LQWHJUDWHGLQWKH PRGHOWKHSK\VLFDOGLPHQVLRQVDQGWKHFRQVLGHUDWLRQRIWKH ZLQGDQGVORSHHIIHFWVDV VKRZQLQHTXDWLRQ>@7KHILQLWHHOHPHQWPHWKRGLVXVHGWRVROYHHTXDWLRQ7KHDPELHQWWHPSHUDWXUH LVDVVXPHGWREH.7KHWLPHVWHSLVHTXDOWRVHF7KHFRHIILFLHQWVDEFDQGGGHSHQGRQWKH WLPHVWHSDQGWKHPHVKVL]H N ˜ı 7N D ቀ7NLM 7NLM ቁ E ቀ7NLM 7NLM ቁ F4 Yൗ˜W G7NLM >@   LM LM ௞ାଵ ௞  LV WKH WH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)LJEWKHQDIWHUDGHOD\WLPHWKHGDWDLVVHQWWRWKHDFWRUVWKURXJKDZLUHOHVVFKDQQHO>@ $FWRU0RGHO )LJFVKRZVWKHDFWRUPRGHOLQ3WROHP\7KHYDOXHVFROOHFWHGIURPWKHVHQVRUVDUHVHQWWRWKHFOXVWHU VHQVRUVZKLFKDUHWKHDFWRUV7KHDFWRUVWKHQFRPELQHWKHWHPSHUDWXUHYDOXHZLWKWKHDFWRU,'WKURXJK WKHXVHRID3WROHP\IXQFWLRQFDOOHG³FRQFDWHQDWH´  7KLVFRPELQDWLRQKHOSVWKHEDVHVWDWLRQNQRZZKHUHWKHILUHLVORFDWHGDQGZKLFKDFWRUFDQEHXVHGWR FRQWUROWKHILUH$QHYHQWLVDOVRSRVWHGE\WKHEDVHVWDWLRQWRWKHDFWRUWRFRQWUROWKHILUHWKURXJKSRUW &RQYHUVDWLRQLVGRQHWKURXJKWKHZLUHOHVVFKDQQHOWRDZLUHGFRQQHFWLRQ,QUHDOOLIHWKHDFWLRQWDNHQLVWR VZLWFK RQ WKH ZDWHU MHW ZKLOH LQ WKH PRGHO D GDPSHQLQJ WHUP LV FRQVLGHUHG LQ WKH FDOFXODWLRQ WKDW LV

877

878

John Khalil and Ramiro Liscano / Procedia Computer Science 5 (2011) 874–880

WULJJHUHGE\UHFHLYLQJDYDOXHRIIURPWKHEDVHVWDWLRQ7KHGHOD\FRPSRQHQWLQVLGHHDFKPRWHLVHTXDO WRVHFRQG>@ 







)LJ D 5RRP7HPSHUDWXUH0RGHO E 0RWH0RGHO F $FWRU0RGHO

)LUH0RGHO )LJ VKRZV WKH 3WROHP\ PRGHO GHILQHG IRU WKH ILUH WKDW LQFOXGHV WKH ILUH GDPSHQLQJ IDFWRU 7HPSHUDWXUHYDOXHVDUHVHQWWRWKHVHQVRUVWKURXJKWKHSRUWVWR7KHWHPSHUDWXUHJUDGLHQWVWHSVDUH FDOFXODWHG WKURXJK D IHHGEDFN ORRS ZLWK DQ LQLWLDO Y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V UHFHLYHG LQ WKH EDVH VWDWLRQ 7KH YDOXHV DUH UHFHLYHG IURP DOO DFWRUV WKURXJKSRUW7KHEDVHVWDWLRQGHWHFWVWKHEHVWDFWRUWRFRQWUROWKHILUHE\XVLQJWKHIXQFWLRQ,)7KH,) IXQFWLRQ H[DPLQHV WKH UHFHLYHG GDWD LQ WHUPV RI ZKLFK YDOXH EHORQJV WR ZKLFK PRWH )LJE VKRZV WKH PRGHO XVHG WR VLPXODWH WKH EDVH VWDWLRQ 7KH EDVH VWDWLRQ GHWHFWV WKH UHFHLYHG WHPSHUDWXUH IURP WKH GLIIHUHQWDFWRUV,QWKHFDVHWKDWWKHWHPSHUDWXUHLVPRUH.ZKLFKLVWKHLJQLWLRQSRLQWIRUWKHILUHWKH EDVH VWDWLRQ VHQGV D YDOXH RI  WR WKH DFWRU 9DOXH  PHDQV WR VWDUW UHDFWLQJ DJDLQVW WKH ILUH7KH GHOD\ FRPSRQHQW LQVLGH WKH EDVH VWDWLRQ LV  7KH GHOD\ UHSUHVHQWV WKH WLPH WDNHQ LQVLGH WKH EDVH VWDWLRQ WR VHQGWKHGDWDWKURXJKWKHZLUHOHVVSRUW 5HVXOWVDQG'LVFXVVLRQ )LJDVKRZVWKHUHDFWLRQWDNHQIURPWKHEDVHVWDWLRQIRUWKHSODFHVZLWKRXWILUH$VWKLVILJXUHVKRZV WKHYDOXHVDUHUHFHLYHGE\WKHEDVHVWDWLRQDUH]HURDWDOOWLPHVEHFDXVHWKHWHPSHUDWXUHLVEHWZHHQ DQG  . EOXH OLQH LQ )LJ D )LJ E VKRZV WKH UHODWLRQVKLS EHWZHHQ WKH WLPH [D[LV  DQG WKH

879

John Khalil and Ramiro Liscano / Procedia Computer Science 5 (2011) 874–880

WHPSHUDWXUH \D[LV  7KH ILJXUH KDV WZR FXUYHV WKH UHG RQH LOOXVWUDWHV WKH ILUH EHKDYLRU ZLWKRXW GDPSHQLQJDQGWKHEOXHFXUYHLOOXVWUDWHVWKHILUHEHKDYLRUZKLOHWKHQHWZRUNUHDFWVLQUHVSRQVHWRWKHILUH $VLWVKRZQLQWKHJUDSKWKHQHWZRUNUHDFWLRQVWDUWVWRWDNHSODFHZKHQWKHILUHWHPSHUDWXUHUHDFKHV .HOYLQ WKH LJQLWLRQ SRLQW  7KH WLPH GLIIHUHQFH EHWZHHQ WKH  SRLQWV LQ ERWK FXUYHV LV  VHFRQGV ZKLFKVWDQGVIRUWKHUHDFWLRQRIGHOD\WLPH7KHEDVHVWDWLRQDFWLRQLV]HURGXULQJWKHKHDWLQJWLPHXQWLO WKHWHPSHUDWXUHUHDFKHV.HOYLQ7KHGHOD\WLPHLVJHQHUDWHGIURPWZRIDFWRUVWKHGHOD\WLPHLQVLGH HDFK PRWH DQG GHOD\ WLPH LQ WKH EDVH VWDWLRQ 7KHUH LV WUDIILF LQVLGH WKH EDVH VWDWLRQ EHFDXVH DOO WKH SDFNHWVDUHUHFHLYHGLQWKHEDVHVWDWLRQ7KLVFDXVHGDGHOD\HGLQGHWHFWLQJWKHILUH 6XPPDU\ 7KHVLPXODWLRQUHVXOWVDUHGRQHIRUDFWRUVDQGHDFKRIWKHPOHDGVPRWHV2QHEDVHVWDWLRQUHFHLYHV WKHYDOXHVIURPDOODFWRUVDQGVWDUWVWRSRVWDFFRUGLQJWRWKHFROOHFWHGGDWD7KHUHVXOWVVKRZWKDWWKHWRWDO WLPHGHOD\IURPWKHVWDUWLQJSRLQWRIWKHILUHWRUHDFWLRQLVVHFRQGVDQGWKHILUHWDNHVVHFRQGVWREH FRPSOHWHO\GDPSHQHG7KHVLPXODWLRQLVGRQHLQ3WROHP\SURJUDPXVLQJWZRWLPHGRPDLQV'(GRPDLQ DQGWKH:LUHOHVVGRPDLQ 

 )LJ)LUH0RGHO



 )LJ D 'DWDUHFHLYHG E %DVH6WDWLRQ0RGHO



880

John Khalil and Ramiro Liscano / Procedia Computer Science 5 (2011) 874–880







)LJ D %DVH6WDWLRQ5HDFWLRQ E %DVH6WDWLRQ5DF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