Generated Code
The following is c_ida code generated by the CellML API from this CellML file. (Back to language selection)
The raw code is available.
/* There are a total of 2 entries in the algebraic variable array. There are a total of 58 entries in each of the rate and state variable arrays. There are a total of 578 entries in the constant variable array. */ /* * CONSTANTS[0] is PA in component input_values (mmHg). * CONSTANTS[1] is AUM in component input_values (dimensionless). * CONSTANTS[2] is ANM in component input_values (dimensionless). * CONSTANTS[3] is MYOGRS in component input_values (dimensionless). * CONSTANTS[4] is PAMKRN in component input_values (dimensionless). * CONSTANTS[5] is HM1 in component input_values (dimensionless). * CONSTANTS[6] is PPC in component input_values (mmHg). * CONSTANTS[7] is VTW in component input_values (litre). * CONSTANTS[8] is CNA in component input_values (monovalent_mEq_per_litre). * CONSTANTS[9] is ADHMK in component input_values (dimensionless). * CONSTANTS[10] is AMNA in component input_values (dimensionless). * CONSTANTS[11] is CKE in component input_values (monovalent_mEq_per_litre). * CONSTANTS[12] is AMK in component input_values (dimensionless). * CONSTANTS[13] is ANPX in component input_values (dimensionless). * CONSTANTS[14] is A1K in component parameter_values (minute). * CONSTANTS[15] is A2K in component parameter_values (minute). * CONSTANTS[16] is A3K in component parameter_values (minute). * CONSTANTS[17] is A4K in component parameter_values (minute). * CONSTANTS[18] is A4K2 in component parameter_values (minute). * CONSTANTS[19] is AARK in component parameter_values (mmHg_minute_per_L). * CONSTANTS[20] is AARLL in component parameter_values (mmHg_minute_per_L). * CONSTANTS[21] is ADHINF in component parameter_values (dimensionless). * CONSTANTS[22] is ADHKLL in component parameter_values (dimensionless). * CONSTANTS[23] is ADHKUL in component parameter_values (dimensionless). * CONSTANTS[24] is ADHPAM in component parameter_values (per_mmHg2). * CONSTANTS[25] is ADHPUL in component parameter_values (mmHg). * CONSTANTS[26] is ADHTC in component parameter_values (minute). * CONSTANTS[27] is ADHVLL in component parameter_values (dimensionless). * CONSTANTS[28] is ADHVUL in component parameter_values (dimensionless). * CONSTANTS[29] is AH10 in component parameter_values (dimensionless). * CONSTANTS[30] is AH11 in component parameter_values (minute). * CONSTANTS[31] is AH9 in component parameter_values (per_mmHg). * CONSTANTS[32] is AHMNAR in component parameter_values (dimensionless). * CONSTANTS[33] is AHTHM in component parameter_values (dimensionless). * CONSTANTS[34] is ALCLK in component parameter_values (dimensionless). * CONSTANTS[35] is ALDINF in component parameter_values (dimensionless). * CONSTANTS[36] is ALDKNS in component parameter_values (dimensionless). * CONSTANTS[37] is ALDMM in component parameter_values (dimensionless). * CONSTANTS[38] is AM1LL in component parameter_values (dimensionless). * CONSTANTS[39] is AM1UL in component parameter_values (dimensionless). * CONSTANTS[40] is AMCSNS in component parameter_values (dimensionless). * CONSTANTS[41] is AMKM in component parameter_values (dimensionless). * CONSTANTS[42] is AMKMUL in component parameter_values (dimensionless). * CONSTANTS[43] is AMM1LM in component parameter_values (dimensionless). * CONSTANTS[44] is AMM4 in component parameter_values (dimensionless). * CONSTANTS[45] is AMNALL in component parameter_values (dimensionless). * CONSTANTS[46] is AMNAM in component parameter_values (dimensionless). * CONSTANTS[47] is AMNAUL in component parameter_values (dimensionless). * CONSTANTS[48] is AMT in component parameter_values (minute). * CONSTANTS[49] is ANCSNS in component parameter_values (dimensionless). * CONSTANTS[50] is ANGINF in component parameter_values (dimensionless). * CONSTANTS[51] is ANGKNS in component parameter_values (dimensionless). * CONSTANTS[52] is ANMALD in component parameter_values (dimensionless). * CONSTANTS[53] is ANMAM in component parameter_values (dimensionless). * CONSTANTS[54] is ANMARL in component parameter_values (dimensionless). * CONSTANTS[55] is ANMEM in component parameter_values (dimensionless). * CONSTANTS[56] is ANMKEL in component parameter_values (dimensionless). * CONSTANTS[57] is ANMKEM in component parameter_values (dimensionless). * CONSTANTS[58] is ANMLL in component parameter_values (dimensionless). * CONSTANTS[59] is ANMNAM in component parameter_values (dimensionless). * CONSTANTS[60] is ANMSLT in component parameter_values (dimensionless). * CONSTANTS[61] is ANMTM in component parameter_values (dimensionless). * CONSTANTS[62] is ANMUL in component parameter_values (dimensionless). * CONSTANTS[63] is ANPTC in component parameter_values (minute). * CONSTANTS[64] is ANPXAF in component parameter_values (mmHg_minute_per_L). * CONSTANTS[65] is ANPXUL in component parameter_values (dimensionless). * CONSTANTS[66] is ANT in component parameter_values (minute). * CONSTANTS[67] is ANULL in component parameter_values (dimensionless). * CONSTANTS[68] is ANUM in component parameter_values (dimensionless). * CONSTANTS[69] is ANUVM in component parameter_values (dimensionless). * CONSTANTS[70] is ANV in component parameter_values (minute). * CONSTANTS[71] is ANXM in component parameter_values (dimensionless). * CONSTANTS[72] is ANY in component parameter_values (litre). * CONSTANTS[73] is AR1LM in component parameter_values (dimensionless). * CONSTANTS[74] is AR2LM in component parameter_values (dimensionless). * CONSTANTS[75] is ARF in component parameter_values (dimensionless). * CONSTANTS[76] is AUC1 in component parameter_values (dimensionless). * CONSTANTS[77] is AUDMP in component parameter_values (minute). * CONSTANTS[78] is AUK in component parameter_values (per_minute). * CONSTANTS[79] is AUL in component parameter_values (litre). * CONSTANTS[80] is AULPM in component parameter_values (dimensionless). * CONSTANTS[81] is AUM1 in component parameter_values (dimensionless). * CONSTANTS[82] is AUM2 in component parameter_values (dimensionless). * CONSTANTS[83] is AUMAX in component parameter_values (dimensionless). * CONSTANTS[84] is AUMIN in component parameter_values (dimensionless). * CONSTANTS[85] is AUMK1 in component parameter_values (dimensionless). * CONSTANTS[86] is AUN1 in component parameter_values (dimensionless). * CONSTANTS[87] is AURG in component parameter_values (dimensionless). * CONSTANTS[88] is AUS in component parameter_values (dimensionless). * CONSTANTS[89] is AUSLP in component parameter_values (dimensionless). * CONSTANTS[90] is AUTO in component parameter_values (dimensionless). * CONSTANTS[91] is AUTOGN in component parameter_values (dimensionless). * CONSTANTS[92] is AUTOSN in component parameter_values (dimensionless). * CONSTANTS[93] is AUX in component parameter_values (dimensionless). * CONSTANTS[94] is BAROTC in component parameter_values (minute). * CONSTANTS[95] is CFC in component parameter_values (L_per_minute_per_mmHg). * CONSTANTS[96] is CKEEX in component parameter_values (dimensionless). * CONSTANTS[97] is CMPTSS in component parameter_values (dimensionless). * CONSTANTS[98] is CN2 in component parameter_values (per_mmHg). * CONSTANTS[99] is CN7 in component parameter_values (dimensionless). * CONSTANTS[100] is CNR in component parameter_values (monovalent_mEq_per_litre). * CONSTANTS[101] is CPF in component parameter_values (L_per_minute_per_mmHg). * CONSTANTS[102] is CPK in component parameter_values (L_per_minute_per_mmHg). * CONSTANTS[103] is CPR in component parameter_values (gram_per_L). * CONSTANTS[104] is CV in component parameter_values (L_per_mmHg). * CONSTANTS[105] is CRRFLX in component parameter_values (mmHg). * CONSTANTS[106] is DIURET in component parameter_values (dimensionless). * CONSTANTS[107] is DHDTR in component parameter_values (per_mmHg_per_minute). * CONSTANTS[108] is DTNAR in component parameter_values (monovalent_mEq_per_minute). * CONSTANTS[109] is DTNARL in component parameter_values (monovalent_mEq_per_minute). * CONSTANTS[110] is EARK in component parameter_values (mmHg_minute_per_L). * CONSTANTS[111] is EARLL in component parameter_values (mmHg_minute_per_L). * CONSTANTS[112] is EFAFR in component parameter_values (dimensionless). * CONSTANTS[113] is EXC in component parameter_values (dimensionless). * CONSTANTS[114] is EXCML in component parameter_values (dimensionless). * CONSTANTS[115] is EXCXP in component parameter_values (dimensionless). * CONSTANTS[116] is EXCXP2 in component parameter_values (dimensionless). * CONSTANTS[117] is EXE in component parameter_values (mmHg). * CONSTANTS[118] is GCOPF in component parameter_values (per_mmHg). * CONSTANTS[119] is GFLC in component parameter_values (L_per_minute_per_mmHg). * CONSTANTS[120] is GFNDMP in component parameter_values (dimensionless). * CONSTANTS[121] is GFNLL in component parameter_values (L_per_minute). * CONSTANTS[122] is GPPD in component parameter_values (dimensionless). * CONSTANTS[123] is HM6 in component parameter_values (mmHg). * CONSTANTS[124] is HM8 in component parameter_values (L_per_minute_per_mmHg). * CONSTANTS[125] is HTAUML in component parameter_values (dimensionless). * CONSTANTS[126] is KORGN in component parameter_values (dimensionless). * CONSTANTS[127] is KORNER in component parameter_values (dimensionless). * CONSTANTS[128] is KORREN in component parameter_values (dimensionless). * CONSTANTS[129] is KORTC in component parameter_values (minute). * CONSTANTS[130] is LPDE in component parameter_values (dimensionless). * CONSTANTS[131] is LPK in component parameter_values (L_per_minute). * CONSTANTS[132] is LPPR in component parameter_values (gram_per_minute). * CONSTANTS[133] is MDFL1 in component parameter_values (dimensionless). * CONSTANTS[134] is MDFLKM in component parameter_values (monovalent_mEq_per_litre). * CONSTANTS[135] is MDFLW2 in component parameter_values (dimensionless). * CONSTANTS[136] is MDFLWX in component parameter_values (dimensionless). * CONSTANTS[137] is MDMP in component parameter_values (dimensionless). * CONSTANTS[138] is O2A in component parameter_values (dimensionless). * CONSTANTS[139] is O2CHMO in component parameter_values (per_mmHg). * CONSTANTS[140] is OMM in component parameter_values (mL_per_minute). * CONSTANTS[141] is PA4 in component parameter_values (dimensionless). * CONSTANTS[142] is PAEX in component parameter_values (dimensionless). * CONSTANTS[143] is PCE in component parameter_values (dimensionless). * CONSTANTS[144] is PCR in component parameter_values (mmHg). * CONSTANTS[145] is PR1LL in component parameter_values (mmHg). * CONSTANTS[146] is PGHF in component parameter_values (L_mmHg_per_gram). * CONSTANTS[147] is PK2 in component parameter_values (mmHg_per_mL). * CONSTANTS[148] is PL2 in component parameter_values (L_mL_per_minute_per_mmHg). * CONSTANTS[149] is PLDF in component parameter_values (mmHg). * CONSTANTS[150] is PM5 in component parameter_values (per_mmHg). * CONSTANTS[151] is PO2ADV in component parameter_values (dimensionless). * CONSTANTS[152] is POK in component parameter_values (dimensionless). * CONSTANTS[153] is POM in component parameter_values (dimensionless). * CONSTANTS[154] is POM2 in component parameter_values (dimensionless). * CONSTANTS[155] is PON in component parameter_values (dimensionless). * CONSTANTS[156] is POR in component parameter_values (mmHg). * CONSTANTS[157] is POZ in component parameter_values (dimensionless). * CONSTANTS[158] is PXTP in component parameter_values (mmHg). * CONSTANTS[159] is QAOLM in component parameter_values (dimensionless). * CONSTANTS[160] is QRF in component parameter_values (L_per_minute). * CONSTANTS[161] is RABSC in component parameter_values (per_mmHg). * CONSTANTS[162] is RAM in component parameter_values (mmHg_minute_per_L). * CONSTANTS[163] is RAPRSP in component parameter_values (mmHg). * CONSTANTS[164] is RAR in component parameter_values (mmHg_minute_per_L). * CONSTANTS[165] is RCDFDP in component parameter_values (minute). * CONSTANTS[166] is RCDFPC in component parameter_values (dimensionless). * CONSTANTS[167] is REK in component parameter_values (dimensionless). * CONSTANTS[168] is RFABKM in component parameter_values (monovalent_mEq_per_minute). * CONSTANTS[169] is RFABDM in component parameter_values (dimensionless). * CONSTANTS[170] is RFABDP in component parameter_values (dimensionless). * CONSTANTS[171] is RFCDFT in component parameter_values (dimensionless). * CONSTANTS[172] is RKC in component parameter_values (per_minute). * CONSTANTS[173] is RNAGTC in component parameter_values (minute). * CONSTANTS[174] is RNAUAD in component parameter_values (per_minute). * CONSTANTS[175] is RPS in component parameter_values (dimensionless). * CONSTANTS[176] is RTPPR in component parameter_values (dimensionless). * CONSTANTS[177] is RTPPRS in component parameter_values (mmHg). * CONSTANTS[178] is RTSPRS in component parameter_values (mmHg). * CONSTANTS[179] is RVRS in component parameter_values (mmHg_minute_per_L). * CONSTANTS[180] is RVSM in component parameter_values (mmHg_minute_per_L). * CONSTANTS[181] is SR in component parameter_values (dimensionless). * CONSTANTS[182] is SR2 in component parameter_values (dimensionless). * CONSTANTS[183] is SRK in component parameter_values (minute). * CONSTANTS[184] is SRK2 in component parameter_values (minute). * CONSTANTS[185] is STA in component parameter_values (dimensionless). * CONSTANTS[186] is TENSGN in component parameter_values (dimensionless). * CONSTANTS[187] is TENSTC in component parameter_values (minute). * CONSTANTS[188] is TIMETR in component parameter_values (minute). * CONSTANTS[189] is TRNSFS in component parameter_values (dimensionless). * CONSTANTS[190] is TRPL in component parameter_values (L_per_minute). * CONSTANTS[191] is TSSLML in component parameter_values (dimensionless). * CONSTANTS[192] is TSSLTC in component parameter_values (per_minute). * CONSTANTS[193] is TVDDL in component parameter_values (minute). * CONSTANTS[194] is U in component parameter_values (dimensionless). * CONSTANTS[195] is VID1 in component parameter_values (L_per_minute). * CONSTANTS[196] is VIDML in component parameter_values (litre2_per_monovalent_mEq_per_minute). * CONSTANTS[197] is VNTSTM in component parameter_values (dimensionless). * CONSTANTS[198] is VP1 in component parameter_values (dimensionless). * CONSTANTS[199] is VPTISS in component parameter_values (litre). * CONSTANTS[200] is VTSF in component parameter_values (litre). * CONSTANTS[201] is VV9 in component parameter_values (litre). * CONSTANTS[202] is X in component parameter_values (dimensionless). * CONSTANTS[203] is Z in component parameter_values (dimensionless). * CONSTANTS[204] is Z4 in component parameter_values (dimensionless). * CONSTANTS[205] is Z5 in component parameter_values (dimensionless). * CONSTANTS[206] is Z6 in component parameter_values (dimensionless). * CONSTANTS[207] is Z7 in component parameter_values (dimensionless). * CONSTANTS[208] is Z10 in component parameter_values (mmHg). * CONSTANTS[209] is Z11 in component parameter_values (per_mmHg2). * CONSTANTS[210] is Z12 in component parameter_values (dimensionless). * CONSTANTS[211] is Z13 in component parameter_values (dimensionless). * CONSTANTS[212] is Z14 in component parameter_values (dimensionless). * CONSTANTS[213] is Z16 in component parameter_values (dimensionless). * CONSTANTS[214] is Z18 in component parameter_values (dimensionless). * CONSTANTS[215] is Z19 in component parameter_values (dimensionless). * CONSTANTS[216] is KID in component parameter_values (monovalent_mEq_per_minute). * CONSTANTS[217] is URFORM in component parameter_values (mOsm_per_minute). * CONSTANTS[218] is AUV in component parameter_values (dimensionless). * CONSTANTS[219] is AUY in component parameter_values (dimensionless). * CONSTANTS[220] is O2M in component parameter_values (mL_per_minute). * CONSTANTS[221] is NID in component parameter_values (monovalent_mEq_per_minute). * CONSTANTS[222] is ATRFBM in component parameter_values (dimensionless). * CONSTANTS[223] is GBL in component parameter_values (mmHg). * CONSTANTS[224] is RNAUGN in component parameter_values (minute_per_L). * CONSTANTS[225] is RNAULL in component parameter_values (dimensionless). * CONSTANTS[226] is RNAUUL in component parameter_values (dimensionless). * CONSTANTS[227] is HSR in component parameter_values (dimensionless). * CONSTANTS[228] is HSL in component parameter_values (dimensionless). * CONSTANTS[229] is HMK in component parameter_values (dimensionless). * CONSTANTS[230] is PO2AMB in component parameter_values (mmHg). * CONSTANTS[231] is HKM in component parameter_values (dimensionless). * CONSTANTS[232] is DR in component parameter_values (L_per_minute). * CONSTANTS[233] is ANPKNS in component parameter_values (dimensionless). * CONSTANTS[234] is RMULT1 in component parameter_values (dimensionless). * CONSTANTS[235] is GLPCA in component parameter_values (mmHg). * CONSTANTS[236] is RFN in component parameter_values (L_per_minute). * CONSTANTS[237] is RFABX in component parameter_values (dimensionless). * CONSTANTS[238] is ANPINF in component parameter_values (dimensionless). * CONSTANTS[239] is FIS in component parameter_values (L_per_minute_per_mmHg). * CONSTANTS[240] is CPPD in component parameter_values (gram_per_L). * CONSTANTS[241] is TRRBC in component parameter_values (L_per_minute). * CONSTANTS[242] is HYL in component parameter_values (gram). * CONSTANTS[243] is ATRVM in component parameter_values (litre). * CONSTANTS[244] is ADHC_init in component state_variables (dimensionless). * CONSTANTS[245] is AHY_init in component state_variables (dimensionless). * CONSTANTS[246] is AMC_init in component state_variables (dimensionless). * CONSTANTS[247] is AMM1T_init in component state_variables (dimensionless). * CONSTANTS[248] is AMM2_init in component state_variables (dimensionless). * CONSTANTS[249] is ANC_init in component state_variables (dimensionless). * CONSTANTS[250] is ANPC_init in component state_variables (dimensionless). * CONSTANTS[251] is ANX1_init in component state_variables (dimensionless). * CONSTANTS[252] is AR1T_init in component state_variables (dimensionless). * CONSTANTS[253] is AR2T_init in component state_variables (dimensionless). * CONSTANTS[254] is AR3T_init in component state_variables (dimensionless). * CONSTANTS[255] is AU1_init in component state_variables (dimensionless). * CONSTANTS[256] is AU4_init in component state_variables (dimensionless). * CONSTANTS[257] is AU6_init in component state_variables (dimensionless). * CONSTANTS[258] is DTKA_init in component state_variables (monovalent_mEq_per_minute). * CONSTANTS[259] is HMD1_init in component state_variables (dimensionless). * CONSTANTS[260] is HPL_init in component state_variables (dimensionless). * CONSTANTS[261] is HPR_init in component state_variables (dimensionless). * CONSTANTS[262] is KTOT_init in component state_variables (monovalent_mEq). * CONSTANTS[263] is NAE_init in component state_variables (monovalent_mEq). * CONSTANTS[264] is O2VAD1_init in component state_variables (dimensionless). * CONSTANTS[265] is OSV_init in component state_variables (dimensionless). * CONSTANTS[266] is OVA_init in component state_variables (mL_per_L). * CONSTANTS[267] is OVS_init in component state_variables (dimensionless). * CONSTANTS[268] is PAR1_init in component state_variables (mmHg). * CONSTANTS[269] is PC_init in component state_variables (mmHg). * CONSTANTS[270] is PLUR_init in component state_variables (mOsm). * CONSTANTS[271] is PPR1_init in component state_variables (gram). * CONSTANTS[272] is PRP_init in component state_variables (gram). * CONSTANTS[273] is QO2T_init in component state_variables (mL). * CONSTANTS[274] is QOM1_init in component state_variables (mL). * CONSTANTS[275] is RNAUG3_init in component state_variables (dimensionless). * CONSTANTS[276] is TSP_init in component state_variables (gram). * CONSTANTS[277] is TVD_init in component state_variables (L_per_minute). * CONSTANTS[278] is VAS1_init in component state_variables (litre). * CONSTANTS[279] is VIC_init in component state_variables (litre). * CONSTANTS[280] is VLA1_init in component state_variables (litre). * CONSTANTS[281] is VPA1_init in component state_variables (litre). * CONSTANTS[282] is VPF1_init in component state_variables (litre). * CONSTANTS[283] is VP_init in component state_variables (litre). * CONSTANTS[284] is VRA1_init in component state_variables (litre). * CONSTANTS[285] is VRC_init in component state_variables (litre). * CONSTANTS[286] is VTS2_init in component state_variables (litre). * CONSTANTS[287] is VTW_init in component state_variables (litre). * CONSTANTS[288] is VV6_init in component state_variables (litre). * CONSTANTS[289] is VV7_init in component state_variables (litre). * CONSTANTS[290] is VVS1_init in component state_variables (litre). * VOI is time in component environment (minute). * STATES[4] is RBF in component actual_renal_blood_flow (L_per_minute). * STATES[5] is MDFLW in component proximal_tubular_and_macula_densa_flow (L_per_minute). * STATES[6] is NOD in component actual_Na_excretion_rate (monovalent_mEq_per_minute). * STATES[7] is KOD in component actual_K_excretion_rate (monovalent_mEq_per_minute). * STATES[8] is VUD in component actual_urine_volume (L_per_minute). * CONSTANTS[291] is A1K in component parameter_values (minute). * CONSTANTS[292] is A2K in component parameter_values (minute). * CONSTANTS[293] is A3K in component parameter_values (minute). * CONSTANTS[294] is A4K in component parameter_values (minute). * CONSTANTS[295] is A4K2 in component parameter_values (minute). * CONSTANTS[296] is AARK in component parameter_values (mmHg_minute_per_L). * CONSTANTS[297] is AARLL in component parameter_values (mmHg_minute_per_L). * CONSTANTS[298] is ADHINF in component parameter_values (dimensionless). * CONSTANTS[299] is ADHKLL in component parameter_values (dimensionless). * CONSTANTS[300] is ADHKUL in component parameter_values (dimensionless). * CONSTANTS[301] is ADHPAM in component parameter_values (per_mmHg2). * CONSTANTS[302] is ADHPUL in component parameter_values (mmHg). * CONSTANTS[303] is ADHTC in component parameter_values (minute). * CONSTANTS[304] is ADHVLL in component parameter_values (dimensionless). * CONSTANTS[305] is ADHVUL in component parameter_values (dimensionless). * CONSTANTS[306] is AH10 in component parameter_values (dimensionless). * CONSTANTS[307] is AH11 in component parameter_values (minute). * CONSTANTS[308] is AH9 in component parameter_values (per_mmHg). * CONSTANTS[309] is AHMNAR in component parameter_values (dimensionless). * CONSTANTS[310] is AHTHM in component parameter_values (dimensionless). * CONSTANTS[311] is ALCLK in component parameter_values (dimensionless). * CONSTANTS[312] is ALDINF in component parameter_values (dimensionless). * CONSTANTS[313] is ALDKNS in component parameter_values (dimensionless). * CONSTANTS[314] is ALDMM in component parameter_values (dimensionless). * CONSTANTS[315] is AM1LL in component parameter_values (dimensionless). * CONSTANTS[316] is AM1UL in component parameter_values (dimensionless). * CONSTANTS[317] is AMCSNS in component parameter_values (dimensionless). * CONSTANTS[318] is AMKM in component parameter_values (dimensionless). * CONSTANTS[319] is AMKMUL in component parameter_values (dimensionless). * CONSTANTS[320] is AMM1LM in component parameter_values (dimensionless). * CONSTANTS[321] is AMM4 in component parameter_values (dimensionless). * CONSTANTS[322] is AMNALL in component parameter_values (dimensionless). * CONSTANTS[323] is AMNAM in component parameter_values (dimensionless). * CONSTANTS[324] is AMNAUL in component parameter_values (dimensionless). * CONSTANTS[325] is AMT in component parameter_values (minute). * CONSTANTS[326] is ANCSNS in component parameter_values (dimensionless). * CONSTANTS[327] is ANGINF in component parameter_values (dimensionless). * CONSTANTS[328] is ANGKNS in component parameter_values (dimensionless). * CONSTANTS[329] is ANMALD in component parameter_values (dimensionless). * CONSTANTS[330] is ANMAM in component parameter_values (dimensionless). * CONSTANTS[331] is ANMARL in component parameter_values (dimensionless). * CONSTANTS[332] is ANMEM in component parameter_values (dimensionless). * CONSTANTS[333] is ANMKEL in component parameter_values (dimensionless). * CONSTANTS[334] is ANMKEM in component parameter_values (dimensionless). * CONSTANTS[335] is ANMLL in component parameter_values (dimensionless). * CONSTANTS[336] is ANMNAM in component parameter_values (dimensionless). * CONSTANTS[337] is ANMSLT in component parameter_values (dimensionless). * CONSTANTS[338] is ANMTM in component parameter_values (dimensionless). * CONSTANTS[339] is ANMUL in component parameter_values (dimensionless). * CONSTANTS[340] is ANPTC in component parameter_values (minute). * CONSTANTS[341] is ANPXAF in component parameter_values (mmHg_minute_per_L). * CONSTANTS[342] is ANPXUL in component parameter_values (dimensionless). * CONSTANTS[343] is ANT in component parameter_values (minute). * CONSTANTS[344] is ANULL in component parameter_values (dimensionless). * CONSTANTS[345] is ANUM in component parameter_values (dimensionless). * CONSTANTS[346] is ANUVM in component parameter_values (dimensionless). * CONSTANTS[347] is ANV in component parameter_values (minute). * CONSTANTS[348] is ANXM in component parameter_values (dimensionless). * CONSTANTS[349] is ANY in component parameter_values (litre). * CONSTANTS[350] is AR1LM in component parameter_values (dimensionless). * CONSTANTS[351] is AR2LM in component parameter_values (dimensionless). * CONSTANTS[352] is ARF in component parameter_values (dimensionless). * CONSTANTS[353] is AUC1 in component parameter_values (dimensionless). * CONSTANTS[354] is AUDMP in component parameter_values (minute). * CONSTANTS[355] is AUK in component parameter_values (per_minute). * CONSTANTS[356] is AUL in component parameter_values (litre). * CONSTANTS[357] is AULPM in component parameter_values (dimensionless). * CONSTANTS[358] is AUM1 in component parameter_values (dimensionless). * CONSTANTS[359] is AUM2 in component parameter_values (dimensionless). * CONSTANTS[360] is AUMAX in component parameter_values (dimensionless). * CONSTANTS[361] is AUMIN in component parameter_values (dimensionless). * CONSTANTS[362] is AUMK1 in component parameter_values (dimensionless). * CONSTANTS[363] is AUN1 in component parameter_values (dimensionless). * CONSTANTS[364] is AURG in component parameter_values (dimensionless). * CONSTANTS[365] is AUS in component parameter_values (dimensionless). * CONSTANTS[366] is AUSLP in component parameter_values (dimensionless). * CONSTANTS[367] is AUTO in component parameter_values (dimensionless). * CONSTANTS[368] is AUTOGN in component parameter_values (dimensionless). * CONSTANTS[369] is AUTOSN in component parameter_values (dimensionless). * CONSTANTS[370] is AUX in component parameter_values (dimensionless). * CONSTANTS[371] is BAROTC in component parameter_values (minute). * CONSTANTS[372] is CFC in component parameter_values (L_per_minute_per_mmHg). * CONSTANTS[373] is CKEEX in component parameter_values (dimensionless). * CONSTANTS[374] is CMPTSS in component parameter_values (dimensionless). * CONSTANTS[375] is CN2 in component parameter_values (per_mmHg). * CONSTANTS[376] is CN7 in component parameter_values (dimensionless). * CONSTANTS[377] is CNR in component parameter_values (monovalent_mEq_per_litre). * CONSTANTS[378] is CPF in component parameter_values (L_per_minute_per_mmHg). * CONSTANTS[379] is CPK in component parameter_values (L_per_minute_per_mmHg). * CONSTANTS[380] is CPR in component parameter_values (gram_per_L). * CONSTANTS[381] is CV in component parameter_values (L_per_mmHg). * CONSTANTS[382] is CRRFLX in component parameter_values (mmHg). * CONSTANTS[383] is DIURET in component parameter_values (dimensionless). * CONSTANTS[384] is DHDTR in component parameter_values (per_mmHg_per_minute). * CONSTANTS[385] is DTNAR in component parameter_values (monovalent_mEq_per_minute). * CONSTANTS[386] is DTNARL in component parameter_values (monovalent_mEq_per_minute). * CONSTANTS[387] is EARK in component parameter_values (mmHg_minute_per_L). * CONSTANTS[388] is EARLL in component parameter_values (mmHg_minute_per_L). * CONSTANTS[389] is EFAFR in component parameter_values (dimensionless). * CONSTANTS[390] is EXC in component parameter_values (dimensionless). * CONSTANTS[391] is EXCML in component parameter_values (dimensionless). * CONSTANTS[392] is EXCXP in component parameter_values (dimensionless). * CONSTANTS[393] is EXCXP2 in component parameter_values (dimensionless). * CONSTANTS[394] is EXE in component parameter_values (mmHg). * CONSTANTS[395] is GCOPF in component parameter_values (per_mmHg). * CONSTANTS[396] is GFLC in component parameter_values (L_per_minute_per_mmHg). * CONSTANTS[397] is GFNDMP in component parameter_values (dimensionless). * CONSTANTS[398] is GFNLL in component parameter_values (L_per_minute). * CONSTANTS[399] is GPPD in component parameter_values (dimensionless). * CONSTANTS[400] is HM6 in component parameter_values (mmHg). * CONSTANTS[401] is HM8 in component parameter_values (L_per_minute_per_mmHg). * CONSTANTS[402] is HTAUML in component parameter_values (dimensionless). * CONSTANTS[403] is KORGN in component parameter_values (dimensionless). * CONSTANTS[404] is KORNER in component parameter_values (dimensionless). * CONSTANTS[405] is KORREN in component parameter_values (dimensionless). * CONSTANTS[406] is KORTC in component parameter_values (minute). * CONSTANTS[407] is LPDE in component parameter_values (dimensionless). * CONSTANTS[408] is LPK in component parameter_values (L_per_minute). * CONSTANTS[409] is LPPR in component parameter_values (gram_per_minute). * CONSTANTS[410] is MDFL1 in component parameter_values (dimensionless). * CONSTANTS[411] is MDFLKM in component parameter_values (monovalent_mEq_per_litre). * CONSTANTS[412] is MDFLW2 in component parameter_values (dimensionless). * CONSTANTS[413] is MDFLWX in component parameter_values (dimensionless). * CONSTANTS[414] is MDMP in component parameter_values (dimensionless). * CONSTANTS[415] is O2A in component parameter_values (dimensionless). * CONSTANTS[416] is O2CHMO in component parameter_values (per_mmHg). * CONSTANTS[417] is OMM in component parameter_values (mL_per_minute). * CONSTANTS[418] is PA4 in component parameter_values (dimensionless). * CONSTANTS[419] is PAEX in component parameter_values (dimensionless). * CONSTANTS[420] is PCE in component parameter_values (dimensionless). * CONSTANTS[421] is PCR in component parameter_values (mmHg). * CONSTANTS[422] is PR1LL in component parameter_values (mmHg). * CONSTANTS[423] is PGHF in component parameter_values (L_mmHg_per_gram). * CONSTANTS[424] is PK2 in component parameter_values (mmHg_per_mL). * CONSTANTS[425] is PL2 in component parameter_values (L_mL_per_minute_per_mmHg). * CONSTANTS[426] is PLDF in component parameter_values (mmHg). * CONSTANTS[427] is PM5 in component parameter_values (per_mmHg). * CONSTANTS[428] is PO2ADV in component parameter_values (dimensionless). * CONSTANTS[429] is POK in component parameter_values (dimensionless). * CONSTANTS[430] is POM in component parameter_values (dimensionless). * CONSTANTS[431] is POM2 in component parameter_values (dimensionless). * CONSTANTS[432] is PON in component parameter_values (dimensionless). * CONSTANTS[433] is POR in component parameter_values (mmHg). * CONSTANTS[434] is POZ in component parameter_values (dimensionless). * CONSTANTS[435] is PXTP in component parameter_values (mmHg). * CONSTANTS[436] is QAOLM in component parameter_values (dimensionless). * CONSTANTS[437] is QRF in component parameter_values (L_per_minute). * CONSTANTS[438] is RABSC in component parameter_values (per_mmHg). * CONSTANTS[439] is RAM in component parameter_values (mmHg_minute_per_L). * CONSTANTS[440] is RAPRSP in component parameter_values (mmHg). * CONSTANTS[441] is RAR in component parameter_values (mmHg_minute_per_L). * CONSTANTS[442] is RCDFDP in component parameter_values (minute). * CONSTANTS[443] is RCDFPC in component parameter_values (dimensionless). * CONSTANTS[444] is REK in component parameter_values (dimensionless). * CONSTANTS[445] is RFABKM in component parameter_values (monovalent_mEq_per_minute). * CONSTANTS[446] is RFABDM in component parameter_values (dimensionless). * CONSTANTS[447] is RFABDP in component parameter_values (dimensionless). * CONSTANTS[448] is RFCDFT in component parameter_values (dimensionless). * CONSTANTS[449] is RKC in component parameter_values (per_minute). * CONSTANTS[450] is RNAGTC in component parameter_values (minute). * CONSTANTS[451] is RNAUAD in component parameter_values (per_minute). * CONSTANTS[452] is RPS in component parameter_values (dimensionless). * CONSTANTS[453] is RTPPR in component parameter_values (dimensionless). * CONSTANTS[454] is RTPPRS in component parameter_values (mmHg). * CONSTANTS[455] is RTSPRS in component parameter_values (mmHg). * CONSTANTS[456] is RVRS in component parameter_values (mmHg_minute_per_L). * CONSTANTS[457] is RVSM in component parameter_values (mmHg_minute_per_L). * CONSTANTS[458] is SR in component parameter_values (dimensionless). * CONSTANTS[459] is SR2 in component parameter_values (dimensionless). * CONSTANTS[460] is SRK in component parameter_values (minute). * CONSTANTS[461] is SRK2 in component parameter_values (minute). * CONSTANTS[462] is STA in component parameter_values (dimensionless). * CONSTANTS[463] is TENSGN in component parameter_values (dimensionless). * CONSTANTS[464] is TENSTC in component parameter_values (minute). * CONSTANTS[465] is TIMETR in component parameter_values (minute). * CONSTANTS[466] is TRNSFS in component parameter_values (dimensionless). * CONSTANTS[467] is TRPL in component parameter_values (L_per_minute). * CONSTANTS[468] is TSSLML in component parameter_values (dimensionless). * CONSTANTS[469] is TSSLTC in component parameter_values (per_minute). * CONSTANTS[470] is TVDDL in component parameter_values (minute). * CONSTANTS[471] is U in component parameter_values (dimensionless). * CONSTANTS[472] is VID1 in component parameter_values (L_per_minute). * CONSTANTS[473] is VIDML in component parameter_values (litre2_per_monovalent_mEq_per_minute). * CONSTANTS[474] is VNTSTM in component parameter_values (dimensionless). * CONSTANTS[475] is VP1 in component parameter_values (dimensionless). * CONSTANTS[476] is VPTISS in component parameter_values (litre). * CONSTANTS[477] is VTSF in component parameter_values (litre). * CONSTANTS[478] is VV9 in component parameter_values (litre). * CONSTANTS[479] is X in component parameter_values (dimensionless). * CONSTANTS[480] is Z in component parameter_values (dimensionless). * CONSTANTS[481] is Z4 in component parameter_values (dimensionless). * CONSTANTS[482] is Z5 in component parameter_values (dimensionless). * CONSTANTS[483] is Z6 in component parameter_values (dimensionless). * CONSTANTS[484] is Z7 in component parameter_values (dimensionless). * CONSTANTS[485] is Z10 in component parameter_values (mmHg). * CONSTANTS[486] is Z11 in component parameter_values (per_mmHg2). * CONSTANTS[487] is Z12 in component parameter_values (dimensionless). * CONSTANTS[488] is Z13 in component parameter_values (dimensionless). * CONSTANTS[489] is Z14 in component parameter_values (dimensionless). * CONSTANTS[490] is Z16 in component parameter_values (dimensionless). * CONSTANTS[491] is Z18 in component parameter_values (dimensionless). * CONSTANTS[492] is Z19 in component parameter_values (dimensionless). * CONSTANTS[493] is KID in component parameter_values (monovalent_mEq_per_minute). * CONSTANTS[494] is URFORM in component parameter_values (mOsm_per_minute). * CONSTANTS[495] is AUV in component parameter_values (dimensionless). * CONSTANTS[496] is AUY in component parameter_values (dimensionless). * CONSTANTS[497] is O2M in component parameter_values (mL_per_minute). * CONSTANTS[498] is NID in component parameter_values (monovalent_mEq_per_minute). * CONSTANTS[499] is ATRFBM in component parameter_values (dimensionless). * CONSTANTS[500] is GBL in component parameter_values (mmHg). * CONSTANTS[501] is RNAUGN in component parameter_values (minute_per_L). * CONSTANTS[502] is RNAULL in component parameter_values (dimensionless). * CONSTANTS[503] is RNAUUL in component parameter_values (dimensionless). * CONSTANTS[504] is HSR in component parameter_values (dimensionless). * CONSTANTS[505] is HSL in component parameter_values (dimensionless). * CONSTANTS[506] is HMK in component parameter_values (dimensionless). * CONSTANTS[507] is PO2AMB in component parameter_values (mmHg). * CONSTANTS[508] is HKM in component parameter_values (dimensionless). * CONSTANTS[509] is DR in component parameter_values (L_per_minute). * CONSTANTS[510] is ANPKNS in component parameter_values (dimensionless). * CONSTANTS[511] is RMULT1 in component parameter_values (dimensionless). * CONSTANTS[512] is GLPCA in component parameter_values (mmHg). * CONSTANTS[513] is RFN in component parameter_values (L_per_minute). * CONSTANTS[514] is RFABX in component parameter_values (dimensionless). * CONSTANTS[515] is ANPINF in component parameter_values (dimensionless). * CONSTANTS[516] is FIS in component parameter_values (L_per_minute_per_mmHg). * CONSTANTS[517] is CPPD in component parameter_values (gram_per_L). * CONSTANTS[518] is TRRBC in component parameter_values (L_per_minute). * CONSTANTS[519] is HYL in component parameter_values (gram). * CONSTANTS[520] is ATRVM in component parameter_values (litre). * CONSTANTS[521] is ADHC_init in component state_variables (dimensionless). * CONSTANTS[522] is AHY_init in component state_variables (dimensionless). * CONSTANTS[523] is AMC_init in component state_variables (dimensionless). * CONSTANTS[524] is AMM1T_init in component state_variables (dimensionless). * CONSTANTS[525] is AMM2_init in component state_variables (dimensionless). * CONSTANTS[526] is ANC_init in component state_variables (dimensionless). * CONSTANTS[527] is ANPC_init in component state_variables (dimensionless). * CONSTANTS[528] is ANX1_init in component state_variables (dimensionless). * CONSTANTS[529] is AR1T_init in component state_variables (dimensionless). * CONSTANTS[530] is AR2T_init in component state_variables (dimensionless). * CONSTANTS[531] is AR3T_init in component state_variables (dimensionless). * CONSTANTS[532] is AU1_init in component state_variables (dimensionless). * CONSTANTS[533] is AU4_init in component state_variables (dimensionless). * CONSTANTS[534] is AU6_init in component state_variables (dimensionless). * CONSTANTS[535] is DTKA_init in component state_variables (monovalent_mEq_per_minute). * CONSTANTS[536] is HMD1_init in component state_variables (dimensionless). * CONSTANTS[537] is HPL_init in component state_variables (dimensionless). * CONSTANTS[538] is HPR_init in component state_variables (dimensionless). * CONSTANTS[539] is KTOT_init in component state_variables (monovalent_mEq). * CONSTANTS[540] is NAE_init in component state_variables (monovalent_mEq). * CONSTANTS[541] is O2VAD1_init in component state_variables (dimensionless). * CONSTANTS[542] is OSV_init in component state_variables (dimensionless). * CONSTANTS[543] is OVA_init in component state_variables (mL_per_L). * CONSTANTS[544] is OVS_init in component state_variables (dimensionless). * CONSTANTS[545] is PAR1_init in component state_variables (mmHg). * CONSTANTS[546] is PC_init in component state_variables (mmHg). * CONSTANTS[547] is PLUR_init in component state_variables (mOsm). * CONSTANTS[548] is PPR1_init in component state_variables (gram). * CONSTANTS[549] is PRP_init in component state_variables (gram). * CONSTANTS[550] is QO2T_init in component state_variables (mL). * CONSTANTS[551] is QOM1_init in component state_variables (mL). * CONSTANTS[552] is RNAUG3_init in component state_variables (dimensionless). * CONSTANTS[553] is TSP_init in component state_variables (gram). * CONSTANTS[554] is TVD_init in component state_variables (L_per_minute). * CONSTANTS[555] is VAS1_init in component state_variables (litre). * CONSTANTS[556] is VIC_init in component state_variables (litre). * CONSTANTS[557] is VLA1_init in component state_variables (litre). * CONSTANTS[558] is VPA1_init in component state_variables (litre). * CONSTANTS[559] is VPF1_init in component state_variables (litre). * CONSTANTS[560] is VP_init in component state_variables (litre). * CONSTANTS[561] is VRA1_init in component state_variables (litre). * CONSTANTS[562] is VRC_init in component state_variables (litre). * CONSTANTS[563] is VTS2_init in component state_variables (litre). * CONSTANTS[564] is VTW_init in component state_variables (litre). * CONSTANTS[565] is VV6_init in component state_variables (litre). * CONSTANTS[566] is VV7_init in component state_variables (litre). * CONSTANTS[567] is VVS1_init in component state_variables (litre). * ALGEBRAIC[0] is PAR in component perfusion_pressure (mmHg). * STATES[0] is PAR1 in component perfusion_pressure (mmHg). * STATES[9] is RNAUG2 in component renal_autoregulatory_feedback_factor (dimensionless). * STATES[10] is RNAUG1 in component renal_autoregulatory_feedback_factor (dimensionless). * STATES[11] is RNAUG1T in component renal_autoregulatory_feedback_factor (dimensionless). * STATES[1] is RNAUG3 in component renal_autoregulatory_feedback_factor (dimensionless). * CONSTANTS[569] is AUMK in component autonomic_effect_on_AAR (dimensionless). * CONSTANTS[568] is AUMKT in component autonomic_effect_on_AAR (dimensionless). * CONSTANTS[571] is ANMAR in component angiotensin_effect_on_AAR (dimensionless). * CONSTANTS[570] is ANMAR1 in component angiotensin_effect_on_AAR (dimensionless). * STATES[12] is AAR1 in component AAR_calculation (mmHg_minute_per_L). * STATES[13] is AAR in component atrial_natriuretic_peptide_effect_on_AAR (mmHg_minute_per_L). * STATES[14] is AART in component atrial_natriuretic_peptide_effect_on_AAR (mmHg_minute_per_L). * CONSTANTS[572] is AUMK2 in component autonomic_effect_on_EAR (dimensionless). * CONSTANTS[573] is ANMER in component angiotensin_effect_on_EAR (dimensionless). * STATES[15] is RNAUG4 in component effect_of_renal_autoregulatory_feedback_on_EAR (dimensionless). * STATES[16] is EAR in component EAR_calculation (mmHg_minute_per_L). * STATES[17] is EAR1 in component EAR_calculation (mmHg_minute_per_L). * STATES[18] is RR in component total_renal_resistance (mmHg_minute_per_L). * STATES[19] is RFN in component normal_renal_blood_flow (L_per_minute). * STATES[20] is GFN in component glomerular_filtration_rate (L_per_minute). * STATES[21] is GLPC in component glomerular_colloid_osmotic_pressure (mmHg). * STATES[22] is EFAFPR in component glomerular_colloid_osmotic_pressure (dimensionless). * STATES[23] is EFAFPR1 in component glomerular_colloid_osmotic_pressure (dimensionless). * STATES[24] is GLP in component glomerular_pressure (mmHg). * STATES[25] is APD in component glomerular_pressure (mmHg). * STATES[26] is GFR in component glomerular_filtration_rate (L_per_minute). * STATES[27] is PFL in component glomerular_filtration_rate (mmHg). * STATES[28] is GFN1 in component glomerular_filtration_rate (L_per_minute). * STATES[29] is UROD in component actual_urea_excretion_rate (mOsm_per_minute). * STATES[2] is PLUR in component glomerular_urea_concentration (mOsm). * STATES[30] is PTFL in component proximal_tubular_and_macula_densa_flow (L_per_minute). * STATES[31] is MDFLWT in component proximal_tubular_and_macula_densa_flow (L_per_minute). * STATES[32] is RTSPPC in component renal_tissue_osmotic_pressure (mmHg). * STATES[33] is RTSPPC1 in component renal_tissue_osmotic_pressure (mmHg). * ALGEBRAIC[1] is PLURC in component plasma_urea_concentration (mOsm_per_litre). * STATES[34] is RCPRS in component peritubular_capillary_pressure (mmHg). * STATES[35] is RFABD in component peritubular_capillary_reabsorption_factor (dimensionless). * STATES[36] is RABSPR in component peritubular_capillary_reabsorption_factor (mmHg). * STATES[37] is RFAB1 in component peritubular_capillary_reabsorption_factor (dimensionless). * STATES[38] is RFAB in component peritubular_capillary_reabsorption_factor (dimensionless). * STATES[39] is RFABD1 in component peritubular_capillary_reabsorption_factor (dimensionless). * STATES[40] is DTNAI in component distal_tubular_Na_delivery (monovalent_mEq_per_minute). * STATES[41] is DTNARA in component Na_reabsorption_into_distal_tubules (monovalent_mEq_per_minute). * STATES[42] is DTNARA1 in component Na_reabsorption_into_distal_tubules (monovalent_mEq_per_minute). * CONSTANTS[575] is DTNANG in component angiotensin_induced_Na_reabsorption_into_distal_tubules (monovalent_mEq_per_minute). * CONSTANTS[574] is DTNANG1 in component angiotensin_induced_Na_reabsorption_into_distal_tubules (monovalent_mEq_per_minute). * STATES[43] is DTKI in component distal_tubular_K_delivery (monovalent_mEq_per_minute). * STATES[44] is RFABK in component effect_of_physical_forces_on_distal_K_reabsorption (monovalent_mEq_per_minute). * STATES[45] is MDFLK in component effect_of_fluid_flow_on_distal_K_reabsorption (monovalent_mEq_per_minute). * STATES[46] is MDFLK1 in component effect_of_fluid_flow_on_distal_K_reabsorption (monovalent_mEq_per_minute). * STATES[47] is KODN in component normal_K_excretion (monovalent_mEq_per_minute). * STATES[48] is VUDN in component normal_urine_volume (L_per_minute). * STATES[3] is DTKA in component K_reabsorption_into_distal_tubules (monovalent_mEq_per_minute). * STATES[49] is DTKSC in component K_secretion_from_distal_tubules (monovalent_mEq_per_minute). * CONSTANTS[576] is ANMKE1 in component K_secretion_from_distal_tubules (dimensionless). * CONSTANTS[577] is ANMKE in component K_secretion_from_distal_tubules (dimensionless). * STATES[50] is NODN in component normal_Na_excretion (monovalent_mEq_per_minute). * STATES[51] is NODN1 in component normal_Na_excretion (monovalent_mEq_per_minute). * STATES[52] is KODN1 in component normal_K_excretion (monovalent_mEq_per_minute). * STATES[53] is DTURI in component normal_urea_excretion (mOsm_per_minute). * STATES[54] is OSMOPN1 in component normal_osmolar_and_water_excretion (mOsm_per_minute). * STATES[55] is OSMOPN in component normal_osmolar_and_water_excretion (mOsm_per_minute). * STATES[56] is OSMOP1T in component normal_urine_volume (mOsm_per_minute). * STATES[57] is OSMOP1 in component normal_urine_volume (mOsm_per_minute). * RATES[0] is d/dt PAR1 in component perfusion_pressure (mmHg). * RATES[1] is d/dt RNAUG3 in component renal_autoregulatory_feedback_factor (dimensionless). * RATES[2] is d/dt PLUR in component glomerular_urea_concentration (mOsm). * RATES[3] is d/dt DTKA in component K_reabsorption_into_distal_tubules (monovalent_mEq_per_minute). * There are a total of 19 condition variables. */ void initConsts(double* CONSTANTS, double* RATES, double *STATES) { CONSTANTS[0] = 103.525; CONSTANTS[1] = 1.00066; CONSTANTS[2] = 0.987545; CONSTANTS[3] = 1.0; CONSTANTS[4] = 1.0; CONSTANTS[5] = 0.39984739; CONSTANTS[6] = 29.9941; CONSTANTS[7] = 39.8952; CONSTANTS[8] = 142.035; CONSTANTS[9] = 1.0; CONSTANTS[10] = 1.0; CONSTANTS[11] = 4.44092; CONSTANTS[12] = 1.037; CONSTANTS[13] = 1.0; CONSTANTS[14] = 0.5; CONSTANTS[15] = 60; CONSTANTS[16] = 40000; CONSTANTS[17] = 0.1; CONSTANTS[18] = 40000; CONSTANTS[19] = 1; CONSTANTS[20] = 4; CONSTANTS[21] = 0; CONSTANTS[22] = 0.2; CONSTANTS[23] = 5; CONSTANTS[24] = 0.3; CONSTANTS[25] = 85; CONSTANTS[26] = 15; CONSTANTS[27] = 0.93617; CONSTANTS[28] = 2.5; CONSTANTS[29] = 0.333; CONSTANTS[30] = 1000; CONSTANTS[31] = 1; CONSTANTS[32] = 0.3; CONSTANTS[33] = 2; CONSTANTS[34] = 0.3; CONSTANTS[35] = 0; CONSTANTS[36] = 0; CONSTANTS[37] = 2.5; CONSTANTS[38] = 0; CONSTANTS[39] = 5; CONSTANTS[40] = 0.65; CONSTANTS[41] = 0.5; CONSTANTS[42] = 12; CONSTANTS[43] = 0.005; CONSTANTS[44] = 0.005; CONSTANTS[45] = 0.04; CONSTANTS[46] = 0.8; CONSTANTS[47] = 15; CONSTANTS[48] = 60; CONSTANTS[49] = 0.4; CONSTANTS[50] = 0; CONSTANTS[51] = 0; CONSTANTS[52] = 2.5; CONSTANTS[53] = 1.4; CONSTANTS[54] = 0.86; CONSTANTS[55] = 1.6; CONSTANTS[56] = 0.3; CONSTANTS[57] = 2; CONSTANTS[58] = 0.7; CONSTANTS[59] = 1; CONSTANTS[60] = 2; CONSTANTS[61] = 1.5; CONSTANTS[62] = 1.8; CONSTANTS[63] = 4; CONSTANTS[64] = 1.5; CONSTANTS[65] = 10; CONSTANTS[66] = 12; CONSTANTS[67] = 0.8; CONSTANTS[68] = 6; CONSTANTS[69] = 0; CONSTANTS[70] = 5000; CONSTANTS[71] = 0; CONSTANTS[72] = -0.2; CONSTANTS[73] = 0.005; CONSTANTS[74] = 0.005; CONSTANTS[75] = 0.5; CONSTANTS[76] = 0.3; CONSTANTS[77] = 0.3; CONSTANTS[78] = 0.004; CONSTANTS[79] = 1.5; CONSTANTS[80] = 0; CONSTANTS[81] = 3; CONSTANTS[82] = 1; CONSTANTS[83] = 5.0; CONSTANTS[84] = 0.4; CONSTANTS[85] = 0.3; CONSTANTS[86] = 0.5; CONSTANTS[87] = 1.0; CONSTANTS[88] = 1; CONSTANTS[89] = 1.5; CONSTANTS[90] = 0; CONSTANTS[91] = 7; CONSTANTS[92] = 0.9; CONSTANTS[93] = 1; CONSTANTS[94] = 0.16; CONSTANTS[95] = 0.01167; CONSTANTS[96] = 4; CONSTANTS[97] = 2; CONSTANTS[98] = 0.0212; CONSTANTS[99] = 0.2; CONSTANTS[100] = 139; CONSTANTS[101] = 0.0003; CONSTANTS[102] = 0.000253; CONSTANTS[103] = 40; CONSTANTS[104] = 0.1; CONSTANTS[105] = 0; CONSTANTS[106] = 1; CONSTANTS[107] = 0.05; CONSTANTS[108] = 0.675; CONSTANTS[109] = 1e-06; CONSTANTS[110] = 1; CONSTANTS[111] = 24; CONSTANTS[112] = 0; CONSTANTS[113] = 1; CONSTANTS[114] = 0.01; CONSTANTS[115] = 1.0; CONSTANTS[116] = 0.17; CONSTANTS[117] = 0; CONSTANTS[118] = 0.8092; CONSTANTS[119] = 0.0208333; CONSTANTS[120] = 3; CONSTANTS[121] = 0.001; CONSTANTS[122] = 1.0; CONSTANTS[123] = 1850; CONSTANTS[124] = 4.714e-08; CONSTANTS[125] = 0.4; CONSTANTS[126] = 1; CONSTANTS[127] = 0; CONSTANTS[128] = 0; CONSTANTS[129] = 10000; CONSTANTS[130] = 8; CONSTANTS[131] = 2.728e-14; CONSTANTS[132] = 0.03; CONSTANTS[133] = 10; CONSTANTS[134] = 0.667; CONSTANTS[135] = 0.005; CONSTANTS[136] = 0.01; CONSTANTS[137] = 0; CONSTANTS[138] = 0.1; CONSTANTS[139] = 0.01; CONSTANTS[140] = 57.1; CONSTANTS[141] = 1; CONSTANTS[142] = 2; CONSTANTS[143] = 1; CONSTANTS[144] = 15; CONSTANTS[145] = 0; CONSTANTS[146] = -2; CONSTANTS[147] = 0.79167; CONSTANTS[148] = 1.8; CONSTANTS[149] = 4.2; CONSTANTS[150] = 30; CONSTANTS[151] = 0.001; CONSTANTS[152] = 0.1; CONSTANTS[153] = 0.04; CONSTANTS[154] = 2; CONSTANTS[155] = 0.1; CONSTANTS[156] = 35; CONSTANTS[157] = 2; CONSTANTS[158] = 8; CONSTANTS[159] = 0.2; CONSTANTS[160] = 0.15; CONSTANTS[161] = 0.5; CONSTANTS[162] = 96.3; CONSTANTS[163] = 0; CONSTANTS[164] = 30.52; CONSTANTS[165] = 2000; CONSTANTS[166] = 0; CONSTANTS[167] = 1; CONSTANTS[168] = 0.03; CONSTANTS[169] = 0.3; CONSTANTS[170] = 1; CONSTANTS[171] = 0; CONSTANTS[172] = 5.8e-06; CONSTANTS[173] = 15; CONSTANTS[174] = 0; CONSTANTS[175] = 0; CONSTANTS[176] = 0.9; CONSTANTS[177] = 15.2; CONSTANTS[178] = 6; CONSTANTS[179] = 19.167; CONSTANTS[180] = 1; CONSTANTS[181] = 1; CONSTANTS[182] = 1; CONSTANTS[183] = 5; CONSTANTS[184] = 10000; CONSTANTS[185] = 0; CONSTANTS[186] = 0; CONSTANTS[187] = 0.05; CONSTANTS[188] = 0; CONSTANTS[189] = 0; CONSTANTS[190] = 0; CONSTANTS[191] = 0.15; CONSTANTS[192] = 0.005; CONSTANTS[193] = 30; CONSTANTS[194] = 4; CONSTANTS[195] = 0.01; CONSTANTS[196] = 0.01; CONSTANTS[197] = 1; CONSTANTS[198] = 0.01; CONSTANTS[199] = 0.0175; CONSTANTS[200] = 6; CONSTANTS[201] = 2.51; CONSTANTS[202] = 4; CONSTANTS[203] = 1; CONSTANTS[204] = 0.5; CONSTANTS[205] = 0.3; CONSTANTS[206] = 20; CONSTANTS[207] = 5; CONSTANTS[208] = 45; CONSTANTS[209] = 0.01; CONSTANTS[210] = 5; CONSTANTS[211] = 0.625; CONSTANTS[212] = 5; CONSTANTS[213] = 5; CONSTANTS[214] = 5; CONSTANTS[215] = 5; CONSTANTS[216] = 0.08; CONSTANTS[217] = 0.24; CONSTANTS[218] = 0.55; CONSTANTS[219] = 0; CONSTANTS[220] = 164; CONSTANTS[221] = 0.1; CONSTANTS[222] = 0; CONSTANTS[223] = 0; CONSTANTS[224] = 0.6; CONSTANTS[225] = 0.3; CONSTANTS[226] = 10; CONSTANTS[227] = 1; CONSTANTS[228] = 1; CONSTANTS[229] = 90; CONSTANTS[230] = 150; CONSTANTS[231] = 0.53333; CONSTANTS[232] = 0; CONSTANTS[233] = 0; CONSTANTS[234] = 1; CONSTANTS[235] = 1.0; CONSTANTS[236] = 1.22057; CONSTANTS[237] = 0.8; CONSTANTS[238] = 0; CONSTANTS[239] = 0; CONSTANTS[240] = 31.9719; CONSTANTS[241] = 0; CONSTANTS[242] = 60; CONSTANTS[243] = 0; CONSTANTS[244] = 1.0; CONSTANTS[245] = 0.301963; CONSTANTS[246] = 1.0; CONSTANTS[247] = 1.00269; CONSTANTS[248] = 1.09071; CONSTANTS[249] = 0.859476; CONSTANTS[250] = 1.0; CONSTANTS[251] = 0; CONSTANTS[252] = 1.02127; CONSTANTS[253] = 1.01179; CONSTANTS[254] = 1.1448; CONSTANTS[255] = 1.00007; CONSTANTS[256] = -0.060024; CONSTANTS[257] = 1.00132; CONSTANTS[258] = 0.0367573; CONSTANTS[259] = 1; CONSTANTS[260] = 1.00163; CONSTANTS[261] = 1.00237; CONSTANTS[262] = 3622.54; CONSTANTS[263] = 2109.91; CONSTANTS[264] = 2.368e-07; CONSTANTS[265] = 0.694163; CONSTANTS[266] = 204.497; CONSTANTS[267] = 0.699673; CONSTANTS[268] = 103.525; CONSTANTS[269] = 16.9144; CONSTANTS[270] = 159.549; CONSTANTS[271] = 0.419998; CONSTANTS[272] = 216.243; CONSTANTS[273] = 72.2362; CONSTANTS[274] = 48.0839; CONSTANTS[275] = 0; CONSTANTS[276] = 279.945; CONSTANTS[277] = 0.000980838; CONSTANTS[278] = 0.862514; CONSTANTS[279] = 25.0404; CONSTANTS[280] = 0.379883; CONSTANTS[281] = 0.38131; CONSTANTS[282] = 0.0123238; CONSTANTS[283] = 3.00449; CONSTANTS[284] = 0.100043; CONSTANTS[285] = 2.00439; CONSTANTS[286] = 0; CONSTANTS[287] = 39.8952; CONSTANTS[288] = 0.0101913; CONSTANTS[289] = 0.00366525; CONSTANTS[290] = 3.28246; CONSTANTS[291] = 0.5; CONSTANTS[292] = 60; CONSTANTS[293] = 40000; CONSTANTS[294] = 0.1; CONSTANTS[295] = 40000; CONSTANTS[296] = 1; CONSTANTS[297] = 4; CONSTANTS[298] = 0; CONSTANTS[299] = 0.2; CONSTANTS[300] = 5; CONSTANTS[301] = 0.3; CONSTANTS[302] = 85; CONSTANTS[303] = 15; CONSTANTS[304] = 0.93617; CONSTANTS[305] = 2.5; CONSTANTS[306] = 0.333; CONSTANTS[307] = 1000; CONSTANTS[308] = 1; CONSTANTS[309] = 0.3; CONSTANTS[310] = 2; CONSTANTS[311] = 0.3; CONSTANTS[312] = 0; CONSTANTS[313] = 0; CONSTANTS[314] = 2.5; CONSTANTS[315] = 0; CONSTANTS[316] = 5; CONSTANTS[317] = 0.65; CONSTANTS[318] = 0.5; CONSTANTS[319] = 12; CONSTANTS[320] = 0.005; CONSTANTS[321] = 0.005; CONSTANTS[322] = 0.04; CONSTANTS[323] = 0.8; CONSTANTS[324] = 15; CONSTANTS[325] = 60; CONSTANTS[326] = 0.4; CONSTANTS[327] = 0; CONSTANTS[328] = 0; CONSTANTS[329] = 2.5; CONSTANTS[330] = 1.4; CONSTANTS[331] = 0.86; CONSTANTS[332] = 1.6; CONSTANTS[333] = 0.3; CONSTANTS[334] = 2; CONSTANTS[335] = 0.7; CONSTANTS[336] = 1; CONSTANTS[337] = 2; CONSTANTS[338] = 1.5; CONSTANTS[339] = 1.8; CONSTANTS[340] = 4; CONSTANTS[341] = 1.5; CONSTANTS[342] = 10; CONSTANTS[343] = 12; CONSTANTS[344] = 0.8; CONSTANTS[345] = 6; CONSTANTS[346] = 0; CONSTANTS[347] = 5000; CONSTANTS[348] = 0; CONSTANTS[349] = -0.2; CONSTANTS[350] = 0.005; CONSTANTS[351] = 0.005; CONSTANTS[352] = 0.5; CONSTANTS[353] = 0.3; CONSTANTS[354] = 0.3; CONSTANTS[355] = 0.004; CONSTANTS[356] = 1.5; CONSTANTS[357] = 0; CONSTANTS[358] = 3; CONSTANTS[359] = 1; CONSTANTS[360] = 5.0; CONSTANTS[361] = 0.4; CONSTANTS[362] = 0.3; CONSTANTS[363] = 0.5; CONSTANTS[364] = 1.0; CONSTANTS[365] = 1; CONSTANTS[366] = 1.5; CONSTANTS[367] = 0; CONSTANTS[368] = 7; CONSTANTS[369] = 0.9; CONSTANTS[370] = 1; CONSTANTS[371] = 0.16; CONSTANTS[372] = 0.01167; CONSTANTS[373] = 4; CONSTANTS[374] = 2; CONSTANTS[375] = 0.0212; CONSTANTS[376] = 0.2; CONSTANTS[377] = 139; CONSTANTS[378] = 0.0003; CONSTANTS[379] = 0.000253; CONSTANTS[380] = 40; CONSTANTS[381] = 0.1; CONSTANTS[382] = 0; CONSTANTS[383] = 1; CONSTANTS[384] = 0.05; CONSTANTS[385] = 0.675; CONSTANTS[386] = 1e-06; CONSTANTS[387] = 1; CONSTANTS[388] = 24; CONSTANTS[389] = 0; CONSTANTS[390] = 1; CONSTANTS[391] = 0.01; CONSTANTS[392] = 1.0; CONSTANTS[393] = 0.17; CONSTANTS[394] = 0; CONSTANTS[395] = 0.8092; CONSTANTS[396] = 0.0208333; CONSTANTS[397] = 3; CONSTANTS[398] = 0.001; CONSTANTS[399] = 1.0; CONSTANTS[400] = 1850; CONSTANTS[401] = 4.714e-08; CONSTANTS[402] = 0.4; CONSTANTS[403] = 1; CONSTANTS[404] = 0; CONSTANTS[405] = 0; CONSTANTS[406] = 10000; CONSTANTS[407] = 8; CONSTANTS[408] = 2.728e-14; CONSTANTS[409] = 0.03; CONSTANTS[410] = 10; CONSTANTS[411] = 0.667; CONSTANTS[412] = 0.005; CONSTANTS[413] = 0.01; CONSTANTS[414] = 0; CONSTANTS[415] = 0.1; CONSTANTS[416] = 0.01; CONSTANTS[417] = 57.1; CONSTANTS[418] = 1; CONSTANTS[419] = 2; CONSTANTS[420] = 1; CONSTANTS[421] = 15; CONSTANTS[422] = 0; CONSTANTS[423] = -2; CONSTANTS[424] = 0.79167; CONSTANTS[425] = 1.8; CONSTANTS[426] = 4.2; CONSTANTS[427] = 30; CONSTANTS[428] = 0.001; CONSTANTS[429] = 0.1; CONSTANTS[430] = 0.04; CONSTANTS[431] = 2; CONSTANTS[432] = 0.1; CONSTANTS[433] = 35; CONSTANTS[434] = 2; CONSTANTS[435] = 8; CONSTANTS[436] = 0.2; CONSTANTS[437] = 0.15; CONSTANTS[438] = 0.5; CONSTANTS[439] = 96.3; CONSTANTS[440] = 0; CONSTANTS[441] = 30.52; CONSTANTS[442] = 2000; CONSTANTS[443] = 0; CONSTANTS[444] = 1; CONSTANTS[445] = 0.03; CONSTANTS[446] = 0.3; CONSTANTS[447] = 1; CONSTANTS[448] = 0; CONSTANTS[449] = 5.8e-06; CONSTANTS[450] = 15; CONSTANTS[451] = 0; CONSTANTS[452] = 0; CONSTANTS[453] = 0.9; CONSTANTS[454] = 15.2; CONSTANTS[455] = 6; CONSTANTS[456] = 19.167; CONSTANTS[457] = 1; CONSTANTS[458] = 1; CONSTANTS[459] = 1; CONSTANTS[460] = 5; CONSTANTS[461] = 10000; CONSTANTS[462] = 0; CONSTANTS[463] = 0; CONSTANTS[464] = 0.05; CONSTANTS[465] = 0; CONSTANTS[466] = 0; CONSTANTS[467] = 0; CONSTANTS[468] = 0.15; CONSTANTS[469] = 0.005; CONSTANTS[470] = 30; CONSTANTS[471] = 4; CONSTANTS[472] = 0.01; CONSTANTS[473] = 0.01; CONSTANTS[474] = 1; CONSTANTS[475] = 0.01; CONSTANTS[476] = 0.0175; CONSTANTS[477] = 6; CONSTANTS[478] = 2.51; CONSTANTS[479] = 4; CONSTANTS[480] = 1; CONSTANTS[481] = 0.5; CONSTANTS[482] = 0.3; CONSTANTS[483] = 20; CONSTANTS[484] = 5; CONSTANTS[485] = 45; CONSTANTS[486] = 0.01; CONSTANTS[487] = 5; CONSTANTS[488] = 0.625; CONSTANTS[489] = 5; CONSTANTS[490] = 5; CONSTANTS[491] = 5; CONSTANTS[492] = 5; CONSTANTS[493] = 0.08; CONSTANTS[494] = 0.24; CONSTANTS[495] = 0.55; CONSTANTS[496] = 0; CONSTANTS[497] = 164; CONSTANTS[498] = 0.1; CONSTANTS[499] = 0; CONSTANTS[500] = 0; CONSTANTS[501] = 0.6; CONSTANTS[502] = 0.3; CONSTANTS[503] = 10; CONSTANTS[504] = 1; CONSTANTS[505] = 1; CONSTANTS[506] = 90; CONSTANTS[507] = 150; CONSTANTS[508] = 0.53333; CONSTANTS[509] = 0; CONSTANTS[510] = 0; CONSTANTS[511] = 1; CONSTANTS[512] = 1.0; CONSTANTS[513] = 1.22057; CONSTANTS[514] = 0.8; CONSTANTS[515] = 0; CONSTANTS[516] = 0; CONSTANTS[517] = 31.9719; CONSTANTS[518] = 0; CONSTANTS[519] = 60; CONSTANTS[520] = 0; CONSTANTS[521] = 1.0; CONSTANTS[522] = 0.301963; CONSTANTS[523] = 1.0; CONSTANTS[524] = 1.00269; CONSTANTS[525] = 1.09071; CONSTANTS[526] = 0.859476; CONSTANTS[527] = 1.0; CONSTANTS[528] = 0; CONSTANTS[529] = 1.02127; CONSTANTS[530] = 1.01179; CONSTANTS[531] = 1.1448; CONSTANTS[532] = 1.00007; CONSTANTS[533] = -0.060024; CONSTANTS[534] = 1.00132; CONSTANTS[535] = 0.0367573; CONSTANTS[536] = 1; CONSTANTS[537] = 1.00163; CONSTANTS[538] = 1.00237; CONSTANTS[539] = 3622.54; CONSTANTS[540] = 2109.91; CONSTANTS[541] = 2.368e-07; CONSTANTS[542] = 0.694163; CONSTANTS[543] = 204.497; CONSTANTS[544] = 0.699673; CONSTANTS[545] = 103.525; CONSTANTS[546] = 16.9144; CONSTANTS[547] = 159.549; CONSTANTS[548] = 0.419998; CONSTANTS[549] = 216.243; CONSTANTS[550] = 72.2362; CONSTANTS[551] = 48.0839; CONSTANTS[552] = 0; CONSTANTS[553] = 279.945; CONSTANTS[554] = 0.000980838; CONSTANTS[555] = 0.862514; CONSTANTS[556] = 25.0404; CONSTANTS[557] = 0.379883; CONSTANTS[558] = 0.38131; CONSTANTS[559] = 0.0123238; CONSTANTS[560] = 3.00449; CONSTANTS[561] = 0.100043; CONSTANTS[562] = 2.00439; CONSTANTS[563] = 0; CONSTANTS[564] = 39.8952; CONSTANTS[565] = 0.0101913; CONSTANTS[566] = 0.00366525; CONSTANTS[567] = 3.28246; CONSTANTS[568] = (CONSTANTS[1] - 1.00000)*CONSTANTS[352]+1.00000; CONSTANTS[569] = (CONSTANTS[568]<0.800000 ? 0.800000 : CONSTANTS[568]); CONSTANTS[570] = (CONSTANTS[2] - 1.00000)*CONSTANTS[330]+1.00000; CONSTANTS[571] = (CONSTANTS[570]<CONSTANTS[331] ? CONSTANTS[331] : CONSTANTS[570]); CONSTANTS[572] = (CONSTANTS[569] - 1.00000)*CONSTANTS[362]+1.00000; CONSTANTS[573] = (CONSTANTS[2] - 1.00000)*CONSTANTS[332]+1.00000; CONSTANTS[574] = ( (CONSTANTS[2] - 1.00000)*CONSTANTS[336]+1.00000)*0.100000; CONSTANTS[575] = (CONSTANTS[574]<0.00000 ? 0.00000 : CONSTANTS[574]); CONSTANTS[576] = (CONSTANTS[2] - 1.00000)*CONSTANTS[334]+1.00000; CONSTANTS[577] = (CONSTANTS[576]<CONSTANTS[333] ? CONSTANTS[333] : CONSTANTS[576]); STATES[0] = CONSTANTS[545]; STATES[1] = CONSTANTS[552]; STATES[2] = CONSTANTS[547]; STATES[3] = CONSTANTS[535]; STATES[4] = 0.1001; STATES[5] = 0.1001; STATES[6] = 0.1001; STATES[7] = 0.1001; STATES[8] = 0.1001; STATES[9] = 0.1001; STATES[10] = 0.1001; STATES[11] = 0.1001; STATES[12] = 0.1001; STATES[13] = 0.1001; STATES[14] = 0.1001; STATES[15] = 0.1001; STATES[16] = 0.1001; STATES[17] = 0.1001; STATES[18] = 0.1001; STATES[19] = 0.1001; STATES[20] = 0.1001; STATES[21] = 0.1001; STATES[22] = 0.1001; STATES[23] = 0.1001; STATES[24] = 0.1001; STATES[25] = 0.1001; STATES[26] = 0.1001; STATES[27] = 0.1001; STATES[28] = 0.1001; STATES[29] = 0.1001; STATES[30] = 0.1001; STATES[31] = 0.1001; STATES[32] = 0.1001; STATES[33] = 0.1001; STATES[34] = 0.1001; STATES[35] = 0.1001; STATES[36] = 0.1001; STATES[37] = 0.1001; STATES[38] = 0.1001; STATES[39] = 0.1001; STATES[40] = 0.1001; STATES[41] = 0.1001; STATES[42] = 0.1001; STATES[43] = 0.1001; STATES[44] = 0.1001; STATES[45] = 0.1001; STATES[46] = 0.1001; STATES[47] = 0.1001; STATES[48] = 0.1001; STATES[49] = 0.1001; STATES[50] = 0.1001; STATES[51] = 0.1001; STATES[52] = 0.1001; STATES[53] = 0.1001; STATES[54] = 0.1001; STATES[55] = 0.1001; STATES[56] = 0.1001; STATES[57] = 0.1001; RATES[0] = 0.1001; RATES[1] = 0.1001; RATES[2] = 0.1001; RATES[3] = 0.1001; } void computeResiduals(double VOI, double* CONSTANTS, double* RATES, double* OLDRATES, double* STATES, double* OLDSTATES, double* ALGEBRAIC, double* CONDVARS) { resid[0] = RATES[0] - ((100.000+ (CONSTANTS[0] - 100.000)*CONSTANTS[443]) - STATES[0])/CONSTANTS[442]; resid[1] = STATES[11] - (STATES[5] - 1.00000)*CONSTANTS[501]+1.00000; resid[2] = STATES[10] - (CONDVAR[3]<0.00000 ? CONSTANTS[502] : CONDVAR[4]>0.00000 ? CONSTANTS[503] : STATES[11]); resid[3] = STATES[9] - STATES[10] - STATES[1]; resid[4] = RATES[1] - (STATES[9] - 1.00000)*CONSTANTS[451]; resid[5] = STATES[12] - CONSTANTS[296]*CONSTANTS[4]*CONSTANTS[569]*STATES[9]*CONSTANTS[571]*40.0000*CONSTANTS[3]; resid[6] = STATES[14] - (STATES[12] - CONSTANTS[13]*CONSTANTS[341])+CONSTANTS[341]; resid[7] = STATES[13] - (CONDVAR[5]<0.00000 ? CONSTANTS[297] : STATES[14]); resid[8] = STATES[15] - (STATES[9] - 1.00000)*CONSTANTS[389]+1.00000; resid[9] = STATES[17] - 43.3330*CONSTANTS[387]*CONSTANTS[573]*STATES[15]*CONSTANTS[3]*CONSTANTS[572]; resid[10] = STATES[16] - (CONDVAR[6]<0.00000 ? CONSTANTS[388] : STATES[17]); resid[11] = STATES[18] - STATES[13]+STATES[16]; resid[12] = STATES[19] - ALGEBRAIC[0]/STATES[18]; resid[13] = STATES[4] - CONSTANTS[444]*STATES[19]; resid[14] = STATES[23] - ( STATES[19]*(1.00000 - CONSTANTS[5]))/( STATES[19]*(1.00000 - CONSTANTS[5]) - STATES[20]); resid[15] = STATES[22] - (CONDVAR[7]<0.00000 ? 1.00000 : STATES[23]); resid[16] = STATES[21] - (CONDVAR[8]>0.00000 ? pow(STATES[22], 1.35000)*CONSTANTS[6]*0.980000 : CONSTANTS[6]+4.00000); resid[17] = STATES[25] - STATES[13]*STATES[19]; resid[18] = STATES[24] - ALGEBRAIC[0] - STATES[25]; resid[19] = STATES[27] - (STATES[24] - STATES[21]) - CONSTANTS[435]; resid[20] = STATES[28] - STATES[27]*CONSTANTS[396]; resid[21] = STATES[20] - (CONDVAR[9]<0.00000 ? CONSTANTS[398] : STATES[28]); resid[22] = STATES[26] - STATES[20]*CONSTANTS[444]; resid[23] = RATES[2] - CONSTANTS[494] - STATES[29]; resid[24] = STATES[30] - STATES[20]*8.00000; resid[25] = STATES[31] - (STATES[30] - 1.00000)*CONSTANTS[410]+1.00000; resid[26] = STATES[5] - (CONDVAR[10]<0.00000 ? 0.00000 : STATES[31]); resid[27] = STATES[33] - STATES[21]*CONSTANTS[453] - CONSTANTS[454]; resid[28] = STATES[32] - (CONDVAR[11]<0.00000 ? 1.00000 : STATES[33]); resid[29] = STATES[34] - ( (STATES[19] - 1.20000)*CONSTANTS[514]+1.20000)*CONSTANTS[456]; resid[30] = STATES[36] - ((STATES[21]+CONSTANTS[455]) - STATES[34]) - STATES[32]; resid[31] = STATES[37] - STATES[36]*CONSTANTS[438]; resid[32] = STATES[38] - STATES[37]; resid[33] = STATES[39] - (STATES[38] - 1.00000)*CONSTANTS[446]+1.00000; resid[34] = STATES[35] - (CONDVAR[12]<0.00000 ? 0.000100000 : STATES[39]); resid[35] = STATES[40] - STATES[5]*CONSTANTS[8]*0.00616190; resid[36] = STATES[42] - (( CONSTANTS[10]*STATES[35]*CONSTANTS[385])/CONSTANTS[383])*( (CONSTANTS[9] - 1.00000)*CONSTANTS[309]+1.00000); resid[37] = STATES[41] - (CONDVAR[13]<0.00000 ? CONSTANTS[386] : STATES[42]); resid[38] = STATES[43] - ( STATES[40]*CONSTANTS[11])/CONSTANTS[8]; resid[39] = STATES[44] - (STATES[35] - 1.00000)*CONSTANTS[445]; resid[40] = STATES[46] - (STATES[5] - 1.00000)*CONSTANTS[411]+1.00000; resid[41] = STATES[45] - (CONDVAR[14]<0.00000 ? 0.100000 : STATES[46]); resid[42] = RATES[3] - ( (STATES[47]/STATES[48])*0.000451800 - STATES[3])*1.00000; resid[43] = STATES[49] - ( pow(CONSTANTS[11]/4.40000, CONSTANTS[373])*CONSTANTS[12]*0.0800000*STATES[45])/CONSTANTS[577]; resid[44] = STATES[51] - (STATES[40] - STATES[41]) - CONSTANTS[575]; resid[45] = STATES[50] - (CONDVAR[15]<0.00000 ? 1.00000e-08 : STATES[51]); resid[46] = STATES[52] - ((STATES[43]+STATES[49]) - STATES[3]) - STATES[44]; resid[47] = STATES[47] - (CONDVAR[16]<0.00000 ? 0.00000 : STATES[52]); resid[48] = STATES[53] - pow(STATES[20], 2.00000)*ALGEBRAIC[1]*3.84000; resid[49] = STATES[54] - STATES[53]+ 2.00000*(STATES[50]+STATES[47]); resid[50] = STATES[55] - (CONDVAR[17]>0.00000 ? 0.600000 : STATES[54]); resid[51] = STATES[56] - STATES[54] - 0.600000; resid[52] = STATES[57] - (CONDVAR[18]<0.00000 ? 0.00000 : STATES[56]); resid[53] = STATES[48] - STATES[55]/( 600.000*CONSTANTS[9])+STATES[57]/360.000; resid[54] = STATES[6] - STATES[50]*CONSTANTS[444]; resid[55] = STATES[7] - STATES[47]*CONSTANTS[444]; resid[56] = STATES[29] - STATES[53]*CONSTANTS[444]; resid[57] = STATES[8] - STATES[48]*CONSTANTS[444]; } void computeVariables(double VOI, double* CONSTANTS, double* RATES, double* STATES, double* ALGEBRAIC) { } void computeEssentialVariables(double VOI, double* CONSTANTS, double* RATES, double* STATES, double* ALGEBRAIC) { ALGEBRAIC[0] = (CONDVAR[0]>0.00000&&CONDVAR[1]<=0.00000 ? CONSTANTS[440] : CONDVAR[2]>0.00000 ? STATES[0] : CONSTANTS[0] - CONSTANTS[500]); ALGEBRAIC[1] = STATES[2]/CONSTANTS[7]; } void getStateInformation(double* SI) { SI[4] = 0.0; SI[5] = 0.0; SI[6] = 0.0; SI[7] = 0.0; SI[8] = 0.0; SI[0] = 1.0; SI[9] = 0.0; SI[10] = 0.0; SI[11] = 0.0; SI[1] = 1.0; SI[12] = 0.0; SI[13] = 0.0; SI[14] = 0.0; SI[15] = 0.0; SI[16] = 0.0; SI[17] = 0.0; SI[18] = 0.0; SI[19] = 0.0; SI[20] = 0.0; SI[21] = 0.0; SI[22] = 0.0; SI[23] = 0.0; SI[24] = 0.0; SI[25] = 0.0; SI[26] = 0.0; SI[27] = 0.0; SI[28] = 0.0; SI[29] = 0.0; SI[2] = 1.0; SI[30] = 0.0; SI[31] = 0.0; SI[32] = 0.0; SI[33] = 0.0; SI[34] = 0.0; SI[35] = 0.0; SI[36] = 0.0; SI[37] = 0.0; SI[38] = 0.0; SI[39] = 0.0; SI[40] = 0.0; SI[41] = 0.0; SI[42] = 0.0; SI[43] = 0.0; SI[44] = 0.0; SI[45] = 0.0; SI[46] = 0.0; SI[47] = 0.0; SI[48] = 0.0; SI[3] = 1.0; SI[49] = 0.0; SI[50] = 0.0; SI[51] = 0.0; SI[52] = 0.0; SI[53] = 0.0; SI[54] = 0.0; SI[55] = 0.0; SI[56] = 0.0; SI[57] = 0.0; } void computeRoots(double VOI, double* CONSTANTS, double* RATES, double* OLDRATES, double* STATES, double* OLDSTATES, double* ALGEBRAIC, double* CONDVARS) { CONDVAR[0] = CONSTANTS[440] - 0.00000; CONDVAR[1] = CONSTANTS[448] - 0.00000; CONDVAR[2] = CONSTANTS[448] - 0.00000; CONDVAR[3] = STATES[11] - CONSTANTS[502]; CONDVAR[4] = STATES[11] - CONSTANTS[503]; CONDVAR[5] = STATES[14] - CONSTANTS[297]; CONDVAR[6] = STATES[17] - CONSTANTS[388]; CONDVAR[7] = STATES[23] - 1.00000; CONDVAR[8] = CONSTANTS[512] - 0.00000; CONDVAR[9] = STATES[28] - CONSTANTS[398]; CONDVAR[10] = STATES[31] - 0.00000; CONDVAR[11] = STATES[33] - 1.00000; CONDVAR[12] = STATES[39] - 0.000100000; CONDVAR[13] = STATES[42] - CONSTANTS[386]; CONDVAR[14] = STATES[46] - 0.100000; CONDVAR[15] = STATES[51] - 1.00000e-08; CONDVAR[16] = STATES[52] - 0.00000; CONDVAR[17] = STATES[54] - 0.600000; CONDVAR[18] = STATES[56] - 0.00000; }