Location: Single PASMC model (Gosak et al 2014) @ 887894c158d4 / Components / buildsrc / JCli.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/JCli.txt

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

    def comp JCli as
        var G_Cl: uM_per_s_mV {pub: in};
        var v_Cl: mV {pub: in};
        var v_i: mV {pub: in};
        var J_Cli: uM_per_s {pub: out};

        J_Cli=G_Cl*(v_i-v_Cl);

    enddef;

enddef;