Location: Single PASMC model (Gosak et al 2014) @ 887894c158d4 / Components / buildsrc / Vm.txt

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-06-13 11:44:41+12:00
Desc:
Modify the intracelluar K from 4.7 mM to 5.9 mM
Permanent Source URI:
https://models.cellml.org/workspace/83f/rawfile/887894c158d460d4505bd3fb26d23a7b939ca442/Components/buildsrc/Vm.txt

def model Vm as
    def import using "../cellLib/Components/units.cellml" for
        unit mV using unit mV;
        unit mV_per_uM using unit mV_per_uM;
        unit uM_per_s using unit uM_per_s;
    enddef;

    def comp Vm as
        var gamma: mV_per_uM {pub: in};
        var J_NKAi: uM_per_s {pub: in};
        var J_Cli: uM_per_s {pub: in};
        var J_VOCCi: uM_per_s {pub: in};
        var J_NCXi: uM_per_s {pub: in};
        var J_Ki: uM_per_s {pub: in};
        var t: second {pub: in};
        var vi_init: mV {pub: in};
        var v_i: mV {init: vi_init, pub: out};

        ode(v_i,t)=gamma*(-J_NKAi-J_Cli+2{dimensionless}*J_VOCCi+J_NCXi-J_Ki);

    enddef;

enddef;