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