28.10.2014 Views

Fault Detection and Diagnostics for Rooftop Air Conditioners

Fault Detection and Diagnostics for Rooftop Air Conditioners

Fault Detection and Diagnostics for Rooftop Air Conditioners

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

function,<br />

f ( X , y)<br />

, if it can be assumed that the underlying density is continuous <strong>and</strong> that<br />

the first partial derivatives of the function evaluated at any X are small. The probability<br />

estimator<br />

X <strong>and</strong><br />

f ˆ ( X , y)<br />

is based upon sample values<br />

i<br />

X <strong>and</strong><br />

y , where n is the number of sample observations,<br />

vector variable X <strong>and</strong> σ is sample probability width:<br />

i<br />

y<br />

of the r<strong>and</strong>om variables<br />

p is the dimension of the<br />

1<br />

fˆ(<br />

X , y)<br />

=<br />

( p+<br />

1) / 2<br />

(2π<br />

) σ<br />

1<br />

( X − X<br />

) ( X − X ) + ( y − y )<br />

n<br />

i T<br />

i<br />

i 2<br />

+ ∑exp[<br />

−<br />

]<br />

( p 1)<br />

2<br />

n i=<br />

1<br />

2σ<br />

(2)<br />

A physical interpretation of the probability estimate<br />

f ˆ(<br />

X , y)<br />

is that it assigns sample<br />

probability of width σ <strong>for</strong> each sample<br />

y<br />

i<br />

X <strong>and</strong><br />

i<br />

y<br />

, <strong>and</strong> the probability estimate is the<br />

sum of those sample probabilities. Substituting the joint probability estimate<br />

f ˆ ( X , y)<br />

equation (2) into the conditional mean, equation (1), gives the desired conditional mean of<br />

given X . In particular, combining equations (1) <strong>and</strong> (2) <strong>and</strong> interchanging the order of<br />

integration <strong>and</strong> summation yields the desired conditional mean, designated yˆ ( X ) :<br />

in<br />

ŷ(<br />

X ) =<br />

n<br />

∑<br />

i = 1<br />

n<br />

∑<br />

i = 1<br />

i T<br />

i<br />

( X − X ) ( X − X )<br />

exp[ −<br />

]<br />

2<br />

2σ<br />

∫<br />

i T<br />

i<br />

( X − X ) ( X − X )<br />

exp[ −<br />

]<br />

2<br />

2σ<br />

∞<br />

−∞<br />

∫<br />

∞<br />

−∞<br />

i 2<br />

( y − y )<br />

y exp[ − ] dy<br />

2<br />

2σ<br />

i 2<br />

( y − y )<br />

exp[ − ] dy<br />

2<br />

2σ<br />

(3)<br />

Per<strong>for</strong>m the following integration:<br />

∫<br />

=<br />

∞<br />

−∞<br />

∫<br />

( y − y )<br />

y exp[ −<br />

2<br />

2σ<br />

∞<br />

−∞<br />

( y − y<br />

i )<br />

i<br />

2<br />

] dy<br />

( y − y )<br />

exp[ −<br />

2<br />

2σ<br />

i<br />

2<br />

] d(<br />

y −<br />

y i<br />

) +<br />

∫ ∞ −∞<br />

y<br />

i<br />

( y − y )<br />

exp[ −<br />

2<br />

2σ<br />

i<br />

2<br />

] dy<br />

= −σ<br />

= −σ<br />

y<br />

2<br />

2<br />

∫<br />

∫<br />

= 0 + y<br />

=<br />

i<br />

∫<br />

∞<br />

∞<br />

−∞<br />

∞<br />

−∞<br />

i<br />

−∞<br />

∫<br />

( y − y ) ( y − y )<br />

−<br />

y i ∫ ∞ ( y − y )<br />

exp[ ] d[<br />

− ] + exp[ −<br />

2<br />

2<br />

−<br />

2<br />

2σ<br />

2σ<br />

∞<br />

2σ<br />

i 2<br />

i 2<br />

( y − y ) i ( y − y )<br />

d exp[ − ] + y exp[ ] dy<br />

2<br />

2<br />

2<br />

∫ ∞ −<br />

σ<br />

−∞<br />

2σ<br />

i 2<br />

( y − y )<br />

exp[ − ] dy<br />

∞<br />

2<br />

2σ<br />

∞<br />

−<br />

( y − y )<br />

exp[−<br />

2<br />

2σ<br />

i<br />

i<br />

2<br />

2<br />

] dy<br />

i<br />

2<br />

i<br />

2<br />

] dy<br />

(4)<br />

12

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!