Similar with the first scenario, for B
i-1
 we estimate 
the next event: 
⎪
⎪
⎭
⎪
⎪
⎬
⎫
⎪
⎪
⎩
⎪
⎪
⎨
⎧
μ
−
μ
μ
−−
+=
−+
+
−
1i1i
1i
i21i,1
 1-i
11
1
TT
Int   1 N
 
(34)
Equations (29) and (33) allow us to avoid the 
above mentioned scenarios of deadlocks by fairly 
dimensioning the buffers, and taking into 
consideration flow rate of bits until next event: T
21
 = 
p
02
 in relation (29) and, respectively, T
1,i-1
 = p
02
 in 
relation (33); where p
02
 is given by relation (23) 
(Ciufudean, 2008), (Ciufudean, 2007). 
As we proved in this paper the failure/blocking of 
servers can be avoided, if the buffer size is bigger than 
the critical size (e.g. the size determined with 
equations (30), (33), (34). The necessary and 
sufficient condition is to have an average time to 
repair a server smaller than the average time to fill the 
memory of server. 
4 CONCLUSIONS 
A model for IoT diagnosis of a FMS diagnosis has 
been proposed in this paper. The model may be 
obtained with our discrete-event approach or using 
heuristic models.  
A discrete-event system formulation and FMS 
controlled by IoT connected by processing cells and 
fast determines an accurate diagnosis at an increased 
speed and costless. We observe that if the 
deadlock/repair time is known and the duration of 
diagnosis estimation is less than it, then transient 
analysis is more appropriate than the steady state 
analysis. 
Further development of this approach should 
focus on intelligent flexible manufacturing systems 
modeled with Markov chains which have self-
recovery algorithms from deadlock situations. 
REFERENCES 
Viswandham, N., Narahari, J., 1992. Performance 
Modeling of Automated Manufacturing System
, 
Englewood Cliffs, NJ: Prentice Hall. 
Kemeny, J., Snell, W., 1960. 
Finite Markov Chains, Van 
Nostrand.   
Buzacott, J., A., Shantikumar, J., G., 1993. 
Stochastic 
Models of Manufacturing System
, Englewood Cliffs, 
NJ: Prentice Hall. 
Narahari, J., Viswandham, N., 1994. Transient Analysis of 
Manufacturing System Performance, 
IEEE Trans on 
Rob and Autom., vol. 10
, no. 2. 
Ciufudean, C., Satco, B., 2008. Algebraic formalism for 
modelling the deadlock in flexible manufacturing 
systems, 
Jurnal of Applied Mathematics, vol.1, no.3, 
pp. 157-165. 
Viswandham, N., Ram, R., 1994. Composite performance-
dependability analysis of cellular manufacturing 
systems, 
IEEE on Rob and Autom., vol. 10, no. 2. 
Dallery, J., Gershwin, S., B., 1992. Manufacturing flow line 
systems: A review of models and analytical results, 
Technical Report 91-002, 
Laboratory for 
Manufacturing and Productivity, MIT
. 
Martinelli, F., Shu, C., Perkins, J.R. 2001. On the 
Optimality of Myopic Productions Controls for Single-
Server Continuous-Flow Manufacturing Systems, 
IEEE Trans. Autom. Contr., vol.46, no.8, pp.1269-
1273, 200. 
Di Benedetto, M., D., Vintecentelli, A., S., Villa, T., 2001. 
Model Matching for Finite State Machines, 
IEEE 
Trans. Autom. Contr., vol.46
, no.11,      pp.1726-1743. 
Harrell, C., 2014, The Internet of Things and Control 
System Architecture, http://blog.aac.advantech.com/th 
e-internet-of-things-and-control-system-architecture. 
Dolin, R., 2015, Building an IoT for industrial control: Part 
1 – What is Industrial IoT? ,http://www.embedded.com 
/design/real-world-applications/4426952/Building an 
IoT for industrial control. Part 1 What is Industrial IoT? 
Storey, H., Bullotta, R., Drolet, D. 2014, The industrial 
internet of things ,http://www.controleng.com/industry 
-news/single-article/the-industrial-internet-of-things/c9 
8837a0efec387df9fc14c2de0a3b2f.ht,. 
Vermesan, O., Friess, P., (Eds.), 2014. Internet of Things – 
From Research and Innovation to Market Deployment, 
River Publishers, Aalborg, Denmark. 
Ciufudean, C., Filote, C., 2009. Safety discrete event 
models for Holonic cyclic manufacturing systems in 
Holonic and Multi-Agent Systems for Manufacturing, 
pp. 225-233, 
Springer Berlin Heidelberg. 
Ciufudean, C., Filote, C., Amarandei, D., 2007. Measuring 
the Performance of Distributed Systems with Discrete 
Event Formalisms, 
Proc. of The 2nd Seminar for 
Advanced Industrial Control Applications
, SAICA, 
Madrid, Spain. 
Ciufudean, C., Graur, A., Filote, C., Turcu, C., Popa, V., 
2006. Diagnosis of complex systems using ant colony 
decision petri nets, Availability, Reliability and 
Security. 
ARES 2006. The First International 
Conference on, Vienna, Austria. 
Ciufudean, C., Satco, B., Filote, C., 2007. Reliability 
Markov chains for security data transmitter analysis, 
Availability, Reliability and Security. 
ARES 2007. The 
Second International Conference on, pp. 886-894.