Location: Single PASMC model (Gosak et al 2014) @ 2342955c5f05 / Components / JNCXi.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/JNCXi.txt

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

    def comp JNCXi as
        var G_NCX: uM_per_s_mV {pub: in};
        var v_NCX: mV {pub: in};
        var c_NCX: uM {pub: in};
        var c_i: uM {pub: in};
        var v_i: mV {pub: in};
        var J_NCXi: uM_per_s {pub: out};

        J_NCXi=G_NCX*(c_i/(c_i+c_NCX))*(v_NCX-v_i);

    enddef;

enddef;