Generated Code

The following is c code generated by the CellML API from this CellML file. (Back to language selection)

The raw code is available.

/*
   There are a total of 0 entries in the algebraic variable array.
   There are a total of 77 entries in each of the rate and state variable arrays.
   There are a total of 200 entries in the constant variable array.
 */
/*
 * VOI is t in component environment (s).
 * CONSTANTS[0] is Ca in component Calcium (um).
 * CONSTANTS[1] is GTP in component undefinedvariables (um).
 * CONSTANTS[2] is PKA in component undefinedvariables (um).
 * STATES[0] is PKC in component KEL_DAGIP3_Model_Modules (um).
 * STATES[1] is GAP in component B_Model_Modules (um).
 * STATES[2] is Raf in component B_Model_Modules (um).
 * STATES[3] is GEF_star in component DGBM_Model_Modules (um).
 * STATES[4] is CaM_GEF in component DGBM_Model_Modules (um).
 * STATES[5] is Gbg_GEF in component DGBM_Model_Modules (um).
 * STATES[6] is CaGqPLC in component DGBM_Model_Modules (um).
 * STATES[7] is CaPLC in component DGBM_Model_Modules (um).
 * STATES[8] is NgCaM in component DGBM_Model_Modules (um).
 * STATES[9] is GEF in component DGBM_Model_Modules (um).
 * STATES[10] is Ng in component DGBM_Model_Modules (um).
 * STATES[11] is Gbg in component DGBM_Model_Modules (um).
 * STATES[12] is Ga_GDP in component DGBM_Model_Modules (um).
 * STATES[13] is mGluR in component DGBM_Model_Modules (um).
 * STATES[14] is PLC in component DGBM_Model_Modules (um).
 * STATES[15] is Ca2CaM in component DGBM_Model_Modules (um).
 * STATES[16] is Ca3CaM in component DGBM_Model_Modules (um).
 * STATES[17] is Ng_star in component DGBM_Model_Modules (um).
 * STATES[18] is Gabg in component DGBM_Model_Modules (um).
 * STATES[19] is R in component DGBM_Model_Modules (um).
 * STATES[20] is Gabg_R in component DGBM_Model_Modules (um).
 * STATES[21] is Glu_synapse in component DGBM_Model_Modules (um).
 * STATES[22] is Gabg_GluR in component DGBM_Model_Modules (um).
 * STATES[23] is Glu in component DGBM_Model_Modules (um).
 * STATES[24] is Ga_GTP in component DGBM_Model_Modules (um).
 * STATES[25] is GqPLC in component DGBM_Model_Modules (um).
 * STATES[26] is GEF_inact in component DGBM_Model_Modules (um).
 * STATES[27] is Ca4CAM in component DGBM_Model_Modules (um).
 * STATES[28] is CaM in component DGBM_Model_Modules (um).
 * CONSTANTS[3] is one in component DGBM_Model_Modules (dimensionless).
 * CONSTANTS[4] is kfD1 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[5] is kbD1 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[6] is kfD2 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[7] is kbD2 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[8] is kfD3 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[9] is kbD3 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[10] is kfD4 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[11] is kbD4 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[12] is kfD5 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[13] is kbD5 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[14] is kfD6 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[15] is kfD7 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[16] is kfD8 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[17] is kfD9 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[18] is kfG1 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[19] is kbG1 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[20] is kfG2 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[21] is kbG2 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[22] is kfG3 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[23] is kbG3 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[24] is kfG4 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[25] is kbG4 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[26] is kfG5 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[27] is kfB2 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[28] is kbB2 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[29] is kmB3 in component DGBM_Model_Modules (um).
 * CONSTANTS[30] is kfB5 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[31] is kbB5 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[32] is kfB7 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[33] is kbB7 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[34] is kfB8 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[35] is kbB8 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[36] is kmB1 in component DGBM_Model_Modules (um).
 * CONSTANTS[37] is VmaxB1 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[38] is kmB6 in component DGBM_Model_Modules (um).
 * CONSTANTS[39] is VmaxB6 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[40] is kfM1 in component DGBM_Model_Modules (per_um2_s).
 * CONSTANTS[41] is kbM1 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[42] is kfM2 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[43] is kbM2 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[44] is kfM3 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[45] is kbM3 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[46] is kfM4 in component DGBM_Model_Modules (per_um_s).
 * CONSTANTS[47] is kbM4 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[48] is kfM6 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[49] is kmM5 in component DGBM_Model_Modules (um).
 * CONSTANTS[50] is VmaxM5 in component DGBM_Model_Modules (um_per_s).
 * CONSTANTS[51] is kmM7 in component DGBM_Model_Modules (um).
 * CONSTANTS[52] is VmaxM7 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[53] is kmM8 in component DGBM_Model_Modules (um).
 * CONSTANTS[54] is VmaxM8 in component DGBM_Model_Modules (per_s).
 * CONSTANTS[55] is kmH1 in component DGBM_Model_Modules (um).
 * STATES[29] is SHCstar_SOS_GRB2 in component A_Model_Module_SHC (um).
 * STATES[30] is MAPK_star in component H_Model_Module_MAPK (um).
 * STATES[31] is SOS in component A_Model_Module_SHC (um).
 * STATES[32] is MAPKK_star_star in component H_Model_Module_MAPKK (um).
 * STATES[33] is MAPKK_star in component H_Model_Module_MAPKK (um).
 * STATES[34] is Raf_star in component B_Model_Modules (um).
 * STATES[35] is GTPRasRaf_star in component B_Model_Modules (um).
 * STATES[36] is Raf_star_star in component B_Model_Modules (um).
 * STATES[37] is GTP_RAS in component B_Model_Modules (um).
 * STATES[38] is GDP_RAS in component B_Model_Modules (um).
 * STATES[39] is GAPstar in component B_Model_Modules (um).
 * CONSTANTS[56] is PP2A in component B_Model_Modules (um).
 * CONSTANTS[57] is one in component B_Model_Modules (dimensionless).
 * CONSTANTS[58] is kfB12 in component B_Model_Modules (per_s).
 * CONSTANTS[59] is kbB12 in component B_Model_Modules (per_s).
 * CONSTANTS[60] is kmB9 in component B_Model_Modules (um).
 * CONSTANTS[61] is VmaxB9 in component B_Model_Modules (per_s).
 * CONSTANTS[62] is kmB10 in component B_Model_Modules (um).
 * CONSTANTS[63] is VmaxB10 in component B_Model_Modules (per_s).
 * CONSTANTS[64] is kmB11 in component B_Model_Modules (um).
 * CONSTANTS[65] is VmaxB11 in component B_Model_Modules (per_s).
 * CONSTANTS[66] is kmB13 in component B_Model_Modules (um).
 * CONSTANTS[67] is VmaxB13 in component B_Model_Modules (per_s).
 * CONSTANTS[68] is kfB4 in component B_Model_Modules (per_s).
 * CONSTANTS[69] is kbB4 in component B_Model_Modules (per_s).
 * CONSTANTS[70] is kmB3 in component B_Model_Modules (um).
 * CONSTANTS[71] is VmaxB3 in component B_Model_Modules (per_s).
 * CONSTANTS[72] is kmA7 in component B_Model_Modules (um).
 * CONSTANTS[73] is VmaxA7 in component B_Model_Modules (per_s).
 * CONSTANTS[74] is kfH5 in component B_Model_Modules (per_um_s).
 * CONSTANTS[75] is kbH5 in component B_Model_Modules (per_s).
 * CONSTANTS[76] is kmH1 in component B_Model_Modules (um).
 * CONSTANTS[77] is kmH2 in component B_Model_Modules (um).
 * CONSTANTS[78] is kmH3 in component B_Model_Modules (um).
 * CONSTANTS[79] is kmH4 in component B_Model_Modules (um).
 * CONSTANTS[80] is VmaxH1 in component B_Model_Modules (per_s).
 * CONSTANTS[81] is VmaxH2 in component B_Model_Modules (per_s).
 * CONSTANTS[82] is VmaxH3 in component B_Model_Modules (per_s).
 * CONSTANTS[83] is VmaxH4 in component B_Model_Modules (per_s).
 * CONSTANTS[84] is kmM8 in component B_Model_Modules (um).
 * CONSTANTS[85] is kmB6 in component B_Model_Modules (um).
 * CONSTANTS[86] is kmM7 in component B_Model_Modules (um).
 * CONSTANTS[87] is kmA9 in component B_Model_Modules (um).
 * CONSTANTS[88] is kmH8 in component B_Model_Modules (um).
 * CONSTANTS[89] is kmH9 in component B_Model_Modules (um).
 * STATES[40] is MAPKK in component H_Model_Module_MAPKK (um).
 * CONSTANTS[90] is PP2A in component H_Model_Module_MAPKK (um).
 * CONSTANTS[91] is one in component H_Model_Module_MAPKK (dimensionless).
 * CONSTANTS[92] is kmH6 in component H_Model_Module_MAPKK (um).
 * CONSTANTS[93] is kmH7 in component H_Model_Module_MAPKK (um).
 * CONSTANTS[94] is kmH8 in component H_Model_Module_MAPKK (um).
 * CONSTANTS[95] is kmH9 in component H_Model_Module_MAPKK (um).
 * CONSTANTS[96] is VmaxH6 in component H_Model_Module_MAPKK (per_s).
 * CONSTANTS[97] is VmaxH7 in component H_Model_Module_MAPKK (per_s).
 * CONSTANTS[98] is VmaxH8 in component H_Model_Module_MAPKK (per_s).
 * CONSTANTS[99] is VmaxH9 in component H_Model_Module_MAPKK (per_s).
 * CONSTANTS[100] is kmH3 in component H_Model_Module_MAPKK (um).
 * CONSTANTS[101] is kmH4 in component H_Model_Module_MAPKK (um).
 * STATES[41] is MAPK in component H_Model_Module_MAPK (um).
 * STATES[42] is MAPK_tyr in component H_Model_Module_MAPK (um).
 * CONSTANTS[102] is MKP1 in component H_Model_Module_MAPK (um).
 * CONSTANTS[103] is one in component H_Model_Module_MAPK (dimensionless).
 * CONSTANTS[104] is kmH10 in component H_Model_Module_MAPK (um).
 * CONSTANTS[105] is kmH11 in component H_Model_Module_MAPK (um).
 * CONSTANTS[106] is kmH12 in component H_Model_Module_MAPK (um).
 * CONSTANTS[107] is kmH13 in component H_Model_Module_MAPK (um).
 * CONSTANTS[108] is VmaxH10 in component H_Model_Module_MAPK (per_s).
 * CONSTANTS[109] is VmaxH11 in component H_Model_Module_MAPK (per_s).
 * CONSTANTS[110] is VmaxH12 in component H_Model_Module_MAPK (per_s).
 * CONSTANTS[111] is VmaxH13 in component H_Model_Module_MAPK (per_s).
 * STATES[43] is EGF_EGFR in component A_Model_Module_EGFR (um).
 * STATES[44] is CaPLCg in component F_Model_Module_PLC (um).
 * STATES[45] is SHC in component A_Model_Module_SHC (um).
 * STATES[46] is SHCstar in component A_Model_Module_SHC (um).
 * STATES[47] is SOSstar_GRB2 in component A_Model_Module_SHC (um).
 * STATES[48] is SOS_GRB2 in component A_Model_Module_SHC (um).
 * STATES[49] is GRB2 in component A_Model_Module_SHC (um).
 * STATES[50] is SOSstar in component A_Model_Module_SHC (um).
 * CONSTANTS[112] is one in component A_Model_Module_SHC (dimensionless).
 * CONSTANTS[113] is kmA3 in component A_Model_Module_SHC (um).
 * CONSTANTS[114] is kfA4 in component A_Model_Module_SHC (per_s).
 * CONSTANTS[115] is kbA4 in component A_Model_Module_SHC (per_s).
 * CONSTANTS[116] is kfA5 in component A_Model_Module_SHC (per_um_s).
 * CONSTANTS[117] is kbA5 in component A_Model_Module_SHC (per_s).
 * CONSTANTS[118] is kfA6 in component A_Model_Module_SHC (per_um_s).
 * CONSTANTS[119] is kbA6 in component A_Model_Module_SHC (per_s).
 * CONSTANTS[120] is kfA8 in component A_Model_Module_SHC (per_s).
 * CONSTANTS[121] is kbA8 in component A_Model_Module_SHC (per_s).
 * CONSTANTS[122] is kfA10 in component A_Model_Module_SHC (per_um_s).
 * CONSTANTS[123] is kbA10 in component A_Model_Module_SHC (per_s).
 * CONSTANTS[124] is kmA7 in component A_Model_Module_SHC (um).
 * CONSTANTS[125] is kmA9 in component A_Model_Module_SHC (um).
 * CONSTANTS[126] is VmaxA7 in component A_Model_Module_SHC (per_s).
 * CONSTANTS[127] is VmaxA3 in component A_Model_Module_SHC (per_s).
 * CONSTANTS[128] is VmaxA9 in component A_Model_Module_SHC (per_s).
 * CONSTANTS[129] is kmH2 in component A_Model_Module_SHC (um).
 * CONSTANTS[130] is kmF4 in component A_Model_Module_SHC (um).
 * STATES[51] is EGF_EGFR_INTERNAL in component A_Model_Module_EGFR (um).
 * STATES[52] is EGF in component A_Model_Module_EGFR (um).
 * STATES[53] is EGFR in component A_Model_Module_EGFR (um).
 * CONSTANTS[131] is kfA1 in component A_Model_Module_EGFR (per_um_s).
 * CONSTANTS[132] is kbA1 in component A_Model_Module_EGFR (per_s).
 * CONSTANTS[133] is kfA2 in component A_Model_Module_EGFR (per_s).
 * CONSTANTS[134] is kbA2 in component A_Model_Module_EGFR (per_s).
 * STATES[54] is CaPLCg_star in component F_Model_Module_PLC (um).
 * STATES[55] is PLCg in component F_Model_Module_PLC (um).
 * STATES[56] is PLCg_star in component F_Model_Module_PLC (um).
 * CONSTANTS[135] is kfF1 in component F_Model_Module_PLC (per_um_s).
 * CONSTANTS[136] is kbF1 in component F_Model_Module_PLC (per_s).
 * CONSTANTS[137] is kfF3 in component F_Model_Module_PLC (per_s).
 * CONSTANTS[138] is kfF5 in component F_Model_Module_PLC (per_um_s).
 * CONSTANTS[139] is kbF5 in component F_Model_Module_PLC (per_s).
 * CONSTANTS[140] is kmF4 in component F_Model_Module_PLC (um).
 * CONSTANTS[141] is VmaxF4 in component F_Model_Module_PLC (per_s).
 * CONSTANTS[142] is kmA3 in component F_Model_Module_PLC (um).
 * CONSTANTS[143] is one in component F_Model_Module_PLC (dimensionless).
 * STATES[57] is PKC_i in component KEL_DAGIP3_Model_Modules (um).
 * STATES[58] is DAGPKC in component KEL_DAGIP3_Model_Modules (um).
 * STATES[59] is AADAGPKC in component KEL_DAGIP3_Model_Modules (um).
 * STATES[60] is DAGCaPKC in component KEL_DAGIP3_Model_Modules (um).
 * STATES[61] is CaPKC in component KEL_DAGIP3_Model_Modules (um).
 * STATES[62] is AA in component KEL_DAGIP3_Model_Modules (um).
 * STATES[63] is APC in component KEL_DAGIP3_Model_Modules (um).
 * STATES[64] is PIP2_star in component KEL_DAGIP3_Model_Modules (um).
 * STATES[65] is PLA2_cyt in component KEL_DAGIP3_Model_Modules (um).
 * STATES[66] is PLA2_star in component KEL_DAGIP3_Model_Modules (um).
 * STATES[67] is CaPLA2 in component KEL_DAGIP3_Model_Modules (um).
 * STATES[68] is PIP2CaPLA2 in component KEL_DAGIP3_Model_Modules (um).
 * STATES[69] is PIP2PLA2 in component KEL_DAGIP3_Model_Modules (um).
 * STATES[70] is DAGCaPLA2 in component KEL_DAGIP3_Model_Modules (um).
 * STATES[71] is CaPLA2_star in component KEL_DAGIP3_Model_Modules (um).
 * STATES[72] is PIP2 in component KEL_DAGIP3_Model_Modules (um).
 * STATES[73] is DAG in component KEL_DAGIP3_Model_Modules (um).
 * STATES[74] is IP3 in component KEL_DAGIP3_Model_Modules (um).
 * STATES[75] is Inositol in component KEL_DAGIP3_Model_Modules (um).
 * STATES[76] is PC in component KEL_DAGIP3_Model_Modules (um).
 * CONSTANTS[144] is kfK1 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[145] is kbK1 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[146] is kfK2 in component KEL_DAGIP3_Model_Modules (per_um_s).
 * CONSTANTS[147] is kbK2 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[148] is kfK3 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[149] is kbK3 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[150] is kfK4 in component KEL_DAGIP3_Model_Modules (per_um_s).
 * CONSTANTS[151] is kbK4 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[152] is kfK5 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[153] is kbK5 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[154] is kfK6 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[155] is kbK6 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[156] is kfK7 in component KEL_DAGIP3_Model_Modules (per_um_s).
 * CONSTANTS[157] is kbK7 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[158] is kfK8 in component KEL_DAGIP3_Model_Modules (per_um_s).
 * CONSTANTS[159] is kbK8 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[160] is kfK9 in component KEL_DAGIP3_Model_Modules (per_um_s).
 * CONSTANTS[161] is kbK9 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[162] is kfK10 in component KEL_DAGIP3_Model_Modules (per_um_s).
 * CONSTANTS[163] is kbK10 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[164] is kfE1 in component KEL_DAGIP3_Model_Modules (per_um_s).
 * CONSTANTS[165] is kbE1 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[166] is kfE3 in component KEL_DAGIP3_Model_Modules (per_um_s).
 * CONSTANTS[167] is kbE3 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[168] is kfE5 in component KEL_DAGIP3_Model_Modules (per_um_s).
 * CONSTANTS[169] is kbE5 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[170] is kfE7 in component KEL_DAGIP3_Model_Modules (per_um_s).
 * CONSTANTS[171] is kbE7 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[172] is kfE10 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[173] is kbE10 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[174] is kfE11 in component KEL_DAGIP3_Model_Modules (per_um_s).
 * CONSTANTS[175] is kbE11 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[176] is kmE9 in component KEL_DAGIP3_Model_Modules (um).
 * CONSTANTS[177] is VmaxE9 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[178] is kfE13 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[179] is kbE13 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[180] is kmE2 in component KEL_DAGIP3_Model_Modules (um).
 * CONSTANTS[181] is kmE4 in component KEL_DAGIP3_Model_Modules (um).
 * CONSTANTS[182] is kmE6 in component KEL_DAGIP3_Model_Modules (um).
 * CONSTANTS[183] is kmE8 in component KEL_DAGIP3_Model_Modules (um).
 * CONSTANTS[184] is kmE12 in component KEL_DAGIP3_Model_Modules (um).
 * CONSTANTS[185] is VmaxE2 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[186] is VmaxE4 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[187] is VmaxE6 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[188] is VmaxE8 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[189] is VmaxE12 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[190] is kmF2 in component KEL_DAGIP3_Model_Modules (um).
 * CONSTANTS[191] is kmF6 in component KEL_DAGIP3_Model_Modules (um).
 * CONSTANTS[192] is VmaxF2 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[193] is VmaxF6 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[194] is kfG8 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[195] is kfG9 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[196] is kmG6 in component KEL_DAGIP3_Model_Modules (um).
 * CONSTANTS[197] is VmaxG6 in component KEL_DAGIP3_Model_Modules (per_s).
 * CONSTANTS[198] is kmG7 in component KEL_DAGIP3_Model_Modules (um).
 * CONSTANTS[199] is VmaxG7 in component KEL_DAGIP3_Model_Modules (per_s).
 * RATES[12] is d/dt Ga_GDP in component DGBM_Model_Modules (um).
 * RATES[13] is d/dt mGluR in component DGBM_Model_Modules (um).
 * RATES[18] is d/dt Gabg in component DGBM_Model_Modules (um).
 * RATES[19] is d/dt R in component DGBM_Model_Modules (um).
 * RATES[11] is d/dt Gbg in component DGBM_Model_Modules (um).
 * RATES[20] is d/dt Gabg_R in component DGBM_Model_Modules (um).
 * RATES[21] is d/dt Glu_synapse in component DGBM_Model_Modules (um).
 * RATES[22] is d/dt Gabg_GluR in component DGBM_Model_Modules (um).
 * RATES[23] is d/dt Glu in component DGBM_Model_Modules (um).
 * RATES[24] is d/dt Ga_GTP in component DGBM_Model_Modules (um).
 * RATES[14] is d/dt PLC in component DGBM_Model_Modules (um).
 * RATES[25] is d/dt GqPLC in component DGBM_Model_Modules (um).
 * RATES[7] is d/dt CaPLC in component DGBM_Model_Modules (um).
 * RATES[6] is d/dt CaGqPLC in component DGBM_Model_Modules (um).
 * RATES[26] is d/dt GEF_inact in component DGBM_Model_Modules (um).
 * RATES[9] is d/dt GEF in component DGBM_Model_Modules (um).
 * RATES[4] is d/dt CaM_GEF in component DGBM_Model_Modules (um).
 * RATES[27] is d/dt Ca4CAM in component DGBM_Model_Modules (um).
 * RATES[5] is d/dt Gbg_GEF in component DGBM_Model_Modules (um).
 * RATES[3] is d/dt GEF_star in component DGBM_Model_Modules (um).
 * RATES[28] is d/dt CaM in component DGBM_Model_Modules (um).
 * RATES[8] is d/dt NgCaM in component DGBM_Model_Modules (um).
 * RATES[15] is d/dt Ca2CaM in component DGBM_Model_Modules (um).
 * RATES[16] is d/dt Ca3CaM in component DGBM_Model_Modules (um).
 * RATES[17] is d/dt Ng_star in component DGBM_Model_Modules (um).
 * RATES[10] is d/dt Ng in component DGBM_Model_Modules (um).
 * RATES[37] is d/dt GTP_RAS in component B_Model_Modules (um).
 * RATES[38] is d/dt GDP_RAS in component B_Model_Modules (um).
 * RATES[1] is d/dt GAP in component B_Model_Modules (um).
 * RATES[39] is d/dt GAPstar in component B_Model_Modules (um).
 * RATES[35] is d/dt GTPRasRaf_star in component B_Model_Modules (um).
 * RATES[2] is d/dt Raf in component B_Model_Modules (um).
 * RATES[34] is d/dt Raf_star in component B_Model_Modules (um).
 * RATES[36] is d/dt Raf_star_star in component B_Model_Modules (um).
 * RATES[40] is d/dt MAPKK in component H_Model_Module_MAPKK (um).
 * RATES[33] is d/dt MAPKK_star in component H_Model_Module_MAPKK (um).
 * RATES[32] is d/dt MAPKK_star_star in component H_Model_Module_MAPKK (um).
 * RATES[41] is d/dt MAPK in component H_Model_Module_MAPK (um).
 * RATES[42] is d/dt MAPK_tyr in component H_Model_Module_MAPK (um).
 * RATES[30] is d/dt MAPK_star in component H_Model_Module_MAPK (um).
 * RATES[46] is d/dt SHCstar in component A_Model_Module_SHC (um).
 * RATES[45] is d/dt SHC in component A_Model_Module_SHC (um).
 * RATES[29] is d/dt SHCstar_SOS_GRB2 in component A_Model_Module_SHC (um).
 * RATES[48] is d/dt SOS_GRB2 in component A_Model_Module_SHC (um).
 * RATES[31] is d/dt SOS in component A_Model_Module_SHC (um).
 * RATES[50] is d/dt SOSstar in component A_Model_Module_SHC (um).
 * RATES[47] is d/dt SOSstar_GRB2 in component A_Model_Module_SHC (um).
 * RATES[49] is d/dt GRB2 in component A_Model_Module_SHC (um).
 * RATES[52] is d/dt EGF in component A_Model_Module_EGFR (um).
 * RATES[53] is d/dt EGFR in component A_Model_Module_EGFR (um).
 * RATES[43] is d/dt EGF_EGFR in component A_Model_Module_EGFR (um).
 * RATES[51] is d/dt EGF_EGFR_INTERNAL in component A_Model_Module_EGFR (um).
 * RATES[55] is d/dt PLCg in component F_Model_Module_PLC (um).
 * RATES[44] is d/dt CaPLCg in component F_Model_Module_PLC (um).
 * RATES[54] is d/dt CaPLCg_star in component F_Model_Module_PLC (um).
 * RATES[56] is d/dt PLCg_star in component F_Model_Module_PLC (um).
 * RATES[57] is d/dt PKC_i in component KEL_DAGIP3_Model_Modules (um).
 * RATES[58] is d/dt DAGPKC in component KEL_DAGIP3_Model_Modules (um).
 * RATES[59] is d/dt AADAGPKC in component KEL_DAGIP3_Model_Modules (um).
 * RATES[61] is d/dt CaPKC in component KEL_DAGIP3_Model_Modules (um).
 * RATES[60] is d/dt DAGCaPKC in component KEL_DAGIP3_Model_Modules (um).
 * RATES[0] is d/dt PKC in component KEL_DAGIP3_Model_Modules (um).
 * RATES[62] is d/dt AA in component KEL_DAGIP3_Model_Modules (um).
 * RATES[65] is d/dt PLA2_cyt in component KEL_DAGIP3_Model_Modules (um).
 * RATES[69] is d/dt PIP2PLA2 in component KEL_DAGIP3_Model_Modules (um).
 * RATES[64] is d/dt PIP2_star in component KEL_DAGIP3_Model_Modules (um).
 * RATES[66] is d/dt PLA2_star in component KEL_DAGIP3_Model_Modules (um).
 * RATES[71] is d/dt CaPLA2_star in component KEL_DAGIP3_Model_Modules (um).
 * RATES[67] is d/dt CaPLA2 in component KEL_DAGIP3_Model_Modules (um).
 * RATES[68] is d/dt PIP2CaPLA2 in component KEL_DAGIP3_Model_Modules (um).
 * RATES[70] is d/dt DAGCaPLA2 in component KEL_DAGIP3_Model_Modules (um).
 * RATES[63] is d/dt APC in component KEL_DAGIP3_Model_Modules (um).
 * RATES[72] is d/dt PIP2 in component KEL_DAGIP3_Model_Modules (um).
 * RATES[73] is d/dt DAG in component KEL_DAGIP3_Model_Modules (um).
 * RATES[74] is d/dt IP3 in component KEL_DAGIP3_Model_Modules (um).
 * RATES[76] is d/dt PC in component KEL_DAGIP3_Model_Modules (um).
 * RATES[75] is d/dt Inositol in component KEL_DAGIP3_Model_Modules (um).
 */
void
initConsts(double* CONSTANTS, double* RATES, double *STATES)
{
CONSTANTS[0] = 1;
CONSTANTS[1] = 0.5;
CONSTANTS[2] = 0.1;
STATES[0] = 0;
STATES[1] = 0.002;
STATES[2] = 0.2;
STATES[3] = 0;
STATES[4] = 0;
STATES[5] = 0;
STATES[6] = 0;
STATES[7] = 0;
STATES[8] = 0;
STATES[9] = 0;
STATES[10] = 10;
STATES[11] = 0.1;
STATES[12] = 1;
STATES[13] = 0.3;
STATES[14] = 0.8;
STATES[15] = 0;
STATES[16] = 0;
STATES[17] = 0;
STATES[18] = 0;
STATES[19] = 0;
STATES[20] = 0;
STATES[21] = 0;
STATES[22] = 0;
STATES[23] = 0;
STATES[24] = 0;
STATES[25] = 0;
STATES[26] = 0.1;
STATES[27] = 0;
STATES[28] = 20;
CONSTANTS[3] = 1;
CONSTANTS[4] = 500;
CONSTANTS[5] = 1000;
CONSTANTS[6] = 0.000028;
CONSTANTS[7] = 0.1;
CONSTANTS[8] = 0.000028;
CONSTANTS[9] = 10;
CONSTANTS[10] = 0.000001;
CONSTANTS[11] = 1;
CONSTANTS[12] = 0.00000001;
CONSTANTS[13] = 0.0001;
CONSTANTS[14] = 0.01;
CONSTANTS[15] = 0.0133;
CONSTANTS[16] = 0.00001;
CONSTANTS[17] = 0.0001;
CONSTANTS[18] = 0.000005;
CONSTANTS[19] = 1;
CONSTANTS[20] = 0.0000042;
CONSTANTS[21] = 1;
CONSTANTS[22] = 0.00005;
CONSTANTS[23] = 1;
CONSTANTS[24] = 0.0000042;
CONSTANTS[25] = 1;
CONSTANTS[26] = 0.0133;
CONSTANTS[27] = 1;
CONSTANTS[28] = 0;
CONSTANTS[29] = 3.333333333333;
CONSTANTS[30] = 0.0001;
CONSTANTS[31] = 1;
CONSTANTS[32] = 1;
CONSTANTS[33] = 0;
CONSTANTS[34] = 0.00001;
CONSTANTS[35] = 1;
CONSTANTS[36] = 7.5;
CONSTANTS[37] = 9;
CONSTANTS[38] = 3.33333333333;
CONSTANTS[39] = 4;
CONSTANTS[40] = 0.0000000002;
CONSTANTS[41] = 72;
CONSTANTS[42] = 0.000006;
CONSTANTS[43] = 10;
CONSTANTS[44] = 0.000000775;
CONSTANTS[45] = 10;
CONSTANTS[46] = 0.0000005;
CONSTANTS[47] = 1;
CONSTANTS[48] = 0.005;
CONSTANTS[49] = 10.012;
CONSTANTS[50] = 0.67;
CONSTANTS[51] = 28.626667;
CONSTANTS[52] = 0.58;
CONSTANTS[53] = 28.595;
CONSTANTS[54] = 0.35;
CONSTANTS[55] = 66.666666667;
STATES[29] = 0;
STATES[30] = 0;
STATES[31] = 0.1;
STATES[32] = 0;
STATES[33] = 0;
STATES[34] = 0;
STATES[35] = 0;
STATES[36] = 0;
STATES[37] = 0;
STATES[38] = 0.2;
STATES[39] = 0;
CONSTANTS[56] = 0.224;
CONSTANTS[57] = 1;
CONSTANTS[58] = 0.0001;
CONSTANTS[59] = 0;
CONSTANTS[60] = 0.50505;
CONSTANTS[61] = 0.02;
CONSTANTS[62] = 0.50505;
CONSTANTS[63] = 0.02;
CONSTANTS[64] = 0.50505;
CONSTANTS[65] = 0.02;
CONSTANTS[66] = 1.0104;
CONSTANTS[67] = 10;
CONSTANTS[68] = 0.1;
CONSTANTS[69] = 0;
CONSTANTS[70] = 3.33333333333;
CONSTANTS[71] = 4;
CONSTANTS[72] = 0.50505;
CONSTANTS[73] = 0.02;
CONSTANTS[74] = 0.00004;
CONSTANTS[75] = 0.5;
CONSTANTS[76] = 66.666666667;
CONSTANTS[77] = 25.64166667;
CONSTANTS[78] = 15.6565;
CONSTANTS[79] = 15.6565;
CONSTANTS[80] = 4;
CONSTANTS[81] = 10;
CONSTANTS[82] = 6;
CONSTANTS[83] = 6;
CONSTANTS[84] = 28.595;
CONSTANTS[85] = 3.33333333333;
CONSTANTS[86] = 28.626667;
CONSTANTS[87] = 2.564166667;
CONSTANTS[88] = 15.6565;
CONSTANTS[89] = 15.6565;
STATES[40] = 0.18;
CONSTANTS[90] = 0.224;
CONSTANTS[91] = 1;
CONSTANTS[92] = 0.159091667;
CONSTANTS[93] = 0.159091667;
CONSTANTS[94] = 15.6565;
CONSTANTS[95] = 15.6565;
CONSTANTS[96] = 0.105;
CONSTANTS[97] = 0.105;
CONSTANTS[98] = 6;
CONSTANTS[99] = 6;
CONSTANTS[100] = 15.6565;
CONSTANTS[101] = 15.6565;
STATES[41] = 0.36;
STATES[42] = 0;
CONSTANTS[102] = 0.032;
CONSTANTS[103] = 1;
CONSTANTS[104] = 0.046296667;
CONSTANTS[105] = 0.046296667;
CONSTANTS[106] = 0.066666667;
CONSTANTS[107] = 0.066666667;
CONSTANTS[108] = 0.15;
CONSTANTS[109] = 0.15;
CONSTANTS[110] = 1;
CONSTANTS[111] = 1;
STATES[43] = 0;
STATES[44] = 0;
STATES[45] = 0.5;
STATES[46] = 0;
STATES[47] = 0;
STATES[48] = 0;
STATES[49] = 1;
STATES[50] = 0;
CONSTANTS[112] = 1;
CONSTANTS[113] = 0.83333333333;
CONSTANTS[114] = 0.0016667;
CONSTANTS[115] = 0;
CONSTANTS[116] = 0.000000041667;
CONSTANTS[117] = 0.0168;
CONSTANTS[118] = 0.0000008333;
CONSTANTS[119] = 0.1;
CONSTANTS[120] = 0.001;
CONSTANTS[121] = 0;
CONSTANTS[122] = 0.000000041667;
CONSTANTS[123] = 0.0168;
CONSTANTS[124] = 0.40404;
CONSTANTS[125] = 2.564166667;
CONSTANTS[126] = 0.02;
CONSTANTS[127] = 0.2;
CONSTANTS[128] = 10;
CONSTANTS[129] = 25.64166667;
CONSTANTS[130] = 0.33333333333;
STATES[51] = 0;
STATES[52] = 166.67;
STATES[53] = 0.16667;
CONSTANTS[131] = 0.000007;
CONSTANTS[132] = 0.25;
CONSTANTS[133] = 0.002;
CONSTANTS[134] = 0.00033;
STATES[54] = 0;
STATES[55] = 0.82;
STATES[56] = 0;
CONSTANTS[135] = 0.0003;
CONSTANTS[136] = 10;
CONSTANTS[137] = 0.05;
CONSTANTS[138] = 0.00002;
CONSTANTS[139] = 10;
CONSTANTS[140] = 0.33333333333;
CONSTANTS[141] = 0.2;
CONSTANTS[142] = 0.83333333333;
CONSTANTS[143] = 1;
STATES[57] = 1;
STATES[58] = 0;
STATES[59] = 0;
STATES[60] = 0;
STATES[61] = 0;
STATES[62] = 0;
STATES[63] = 30;
STATES[64] = 2.5;
STATES[65] = 0.4;
STATES[66] = 0;
STATES[67] = 0;
STATES[68] = 0;
STATES[69] = 0;
STATES[70] = 0;
STATES[71] = 0;
STATES[72] = 10;
STATES[73] = 0;
STATES[74] = 0;
STATES[75] = 0;
STATES[76] = 0;
CONSTANTS[144] = 1;
CONSTANTS[145] = 50;
CONSTANTS[146] = 0.0000000002;
CONSTANTS[147] = 0.1;
CONSTANTS[148] = 1.2705;
CONSTANTS[149] = 3.5026;
CONSTANTS[150] = 0.000000002;
CONSTANTS[151] = 0.1;
CONSTANTS[152] = 1;
CONSTANTS[153] = 0.1;
CONSTANTS[154] = 2;
CONSTANTS[155] = 0.2;
CONSTANTS[156] = 0.000001;
CONSTANTS[157] = 0.5;
CONSTANTS[158] = 0.000000013333;
CONSTANTS[159] = 8.6348;
CONSTANTS[160] = 0.000000001;
CONSTANTS[161] = 0.1;
CONSTANTS[162] = 0.00000003;
CONSTANTS[163] = 2;
CONSTANTS[164] = 0.000000002;
CONSTANTS[165] = 0.5;
CONSTANTS[166] = 0.00000016667;
CONSTANTS[167] = 0.1;
CONSTANTS[168] = 0.00000002;
CONSTANTS[169] = 0.1;
CONSTANTS[170] = 0.000000005;
CONSTANTS[171] = 4;
CONSTANTS[172] = 0.17;
CONSTANTS[173] = 0;
CONSTANTS[174] = 0.00001;
CONSTANTS[175] = 0.1;
CONSTANTS[176] = 25.64166667;
CONSTANTS[177] = 20;
CONSTANTS[178] = 0.4;
CONSTANTS[179] = 0;
CONSTANTS[180] = 20;
CONSTANTS[181] = 20;
CONSTANTS[182] = 20;
CONSTANTS[183] = 20;
CONSTANTS[184] = 20;
CONSTANTS[185] = 11.04;
CONSTANTS[186] = 5.4;
CONSTANTS[187] = 36;
CONSTANTS[188] = 60;
CONSTANTS[189] = 120;
CONSTANTS[190] = 97;
CONSTANTS[191] = 19.79166667;
CONSTANTS[192] = 14;
CONSTANTS[193] = 57;
CONSTANTS[194] = 0.15;
CONSTANTS[195] = 2.5;
CONSTANTS[196] = 5;
CONSTANTS[197] = 48;
CONSTANTS[198] = 19.84166667;
CONSTANTS[199] = 10;
}
void
computeRates(double VOI, double* CONSTANTS, double* RATES, double* STATES, double* ALGEBRAIC)
{
RATES[12] = ( STATES[24]*CONSTANTS[15] -  STATES[12]*CONSTANTS[16]*STATES[11])+ STATES[6]*CONSTANTS[26];
RATES[13] = (( CONSTANTS[12]*STATES[22] -  CONSTANTS[13]*STATES[18]*STATES[13]) - ( CONSTANTS[8]*STATES[13] -  CONSTANTS[9]*STATES[23]*STATES[19]))+ CONSTANTS[14]*STATES[22];
RATES[18] = ((( STATES[12]*STATES[11]*CONSTANTS[16] - ( STATES[18]*STATES[19]*CONSTANTS[10] -  STATES[20]*CONSTANTS[11]))+ CONSTANTS[12]*STATES[22]) -  CONSTANTS[13]*STATES[18]*STATES[13]) -  CONSTANTS[17]*STATES[18]*CONSTANTS[1];
RATES[19] = ( CONSTANTS[8]*STATES[13] -  CONSTANTS[9]*STATES[23]*STATES[19]) - ( STATES[18]*STATES[19]*CONSTANTS[10] -  STATES[20]*CONSTANTS[11]);
RATES[11] = ( - STATES[12]*STATES[11]*CONSTANTS[16]+ CONSTANTS[14]*STATES[22]+ CONSTANTS[17]*STATES[18]*CONSTANTS[1]) - ( CONSTANTS[34]*STATES[9]*STATES[11] -  CONSTANTS[35]*STATES[5]);
RATES[20] = (( STATES[18]*STATES[19]*CONSTANTS[10] -  STATES[20]*CONSTANTS[11])+ CONSTANTS[6]*STATES[22]) -  STATES[20]*STATES[23]*CONSTANTS[7];
RATES[21] = - ( CONSTANTS[4]*STATES[21] -  CONSTANTS[5]*STATES[23]);
RATES[22] = (- ( CONSTANTS[6]*STATES[22] -  STATES[20]*STATES[23]*CONSTANTS[7]) - ( CONSTANTS[12]*STATES[22] -  CONSTANTS[13]*STATES[18]*STATES[13])) -  CONSTANTS[14]*STATES[22];
RATES[23] = (((( CONSTANTS[4]*STATES[21] -  CONSTANTS[5]*STATES[23])+ CONSTANTS[6]*STATES[22]) -  STATES[20]*STATES[23]*CONSTANTS[7])+ CONSTANTS[8]*STATES[13]) -  CONSTANTS[9]*STATES[23]*STATES[19];
RATES[24] = (( CONSTANTS[17]*STATES[18]*CONSTANTS[1] -  STATES[24]*CONSTANTS[15]) - ( STATES[14]*STATES[24]*CONSTANTS[20] -  STATES[25]*CONSTANTS[21])) - ( STATES[6]*CONSTANTS[25]+ STATES[7]*STATES[24]*CONSTANTS[24]);
RATES[14] = - ( STATES[14]*CONSTANTS[0]*CONSTANTS[18] -  STATES[7]*CONSTANTS[19]) - ( STATES[14]*STATES[24]*CONSTANTS[20] -  STATES[25]*CONSTANTS[21]);
RATES[25] = ( STATES[14]*STATES[24]*CONSTANTS[20] -  STATES[25]*CONSTANTS[21]) - ( CONSTANTS[0]*STATES[25]*CONSTANTS[22] -  STATES[6]*CONSTANTS[23]);
RATES[7] = (( STATES[14]*CONSTANTS[0]*CONSTANTS[18] -  STATES[7]*CONSTANTS[19])+ STATES[6]*CONSTANTS[26]) - ( - STATES[6]*CONSTANTS[25]+ STATES[7]*STATES[24]*CONSTANTS[24]);
RATES[6] = ((( STATES[25]*CONSTANTS[0]*CONSTANTS[22] -  STATES[6]*CONSTANTS[23])+ STATES[7]*STATES[24]*CONSTANTS[24]) -  STATES[6]*CONSTANTS[25]) -  STATES[6]*CONSTANTS[26];
RATES[26] = ( CONSTANTS[2]*CONSTANTS[37]*STATES[9])/(CONSTANTS[36]+STATES[9]) -  CONSTANTS[27]*STATES[26];
RATES[9] = (((- (((( CONSTANTS[2]*CONSTANTS[37]*STATES[9])/(CONSTANTS[36]+STATES[9])+( STATES[0]*CONSTANTS[39]*STATES[9])/( CONSTANTS[38]*(CONSTANTS[3]+STATES[1]/CONSTANTS[29]+STATES[10]/CONSTANTS[51]+STATES[2]/CONSTANTS[55]+STATES[8]/CONSTANTS[53])+STATES[9])) -  CONSTANTS[27]*STATES[26]) -  CONSTANTS[32]*STATES[3]) -  CONSTANTS[30]*STATES[27]*STATES[9])+ CONSTANTS[31]*STATES[4]) -  CONSTANTS[34]*STATES[9]*STATES[11])+ CONSTANTS[35]*STATES[5];
RATES[4] =  - CONSTANTS[31]*STATES[4]+ CONSTANTS[30]*STATES[9]*STATES[27];
RATES[27] = (- ( - CONSTANTS[31]*STATES[4]+ CONSTANTS[30]*STATES[9]*STATES[27])+ CONSTANTS[0]*STATES[16]*CONSTANTS[44]) -  CONSTANTS[45]*STATES[27];
RATES[5] = - ( - CONSTANTS[34]*STATES[9]*STATES[11]+ CONSTANTS[35]*STATES[5]);
RATES[3] = ( STATES[0]*CONSTANTS[39]*STATES[9])/( CONSTANTS[38]*(CONSTANTS[3]+STATES[1]/CONSTANTS[29]+STATES[10]/CONSTANTS[51]+STATES[2]/CONSTANTS[55]+STATES[8]/CONSTANTS[53])+STATES[9]) -  CONSTANTS[32]*STATES[3];
RATES[28] = (- ( CONSTANTS[40]*CONSTANTS[0]*CONSTANTS[0]*STATES[28] -  CONSTANTS[41]*STATES[15]) - ( CONSTANTS[46]*STATES[10]*STATES[28] -  CONSTANTS[47]*STATES[8]))+( STATES[8]*STATES[0]*CONSTANTS[54])/(STATES[8]+CONSTANTS[53]);
RATES[8] = ( CONSTANTS[46]*STATES[10]*STATES[28] -  CONSTANTS[47]*STATES[8]) - ( STATES[8]*STATES[0]*CONSTANTS[54])/(STATES[8]+ CONSTANTS[53]*(CONSTANTS[3]+STATES[1]/CONSTANTS[29]+STATES[9]/CONSTANTS[38]+STATES[2]/CONSTANTS[55]+STATES[10]/CONSTANTS[51]));
RATES[15] = ( CONSTANTS[40]*CONSTANTS[0]*CONSTANTS[0]*STATES[28] -  CONSTANTS[41]*STATES[15]) - ( CONSTANTS[0]*STATES[15]*CONSTANTS[42] -  CONSTANTS[43]*STATES[16]);
RATES[16] = ( CONSTANTS[0]*STATES[15]*CONSTANTS[42] -  CONSTANTS[43]*STATES[16]) - ( CONSTANTS[0]*STATES[16]*CONSTANTS[44] -  CONSTANTS[45]*STATES[27]);
RATES[17] = ((( STATES[8]*STATES[0]*CONSTANTS[54])/(STATES[8]+ CONSTANTS[53]*(CONSTANTS[3]+STATES[1]/CONSTANTS[29]+STATES[9]/CONSTANTS[38]+STATES[2]/CONSTANTS[55]+STATES[10]/CONSTANTS[51])) -  CONSTANTS[48]*STATES[17]) - ( CONSTANTS[50]*STATES[17])/(STATES[17]+CONSTANTS[49]))+( STATES[10]*STATES[0]*CONSTANTS[52])/(STATES[10]+ CONSTANTS[51]*(CONSTANTS[3]+STATES[1]/CONSTANTS[29]+STATES[9]/CONSTANTS[38]+STATES[2]/CONSTANTS[55]+STATES[8]/CONSTANTS[53]));
RATES[10] = ( CONSTANTS[48]*STATES[17]+( CONSTANTS[50]*STATES[17])/(STATES[17]+CONSTANTS[49])) - ( STATES[10]*STATES[0]*CONSTANTS[52])/(STATES[10]+ CONSTANTS[51]*(CONSTANTS[3]+STATES[1]/CONSTANTS[29]+STATES[9]/CONSTANTS[38]+STATES[2]/CONSTANTS[55]+STATES[8]/CONSTANTS[53]));
RATES[37] = (((( - STATES[1]*CONSTANTS[67]*STATES[37])/(CONSTANTS[66]+STATES[37]) -  CONSTANTS[58]*STATES[37])+( STATES[3]*CONSTANTS[63]*STATES[38])/(CONSTANTS[62]+STATES[38])+( STATES[5]*CONSTANTS[65]*STATES[38])/(CONSTANTS[64]+STATES[38])+( STATES[4]*CONSTANTS[61]*STATES[38])/(CONSTANTS[60]+STATES[38])+( STATES[29]*CONSTANTS[73]*STATES[38])/(CONSTANTS[72]+STATES[38])) -  STATES[37]*STATES[34]*CONSTANTS[74])+ STATES[35]*CONSTANTS[75];
RATES[38] = - ((( - STATES[1]*CONSTANTS[67]*STATES[37])/(CONSTANTS[66]+STATES[37]) -  CONSTANTS[58]*STATES[37])+( STATES[3]*CONSTANTS[63]*STATES[38])/(CONSTANTS[62]+STATES[38])+( STATES[5]*CONSTANTS[65]*STATES[38])/(CONSTANTS[64]+STATES[38])+( STATES[4]*CONSTANTS[61]*STATES[38])/(CONSTANTS[60]+STATES[38])) - ( STATES[29]*CONSTANTS[73]*STATES[38])/(CONSTANTS[72]+STATES[38]);
RATES[1] = ( - STATES[0]*CONSTANTS[71]*STATES[1])/( CONSTANTS[70]*(CONSTANTS[57]+STATES[2]/CONSTANTS[76]+STATES[9]/CONSTANTS[85]+STATES[10]/CONSTANTS[86]+STATES[8]/CONSTANTS[84])+STATES[1])+ CONSTANTS[68]*STATES[39];
RATES[39] = ( STATES[0]*CONSTANTS[71]*STATES[1])/( CONSTANTS[70]*(CONSTANTS[57]+STATES[2]/CONSTANTS[76]+STATES[9]/CONSTANTS[85]+STATES[10]/CONSTANTS[86]+STATES[8]/CONSTANTS[84])+STATES[1]) -  CONSTANTS[68]*STATES[39];
RATES[35] =  STATES[37]*STATES[34]*CONSTANTS[74] -  STATES[35]*CONSTANTS[75];
RATES[2] = ( - STATES[0]*STATES[2]*CONSTANTS[80])/( CONSTANTS[76]*(CONSTANTS[57]+STATES[1]/CONSTANTS[70]+STATES[9]/CONSTANTS[85]+STATES[10]/CONSTANTS[86]+STATES[8]/CONSTANTS[84])+STATES[2])+( STATES[34]*CONSTANTS[56]*CONSTANTS[82])/( CONSTANTS[78]*(CONSTANTS[57]+STATES[36]/CONSTANTS[79]+STATES[32]/CONSTANTS[89]+STATES[33]/CONSTANTS[88])+STATES[34]);
RATES[34] = ((( STATES[0]*STATES[2]*CONSTANTS[80])/( CONSTANTS[76]*(CONSTANTS[57]+STATES[1]/CONSTANTS[70]+STATES[9]/CONSTANTS[85]+STATES[10]/CONSTANTS[86]+STATES[8]/CONSTANTS[84])+STATES[2]) - ( STATES[34]*CONSTANTS[56]*CONSTANTS[82])/( CONSTANTS[78]*(CONSTANTS[57]+STATES[36]/CONSTANTS[79]+STATES[32]/CONSTANTS[89]+STATES[33]/CONSTANTS[88])+STATES[34])) - ( STATES[34]*STATES[30]*CONSTANTS[81])/( CONSTANTS[77]*(CONSTANTS[57]+STATES[31]/CONSTANTS[87])+STATES[34]))+( STATES[36]*CONSTANTS[56]*CONSTANTS[83])/( CONSTANTS[79]*(CONSTANTS[57]+STATES[34]/CONSTANTS[78]+STATES[32]/CONSTANTS[89]+STATES[33]/CONSTANTS[88])+STATES[36]);
RATES[36] = ( STATES[34]*STATES[30]*CONSTANTS[81])/( CONSTANTS[77]*(CONSTANTS[57]+STATES[31]/CONSTANTS[87])+STATES[34]) - ( STATES[36]*CONSTANTS[56]*CONSTANTS[83])/( CONSTANTS[79]*(CONSTANTS[57]+STATES[34]/CONSTANTS[78]+STATES[32]/CONSTANTS[89]+STATES[33]/CONSTANTS[88])+STATES[36]);
RATES[40] = ( - STATES[40]*CONSTANTS[96]*STATES[35])/( CONSTANTS[92]*(CONSTANTS[91]+STATES[33]/CONSTANTS[93])+STATES[40])+( STATES[33]*CONSTANTS[98]*CONSTANTS[90])/( CONSTANTS[94]*(CONSTANTS[91]+STATES[34]/CONSTANTS[100]+STATES[36]/CONSTANTS[101]+STATES[32]/CONSTANTS[95])+STATES[33]);
RATES[33] = ((( STATES[40]*CONSTANTS[96]*STATES[35])/( CONSTANTS[92]*(CONSTANTS[91]+STATES[33]/CONSTANTS[93])+STATES[40]) - ( STATES[33]*CONSTANTS[98]*CONSTANTS[90])/( CONSTANTS[94]*(CONSTANTS[91]+STATES[34]/CONSTANTS[100]+STATES[36]/CONSTANTS[101]+STATES[32]/CONSTANTS[95])+STATES[33])) - ( STATES[33]*CONSTANTS[97]*STATES[35])/( CONSTANTS[93]*(CONSTANTS[91]+STATES[40]/CONSTANTS[92])+STATES[33]))+( STATES[32]*CONSTANTS[99]*CONSTANTS[90])/( CONSTANTS[95]*(CONSTANTS[91]+STATES[34]/CONSTANTS[100]+STATES[36]/CONSTANTS[101]+STATES[33]/CONSTANTS[94])+STATES[32]);
RATES[32] = ( STATES[33]*CONSTANTS[97]*STATES[35])/( CONSTANTS[93]*(CONSTANTS[91]+STATES[40]/CONSTANTS[92])+STATES[33]) - ( STATES[32]*CONSTANTS[99]*CONSTANTS[90])/( CONSTANTS[95]*(CONSTANTS[91]+STATES[34]/CONSTANTS[100]+STATES[36]/CONSTANTS[101]+STATES[33]/CONSTANTS[94])+STATES[32]);
RATES[41] = ( - STATES[41]*CONSTANTS[108]*STATES[32])/( CONSTANTS[104]*(CONSTANTS[103]+STATES[42]/CONSTANTS[105])+STATES[41])+( STATES[42]*CONSTANTS[110]*CONSTANTS[102])/( CONSTANTS[106]*(CONSTANTS[103]+STATES[30]/CONSTANTS[107])+STATES[42]);
RATES[42] = ((( STATES[41]*CONSTANTS[108]*STATES[32])/(( CONSTANTS[104]*STATES[42])/CONSTANTS[105]+STATES[41]) - ( STATES[42]*CONSTANTS[110]*CONSTANTS[102])/( CONSTANTS[106]*(CONSTANTS[103]+STATES[30]/CONSTANTS[107])+STATES[42])) - ( STATES[42]*CONSTANTS[109]*STATES[32])/( CONSTANTS[105]*(CONSTANTS[103]+STATES[42]/CONSTANTS[106])+STATES[42]))+( STATES[30]*CONSTANTS[111]*CONSTANTS[102])/( CONSTANTS[107]*(CONSTANTS[103]+STATES[42]/CONSTANTS[106])+STATES[30]);
RATES[30] = ( STATES[42]*CONSTANTS[109]*STATES[32])/( CONSTANTS[105]*(CONSTANTS[103]+STATES[41]/CONSTANTS[104])+STATES[42]) - ( STATES[30]*CONSTANTS[111]*CONSTANTS[102])/( CONSTANTS[107]*(CONSTANTS[103]+STATES[42]/CONSTANTS[106])+STATES[30]);
RATES[46] = ((( STATES[43]*CONSTANTS[127]*STATES[45])/( CONSTANTS[113]*(CONSTANTS[112]+STATES[44]/CONSTANTS[130])+STATES[45]) -  CONSTANTS[118]*STATES[46]*STATES[48])+ CONSTANTS[119]*STATES[29]) -  CONSTANTS[114]*STATES[46];
RATES[45] = ( CONSTANTS[114]*STATES[46] -  CONSTANTS[115]*STATES[45]) - ( STATES[43]*CONSTANTS[127]*STATES[45])/( CONSTANTS[113]*(CONSTANTS[112]+STATES[44]/CONSTANTS[130])+STATES[45]);
RATES[29] =  CONSTANTS[118]*STATES[46]*STATES[48] -  CONSTANTS[119]*STATES[29];
RATES[48] = (( - CONSTANTS[118]*STATES[46]*STATES[48]+ CONSTANTS[119]*STATES[29]) -  CONSTANTS[117]*STATES[48])+ CONSTANTS[116]*STATES[31]*STATES[49];
RATES[31] = ((( CONSTANTS[120]*STATES[50] -  CONSTANTS[121]*STATES[31]) - ( STATES[30]*CONSTANTS[128]*STATES[31])/( CONSTANTS[125]*(CONSTANTS[112]+STATES[34]/CONSTANTS[129])+STATES[31]))+ CONSTANTS[117]*STATES[48]) -  CONSTANTS[116]*STATES[31]*STATES[49];
RATES[50] = (( - CONSTANTS[120]*STATES[50]+ CONSTANTS[121]*STATES[31]+( STATES[30]*CONSTANTS[128]*STATES[31])/( CONSTANTS[125]*(CONSTANTS[112]+STATES[34]/CONSTANTS[129])+STATES[31])) -  CONSTANTS[122]*STATES[50]*STATES[49])+ CONSTANTS[123]*STATES[47];
RATES[47] =  CONSTANTS[122]*STATES[50]*STATES[49] -  CONSTANTS[123]*STATES[47];
RATES[49] = (( CONSTANTS[117]*STATES[48] -  CONSTANTS[116]*STATES[31]*STATES[49]) -  CONSTANTS[122]*STATES[50]*STATES[49])+ CONSTANTS[123]*STATES[47];
RATES[52] =  - CONSTANTS[131]*STATES[52]*STATES[53]+ CONSTANTS[132]*STATES[43];
RATES[53] =  - CONSTANTS[131]*STATES[52]*STATES[53]+ CONSTANTS[132]*STATES[43];
RATES[43] = (( CONSTANTS[131]*STATES[52]*STATES[53] -  CONSTANTS[132]*STATES[43]) -  CONSTANTS[133]*STATES[43])+ CONSTANTS[134]*STATES[51];
RATES[51] =  CONSTANTS[133]*STATES[43] -  CONSTANTS[134]*STATES[51];
RATES[55] =  - CONSTANTS[0]*STATES[55]*CONSTANTS[135]+ STATES[44]*CONSTANTS[136];
RATES[44] = (- ( - CONSTANTS[0]*STATES[55]*CONSTANTS[135]+ STATES[44]*CONSTANTS[136])+ CONSTANTS[137]*STATES[54]) - ( CONSTANTS[141]*STATES[43]*STATES[44])/( CONSTANTS[140]*(CONSTANTS[143]+STATES[45]/CONSTANTS[142])+STATES[44]);
RATES[54] = (- ( CONSTANTS[137]*STATES[54] - ( CONSTANTS[141]*STATES[43]*STATES[44])/(CONSTANTS[140]+STATES[44]))+ CONSTANTS[0]*STATES[56]*CONSTANTS[138]) -  CONSTANTS[139]*STATES[54];
RATES[56] =  - CONSTANTS[0]*STATES[56]*CONSTANTS[138]+ CONSTANTS[139]*STATES[54];
RATES[57] = (((((( - STATES[57]*CONSTANTS[144]+ STATES[0]*CONSTANTS[145]) -  STATES[57]*STATES[62]*CONSTANTS[146])+ STATES[0]*CONSTANTS[147]) -  STATES[57]*STATES[73]*CONSTANTS[160])+ STATES[58]*CONSTANTS[161]) -  STATES[57]*CONSTANTS[0]*CONSTANTS[156])+ STATES[61]*CONSTANTS[157];
RATES[58] = (( STATES[57]*STATES[73]*CONSTANTS[160] -  STATES[58]*CONSTANTS[161]) -  STATES[58]*STATES[62]*CONSTANTS[162])+ STATES[59]*CONSTANTS[163];
RATES[59] = (( STATES[58]*STATES[62]*CONSTANTS[162] -  STATES[59]*CONSTANTS[163]) -  STATES[59]*CONSTANTS[154])+ STATES[0]*CONSTANTS[155];
RATES[61] = (((((( STATES[57]*CONSTANTS[0]*CONSTANTS[156] -  STATES[61]*CONSTANTS[157]) -  STATES[61]*CONSTANTS[148])+ STATES[0]*CONSTANTS[149]) -  STATES[61]*STATES[62]*CONSTANTS[150])+ STATES[0]*CONSTANTS[151]) -  STATES[73]*STATES[61]*CONSTANTS[158])+ STATES[60]*CONSTANTS[159];
RATES[60] = (( STATES[73]*STATES[61]*CONSTANTS[158] -  STATES[60]*CONSTANTS[159]) -  STATES[60]*CONSTANTS[152])+ STATES[0]*CONSTANTS[153];
RATES[0] = (((((((((( STATES[57]*CONSTANTS[144] -  STATES[0]*CONSTANTS[145])+ STATES[57]*STATES[62]*CONSTANTS[146]) -  STATES[0]*CONSTANTS[147])+ STATES[61]*CONSTANTS[148]) -  STATES[0]*CONSTANTS[149])+ STATES[61]*STATES[62]*CONSTANTS[150]) -  STATES[0]*CONSTANTS[151])+ STATES[60]*CONSTANTS[152]) -  STATES[0]*CONSTANTS[153])+ STATES[59]*CONSTANTS[154]) -  STATES[0]*CONSTANTS[155];
RATES[62] = (((((( - STATES[57]*STATES[62]*CONSTANTS[146]+ STATES[0]*CONSTANTS[147]) -  STATES[61]*STATES[62]*CONSTANTS[150])+ STATES[0]*CONSTANTS[151]) -  STATES[58]*STATES[62]*CONSTANTS[162])+ STATES[59]*CONSTANTS[163]) -  STATES[62]*CONSTANTS[178])+( STATES[71]*CONSTANTS[189]*STATES[63])/(CONSTANTS[184]+STATES[63])+( STATES[67]*CONSTANTS[186]*STATES[63])/(CONSTANTS[181]+STATES[63])+( STATES[70]*CONSTANTS[188]*STATES[63])/(CONSTANTS[183]+STATES[63])+( STATES[68]*CONSTANTS[187]*STATES[63])/(CONSTANTS[182]+STATES[63])+( STATES[69]*CONSTANTS[185]*STATES[63])/(CONSTANTS[180]+STATES[63]);
RATES[65] = (((( STATES[66]*CONSTANTS[172] -  STATES[64]*STATES[65]*CONSTANTS[164])+ STATES[69]*CONSTANTS[165]) -  CONSTANTS[0]*STATES[65]*CONSTANTS[166])+ STATES[67]*CONSTANTS[167]) - ( STATES[41]*CONSTANTS[177]*STATES[65])/(CONSTANTS[176]+STATES[65]);
RATES[69] =  STATES[64]*STATES[65]*CONSTANTS[164] -  STATES[69]*CONSTANTS[165];
RATES[64] = (( - STATES[64]*STATES[65]*CONSTANTS[164]+ STATES[69]*CONSTANTS[165]) -  STATES[64]*STATES[67]*CONSTANTS[168])+ STATES[68]*CONSTANTS[169];
RATES[66] = (( - STATES[66]*CONSTANTS[172]+( STATES[41]*CONSTANTS[177]*STATES[65])/(CONSTANTS[176]+STATES[65])) -  CONSTANTS[0]*STATES[66]*CONSTANTS[174])+ STATES[71]*CONSTANTS[175];
RATES[71] =  CONSTANTS[0]*STATES[66]*CONSTANTS[174] -  STATES[71]*CONSTANTS[175];
RATES[67] = (((( CONSTANTS[0]*STATES[65]*CONSTANTS[166] -  STATES[67]*CONSTANTS[167]) -  STATES[73]*STATES[67]*CONSTANTS[170])+ STATES[70]*CONSTANTS[171]) -  STATES[64]*STATES[67]*CONSTANTS[168])+ STATES[68]*CONSTANTS[169];
RATES[68] =  STATES[64]*STATES[67]*CONSTANTS[168] -  STATES[68]*CONSTANTS[169];
RATES[70] =  STATES[73]*STATES[67]*CONSTANTS[170] -  STATES[70]*CONSTANTS[171];
RATES[63] =  STATES[62]*CONSTANTS[178] - (( STATES[71]*CONSTANTS[189]*STATES[63])/(CONSTANTS[184]+STATES[63])+( STATES[67]*CONSTANTS[186]*STATES[63])/(CONSTANTS[181]+STATES[63])+( STATES[70]*CONSTANTS[188]*STATES[63])/(CONSTANTS[183]+STATES[63])+( STATES[68]*CONSTANTS[187]*STATES[63])/(CONSTANTS[182]+STATES[63])+( STATES[69]*CONSTANTS[185]*STATES[63])/(CONSTANTS[180]+STATES[63]));
RATES[72] = ((( - STATES[44]*CONSTANTS[192]*STATES[72])/(CONSTANTS[190]+STATES[72]) - ( STATES[54]*CONSTANTS[193]*STATES[72])/(CONSTANTS[191]+STATES[72])) - ( STATES[7]*CONSTANTS[199]*STATES[72])/(CONSTANTS[198]+STATES[72])) - ( STATES[6]*CONSTANTS[197]*STATES[72])/(CONSTANTS[196]+STATES[72]);
RATES[73] = ((((((((( STATES[44]*CONSTANTS[192]*STATES[72])/(CONSTANTS[190]+STATES[72])+( STATES[54]*CONSTANTS[193]*STATES[72])/(CONSTANTS[191]+STATES[72])+( STATES[7]*CONSTANTS[199]*STATES[72])/(CONSTANTS[198]+STATES[72])) -  CONSTANTS[194]*STATES[73])+( STATES[6]*CONSTANTS[197]*STATES[72])/(CONSTANTS[196]+STATES[72])) -  STATES[57]*STATES[73]*CONSTANTS[160])+ STATES[58]*CONSTANTS[161]) -  STATES[73]*STATES[61]*CONSTANTS[158])+ STATES[60]*CONSTANTS[159]) -  STATES[73]*STATES[67]*CONSTANTS[170])+ STATES[70]*CONSTANTS[171];
RATES[74] = ((( STATES[44]*CONSTANTS[192]*STATES[72])/(CONSTANTS[190]+STATES[72])+( STATES[54]*CONSTANTS[193]*STATES[72])/(CONSTANTS[191]+STATES[72])+( STATES[6]*CONSTANTS[197]*STATES[72])/(CONSTANTS[196]+STATES[72])) -  CONSTANTS[195]*STATES[74])+( STATES[7]*CONSTANTS[199]*STATES[72])/(CONSTANTS[198]+STATES[72]);
RATES[76] =  CONSTANTS[194]*STATES[73];
RATES[75] =  CONSTANTS[195]*STATES[74];
}
void
computeVariables(double VOI, double* CONSTANTS, double* RATES, double* STATES, double* ALGEBRAIC)
{
}