Generated Code

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

The raw code is available.

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