Location: Single PASMC model (Gosak et al 2014) @ 4d9f1500c38c / Components / JPMCAi.txt

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-04-14 19:02:38+12:00
Desc:
update Lib; add models
Permanent Source URI:
https://staging.physiomeproject.org/workspace/83f/rawfile/4d9f1500c38c05427831e95e102c318d45f89d4c/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;