- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2022-06-22 16:16:24+12:00
- Desc:
- Init
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/8ab/rawfile/3bd36f5ad0fa106f9b6a31beb5f428b73d34af5f/parameter_finder/output/TEMP.cellml.txt
def model individual_IPR as
def import using "units_and_constants/units_BG.cellml" for
unit mM using unit mM;
unit fmol using unit fmol;
unit per_fmol using unit per_fmol;
unit J_per_mol using unit J_per_mol;
unit fmol_per_sec using unit fmol_per_sec;
unit C_per_mol using unit C_per_mol;
unit J_per_C using unit J_per_C;
unit microm3 using unit microm3;
unit fF using unit fF;
unit fC using unit fC;
unit fA using unit fA;
unit per_second using unit per_second;
unit millivolt using unit millivolt;
unit per_sec using unit per_sec;
unit J_per_K_per_mol using unit J_per_K_per_mol;
unit fmol_per_L using unit fmol_per_L;
unit fmol_per_L_per_sec using unit fmol_per_L_per_sec;
unit per_sec_per_fmol_per_L using unit per_sec_per_fmol_per_L;
unit uM using unit uM;
unit mM_per_sec using unit mM_per_sec;
unit uM_per_sec using unit uM_per_sec;
unit pL using unit pL;
unit m_to_u using unit m_to_u;
enddef;
def import using "units_and_constants/constants_BG.cellml" for
comp constants using comp constants;
enddef;
def comp environment as
var time: second {pub: out};
// initial values
var q_Ca_i: fmol {init: 1e-888, pub: out};
var q_Ca_SR: fmol {init: 1e-888, pub: out};
var q_IP3: fmol {init: 1e-888, pub: out};
var q_Sa_000_IPR: fmol {init: 1e-888, pub: out};
var q_Sa_001_IPR: fmol {init: 1e-888, pub: out};
var q_Sa_010_IPR: fmol {init: 1e-888, pub: out};
var q_Sa_011_IPR: fmol {init: 1e-888, pub: out};
var q_Sa_100_IPR: fmol {init: 1e-888, pub: out};
var q_Sa_101_IPR: fmol {init: 1e-888, pub: out};
var q_Sa_110_IPR: fmol {init: 1e-888, pub: out};
var q_Sa_111_IPR: fmol {init: 1e-888, pub: out};
var q_Sb_000_IPR: fmol {init: 1e-888, pub: out};
var q_Sb_001_IPR: fmol {init: 1e-888, pub: out};
var q_Sb_010_IPR: fmol {init: 1e-888, pub: out};
var q_Sb_011_IPR: fmol {init: 1e-888, pub: out};
var q_Sb_100_IPR: fmol {init: 1e-888, pub: out};
var q_Sb_101_IPR: fmol {init: 1e-888, pub: out};
var q_Sb_110_IPR: fmol {init: 1e-888, pub: out};
var q_Sb_111_IPR: fmol {init: 1e-888, pub: out};
var q_Sc_000_IPR: fmol {init: 1e-888, pub: out};
var q_Sc_001_IPR: fmol {init: 1e-888, pub: out};
var q_Sc_010_IPR: fmol {init: 1e-888, pub: out};
var q_Sc_011_IPR: fmol {init: 1e-888, pub: out};
var q_Sc_100_IPR: fmol {init: 1e-888, pub: out};
var q_Sc_101_IPR: fmol {init: 1e-888, pub: out};
var q_Sc_110_IPR: fmol {init: 1e-888, pub: out};
var q_Sc_111_IPR: fmol {init: 1e-888, pub: out};
// From submodule
var v_R_IPR_main: fmol_per_sec {pub: in};
var v_R1_a_IPR: fmol_per_sec {pub: in};
var v_R2_a_IPR: fmol_per_sec {pub: in};
var v_R3_a_IPR: fmol_per_sec {pub: in};
var v_R4_a_IPR: fmol_per_sec {pub: in};
var v_R5_a_IPR: fmol_per_sec {pub: in};
var v_R6_a_IPR: fmol_per_sec {pub: in};
var v_R7_a_IPR: fmol_per_sec {pub: in};
var v_R8_a_IPR: fmol_per_sec {pub: in};
var v_R9_a_IPR: fmol_per_sec {pub: in};
var v_R10_a_IPR: fmol_per_sec {pub: in};
var v_R11_a_IPR: fmol_per_sec {pub: in};
var v_R12_a_IPR: fmol_per_sec {pub: in};
var v_R1_b_IPR: fmol_per_sec {pub: in};
var v_R2_b_IPR: fmol_per_sec {pub: in};
var v_R3_b_IPR: fmol_per_sec {pub: in};
var v_R4_b_IPR: fmol_per_sec {pub: in};
var v_R5_b_IPR: fmol_per_sec {pub: in};
var v_R6_b_IPR: fmol_per_sec {pub: in};
var v_R7_b_IPR: fmol_per_sec {pub: in};
var v_R8_b_IPR: fmol_per_sec {pub: in};
var v_R9_b_IPR: fmol_per_sec {pub: in};
var v_R10_b_IPR: fmol_per_sec {pub: in};
var v_R11_b_IPR: fmol_per_sec {pub: in};
var v_R12_b_IPR: fmol_per_sec {pub: in};
var v_R1_c_IPR: fmol_per_sec {pub: in};
var v_R2_c_IPR: fmol_per_sec {pub: in};
var v_R3_c_IPR: fmol_per_sec {pub: in};
var v_R4_c_IPR: fmol_per_sec {pub: in};
var v_R5_c_IPR: fmol_per_sec {pub: in};
var v_R6_c_IPR: fmol_per_sec {pub: in};
var v_R7_c_IPR: fmol_per_sec {pub: in};
var v_R8_c_IPR: fmol_per_sec {pub: in};
var v_R9_c_IPR: fmol_per_sec {pub: in};
var v_R10_c_IPR: fmol_per_sec {pub: in};
var v_R11_c_IPR: fmol_per_sec {pub: in};
var v_R12_c_IPR: fmol_per_sec {pub: in};
ode(q_Ca_i, time) = vvv;
ode(q_Ca_SR, time) = vvv;
ode(q_IP3, time) = vvv;
ode(q_Sa_000_IPR, time) = vvv;
ode(q_Sa_001_IPR, time) = vvv;
ode(q_Sa_010_IPR, time) = vvv;
ode(q_Sa_011_IPR, time) = vvv;
ode(q_Sa_100_IPR, time) = vvv;
ode(q_Sa_101_IPR, time) = vvv;
ode(q_Sa_110_IPR, time) = vvv;
ode(q_Sa_111_IPR, time) = vvv;
ode(q_Sb_000_IPR, time) = vvv;
ode(q_Sb_001_IPR, time) = vvv;
ode(q_Sb_010_IPR, time) = vvv;
ode(q_Sb_011_IPR, time) = vvv;
ode(q_Sb_100_IPR, time) = vvv;
ode(q_Sb_101_IPR, time) = vvv;
ode(q_Sb_110_IPR, time) = vvv;
ode(q_Sb_111_IPR, time) = vvv;
ode(q_Sc_000_IPR, time) = vvv;
ode(q_Sc_001_IPR, time) = vvv;
ode(q_Sc_010_IPR, time) = vvv;
ode(q_Sc_011_IPR, time) = vvv;
ode(q_Sc_100_IPR, time) = vvv;
ode(q_Sc_101_IPR, time) = vvv;
ode(q_Sc_110_IPR, time) = vvv;
ode(q_Sc_111_IPR, time) = vvv;
enddef;
def comp IPR_parameters as
var kappa_R_IPR_main: fmol_per_sec {init: 1.61481e+08, pub: out};
var kappa_R1_a_IPR: fmol_per_sec {init: 0.0180631, pub: out};
var kappa_R2_a_IPR: fmol_per_sec {init: 5.45765, pub: out};
var kappa_R3_a_IPR: fmol_per_sec {init: 0.0957773, pub: out};
var kappa_R4_a_IPR: fmol_per_sec {init: 1.80631, pub: out};
var kappa_R5_a_IPR: fmol_per_sec {init: 7.15849e-05, pub: out};
var kappa_R6_a_IPR: fmol_per_sec {init: 0.00297939, pub: out};
var kappa_R7_a_IPR: fmol_per_sec {init: 0.36184, pub: out};
var kappa_R8_a_IPR: fmol_per_sec {init: 6505.35, pub: out};
var kappa_R9_a_IPR: fmol_per_sec {init: 0.128757, pub: out};
var kappa_R10_a_IPR: fmol_per_sec {init: 0.0426298, pub: out};
var kappa_R11_a_IPR: fmol_per_sec {init: 0.68272, pub: out};
var kappa_R12_a_IPR: fmol_per_sec {init: 205415, pub: out};
var kappa_R1_b_IPR: fmol_per_sec {init: 0.0180631, pub: out};
var kappa_R2_b_IPR: fmol_per_sec {init: 5.45765, pub: out};
var kappa_R3_b_IPR: fmol_per_sec {init: 0.0957773, pub: out};
var kappa_R4_b_IPR: fmol_per_sec {init: 1.80631, pub: out};
var kappa_R5_b_IPR: fmol_per_sec {init: 7.15849e-05, pub: out};
var kappa_R6_b_IPR: fmol_per_sec {init: 0.00297939, pub: out};
var kappa_R7_b_IPR: fmol_per_sec {init: 0.36184, pub: out};
var kappa_R8_b_IPR: fmol_per_sec {init: 6505.35, pub: out};
var kappa_R9_b_IPR: fmol_per_sec {init: 0.128757, pub: out};
var kappa_R10_b_IPR: fmol_per_sec {init: 0.0426298, pub: out};
var kappa_R11_b_IPR: fmol_per_sec {init: 0.68272, pub: out};
var kappa_R12_b_IPR: fmol_per_sec {init: 205415, pub: out};
var kappa_R1_c_IPR: fmol_per_sec {init: 0.0180631, pub: out};
var kappa_R2_c_IPR: fmol_per_sec {init: 5.45765, pub: out};
var kappa_R3_c_IPR: fmol_per_sec {init: 0.0957773, pub: out};
var kappa_R4_c_IPR: fmol_per_sec {init: 1.80631, pub: out};
var kappa_R5_c_IPR: fmol_per_sec {init: 7.15849e-05, pub: out};
var kappa_R6_c_IPR: fmol_per_sec {init: 0.00297939, pub: out};
var kappa_R7_c_IPR: fmol_per_sec {init: 0.36184, pub: out};
var kappa_R8_c_IPR: fmol_per_sec {init: 6505.35, pub: out};
var kappa_R9_c_IPR: fmol_per_sec {init: 0.128757, pub: out};
var kappa_R10_c_IPR: fmol_per_sec {init: 0.0426298, pub: out};
var kappa_R11_c_IPR: fmol_per_sec {init: 0.68272, pub: out};
var kappa_R12_c_IPR: fmol_per_sec {init: 205415, pub: out};
var K_Ca_i: per_fmol {init: 617.368, pub: out};
var K_Ca_SR: per_fmol {init: 1004.58, pub: out};
var K_IP3: per_fmol {init: 523369, pub: out};
var K_Sa_000_IPR: per_fmol {init: 4.83415, pub: out};
var K_Sa_001_IPR: per_fmol {init: 1.59995, pub: out};
var K_Sa_010_IPR: per_fmol {init: 0.911695, pub: out};
var K_Sa_011_IPR: per_fmol {init: 0.301742, pub: out};
var K_Sa_100_IPR: per_fmol {init: 1219.81, pub: out};
var K_Sa_101_IPR: per_fmol {init: 2930.79, pub: out};
var K_Sa_110_IPR: per_fmol {init: 0.000253146, pub: out};
var K_Sa_111_IPR: per_fmol {init: 552.73, pub: out};
var K_Sb_000_IPR: per_fmol {init: 4.83415, pub: out};
var K_Sb_001_IPR: per_fmol {init: 1.59995, pub: out};
var K_Sb_010_IPR: per_fmol {init: 0.911695, pub: out};
var K_Sb_011_IPR: per_fmol {init: 0.301742, pub: out};
var K_Sb_100_IPR: per_fmol {init: 1219.81, pub: out};
var K_Sb_101_IPR: per_fmol {init: 2930.79, pub: out};
var K_Sb_110_IPR: per_fmol {init: 0.000253146, pub: out};
var K_Sb_111_IPR: per_fmol {init: 552.73, pub: out};
var K_Sc_000_IPR: per_fmol {init: 4.83415, pub: out};
var K_Sc_001_IPR: per_fmol {init: 1.59995, pub: out};
var K_Sc_010_IPR: per_fmol {init: 0.911695, pub: out};
var K_Sc_011_IPR: per_fmol {init: 0.301742, pub: out};
var K_Sc_100_IPR: per_fmol {init: 1219.81, pub: out};
var K_Sc_101_IPR: per_fmol {init: 2930.79, pub: out};
var K_Sc_110_IPR: per_fmol {init: 0.000253146, pub: out};
var K_Sc_111_IPR: per_fmol {init: 552.73, pub: out};
enddef;
def comp IPR as
var time: second {pub: in};
var R: J_per_K_per_mol {pub: in};
var T: kelvin {pub: in};
// parameters
var kappa_R_IPR_main: fmol_per_sec {pub: in};
var kappa_R1_a_IPR: fmol_per_sec {pub: in};
var kappa_R2_a_IPR: fmol_per_sec {pub: in};
var kappa_R3_a_IPR: fmol_per_sec {pub: in};
var kappa_R4_a_IPR: fmol_per_sec {pub: in};
var kappa_R5_a_IPR: fmol_per_sec {pub: in};
var kappa_R6_a_IPR: fmol_per_sec {pub: in};
var kappa_R7_a_IPR: fmol_per_sec {pub: in};
var kappa_R8_a_IPR: fmol_per_sec {pub: in};
var kappa_R9_a_IPR: fmol_per_sec {pub: in};
var kappa_R10_a_IPR: fmol_per_sec {pub: in};
var kappa_R11_a_IPR: fmol_per_sec {pub: in};
var kappa_R12_a_IPR: fmol_per_sec {pub: in};
var kappa_R1_b_IPR: fmol_per_sec {pub: in};
var kappa_R2_b_IPR: fmol_per_sec {pub: in};
var kappa_R3_b_IPR: fmol_per_sec {pub: in};
var kappa_R4_b_IPR: fmol_per_sec {pub: in};
var kappa_R5_b_IPR: fmol_per_sec {pub: in};
var kappa_R6_b_IPR: fmol_per_sec {pub: in};
var kappa_R7_b_IPR: fmol_per_sec {pub: in};
var kappa_R8_b_IPR: fmol_per_sec {pub: in};
var kappa_R9_b_IPR: fmol_per_sec {pub: in};
var kappa_R10_b_IPR: fmol_per_sec {pub: in};
var kappa_R11_b_IPR: fmol_per_sec {pub: in};
var kappa_R12_b_IPR: fmol_per_sec {pub: in};
var kappa_R1_c_IPR: fmol_per_sec {pub: in};
var kappa_R2_c_IPR: fmol_per_sec {pub: in};
var kappa_R3_c_IPR: fmol_per_sec {pub: in};
var kappa_R4_c_IPR: fmol_per_sec {pub: in};
var kappa_R5_c_IPR: fmol_per_sec {pub: in};
var kappa_R6_c_IPR: fmol_per_sec {pub: in};
var kappa_R7_c_IPR: fmol_per_sec {pub: in};
var kappa_R8_c_IPR: fmol_per_sec {pub: in};
var kappa_R9_c_IPR: fmol_per_sec {pub: in};
var kappa_R10_c_IPR: fmol_per_sec {pub: in};
var kappa_R11_c_IPR: fmol_per_sec {pub: in};
var kappa_R12_c_IPR: fmol_per_sec {pub: in};
var K_Ca_i: per_fmol {pub: in};
var K_Ca_SR: per_fmol {pub: in};
var K_IP3: per_fmol {pub: in};
var K_Sa_000_IPR: per_fmol {pub: in};
var K_Sa_001_IPR: per_fmol {pub: in};
var K_Sa_010_IPR: per_fmol {pub: in};
var K_Sa_011_IPR: per_fmol {pub: in};
var K_Sa_100_IPR: per_fmol {pub: in};
var K_Sa_101_IPR: per_fmol {pub: in};
var K_Sa_110_IPR: per_fmol {pub: in};
var K_Sa_111_IPR: per_fmol {pub: in};
var K_Sb_000_IPR: per_fmol {pub: in};
var K_Sb_001_IPR: per_fmol {pub: in};
var K_Sb_010_IPR: per_fmol {pub: in};
var K_Sb_011_IPR: per_fmol {pub: in};
var K_Sb_100_IPR: per_fmol {pub: in};
var K_Sb_101_IPR: per_fmol {pub: in};
var K_Sb_110_IPR: per_fmol {pub: in};
var K_Sb_111_IPR: per_fmol {pub: in};
var K_Sc_000_IPR: per_fmol {pub: in};
var K_Sc_001_IPR: per_fmol {pub: in};
var K_Sc_010_IPR: per_fmol {pub: in};
var K_Sc_011_IPR: per_fmol {pub: in};
var K_Sc_100_IPR: per_fmol {pub: in};
var K_Sc_101_IPR: per_fmol {pub: in};
var K_Sc_110_IPR: per_fmol {pub: in};
var K_Sc_111_IPR: per_fmol {pub: in};
// Input from global environment
var q_Ca_i: fmol {pub: in};
var q_Ca_SR: fmol {pub: in};
var q_IP3: fmol {pub: in};
var q_Sa_000_IPR: fmol {pub: in};
var q_Sa_001_IPR: fmol {pub: in};
var q_Sa_010_IPR: fmol {pub: in};
var q_Sa_011_IPR: fmol {pub: in};
var q_Sa_100_IPR: fmol {pub: in};
var q_Sa_101_IPR: fmol {pub: in};
var q_Sa_110_IPR: fmol {pub: in};
var q_Sa_111_IPR: fmol {pub: in};
var q_Sb_000_IPR: fmol {pub: in};
var q_Sb_001_IPR: fmol {pub: in};
var q_Sb_010_IPR: fmol {pub: in};
var q_Sb_011_IPR: fmol {pub: in};
var q_Sb_100_IPR: fmol {pub: in};
var q_Sb_101_IPR: fmol {pub: in};
var q_Sb_110_IPR: fmol {pub: in};
var q_Sb_111_IPR: fmol {pub: in};
var q_Sc_000_IPR: fmol {pub: in};
var q_Sc_001_IPR: fmol {pub: in};
var q_Sc_010_IPR: fmol {pub: in};
var q_Sc_011_IPR: fmol {pub: in};
var q_Sc_100_IPR: fmol {pub: in};
var q_Sc_101_IPR: fmol {pub: in};
var q_Sc_110_IPR: fmol {pub: in};
var q_Sc_111_IPR: fmol {pub: in};
// Constitutive parameters
var mu_Ca_i: J_per_mol;
var mu_Ca_SR: J_per_mol;
var mu_IP3: J_per_mol;
var mu_Sa_000_IPR: J_per_mol;
var mu_Sa_001_IPR: J_per_mol;
var mu_Sa_010_IPR: J_per_mol;
var mu_Sa_011_IPR: J_per_mol;
var mu_Sa_100_IPR: J_per_mol;
var mu_Sa_101_IPR: J_per_mol;
var mu_Sa_110_IPR: J_per_mol;
var mu_Sa_111_IPR: J_per_mol;
var mu_Sb_000_IPR: J_per_mol;
var mu_Sb_001_IPR: J_per_mol;
var mu_Sb_010_IPR: J_per_mol;
var mu_Sb_011_IPR: J_per_mol;
var mu_Sb_100_IPR: J_per_mol;
var mu_Sb_101_IPR: J_per_mol;
var mu_Sb_110_IPR: J_per_mol;
var mu_Sb_111_IPR: J_per_mol;
var mu_Sc_000_IPR: J_per_mol;
var mu_Sc_001_IPR: J_per_mol;
var mu_Sc_010_IPR: J_per_mol;
var mu_Sc_011_IPR: J_per_mol;
var mu_Sc_100_IPR: J_per_mol;
var mu_Sc_101_IPR: J_per_mol;
var mu_Sc_110_IPR: J_per_mol;
var mu_Sc_111_IPR: J_per_mol;
var v_R_IPR_main: fmol_per_sec {pub: out};
var v_R1_a_IPR: fmol_per_sec {pub: out};
var v_R2_a_IPR: fmol_per_sec {pub: out};
var v_R3_a_IPR: fmol_per_sec {pub: out};
var v_R4_a_IPR: fmol_per_sec {pub: out};
var v_R5_a_IPR: fmol_per_sec {pub: out};
var v_R6_a_IPR: fmol_per_sec {pub: out};
var v_R7_a_IPR: fmol_per_sec {pub: out};
var v_R8_a_IPR: fmol_per_sec {pub: out};
var v_R9_a_IPR: fmol_per_sec {pub: out};
var v_R10_a_IPR: fmol_per_sec {pub: out};
var v_R11_a_IPR: fmol_per_sec {pub: out};
var v_R12_a_IPR: fmol_per_sec {pub: out};
var v_R1_b_IPR: fmol_per_sec {pub: out};
var v_R2_b_IPR: fmol_per_sec {pub: out};
var v_R3_b_IPR: fmol_per_sec {pub: out};
var v_R4_b_IPR: fmol_per_sec {pub: out};
var v_R5_b_IPR: fmol_per_sec {pub: out};
var v_R6_b_IPR: fmol_per_sec {pub: out};
var v_R7_b_IPR: fmol_per_sec {pub: out};
var v_R8_b_IPR: fmol_per_sec {pub: out};
var v_R9_b_IPR: fmol_per_sec {pub: out};
var v_R10_b_IPR: fmol_per_sec {pub: out};
var v_R11_b_IPR: fmol_per_sec {pub: out};
var v_R12_b_IPR: fmol_per_sec {pub: out};
var v_R1_c_IPR: fmol_per_sec {pub: out};
var v_R2_c_IPR: fmol_per_sec {pub: out};
var v_R3_c_IPR: fmol_per_sec {pub: out};
var v_R4_c_IPR: fmol_per_sec {pub: out};
var v_R5_c_IPR: fmol_per_sec {pub: out};
var v_R6_c_IPR: fmol_per_sec {pub: out};
var v_R7_c_IPR: fmol_per_sec {pub: out};
var v_R8_c_IPR: fmol_per_sec {pub: out};
var v_R9_c_IPR: fmol_per_sec {pub: out};
var v_R10_c_IPR: fmol_per_sec {pub: out};
var v_R11_c_IPR: fmol_per_sec {pub: out};
var v_R12_c_IPR: fmol_per_sec {pub: out};
mu_Ca_i = R*T*ln(K_Ca_i*q_Ca_i);
mu_Ca_SR = R*T*ln(K_Ca_SR*q_Ca_SR);
mu_IP3 = R*T*ln(K_IP3*q_IP3);
mu_Sa_000_IPR = R*T*ln(K_Sa_000_IPR*q_Sa_000_IPR);
mu_Sa_001_IPR = R*T*ln(K_Sa_001_IPR*q_Sa_001_IPR);
mu_Sa_010_IPR = R*T*ln(K_Sa_010_IPR*q_Sa_010_IPR);
mu_Sa_011_IPR = R*T*ln(K_Sa_011_IPR*q_Sa_011_IPR);
mu_Sa_100_IPR = R*T*ln(K_Sa_100_IPR*q_Sa_100_IPR);
mu_Sa_101_IPR = R*T*ln(K_Sa_101_IPR*q_Sa_101_IPR);
mu_Sa_110_IPR = R*T*ln(K_Sa_110_IPR*q_Sa_110_IPR);
mu_Sa_111_IPR = R*T*ln(K_Sa_111_IPR*q_Sa_111_IPR);
mu_Sb_000_IPR = R*T*ln(K_Sb_000_IPR*q_Sb_000_IPR);
mu_Sb_001_IPR = R*T*ln(K_Sb_001_IPR*q_Sb_001_IPR);
mu_Sb_010_IPR = R*T*ln(K_Sb_010_IPR*q_Sb_010_IPR);
mu_Sb_011_IPR = R*T*ln(K_Sb_011_IPR*q_Sb_011_IPR);
mu_Sb_100_IPR = R*T*ln(K_Sb_100_IPR*q_Sb_100_IPR);
mu_Sb_101_IPR = R*T*ln(K_Sb_101_IPR*q_Sb_101_IPR);
mu_Sb_110_IPR = R*T*ln(K_Sb_110_IPR*q_Sb_110_IPR);
mu_Sb_111_IPR = R*T*ln(K_Sb_111_IPR*q_Sb_111_IPR);
mu_Sc_000_IPR = R*T*ln(K_Sc_000_IPR*q_Sc_000_IPR);
mu_Sc_001_IPR = R*T*ln(K_Sc_001_IPR*q_Sc_001_IPR);
mu_Sc_010_IPR = R*T*ln(K_Sc_010_IPR*q_Sc_010_IPR);
mu_Sc_011_IPR = R*T*ln(K_Sc_011_IPR*q_Sc_011_IPR);
mu_Sc_100_IPR = R*T*ln(K_Sc_100_IPR*q_Sc_100_IPR);
mu_Sc_101_IPR = R*T*ln(K_Sc_101_IPR*q_Sc_101_IPR);
mu_Sc_110_IPR = R*T*ln(K_Sc_110_IPR*q_Sc_110_IPR);
mu_Sc_111_IPR = R*T*ln(K_Sc_111_IPR*q_Sc_111_IPR);
v_R_IPR_main = kappa_R_IPR_main*ppp;
v_R1_a_IPR = kappa_R1_a_IPR*ppp;
v_R2_a_IPR = kappa_R2_a_IPR*ppp;
v_R3_a_IPR = kappa_R3_a_IPR*ppp;
v_R4_a_IPR = kappa_R4_a_IPR*ppp;
v_R5_a_IPR = kappa_R5_a_IPR*ppp;
v_R6_a_IPR = kappa_R6_a_IPR*ppp;
v_R7_a_IPR = kappa_R7_a_IPR*ppp;
v_R8_a_IPR = kappa_R8_a_IPR*ppp;
v_R9_a_IPR = kappa_R9_a_IPR*ppp;
v_R10_a_IPR = kappa_R10_a_IPR*ppp;
v_R11_a_IPR = kappa_R11_a_IPR*ppp;
v_R12_a_IPR = kappa_R12_a_IPR*ppp;
v_R1_b_IPR = kappa_R1_b_IPR*ppp;
v_R2_b_IPR = kappa_R2_b_IPR*ppp;
v_R3_b_IPR = kappa_R3_b_IPR*ppp;
v_R4_b_IPR = kappa_R4_b_IPR*ppp;
v_R5_b_IPR = kappa_R5_b_IPR*ppp;
v_R6_b_IPR = kappa_R6_b_IPR*ppp;
v_R7_b_IPR = kappa_R7_b_IPR*ppp;
v_R8_b_IPR = kappa_R8_b_IPR*ppp;
v_R9_b_IPR = kappa_R9_b_IPR*ppp;
v_R10_b_IPR = kappa_R10_b_IPR*ppp;
v_R11_b_IPR = kappa_R11_b_IPR*ppp;
v_R12_b_IPR = kappa_R12_b_IPR*ppp;
v_R1_c_IPR = kappa_R1_c_IPR*ppp;
v_R2_c_IPR = kappa_R2_c_IPR*ppp;
v_R3_c_IPR = kappa_R3_c_IPR*ppp;
v_R4_c_IPR = kappa_R4_c_IPR*ppp;
v_R5_c_IPR = kappa_R5_c_IPR*ppp;
v_R6_c_IPR = kappa_R6_c_IPR*ppp;
v_R7_c_IPR = kappa_R7_c_IPR*ppp;
v_R8_c_IPR = kappa_R8_c_IPR*ppp;
v_R9_c_IPR = kappa_R9_c_IPR*ppp;
v_R10_c_IPR = kappa_R10_c_IPR*ppp;
v_R11_c_IPR = kappa_R11_c_IPR*ppp;
v_R12_c_IPR = kappa_R12_c_IPR*ppp;
enddef;
def map between environment and IPR for
vars time and time;
vars q_Ca_i and q_Ca_i;
vars q_Ca_SR and q_Ca_SR;
vars q_IP3 and q_IP3;
vars q_Sa_000_IPR and q_Sa_000_IPR;
vars q_Sa_001_IPR and q_Sa_001_IPR;
vars q_Sa_010_IPR and q_Sa_010_IPR;
vars q_Sa_011_IPR and q_Sa_011_IPR;
vars q_Sa_100_IPR and q_Sa_100_IPR;
vars q_Sa_101_IPR and q_Sa_101_IPR;
vars q_Sa_110_IPR and q_Sa_110_IPR;
vars q_Sa_111_IPR and q_Sa_111_IPR;
vars q_Sb_000_IPR and q_Sb_000_IPR;
vars q_Sb_001_IPR and q_Sb_001_IPR;
vars q_Sb_010_IPR and q_Sb_010_IPR;
vars q_Sb_011_IPR and q_Sb_011_IPR;
vars q_Sb_100_IPR and q_Sb_100_IPR;
vars q_Sb_101_IPR and q_Sb_101_IPR;
vars q_Sb_110_IPR and q_Sb_110_IPR;
vars q_Sb_111_IPR and q_Sb_111_IPR;
vars q_Sc_000_IPR and q_Sc_000_IPR;
vars q_Sc_001_IPR and q_Sc_001_IPR;
vars q_Sc_010_IPR and q_Sc_010_IPR;
vars q_Sc_011_IPR and q_Sc_011_IPR;
vars q_Sc_100_IPR and q_Sc_100_IPR;
vars q_Sc_101_IPR and q_Sc_101_IPR;
vars q_Sc_110_IPR and q_Sc_110_IPR;
vars q_Sc_111_IPR and q_Sc_111_IPR;
vars v_R_IPR_main and v_R_IPR_main;
vars v_R1_a_IPR and v_R1_a_IPR;
vars v_R2_a_IPR and v_R2_a_IPR;
vars v_R3_a_IPR and v_R3_a_IPR;
vars v_R4_a_IPR and v_R4_a_IPR;
vars v_R5_a_IPR and v_R5_a_IPR;
vars v_R6_a_IPR and v_R6_a_IPR;
vars v_R7_a_IPR and v_R7_a_IPR;
vars v_R8_a_IPR and v_R8_a_IPR;
vars v_R9_a_IPR and v_R9_a_IPR;
vars v_R10_a_IPR and v_R10_a_IPR;
vars v_R11_a_IPR and v_R11_a_IPR;
vars v_R12_a_IPR and v_R12_a_IPR;
vars v_R1_b_IPR and v_R1_b_IPR;
vars v_R2_b_IPR and v_R2_b_IPR;
vars v_R3_b_IPR and v_R3_b_IPR;
vars v_R4_b_IPR and v_R4_b_IPR;
vars v_R5_b_IPR and v_R5_b_IPR;
vars v_R6_b_IPR and v_R6_b_IPR;
vars v_R7_b_IPR and v_R7_b_IPR;
vars v_R8_b_IPR and v_R8_b_IPR;
vars v_R9_b_IPR and v_R9_b_IPR;
vars v_R10_b_IPR and v_R10_b_IPR;
vars v_R11_b_IPR and v_R11_b_IPR;
vars v_R12_b_IPR and v_R12_b_IPR;
vars v_R1_c_IPR and v_R1_c_IPR;
vars v_R2_c_IPR and v_R2_c_IPR;
vars v_R3_c_IPR and v_R3_c_IPR;
vars v_R4_c_IPR and v_R4_c_IPR;
vars v_R5_c_IPR and v_R5_c_IPR;
vars v_R6_c_IPR and v_R6_c_IPR;
vars v_R7_c_IPR and v_R7_c_IPR;
vars v_R8_c_IPR and v_R8_c_IPR;
vars v_R9_c_IPR and v_R9_c_IPR;
vars v_R10_c_IPR and v_R10_c_IPR;
vars v_R11_c_IPR and v_R11_c_IPR;
vars v_R12_c_IPR and v_R12_c_IPR;
enddef;
def map between IPR and IPR_parameters for
vars kappa_R_IPR_main and kappa_R_IPR_main;
vars kappa_R1_a_IPR and kappa_R1_a_IPR;
vars kappa_R2_a_IPR and kappa_R2_a_IPR;
vars kappa_R3_a_IPR and kappa_R3_a_IPR;
vars kappa_R4_a_IPR and kappa_R4_a_IPR;
vars kappa_R5_a_IPR and kappa_R5_a_IPR;
vars kappa_R6_a_IPR and kappa_R6_a_IPR;
vars kappa_R7_a_IPR and kappa_R7_a_IPR;
vars kappa_R8_a_IPR and kappa_R8_a_IPR;
vars kappa_R9_a_IPR and kappa_R9_a_IPR;
vars kappa_R10_a_IPR and kappa_R10_a_IPR;
vars kappa_R11_a_IPR and kappa_R11_a_IPR;
vars kappa_R12_a_IPR and kappa_R12_a_IPR;
vars kappa_R1_b_IPR and kappa_R1_b_IPR;
vars kappa_R2_b_IPR and kappa_R2_b_IPR;
vars kappa_R3_b_IPR and kappa_R3_b_IPR;
vars kappa_R4_b_IPR and kappa_R4_b_IPR;
vars kappa_R5_b_IPR and kappa_R5_b_IPR;
vars kappa_R6_b_IPR and kappa_R6_b_IPR;
vars kappa_R7_b_IPR and kappa_R7_b_IPR;
vars kappa_R8_b_IPR and kappa_R8_b_IPR;
vars kappa_R9_b_IPR and kappa_R9_b_IPR;
vars kappa_R10_b_IPR and kappa_R10_b_IPR;
vars kappa_R11_b_IPR and kappa_R11_b_IPR;
vars kappa_R12_b_IPR and kappa_R12_b_IPR;
vars kappa_R1_c_IPR and kappa_R1_c_IPR;
vars kappa_R2_c_IPR and kappa_R2_c_IPR;
vars kappa_R3_c_IPR and kappa_R3_c_IPR;
vars kappa_R4_c_IPR and kappa_R4_c_IPR;
vars kappa_R5_c_IPR and kappa_R5_c_IPR;
vars kappa_R6_c_IPR and kappa_R6_c_IPR;
vars kappa_R7_c_IPR and kappa_R7_c_IPR;
vars kappa_R8_c_IPR and kappa_R8_c_IPR;
vars kappa_R9_c_IPR and kappa_R9_c_IPR;
vars kappa_R10_c_IPR and kappa_R10_c_IPR;
vars kappa_R11_c_IPR and kappa_R11_c_IPR;
vars kappa_R12_c_IPR and kappa_R12_c_IPR;
vars K_Ca_i and K_Ca_i;
vars K_Ca_SR and K_Ca_SR;
vars K_IP3 and K_IP3;
vars K_Sa_000_IPR and K_Sa_000_IPR;
vars K_Sa_001_IPR and K_Sa_001_IPR;
vars K_Sa_010_IPR and K_Sa_010_IPR;
vars K_Sa_011_IPR and K_Sa_011_IPR;
vars K_Sa_100_IPR and K_Sa_100_IPR;
vars K_Sa_101_IPR and K_Sa_101_IPR;
vars K_Sa_110_IPR and K_Sa_110_IPR;
vars K_Sa_111_IPR and K_Sa_111_IPR;
vars K_Sb_000_IPR and K_Sb_000_IPR;
vars K_Sb_001_IPR and K_Sb_001_IPR;
vars K_Sb_010_IPR and K_Sb_010_IPR;
vars K_Sb_011_IPR and K_Sb_011_IPR;
vars K_Sb_100_IPR and K_Sb_100_IPR;
vars K_Sb_101_IPR and K_Sb_101_IPR;
vars K_Sb_110_IPR and K_Sb_110_IPR;
vars K_Sb_111_IPR and K_Sb_111_IPR;
vars K_Sc_000_IPR and K_Sc_000_IPR;
vars K_Sc_001_IPR and K_Sc_001_IPR;
vars K_Sc_010_IPR and K_Sc_010_IPR;
vars K_Sc_011_IPR and K_Sc_011_IPR;
vars K_Sc_100_IPR and K_Sc_100_IPR;
vars K_Sc_101_IPR and K_Sc_101_IPR;
vars K_Sc_110_IPR and K_Sc_110_IPR;
vars K_Sc_111_IPR and K_Sc_111_IPR;
enddef;
def map between constants and IPR for
vars R and R;
vars T and T;
enddef;
enddef;