Mathematical Problems in Engineering / 2015 / Article / Alg 1

Research Article

An Occupancy Based Cyber-Physical System Design for Intelligent Building Automation

Algorithm 1

(1) if   is  positive  then
(2)  switch    do
(3)   case  
(4)      is  ; zone status: P; sample rate: 3 min.
(5)   case  
(6)    if    then
(7)      is  ; zone status: N; sample rate: 5 min.
(8)    end if
(9)   case  
(10)  if    then
(11)       is  ; zone status: M; sample rate: 10 min.
(12)   end if
(13)   case  
(14)   if    then
(15)       is  ; Zone status: V; sample rate: 15 min.
(16)   end if
(17) else    is negative
(18)  switch  O  do
(19)   case  
(20)   if    then
(21)       is  ; zone status: P; sample rate: 3 min.
(22)   end if
(23)   case  
(24)   if    then
(25)       is  ; zone status: N; sample rate: 5 min.
(26)   end if
(27)   case  
(28)   if    then
(29)       is  ; zone status: M; sample rate: 10 min.
(30)   end if
(31)   case  
(32)   if    then
(33)       is  ; one status: V; sample rate: 15 min.
(34)   end if
(35) end if