Model Mathematics

Component: Circ_Environment

hrf=HR0.06

Component: LATiming

beattime=realtime-realtimehrfhrf1000

Component: LAElastanceFunction

Ts=TsKhrf1000 E_LA=Edia+Esys-Edia1-cosπtimeTs2iftime0timeTsEdia+Esys-Edia1+cos2πtime-TsTs2iftime<1.5TstimeTsEdiaotherwise

Component: LeftAtrium

ddtimesub_X_LA=conc_X_PVF_LA-conc_X_LAF_LV1000 conc_X_LA=sub_X_LAV_LA P_LA=E_LAV_LA-V_LA_0+P_LA_ext F_LA=P_PV-P_LAR_LA ddtimeV_LA=F_LA-F_LV1000

Component: LVTiming

beattime=realtime-realtimehrfhrf1000-PRint

Component: LVElastanceFunction

Ts=TsKhrf1000 E_LV=Edia+Esys-Edia1-cosπtimeTs2iftime0timeTsEdia+Esys-Edia1+cos2πtime-TsTs2iftime<1.5TstimeTsEdiaotherwise

Component: LeftVentricle

fiber_stress=P_LV1+3V_LV200 ddtimesub_X_LV=conc_X_LAF_LV-conc_X_LVF_AO+F_CO1000 conc_X_LV=sub_X_LVV_LV P_LV=E_LVV_LV-V_LV_0+pLVPext F_LV=P_LA-P_LVR_LVifP_LA>P_LV0otherwise ddtimeV_LV=F_LV-F_AO-F_CO1000

Component: Aorta

ddtimesub_X_AO=conc_X_LVF_AO-conc_X_AOF_CR+F_AR1000 conc_X_AO=sub_X_AOV_AO ddtimeF_AOalways=1L_AOP_LV-P_AO-R_AOL_AOF_AOalways1000 F_AO=F_AOalwaysifP_LV>P_AO0otherwise ddtimeV_AO=F_AO-F_AR-F_CR1000 P_AO=1C_AOV_AO-V_AO_0

Component: CoronaryCirc

ddtimesub_X_CO=conc_X_LVF_CO-conc_X_COF_COV1000 conc_X_CO=sub_X_COV_CO ddtimeV_CO=F_CO-F_COV1000 P_CO=1C_COV_CO-V_CO_0 F_CO=P_LV-P_COR_COifP_LV>P_CO0otherwise F_COV=P_CO-P_RAR_COV

Component: CarotidCirc

conc_X_CRtissue=sub_X_CRtissueV_CRtissue ddtimesub_X_CRtissue=conc_X_CR-conc_X_CRtissueD_CRtissue1000 ddtimesub_X_CR=conc_X_AOF_CR-conc_X_CRF_CRV-conc_X_CR-conc_X_CRtissueD_CRtissue1000 conc_X_CR=sub_X_CRV_CR ddtimeV_CR=F_CR-F_CRV1000 P_CR=1C_CRV_CR-V_CR_0 F_CR=P_AO-P_CRR_CR F_CRV=P_CR-P_VCR_CRV

Component: Arteries

ddtimesub_X_AR=conc_X_AOF_AR-conc_X_ARF_SK+F_AD+F_MU+F_GI+F_LI+F_KI+F_OT1000 conc_X_AR=sub_X_ARV_AR ddtimeV_AR=F_AR-F_AD-F_MU-F_GI-F_LI-F_KI-F_OT-F_SK1000 P_AR=1C_ARV_AR-V_AR_0 F_AR=P_AO-P_ARR_AR

Component: Adipose

ddtimesub_X_AD=conc_X_ARF_AD-conc_X_ADF_ADV1000 conc_X_AD=sub_X_ADV_AD ddtimeV_AD=F_AD-F_ADV1000 F_ADV=P_AD-P_VER_ADV P_AD=1C_ADV_AD-V_AD_0 F_AD=P_AR-P_ADR_AD

Component: Muscle

ddtimesub_X_MU=conc_X_ARF_MU-conc_X_MUF_MUV1000 conc_X_MU=sub_X_MUV_MU ddtimeV_MU=F_MU-F_MUV1000 F_MUV=P_MU-P_VER_MUV P_MU=1C_MUV_MU-V_MU_0 F_MU=P_AR-P_MUR_MU

Component: GutIntestine

ddtimesub_X_GI=conc_X_ARF_GI-conc_X_GIF_GIV1000 conc_X_GI=sub_X_GIV_GI ddtimeV_GI=F_GI-F_GIV1000 F_GIV=P_GI-P_LIR_GIV P_GI=1C_GIV_GI-V_GI_0 F_GI=P_AR-P_GIR_GI

Component: Liver

ddtimesub_X_LI=conc_X_GIF_GIV+conc_X_ARF_LI-conc_X_LIF_LIV+conc_X_LImetabolism1000 conc_X_LI=sub_X_LIV_LI ddtimeV_LI=F_GIV+F_LI-F_LIV1000 F_LIV=P_LI-P_VER_LIV P_LI=1C_LIV_LI-V_LI_0 F_LI=P_AR-P_LIR_LI

Component: Kidney

ddtimesub_X_KI=conc_X_ARF_KI-conc_X_KIF_KIV1000 conc_X_KI=sub_X_KIV_KI ddtimeV_KI=F_KI-F_KIV1000 F_KIV=P_KI-P_VER_KIV P_KI=1C_KIV_KI-V_KI_0 F_KI=P_AR-P_KIR_KI

Component: Skin

ddtimesub_X_SK=conc_X_ARF_SK-conc_X_SKF_SKV1000 conc_X_SK=sub_X_SKV_SK ddtimeV_SK=F_SK-F_SKV1000 F_SKV=P_SK-P_VER_SKV P_SK=1C_SKV_SK-V_SK_0 F_SK=P_AR-P_SKR_SK

Component: OtherTissue

ddtimesub_X_OT=conc_X_ARF_OT-conc_X_OTF_OTV1000 conc_X_OT=sub_X_OTV_OT ddtimeV_OT=F_OT-F_OTV1000 F_OTV=P_OT-P_VER_OTV P_OT=1C_OTV_OT-V_OT_0 F_OT=P_AR-P_OTR_OT

Component: Veins

ddtimesub_X_VE=conc_X_SKF_SKV+conc_X_ADF_ADV+conc_X_MUF_MUV+conc_X_LIF_LIV+conc_X_KIF_KIV+conc_X_OTF_OTV-conc_X_VEF_VEV1000 conc_X_VE=sub_X_VEV_VE F_VE=F_SKV+F_ADV+F_MUV+F_LIV+F_KIV+F_OTV ddtimeV_VE=F_VE-F_VEV1000 P_VE=1C_VEV_VE-V_VE_0 F_VEV=P_VE-P_VCR_VEV

Component: VenaCava

ddtimesub_X_VC=conc_X_VEF_VEV+conc_X_CRF_CRV-conc_X_VCF_VCV1000 conc_X_VC=sub_X_VCV_VC F_VC=F_CRV+F_VEV F_VCV=P_VC-P_RAR_VCV ddtimeV_VC=F_VC-F_VCV1000 P_VC=1C_VCV_VC-V_VC_0

Component: RATiming

beattime=realtime-realtimehrfhrf1000

Component: RAElastanceFunction

Ts=TsKhrf1000 E_RA=Edia+Esys-Edia1-cosπtimeTs2iftime0timeTsEdia+Esys-Edia1+cos2πtime-TsTs2iftime<1.5TstimeTsEdiaotherwise

Component: RightAtrium

ddtimesub_X_RA=conc_X_VCF_VCV+conc_X_COF_COV-conc_X_RAF_RV1000 conc_X_RA=sub_X_RAV_RA P_RA=E_RAV_RA-V_RA_0+P_RA_ext F_RA=F_VCV+F_COV ddtimeV_RA=F_RA-F_RV1000

Component: RVTiming

beattime=realtime-realtimehrfhrf1000-PRinterval

Component: RVElastanceFunction

Ts=TsKhrf1000 E_RV=Edia+Esys-Edia1-cosπtimeTs2iftime0timeTsEdia+Esys-Edia1+cos2πtime-TsTs2iftime<1.5TstimeTsEdiaotherwise

Component: RightVentricle

ddtimesub_X_RV=conc_X_RAF_RV-conc_X_RVF_PA1000 conc_X_RV=sub_X_RVV_RV P_RV=E_RVV_RV-V_RV_0+P_RV_ext F_RV=P_RA-P_RVR_RVifP_RA>P_RV0otherwise ddtimeV_RV=F_RV-F_PA1000

Component: PulmonaryArtery

ddtimesub_X_PA=conc_X_RVF_PA-conc_X_PAF_Pa1000 conc_X_PA=sub_X_PAV_PA F_PA=P_RV-P_PAR_PAifP_RV>P_PA0otherwise ddtimeV_PA=F_PA-F_Pa1000 P_PA=1C_PAV_PA-V_PA_0

Component: PulmonaryArteries

ddtimesub_X_Pa=conc_X_PAF_Pa-conc_X_PaF_PC+F_SH1000 conc_X_Pa=sub_X_PaV_Pa ddtimeV_Pa=F_Pa-F_PC-F_SH1000 P_Pa=1C_PaV_Pa-V_Pa_0 F_Pa=P_PA-P_PaR_Pa

Component: Shunt

F_SH=P_Pa-P_PCR_SH

Component: PulmonaryCapillaries

ddtimesub_X_PC=conc_X_PaF_PC-conc_X_PCF_PCV1000 conc_X_PC=sub_X_PCV_PC ddtimeV_PC=F_PC-F_PCV1000 P_PC=1C_PCV_PC-V_PC_0 F_PC=P_Pa-P_PCR_PC F_PCV=P_PC-P_PVR_PCV

Component: PulmonaryVein

ddtimesub_X_PV=conc_X_PCF_PCV+conc_X_PaF_SH-conc_X_PVF_LA1000 conc_X_PV=sub_X_PVV_PV F_PV=F_PCV+F_SH ddtimeV_PV=F_PV-F_LA1000 P_PV=1C_PVV_PV-V_PV_0