Location: Single PASMC model (Gosak et al 2014) @ 2342955c5f05 / Components / Vm.txt

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-04-20 20:29:47+12:00
Desc:
Correct the models and rebuild; Status: the model output is not correct, need to check the parameters.
Permanent Source URI:
https://models.cellml.org/workspace/83f/rawfile/2342955c5f054b3ddf8883e245b20b574acfa8d2/Components/Vm.txt

def model Vm as
    def import using "../cellLib/Components/units.cellml" for
        unit mM using unit mM;
        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 K_out: mM {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;