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

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

    def comp JPMCAi as
        var D: per_s {pub: in};
        var v_d: mV {pub: in};
        var R_d: mV {pub: in};
        var c_i: uM {pub: in};
        var v_i: mV {pub: in};
        var J_PMCAi: uM_per_s {pub: out};

        J_PMCAi=D*c_i*(1{dimensionless}+(v_i-v_d)/(R_d));

    enddef;

enddef;