//Created by libAntimony v2.4 model heldt_heart_2002__Environment(time_, HR, hrf) // Assignment Rules: hrf := HR / 60; // Variable initializations: time_ = ; HR = 70; end model heldt_heart_2002__LVTiming(realtime, HR, beattime, hrf) // Assignment Rules: beattime := (realtime - floor(realtime / hrf) * hrf) - PRint; // Variable initializations: realtime = ; HR = ; PRint = 0.00012; hrf = ; end model heldt_heart_2002__LVElastanceFunction(time_, hrf, E_LV) // Assignment Rules: Ts := TsK * root(1 * hrf); E_LV := piecewise( Edia + ((Esys - Edia) * (1 - cos((pi * time_) / Ts))) / 2 , ( geq(time_, 0)) && (time_ <= Ts ), Edia + ((Esys - Edia) * (1 + cos((2 * pi * (time_ - Ts)) / Ts))) / 2 , ( time_ < 1.5 * Ts) && (geq(time_, Ts) ), Edia ); // Variable initializations: time_ = ; Esys = 5.6; Edia = 0.19; TsK = 0.35; hrf = ; end model heldt_heart_2002__dummy(time_) // Rate Rules: dummy' = dummy * -(3); // Variable initializations: time_ = ; dummy = 10; end model *heldt_heart_2002____main() // Sub-modules, and any changes to those submodules: Environment: heldt_heart_2002__Environment(realtime, HR, hrf); LVTiming: heldt_heart_2002__LVTiming(realtime, HR, time_, hrf); LVElastanceFunction: heldt_heart_2002__LVElastanceFunction(time_, hrf, E_LV); dummy: heldt_heart_2002__dummy(realtime); end