Location: Modeling the Recruitment and Synchronization of SMCs (Koenigsberger et al. 2004) @ e49ff561204d / Components / buildsrc / SMC.txt

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-06-23 10:59:39+12:00
Desc:
Remove a typo
Permanent Source URI:
http://models.cellml.org/workspace/874/rawfile/e49ff561204dfdf4692d90837d271bd04fc6286d/Components/buildsrc/SMC.txt

def model SMC as
    def import using "../cellLib/Components/units.cellml" for
        unit C_per_mmol using unit C_per_mmol;
        unit J_per_K_mol using unit J_per_K_mol;
        unit mM using unit mM;
        unit mV using unit mV;
        unit mV_per_uM using unit mV_per_uM;
        unit per_s using unit per_s;
        unit uM using unit uM;
        unit uM2 using unit uM2;
        unit uM_per_s using unit uM_per_s;
        unit uM_per_s_mV using unit uM_per_s_mV;
    enddef;

    def import using "Cai.cellml" for
        comp Cai using comp Cai;
    enddef;

    def import using "../SinglePASMC/Components/Casr.cellml" for
        comp Casr using comp Casr;
    enddef;

    def import using "IP3.cellml" for
        comp IP3 using comp IP3;
    enddef;

    def import using "../SinglePASMC/Components/JCICRi.cellml" for
        comp JCICRi using comp JCICRi;
    enddef;

    def import using "JCli.cellml" for
        comp JCli using comp JCli;
    enddef;

    def import using "JIP3i.cellml" for
        comp JIP3i using comp JIP3i;
    enddef;

    def import using "JKi.cellml" for
        comp JKi using comp JKi;
    enddef;

    def import using "../SinglePASMC/Components/JNCXi.cellml" for
        comp JNCXi using comp JNCXi;
    enddef;

    def import using "JNKAi.cellml" for
        comp JNKAi using comp JNKAi;
    enddef;

    def import using "JPLCdeltai.cellml" for
        comp JPLCdeltai using comp JPLCdeltai;
    enddef;

    def import using "../SinglePASMC/Components/JPMCAi.cellml" for
        comp JPMCAi using comp JPMCAi;
    enddef;

    def import using "../SinglePASMC/Components/JSERCAi.cellml" for
        comp JSERCAi using comp JSERCAi;
    enddef;

    def import using "../SinglePASMC/Components/JVOCCi.cellml" for
        comp JVOCCi using comp JVOCCi;
    enddef;

    def import using "Jdegradi.cellml" for
        comp Jdegradi using comp Jdegradi;
    enddef;

    def import using "../SinglePASMC/Components/Jleaki.cellml" for
        comp Jleaki using comp Jleaki;
    enddef;

    def import using "../SinglePASMC/Components/Vm.cellml" for
        comp Vm using comp Vm;
    enddef;

    def comp SMC as
        var gamma: mV_per_uM {pub: in, priv: out};
        var vi_init: mV {pub: in, priv: out};
        var ci_init: uM {pub: in, priv: out};
        var si_init: uM {pub: in, priv: out};
        var Ii_init: uM {pub: in, priv: out};
        var F_IP3: uM_per_s {pub: in, priv: out};
        var K_r: uM {pub: in, priv: out};
        var k: per_s {pub: in, priv: out};
        var K_Ca: uM {pub: in, priv: out};
        var G_Ki: uM_per_s_mV {pub: in, priv: out};
        var wi_init: dimensionless {pub: in, priv: out};
        var lambda: per_s {pub: in, priv: out};
        var c_w: uM {pub: in, priv: out};
        var v_Ca3: mV {pub: in, priv: out};
        var R_K: mV {pub: in, priv: out};
        var beta: uM2 {pub: in, priv: out};
        var Ki: mM {pub: in, priv: out};
        var R: J_per_K_mol {pub: in, priv: out};
        var F: C_per_mmol {pub: in, priv: out};
        var T: kelvin {pub: in, priv: out};
        var G_Cl: uM_per_s_mV {pub: in, priv: out};
        var Cli: mM {pub: in, priv: out};
        var F_NKA: uM_per_s {pub: in, priv: out};
        var L: per_s {pub: in, priv: out};
        var D: per_s {pub: in, priv: out};
        var v_d: mV {pub: in, priv: out};
        var R_d: mV {pub: in, priv: out};
        var C: uM_per_s {pub: in, priv: out};
        var s_c: uM {pub: in, priv: out};
        var c_c: uM {pub: in, priv: out};
        var B: uM_per_s {pub: in, priv: out};
        var c_b: uM {pub: in, priv: out};
        var G_NCX: uM_per_s_mV {pub: in, priv: out};
        var v_NCX: mV {pub: in, priv: out};
        var c_NCX: uM {pub: in, priv: out};
        var G_Ca: uM_per_s_mV {pub: in, priv: out};
        var v_Ca1: mV {pub: in, priv: out};
        var v_Ca2: mV {pub: in, priv: out};
        var R_Ca: mV {pub: in, priv: out};
        var E: uM_per_s {pub: in, priv: out};
        var J_PLCagonisti: uM_per_s {pub: in, priv: out};
        var Ko: mM {pub: in, priv: out};
        var Clo: mM {pub: in, priv: out};
        var v_i: mV {pub: out, priv: in};
        var s_i: uM {pub: out, priv: in};
        var c_i: uM {pub: out, priv: in};
        var w_i: dimensionless {pub: out, priv: in};
        var I_i: uM {pub: out, priv: in};
        var t: second {pub: in, priv: out};
    enddef;

    def group as encapsulation for
        comp SMC incl
            comp JVOCCi;
            comp JNCXi;
            comp JSERCAi;
            comp JCICRi;
            comp JPMCAi;
            comp Jleaki;
            comp JNKAi;
            comp JCli;
            comp JKi;
            comp JPLCdeltai;
            comp Jdegradi;
            comp JIP3i;
            comp IP3;
            comp Casr;
            comp Cai;
            comp Vm;
        endcomp;
    enddef;

    def map between Cai and JCICRi for
        vars c_i and c_i;
        vars J_CICRi and J_CICRi;
    enddef;

    def map between Cai and JIP3i for
        vars J_IP3i and J_IP3i;
    enddef;

    def map between Cai and JKi for
        vars c_i and c_i;
    enddef;

    def map between Cai and JNCXi for
        vars c_i and c_i;
        vars J_NCXi and J_NCXi;
    enddef;

    def map between Cai and JPLCdeltai for
        vars c_i and c_i;
    enddef;

    def map between Cai and JPMCAi for
        vars c_i and c_i;
        vars J_PMCAi and J_PMCAi;
    enddef;

    def map between Cai and JSERCAi for
        vars c_i and c_i;
        vars J_SERCAi and J_SERCAi;
    enddef;

    def map between Cai and JVOCCi for
        vars J_VOCCi and J_VOCCi;
    enddef;

    def map between Cai and Jleaki for
        vars J_leaki and J_leaki;
    enddef;

    def map between Cai and SMC for
        vars c_i and c_i;
        vars t and t;
        vars ci_init and ci_init;
    enddef;

    def map between Casr and JCICRi for
        vars s_i and s_i;
        vars J_CICRi and J_CICRi;
    enddef;

    def map between Casr and JSERCAi for
        vars J_SERCAi and J_SERCAi;
    enddef;

    def map between Casr and Jleaki for
        vars s_i and s_i;
        vars J_leaki and J_leaki;
    enddef;

    def map between Casr and SMC for
        vars s_i and s_i;
        vars t and t;
        vars si_init and si_init;
    enddef;

    def map between IP3 and JIP3i for
        vars I_i and I_i;
    enddef;

    def map between IP3 and JPLCdeltai for
        vars J_PLC_delta_i and J_PLC_delta_i;
    enddef;

    def map between IP3 and Jdegradi for
        vars I_i and I_i;
        vars J_degradi and J_degradi;
    enddef;

    def map between IP3 and SMC for
        vars I_i and I_i;
        vars J_PLCagonisti and J_PLCagonisti;
        vars t and t;
        vars Ii_init and Ii_init;
    enddef;

    def map between JCICRi and SMC for
        vars C and C;
        vars s_c and s_c;
        vars c_c and c_c;
    enddef;

    def map between JCli and Vm for
        vars J_Cli and J_Cli;
        vars v_i and v_i;
    enddef;

    def map between JCli and SMC for
        vars R and R;
        vars F and F;
        vars T and T;
        vars G_Cl and G_Cl;
        vars Clo and Clo;
        vars Cli and Cli;
    enddef;

    def map between JIP3i and SMC for
        vars F_IP3 and F_IP3;
        vars K_r and K_r;
    enddef;

    def map between JKi and Vm for
        vars J_Ki and J_Ki;
        vars v_i and v_i;
    enddef;

    def map between JKi and SMC for
        vars w_i and w_i;
        vars R and R;
        vars F and F;
        vars T and T;
        vars G_Ki and G_Ki;
        vars wi_init and wi_init;
        vars lambda and lambda;
        vars c_w and c_w;
        vars v_Ca3 and v_Ca3;
        vars R_K and R_K;
        vars beta and beta;
        vars Ki and Ki;
        vars Ko and Ko;
        vars t and t;
    enddef;

    def map between JNCXi and Vm for
        vars J_NCXi and J_NCXi;
        vars v_i and v_i;
    enddef;

    def map between JNCXi and SMC for
        vars G_NCX and G_NCX;
        vars v_NCX and v_NCX;
        vars c_NCX and c_NCX;
    enddef;

    def map between JNKAi and Vm for
        vars J_NKAi and J_NKAi;
    enddef;

    def map between JNKAi and SMC for
        vars F_NKA and F_NKA;
    enddef;

    def map between JPLCdeltai and SMC for
        vars E and E;
        vars K_Ca and K_Ca;
    enddef;

    def map between JPMCAi and Vm for
        vars v_i and v_i;
    enddef;

    def map between JPMCAi and SMC for
        vars D and D;
        vars v_d and v_d;
        vars R_d and R_d;
    enddef;

    def map between JSERCAi and SMC for
        vars B and B;
        vars c_b and c_b;
    enddef;

    def map between JVOCCi and Vm for
        vars J_VOCCi and J_VOCCi;
        vars v_i and v_i;
    enddef;

    def map between JVOCCi and SMC for
        vars G_Ca and G_Ca;
        vars v_Ca1 and v_Ca1;
        vars v_Ca2 and v_Ca2;
        vars R_Ca and R_Ca;
    enddef;

    def map between Jdegradi and SMC for
        vars k and k;
    enddef;

    def map between Jleaki and SMC for
        vars L and L;
    enddef;

    def map between Vm and SMC for
        vars v_i and v_i;
        vars gamma and gamma;
        vars t and t;
        vars vi_init and vi_init;
    enddef;

enddef;