# Model Mathematics

### Component: TempCDv

$Tao=1ifPi≥Po0ifPi

### Component: TempCDa

$Tao=1ifPi≥Po0ifPi

### Component: TJoint

$Pi=PoQo=Qi1+Qi2$

### Component: EAtrium

$mt=t-T⁢⌊tT⌋et=1-cos⁡2⁢3.14159⁢mt-Tpwb-1⁢TTpww⁢Tifmt≥0∧mt≦Tpwb+Tpww-1⁢T0ifmt>Tpwb+Tpww-1⁢T∧mt≦Tpwb⁢T1-cos⁡2⁢3.14159⁢mt-Tpwb⁢TTpww⁢Tifmt>Tpwb⁢T∧mt≦TE=Emin+et⁢Emax-Emin2$

### Component: EVentricle

$mt=t-T⁢⌊tT⌋et=1-cos⁡3.14159⁢mtTs1⁢Tifmt≥0∧mt≦Ts1⁢T1+cos⁡3.14159⁢mt-Ts1⁢TTs2-Ts1⁢Tifmt>Ts1⁢T∧mt≦Ts2⁢T0ifmt>Ts2⁢T∧mt

### Component: TempRLC

$ddtPi=Qi-QoCddtQo=Pi-Po-R⁢QoL$

### Component: TJoint

$Pi=PoQo=Qi1+Qi2$

### Component: TempRLC

$ddtPi=Qi-QoCddtQo=Pi-Po-R⁢QoL$

### Component: TempR

$Pi=Po+R⁢QiQo=Qi$

### Component: TempR

$Pi=Po+R⁢QiQo=Qi$

### Component: TempRC

$ddtPi=Qi-QoCQo=Pi-PoR$

### Component: TempIPump

$Wn=1⁢WiQvo=Kp0+Kp1⁢Wn+Kp2⁢dPv+Kp3⁢Wn⁢dPv+Kp4⁢Wn2⁢dPv+Kp5⁢Wn⁢dPv2+Kp6⁢Wn2⁢dPv2⁢16.6667Qvi=-1⁢QvodPv=Pvo-Pvi$

### Component: ParaHeartP

Source
Derived from workspace Cardiovascular Circulation IVad at changeset 556658090b45.
Collaboration
To begin collaborating on this work, please use your git client and issue this command: