25.07.2014 Views

pdf download - Software and Computer Technology - TU Delft

pdf download - Software and Computer Technology - TU Delft

pdf download - Software and Computer Technology - TU Delft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Lydia Models<br />

C.1 The Synthetic Models that are Used in this Thesis<br />

}<br />

h => ( i = ! o ) ; / / I f h e a l t h y , o u t p u t e q u a l s i n v e r s e of<br />

t h e i n p u t<br />

! h => ( o = f a l s e ) ; / / I f u n h e a l t h y , t h e o u t p u t i s s t u c k −<br />

at −z e r o<br />

system i n v e r t e r s 3<br />

(<br />

bool w,<br />

)<br />

{<br />

/ / i n p u t<br />

bool hA , hB , hC , / / h e a l t h s<br />

bool y , z / / o u t p u t s<br />

/ / D e c l a r a t i o n i n t e r n a l v a r i a b l e s<br />

bool x ;<br />

/ / D e c l a r a t i o n o b s e r v a b l e s<br />

a t t r i b u t e o b s e r v a b l e (w, y , z ) = t r u e ;<br />

/ / D e c l a r a t i o n i n v e r t e r s<br />

system i n v e r t e r invA , invB , invC ;<br />

}<br />

C.1.4<br />

/ / Connect t h e 3 i n v e r t e r s<br />

invA ( w, hA , x ) ;<br />

invB ( x , hB , y ) ;<br />

invC ( x , hC , z ) ;<br />

Model of the 4-inverter Example<br />

A strong model of the 4-inverter system.<br />

system i n v e r t e r ( b ool h , i , o )<br />

{<br />

h => ( o = ! i ) ;<br />

! h => ( o = i ) ;<br />

}<br />

system i n v e r t e r s 4 ( b ool hA , hB , hC , hD , a , b , c , d , e )<br />

{<br />

system i n v e r t e r invA , invB , invC , invD ;<br />

invA ( hA , a , b ) ;<br />

invB ( hB , b , c ) ;<br />

invC ( hC , c , d ) ;<br />

invD ( hD , d , e ) ;<br />

93

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

Saved successfully!

Ooh no, something went wrong!