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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Lydia Models<br />

C.3 The Models Constructed for the Case Study<br />

a t t r i b u t e h e a l t h ( h MotorBrake ) = t r u e ;<br />

a t t r i b u t e p r o b a b i l i t y ( h MotorBrake ) = h MotorBrake ? 0 . 9 9<br />

: 0 . 0 1 ;<br />

a t t r i b u t e h e a l t h ( h S t a n d ) = t r u e ;<br />

a t t r i b u t e p r o b a b i l i t y ( h S t a n d ) = h S t a n d ? 0 . 9 5 : 0 . 0 5 ;<br />

a t t r i b u t e h e a l t h ( h PEU ) = t r u e ;<br />

a t t r i b u t e p r o b a b i l i t y ( h PEU ) = h PEU ? 0 . 9 6 : 0 . 0 4 ;<br />

/ / d e c l a r a t i o n components<br />

system C u r r e n t l o o p c u r r e n t l o o p ;<br />

system S p e e d l o o p s p e e d l o o p ;<br />

system P o s i t i o n l o o p p o s i t i o n l o o p ;<br />

system E r r o r c u r r e n t e r r o r , s p e e d e r r o r ;<br />

system PEU peu ;<br />

system LUC Extension l u c e x t e n s i o n ;<br />

/ / d e f i n i t i o n s t r u c t u r e c o n t r o l l o o p s<br />

c u r r e n t l o o p ( I s e t , Imvr , I t o m o t o r , I f r o m m o t o r ,<br />

I a c t a n a l o g , I a c t , h EXT , h MVR , h MotorBrake ) ;<br />

s p e e d l o o p ( Vset , Vmvr , V to motor , t o r q u e , r e a l s p e e d ,<br />

V a c t a n a l o g , Vact , h EXT , h MVR , h MotorBrake , h S t a n d<br />

) ;<br />

p o s i t i o n l o o p ( Pset , CURRENT ERROR, SPEED ERROR ,<br />

r e a l p o s i t i o n , P a c t a n a l o g , e pos , h St<strong>and</strong> , h PEU ,<br />

h EXT ) ;<br />

}<br />

/ / d e f i n i t i o n s t r u c t u r e e r r o r s i g n a l s<br />

c u r r e n t e r r o r ( I a c t , I s e t , CURRENT ERROR) ;<br />

s p e e d e r r o r ( Vact , Vset , SPEED ERROR) ;<br />

l u c e x t e n s i o n ( e pos , c t r s p e e d , I s e t , Pset , Pact ,<br />

POSITION ERROR , h PEU , h EXT ) ;<br />

peu (POSVAL ERROR, h PEU ) ;<br />

C.3.7<br />

Model of the MBD-3 Implementation (not compositional)<br />

This subsection lists same model as listed in Section C.3.6, but not specified by using compositional<br />

components.<br />

/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /<br />

/ / / /<br />

/ / ( c ) P h i l i p s Medical Systems / <strong>TU</strong> D e l f t / /<br />

/ / / /<br />

/ / Author : W.M. Lindhoud / /<br />

/ / Filename : bpm−mbd3−uc . s y s / /<br />

/ / V e r s i o n : MBD−3, n o t c o m p o s i t i o n a l / /<br />

/ / Date : june , 2 0 0 6 . / /<br />

113

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

Saved successfully!

Ooh no, something went wrong!