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