Documente Academic
Documente Profesional
Documente Cultură
AUTOR:
CUPRINS:
GRUPA:
Modelul boolean
Pentru a exemplifica modelul boolean att analitic ct i cu ajutorul programului
Fiabilitate vom lucra pe urmtoarea problem.
S se calculeze fiabilitatea cu care se poate asigura legtura ntre nodurile A i C
din figura de mai jos tiind c nodurile sunt ideale i liniile nereparabile i toate
liniile au aceeai probabilitate de funcionare pi=0.9.
( E1 E2 E3 E1 E2 E4 E1 E3 E4 E2 E3 E4 ) E1 E2 E3 E4
2 p3 2 p 2 p5 p 4 p 4 p 4 p 4 p 4 p5 p5 p5 p5 p5
2 p3 2 p 2 5 p 4 2 p5 ( p)
'( p ) 6 p 2 4 p 20 p 3 10 p 4
Verificm condiiile:
(0) 0
( p ) monoton cresctoare
(1) 1
'(0) 0
'(1) 0
PASUL 2
- vom introduce datele de la tastatur
PASUL 3
- n continuare vom alege numrul de noduri al urmtorului sistem si vom
completa drumurile dintre ele
PASUL 4
- n continuare ne va fi afiat matricea legturilor ntre noduri
PASUL 5
- la urmtorul ENTER va fi afiat un grafic care corespunde datelor introduse
de noi
PASUL 6
- avem urmtorul meniu, din care pentru a finaliza problema vom alege Rulare
normal
PASUL 7
- ca urmare a acestei opiuni vom avea urmtoarele rezultate
PASUL 8
( E1 E2 E3 E1 E2 E4 E1 E3 E4 E2 E3 E4 ) E1 E2 E3 E4
2q 3 2q 2 q 5 q 4 q 4 q 4 q 4 q 4 q 5 q 5 q 5 q 5 q 5
2 q 3 2 q 2 5q 4 2 q 5 ( q )
(1 q ) 1 (q ) ( p ) 1 (1 p ) ( p ) 2 p 3 2 p 2 5 p 4 2 p 5
Funciile sunt identice deoarece sistemul din figur este
simetric.
'( p ) 6 p 2 4 p 20 p 3 10 p 4
Verificm condiiile:
(0) 0
( p ) monoton cresctoare
(1) 1
'(0) 0
'(1) 0
Pentru determinarea lui p * ne rezult:
( p) p 2 p3 2 p 2 5 p 4 2 p5 p
p=0;
p=1;
2 p 3 3 p 2 p 1 0 de aici rezultnd c rdcina real a ultimei
ecuaii este valoarea lui p * , probabilitatea sistemului pentru care
fiabilitatea sistemului este mai mare dect cea a componentelor.
PAS 2
- pentru a tii pe ce date lucrm ni se va afia matricea legturii ntre noduri
PAS 3
Fiierul $$TM
8
Modelul dinamic
Vom exemplifica acest model folosind metoda proceselor Markov. Aceast
metod urmrete evoluia n timp a strii curente. Aceast metod are avantajul
c reduce calculul fiabilitii sistemului la probleme matematice bine puse la
punct. Ea se aplic att sistemelor nereparabile ct i sistemelor reparabile
atunci cnd defectarea i restabilirea urmeaz legi exponeniale de repartiie.
Metoda este legat de un mare volum de calcule i acestea cresc exponenial cu
numrul de stri ale sistemului.
Vom ilustra aceast metod folosind exemplul anterior.
Analitic:
Starea
S ta r ea 1
A
0
S ta r ea 2
S ta r ea 3
S ta r ea 4
S ta r ea 5
S ta r ea 6
S ta r ea 7
S ta r ea 8
S ta r ea 9
S ta r ea
10
S ta r ea
11
S ta r ea
12
S ta r ea
13
Sta r e a 1 4
S ta r ea
15
S ta r ea
16
b
0
c
0
d
0
e
0
Marcajul strii
de funcionare
*
*
*
*
*
*
*
*
1
0
0
0
0
1
1
1
1
0
1
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
1
0
0
0
1
10
p 1 5 p 1
'
'
p k p 1 4 p k , k 1, 2 ,3 , 4 ,5
p 7 p 2 p 3 3 p 7
'
p 7 p 2 p 3 3 p 7
'
p 8 p 2 p 4 3 p 8
'
'
p 10 p 2 p 4 3 p 10
'
p 12 p 3 p 5 3 p 12
p 13 p 3 p 4 3 p 13
'
'
p 14 p 4 p 5 3 p 14
'
p 15 p 4 p 6 3 p 15
'
p 16 p 5 p 6 3 p 16
'
p 19 p 7 p 10 p 13 2 p 19
'
p 26 p 14 p 15 p 16 2 p 26
11
p1 (t ) e 5t ;
p k (t ) e 4 t e 5t ; k 2..6;
p k (t ) e 3t 2e 4t e 5t ; k 7,8,10,12,13,14,15,16;
p (t ) 19 p (t ) 26 e 2t 3e 3t 3e 4t e 5t ;
De aici rezult probabilitatea de bun funcionare:
P(t ) 2e 2t 2e 3t 5e 4t 2e 5t ;
Se vede c P(t)=(e-t) de unde rezult:
(t ) 2 p 2 2 p 3 5 p 4 2 p 5 ;
PAS 2
PAS 3
- vom alege opiunea a 3-a pentru a introduce o nou structur
PAS 4
- vom introduce numrul de noduri al sistemului (n cazul nostru 5), iar apoi pe
rnd pentru fiecare stare, dac e stare de funcionare sau nu(32 de stari)
PAS 5
- dup introducerea strilor, vom revenii la meniul principal iar apoi vom alege
opiunea 1 Aplicaii ntr-un sistem fr restabilire. Vom primii urmtoarele
opiuni
PAS 6
- n urma alegerii opiunii 1 vom obine
13
PAS 6
- n urma alegerii opiunii 2 vom obine
14
PAS 7
- n urma alegerii opiunii 3 vom obine
Modelul temporal
15
p
i
0
,
daca
x
i i 1, 5
xi
1, daca xi
Atunci :
X= x1x3+x2x4+x1x4x5+x2x3x5
Folosim urmtoarele nota ii:
P=P{ x=1 };
pi=P{ xi=1 }=p i=1,...,5;
xa=numr ntreg cerut de subrutina
numerelor aleatoare.
de
generare
16
p
(10) Se afieaz
M
, pp
N
funciei
de
notaiile:
T=T def
T i = durata de funcionare a canalului i;
p(t)= P(T t);
p (t )
M (t )
, M (t ) card I T ( I ) t
N
Se calculeaza P (t ) t T ( I ) , i 1, N cu relatia :
PT I
M T I
N
17
1 N
T I
N i 1
(10) Afieaz
T , Pt
rezultate:
T1(1)
T2(1)
T3(1)
T4(1)
T5(1)
=
=
=
=
=
2 32.749464
651.162497
365.560310
2482.194185
306.214716
PASUL
U1
U2
U3
U4
U5
x = 1
2
=
=
=
=
=
T[2]
0.184759
x[1]
0.502060
x[2]
0.414533
x[3]
0.024964
x[4]
0.827387
x[5]
= 689.035646
=
=
=
=
=
1
1
1
0
1
T1(2)
T2(2)
T3(2)
T4(2)
T5(2)
=
=
=
=
=
1688.702701
689.035646
880 .602901
3690.314854
189.482362
PASUL
U1
U2
U3
U4
U5
x = 1
3
=
=
=
=
=
T[3]
0.987213
x[1]
0.901852
x[2]
0.190100
x[3]
0.085574
x[4]
0.047426
x[5]
= 1660.206105
=
=
=
=
=
1
1
1
0
0
T1(3)
T2(3)
T3(3)
T4(3)
T5(3)
=
=
=
=
=
12.869716
103.304327
1660.206105
2458.374942
3048 .589659
PASUL 4
U1
=
U2
=
U3
=
U4
=
U5
=
x = 1
T[4]
0.929258
x[1]
0.344584
x[2]
0.328043
x[3]
0.954375
x[4]
0.049898
x[5]
= 1065.415963
=
=
=
=
=
1
1
1
1
0
T1(4)
T2(4)
T3(4)
T4(4)
T5(4)
=
=
=
=
=
73.368758
1065.415963
1114.609184
46.698783
2997.779107
18
PASUL 5
U1
=
U2
=
U3
=
U4
=
U5
=
x = 1
T[5]
0.225867
x[1]
0.651479
x[2]
0.990478
x[3]
0.198035
x[4]
0.186254
x[5]
= 428.510697
=
=
=
=
=
1
1
1
1
1
T1(5)
T2(5)
T3(5)
T4(5)
T5(5)
=
=
=
=
=
1487.806785
428.510697
9.567397
1619.313476
1680.641458
PASUL 6
U1
=
U2
=
U3
=
U4
=
U5
=
x = 1
T[6]
0.034608
x[1]
0.612476
x[2]
0.324107
x[3]
0.911771
x[4]
0.306711
x[5]
= 490.245575
=
=
=
=
=
0
1
1
1
1
T1(6)
T2(6)
T3(6)
T4(6)
T5(6)
=
=
=
=
=
3363.670706
490.245575
1126.682896
92.366429
1181.849277
PASUL 7
U1
=
U2
=
U3
=
U4
=
U5
=
x = 1
T[7]
0.171239
x[1]
0.360515
x[2]
0.150700
x[3]
0.086398
x[4]
0.719443
x[5]
= 1020.221291
=
=
=
=
=
1
1
1
0
1
T1(7)
T2(7)
T3(7)
T4(7)
T5(7)
=
=
=
=
=
1764.692955
1020.221291
1892.461520
2448.791905
329.277502
PASUL 8
U1
=
U2
=
U3
=
U4
=
U5
=
x = 1
T[8]
0.923215
x[1]
0.233467
x[2]
0.347942
x[3]
0.9 38414
x[4]
0.656056
x[5]
= 421.508521
=
=
=
=
=
1
1
1
1
1
T1(8)
T2(8)
T3(8)
T4(8)
T5(8)
=
=
=
=
=
79.892670
1454.716264
1055.720841
63.564438
421.508521
PASUL 9
U1
=
U2
=
U3
=
U4
=
U5
=
x = 1
T[9]
0.664418
x[1]
0.770287
x[2]
0.715506
x[3]
0.624134
x[4]
0.567156
x[5]
= 334.76 4659
=
=
=
=
=
1
1
1
1
1
T1(9)
T2(9)
T3(9)
T4(9)
T5(9)
=
=
=
=
=
408.843102
260.991874
334.764659
471.390130
567.120916
19
=
=
=
=
=
1
1
1
1
1
T1(10)
T2(10)
T3(10)
T4(10)
T5(10)
=
=
=
=
=
688.803935 h
1.000000
20
642.653791
909.053578
412.570587
1328.400383
407.741326