Model Mathematics

Component: strain_control

Component: environment

Component: cell_geom

rho=A_capV_myo

Component: membrane

Cm=CmFA_cap ddtimeV=-I_H+I_Cl+i_Na+I_CaL+i_t+i_ss+i_f+i_K1+I_Cab+I_SAC_Na+i_B_K+i_B_Na+I_Ko+I_SAC_K+i_NaK+I_NaCa+I_pCa+i_StimCm

Component: I_stimulus

i_Stim=stim_amplitudeA_capiftime-timestim_periodstim_period0time-timestim_periodstim_periodstim_duration0otherwise

Component: SAC_current

gamma_SLSAC=ExtensionRatio-110ifSAC_on=10otherwise r=-E_R+85E_R-65 I_SAC_Na=g_SACgamma_SLSACV-E_NaA_capr I_SAC_K=g_SACgamma_SLSACV-E_KA_cap I_SAC=I_SAC_K+I_SAC_Na

Component: KSA_current

gamma_SLKO=0.7+ExtensionRatio-13ifSAC_on=10.7otherwise I_Ko=g_Ko1+-10+V45V-E_Kgamma_SLKOA_cap

Component: sodium_current

g_Na_endo=1.33g_Na E_Na=RTFlnNa_oNa_i i_Na=g_Na_endom3hjV-E_NaA_cap

Component: sodium_current_m_gate

m_infinity=11+V+45-6.5 tau_m=0.00136e30.32V+47.131--0.1V+47.13+0.08-V11 ddtimem=m_infinity-mtau_m

Component: sodium_current_h_gate

h_infinity=11+V+76.16.07 tau_h=0.0004537e31+-V+10.6611.1ifV-400.00349e30.135-V+806.8+3.560.079V+3100000.35Votherwise ddtimeh=h_infinity-htau_h

Component: sodium_current_j_gate

j_infinity=11+V+76.16.07 tau_j=0.01163e31+-0.1V+32-0.0000002535VifV-400.00349e3V+37.781+0.311V+79.23-1271400.2444V-0.00003474-0.04391V+0.1212-0.01052V1+-0.1378V+40.14otherwise ddtimej=j_infinity-jtau_j

Component: Ca_independent_transient_outward_K_current

g_t_endo=0.4647g_t E_K=RTFlnK_oK_i i_t=g_t_endora_endos+b_endos_slowV-E_KA_cap

Component: Ca_independent_transient_outward_K_current_r_gate

r_infinity=11+V+10.6-11.42 tau_r=1e345.160.03577V+50+98.9-0.1V+38 ddtimer=r_infinity-rtau_r

Component: Ca_independent_transient_outward_K_current_s_gate

s_infinity=11+V+45.36.8841 tau_s_endo=0.55e3-V+70252+0.049e3 ddtimes=s_infinity-stau_s_endo

Component: Ca_independent_transient_outward_K_current_s_slow_gate

s_slow_infinity=11+V+45.36.8841 tau_s_slow_endo=3.3e3-V+70302+0.049e3 ddtimes_slow=s_slow_infinity-s_slowtau_s_slow_endo

Component: steady_state_outward_K_current

i_ss=g_ssr_sss_ssV-E_KA_cap

Component: steady_state_outward_K_current_r_ss_gate

r_ss_infinity=11+V+11.5-11.82 tau_r_ss=10e345.160.03577V+50+98.9-0.1V+38 ddtimer_ss=r_ss_infinity-r_sstau_r_ss

Component: steady_state_outward_K_current_s_ss_gate

s_ss_infinity=11+V+87.510.3 tau_s_ss=2.1e3 ddtimes_ss=s_ss_infinity-s_sstau_s_ss

Component: inward_rectifier

i_K1=48e-3V+3725+V+37-25+10e-30.0011+V-E_K+76.77-17+g_K1V-E_K+1.731+1.613FV-E_K+1.73RT1+K_o-0.9988-0.124A_cap

Component: hyperpolarisation_activated_current

f_K=1-f_Na i_f_Na=g_fyf_NaV-E_NaA_cap i_f_K=g_fyf_KV-E_KA_cap i_f=i_f_Na+i_f_K

Component: hyperpolarisation_activated_current_y_gate

y_infinity=11+V+138.610.48 tau_y=1e30.11885V+8028.37+0.5623V+80-14.19 ddtimey=y_infinity-ytau_y

Component: background_currents

i_B_Na=scale_Nag_B_NaV-E_NaA_cap i_B_K=scale_Kg_B_KV-E_KA_cap

Component: sodium_potassium_pump

p_nai=11+K_m_NaNa_i4 sigma=Na_o67.3-17 p_v=11+0.1245-0.1VFRT+0.0365sigma-VFRT i_NaK=i_NaK_maxA_capp_vK_oK_o+K_m_Kp_nai

Component: J_CO2

jco2=V_myorhoPco2CO2e-CO2i

Component: comp_v_nhe_exchanger

gamma_NHE=1-2.804ExtensionRatio-1ifpH_on=11otherwise K_Hs=K_Higamma_NHE km2=kp1kp2km1 Be=10-pH_e1e3 Bi=10-pH_i1e3 ap1=KBAekp1KAKB+KBAe+AeBe+KABe am1=KBAikm1KAKB+KBAi+AiBi+KABi ap2=KABikp2KAKB+KBAi+AiBi+KABi am2=KABekm2KAKB+KBAe+AeBe+KABe reg=Bin_HiBin_Hi+K_Hsn_Hi flux_nhe=regap1ap2-am1am2ap1+ap2+am1+am2 v_nhe=flux_nheV_myoQ_10Scaler

Component: comp_v_che_exchanger

km2=kp2km1kp1 OHe=100010-14+pH_e OHi=100010-14+pH_i a=1+K_OHOHe+K_OHCleOHeK_Cl b=1+K_ClCle+K_ClOHeCleK_OH c=1+K_ClCli+K_ClOHiCliK_OH d=1+K_OHOHi+K_OHCliOHiK_Cl s1=1a+dkp1+kp2abkm1+km2dc s6=1d+akm1+km2dckp1+kp2ab v_che=V_myokm1s6-kp1s1601000Q_10Scaler

Component: comp_v_nbc

km2=kp2km1kp1 a=1+NaeK_Na+NaeHCO3eK_NaK_HCO3 b=1+K_HCO3HCO3e+K_NaK_HCO3HCO3eNae c=1+K_HCO3HCO3i+K_NaK_HCO3HCO3iNai d=1+NaiK_Na+NaiHCO3iK_NaK_HCO3 He=100010-pH_e Hi=100010-pH_i s1=1a+dkp1+kp2abkm1+km2dc s6=1d+akm1+km2dckp1+kp2ab reg=Hin_HiHin_Hi+K_Hin_Hi1-Hen_HeHen_He+K_Hen_He v_nbc=V_myoregkm1s6-kp1s1601000Q_10Scaler

Component: comp_v_ae

gamma_AE=1+2.5ExtensionRatio-1ifpH_on=11otherwise K_Hs=K_Higamma_AE km2=kp2km1kp1 He=100010-pH_e Hi=100010-pH_i a=1+K_HCO3HCO3e+K_HCO3CleHCO3eK_Cl b=1+K_ClCle+K_ClHCO3eCleK_HCO3 c=1+K_ClCli+K_ClHCO3iCliK_HCO3 d=1+K_HCO3HCO3i+K_HCO3CliHCO3iK_Cl s1=1a+dkp1+kp2abkm1+km2dc s6=1d+akm1+km2dckp1+kp2ab reg=K_Hsn_HiHin_Hi+K_Hsn_HiHen_HeHen_He+K_Hen_He v_ae=V_myoregkm1s6-kp1s1601000Q_10Scaler

Component: intracellular_ion_concentrations

E_Cl=RTFlnCliCle I_Cl=g_ClV-E_Cl H_o=100010-pH_e H_i=100010-pH_i E_H=RTFlnH_oH_i I_H=g_HV-E_H K_Nak=i_NaK-2A_capV_myoF K_flux=-I_SAC_K+i_ss+I_Ko+i_t+i_K1+i_f_K+i_NaK-2+i_B_KA_capV_myoF nai_flux=-i_B_Na+I_SAC_Na+i_Na+I_NaCa3+i_NaK3+i_f_NaA_capV_myoF nai_total=nai_flux+nai_NHE+nai_NBC nai_NHE=v_nheV_myo nai_NBC=v_nbcV_myo nai_Nak=i_NaK3A_capV_myoF nai_NaCa=I_NaCa3A_capV_myoF nai_na=i_NaA_capV_myoF nai_bg=i_f_NaA_capV_myoF beta_intr=ln1010-pH_i+10pH_i+pKa_ib1ib110pH_i+10pKa_ib12+10pH_i+pKa_ib2ib210pH_i+10pKa_ib22 CO2e=PP_co2eCO_2solP_atm HCO3e=kf_co2hydkr_co2hydCO2e10-pH_e1e3 v_co2hyd=V_myo+V_SRkf_co2hydCO2i-kr_co2hydHCO3i10-pH_i1e3 ddtimeHCO3i=v_co2hydV_myo+V_SR+v_nbc-v_aeV_myo ddtimeCO2i=jco2V_myo-v_co2hydV_myo+V_SR+J_CO2 ddtimepH_i=1-beta_intr-v_nhe+v_cheV_myo+v_co2hydV_myo+V_SR-I_HA_capV_myoF ddtimeNa_i=-i_B_Na+I_SAC_Na+i_Na+I_NaCa3+i_NaK3+i_f_NaA_capV_myoF+v_nhe+v_nbcV_myo ddtimeK_i=-i_Stim+I_SAC_K+i_ss+I_Ko+i_t+i_K1+i_f_K-2i_NaK+i_B_KA_capV_myoF ddtimeCli=I_ClA_capV_myoF+pH_scalev_che+v_aeV_myo

Component: standard_ionic_concentrations

Component: SL_pump

I_pCa=g_pCaCa_iK_mpCa+Ca_i2V_myoFA_cap

Component: Cab

E_Ca=log10Ca_eCa_idelta I_Cab=g_CabV-E_Ca2V_myoFA_cap

Component: I_Ca_L

I_CaL=-J_LC2V_myoFA_cap

Component: NCX

edv=delta0.5Veta edv2=delta0.5Veta-1 Nai3=Na_i3 Nae3=Na_e3 I_NaCa=g_NCXNae3+K_mNa3Ca_e+K_mCaedvNai3Ca_e-edv2Nae3Ca_i1+k_satedv2V_myoFA_cap

Component: SERCA

I_SERCA=g_SERCACa_i2K_SERCA2+Ca_i2

Component: ionic_concentrations

Ca_b=B_TRPN-TRPN J_SR=-J_RY+I_SERCA-g_SRlCa_SR-Ca_i ddtimeCa_SR=V_myoV_SRJ_SR ddtimeCa_i=11+B_CMDNK_CMDNCa_i+K_CMDNCa_i+K_CMDNJ_TPRN-J_SR+2I_NaCa-I_pCa-I_Cab-I_CaLA_cap2V_myoF ddtimeTRPN=J_TPRN

Component: Ca_conductances

Component: Ca_voltage

dV=deltaV expmdV=-dV expVL=V-V_L0delta_VL

Component: C_ij

C_cc=Ca_i C_co=Ca_i+J_Rg_DCa_SR1+J_Rg_D C_oc=Ca_i+J_Lg_DCa_edVexpmdV1-expmdV1+J_Lg_DdV1-expmdVif|dV|>0.000000001Ca_i+J_Lg_DCa_e1+J_Lg_Dotherwise C_oo=Ca_i+J_Rg_DCa_SR+J_Lg_DCa_edVexpmdV1-expmdV1+J_Rg_D+J_Lg_DdV1-expmdVif|dV|>0.000000001Ca_i+J_Rg_DCa_SR+J_Lg_DCa_e1+J_Rg_D+J_Lg_Dotherwise

Component: J_ij

J_Rco=J_RCa_SR-Ca_i1+J_Rg_D J_Roo=J_RCa_SR-Ca_i+J_Lg_DdV1-expmdVCa_SR-Ca_eexpmdV1+J_Rg_D+J_Lg_DdV1-expmdVif|dV|>0.00001J_RCa_SR-Ca_i+J_Lg_D0.000011--0.00001Ca_SR-Ca_e-0.000011+J_Rg_D+J_Lg_D0.000011--0.00001otherwise J_Loc=J_LdV1-expmdVCa_eexpmdV-Ca_i1+J_Lg_DdV1-expmdVif|dV|>0.00001J_L0.000011--0.00001Ca_e-0.00001-Ca_i1+J_Lg_D0.000011--0.00001otherwise J_Loo=J_LdV1-expmdVCa_eexpmdV-Ca_i+J_Rg_DCa_eexpmdV-Ca_SR1+J_Rg_D+J_Lg_DdV1-expmdVif|dV|>0.00001J_L0.000011--0.00001Ca_e-0.00001-Ca_i+J_Rg_DCa_e-0.00001-Ca_SR1+J_Rg_D+J_Lg_D0.000011--0.00001otherwise

Component: Ca_tau

t_R=1.17t_L

Component: epsilon

epsilon_pco=1tau_LC_coK_LexpVL+aexpVL+1 epsilon_pcc=1tau_LCa_iK_LexpVL+aexpVL+1 epsilon_m=1tau_LbexpVL+abexpVL+a

Component: alpha

alpha_p=expVLt_LexpVL+1 alpha_m=phi_Lt_L

Component: RyR_param

gamma_NO=1+22.41ExtensionRatio-1ifNO_on=11otherwise phi_R=phi_R_basegamma_NO

Component: beta

beta_poc=1t_RC_oc2C_oc2+K_RyR2 beta_pcc=1t_RCa_i2Ca_i2+K_RyR2 beta_m=phi_Rt_R

Component: mu_ij

mu_poc=1tau_RC_oc2+cK_RyR2C_oc2+K_RyR2 mu_pcc=1tau_RCa_i2+cK_RyR2Ca_i2+K_RyR2 mu_moc=theta_Rtau_RdC_oc2+cK_RyR2dC_oc2+cK_RyR2 mu_mcc=theta_Rtau_RdCa_i2+cK_RyR2dCa_i2+cK_RyR2

Component: y_ij

denom=alpha_p+alpha_mbeta_m+beta_poc+alpha_mbeta_m+beta_pcc+alpha_pbeta_m+beta_poc y_oc=alpha_pbeta_malpha_p+alpha_m+beta_m+beta_pccdenom y_co=alpha_mbeta_pccalpha_m+beta_m+beta_poc+beta_pocalpha_pdenom y_oo=alpha_pbeta_pocalpha_p+beta_m+beta_pcc+beta_pccalpha_mdenom y_cc=alpha_mbeta_malpha_m+alpha_p+beta_m+beta_pocdenom

Component: r_i

r_1=y_ocmu_poc+y_ccmu_pcc r_2=alpha_pmu_moc+alpha_mmu_mccalpha_p+alpha_m r_3=beta_mmu_pccbeta_m+beta_pcc r_4=mu_mcc r_5=y_coepsilon_pco+y_ccepsilon_pcc r_6=epsilon_m r_7=alpha_mepsilon_pccalpha_p+alpha_m r_8=epsilon_m

Component: z_i

z_4=1-z_1-z_2-z_3 ddtimez_1=-r_1+r_5z_1+r_2z_2+r_6z_3 ddtimez_2=r_1z_1-r_2+r_7z_2+r_8z_4 ddtimez_3=r_5z_1-r_6+r_3z_3+r_4z_4

Component: J_values

J_R1=y_ooJ_Roo+J_Rcoy_co J_R3=J_Rcobeta_pccbeta_m+beta_pcc J_L1=J_Looy_oo+J_Locy_oc J_L2=J_Localpha_palpha_p+alpha_m

Component: L_flux

J_LC=z_1J_L1+z_2J_L2NV_myo

Component: R_flux

J_RY=z_1J_R1+z_3J_R3NV_myo

Component: troponin

betaCab=k_off1-Tensiongamma_trpnT_refif1-Tensiongamma_trpnT_ref>0.1k_off0.1otherwise J_TPRN=B_TRPN-TRPNbetaCab-Ca_iTRPNk_on

Component: Myofilaments

lambda_prev=ExtensionRatio dExtensionRatiodt=0 lamda=ExtensionRatioifExtensionRatio>0.8ExtensionRatio1.151.15ifExtensionRatio>1.150.8otherwise

Component: thinfilaments

Component: tropomyosin

K_2=alpha_r2z_pn_Relz_pn_Rel+K_zn_Rel1-n_RelK_zn_Relz_pn_Rel+K_zn_Rel K_1=alpha_r2z_pn_Rel-1n_RelK_zn_Relz_pn_Rel+K_zn_Rel2 z_max=alpha_0Ca_TRPN_50TRPN_totn_Hill-K_2alpha_r1+K_1+alpha_0Ca_TRPN_50TRPN_totn_Hill Ca_50=Ca_50ref1+beta_1lamda-1 Ca_TRPN_50=Ca_50TRPN_totCa_50+k_offk_on1-1+beta_0lamda-10.5gamma_trpn alpha_Tm=alpha_0Ca_bCa_TRPN_50n_Hill beta_Tm=alpha_r1+alpha_r2zn_Rel-1zn_Rel+K_zn_Rel ddtimez=alpha_Tm1-z-beta_Tmz

Component: filament_overlap

overlap=1+beta_0lamda-1

Component: length_independent_tension

T_Base=T_refzz_max

Component: isometric_tension

T_0=T_Baseoverlap

Component: Cross_Bridges

Q=Q_1+Q_2+Q_3 Tension=T_0aQ+11-QifQ<0T_01+a+2Q1+Qotherwise ddtimeQ_1=A_1dExtensionRatiodt-alpha_1Q_1 ddtimeQ_2=A_2dExtensionRatiodt-alpha_2Q_2 ddtimeQ_3=A_3dExtensionRatiodt-alpha_3Q_3

Component: Calcium_Handling

Component: Calcium_membrane

Component: pH_regulation