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 30 entries in the algebraic variable array.
C There are a total of 36 entries in each of the rate and state variable arrays.
C There are a total of 136 entries in the constant variable array.
C
C
C VOI is time in component environment (minute).
C STATES(1) is mass in component mass (dimensionless).
C CONSTS(1) is kg in component model_parameters (first_order_rate_constant).
C STATES(2) is Cln2 in component Cln2 (dimensionless).
C CONSTS(2) is ks_n2_ in component model_parameters (first_order_rate_constant).
C CONSTS(3) is ks_n2__ in component model_parameters (first_order_rate_constant).
C CONSTS(4) is kd_n2 in component model_parameters (first_order_rate_constant).
C ALGBRC(28) is SBF in component SBF_MBF (dimensionless).
C STATES(3) is Clb5 in component Clb5 (dimensionless).
C CONSTS(5) is ks_b5_ in component model_parameters (first_order_rate_constant).
C CONSTS(6) is ks_b5__ in component model_parameters (first_order_rate_constant).
C CONSTS(7) is kdi_f5 in component model_parameters (first_order_rate_constant).
C CONSTS(8) is kdi_b5 in component model_parameters (first_order_rate_constant).
C CONSTS(9) is kas_b5 in component model_parameters (first_order_rate_constant).
C CONSTS(10) is kas_f5 in component model_parameters (first_order_rate_constant).
C CONSTS(11) is kd3_f6 in component model_parameters (first_order_rate_constant).
C CONSTS(12) is kd3_c1 in component model_parameters (first_order_rate_constant).
C ALGBRC(21) is Vd_b5 in component Vd_b5 (first_order_rate_constant).
C ALGBRC(27) is MBF in component SBF_MBF (dimensionless).
C STATES(4) is C5P in component C5P (dimensionless).
C STATES(5) is C5 in component C5 (dimensionless).
C STATES(6) is F5P in component F5P (dimensionless).
C STATES(7) is F5 in component F5 (dimensionless).
C STATES(8) is Sic1 in component Sic1 (dimensionless).
C STATES(9) is Cdc6 in component Cdc6 (dimensionless).
C STATES(10) is Clb2 in component Clb2 (dimensionless).
C CONSTS(13) is ks_b2_ in component model_parameters (first_order_rate_constant).
C CONSTS(14) is ks_b2__ in component model_parameters (first_order_rate_constant).
C CONSTS(15) is kdi_b2 in component model_parameters (first_order_rate_constant).
C CONSTS(16) is kdi_f2 in component model_parameters (first_order_rate_constant).
C CONSTS(17) is kas_b2 in component model_parameters (first_order_rate_constant).
C CONSTS(18) is kas_f2 in component model_parameters (first_order_rate_constant).
C ALGBRC(22) is Vd_b2 in component Vd_b2 (first_order_rate_constant).
C ALGBRC(8) is Mcm1 in component Mcm1 (dimensionless).
C STATES(11) is C2P in component C2P (dimensionless).
C STATES(12) is C2 in component C2 (dimensionless).
C STATES(13) is F2P in component F2P (dimensionless).
C STATES(14) is F2 in component F2 (dimensionless).
C CONSTS(19) is ks_c1_ in component model_parameters (first_order_rate_constant).
C CONSTS(20) is ks_c1__ in component model_parameters (first_order_rate_constant).
C CONSTS(21) is kpp_c1 in component model_parameters (first_order_rate_constant).
C ALGBRC(24) is Vkp_c1 in component Vkp_c1 (first_order_rate_constant).
C STATES(15) is Swi5 in component Swi5 (dimensionless).
C STATES(16) is Cdc14 in component Cdc14 (dimensionless).
C STATES(17) is Sic1P in component Sic1P (dimensionless).
C CONSTS(22) is ks_f6_ in component model_parameters (first_order_rate_constant).
C CONSTS(23) is ks_f6__ in component model_parameters (first_order_rate_constant).
C CONSTS(24) is ks_f6___ in component model_parameters (first_order_rate_constant).
C CONSTS(25) is kpp_f6 in component model_parameters (first_order_rate_constant).
C ALGBRC(29) is Vkp_f6 in component Vkp_f6 (first_order_rate_constant).
C STATES(18) is Cdc6P in component Cdc6P (dimensionless).
C STATES(19) is Pds1 in component Pds1 (dimensionless).
C CONSTS(26) is ks_pds_ in component model_parameters (first_order_rate_constant).
C CONSTS(27) is ks1_pds__ in component model_parameters (first_order_rate_constant).
C CONSTS(28) is ks2_pds__ in component model_parameters (first_order_rate_constant).
C CONSTS(29) is kdi_esp in component model_parameters (first_order_rate_constant).
C ALGBRC(30) is Vd_pds in component Vd_pds (first_order_rate_constant).
C CONSTS(30) is kas_esp in component model_parameters (first_order_rate_constant).
C ALGBRC(19) is PE in component PE (dimensionless).
C STATES(20) is Esp1 in component Esp1 (dimensionless).
C STATES(21) is ORI in component ORI (dimensionless).
C CONSTS(31) is ks_ori in component model_parameters (first_order_rate_constant).
C CONSTS(32) is kd_ori in component model_parameters (first_order_rate_constant).
C CONSTS(33) is epsilon_ori_b5 in component model_parameters (dimensionless).
C CONSTS(34) is epsilon_ori_b2 in component model_parameters (dimensionless).
C STATES(22) is BUD in component BUD (dimensionless).
C CONSTS(35) is ks_bud in component model_parameters (first_order_rate_constant).
C CONSTS(36) is kd_bud in component model_parameters (first_order_rate_constant).
C CONSTS(37) is epsilon_bud_n2 in component model_parameters (dimensionless).
C CONSTS(38) is epsilon_bud_n3 in component model_parameters (dimensionless).
C CONSTS(39) is epsilon_bud_b5 in component model_parameters (dimensionless).
C ALGBRC(11) is Cln3 in component Cln3 (dimensionless).
C STATES(23) is SPN in component SPN (dimensionless).
C CONSTS(40) is ks_spn in component model_parameters (first_order_rate_constant).
C CONSTS(41) is kd_spn in component model_parameters (first_order_rate_constant).
C CONSTS(42) is Jspn in component model_parameters (dimensionless).
C ALGBRC(26) is G_sbf in component G_sbf (dimensionless).
C CONSTS(43) is Ji_sbf in component model_parameters (dimensionless).
C CONSTS(44) is Ja_sbf in component model_parameters (dimensionless).
C ALGBRC(25) is Vi_sbf in component Vi_sbf (first_order_rate_constant).
C ALGBRC(23) is Va_sbf in component Va_sbf (first_order_rate_constant).
C ALGBRC(1) is G_mcm in component G_mcm (dimensionless).
C CONSTS(45) is Ji_mcm in component model_parameters (dimensionless).
C CONSTS(46) is Ja_mcm in component model_parameters (dimensionless).
C CONSTS(47) is ki_mcm in component model_parameters (first_order_rate_constant).
C CONSTS(48) is ka_mcm in component model_parameters (first_order_rate_constant).
C CONSTS(49) is C0 in component model_parameters (dimensionless).
C CONSTS(50) is Dn3 in component model_parameters (dimensionless).
C CONSTS(51) is Jn3 in component model_parameters (dimensionless).
C ALGBRC(13) is Bck2 in component Bck2 (dimensionless).
C CONSTS(52) is B0 in component model_parameters (dimensionless).
C ALGBRC(2) is Clb5_T in component Clb5_T (dimensionless).
C ALGBRC(3) is Clb2_T in component Clb2_T (dimensionless).
C ALGBRC(16) is Sic1_T in component Sic1_T (dimensionless).
C STATES(24) is Swi5_T in component Swi5_T (dimensionless).
C CONSTS(53) is ks_swi_ in component model_parameters (first_order_rate_constant).
C CONSTS(54) is ks_swi__ in component model_parameters (first_order_rate_constant).
C CONSTS(55) is kd_swi in component model_parameters (first_order_rate_constant).
C CONSTS(56) is ka_swi in component model_parameters (first_order_rate_constant).
C CONSTS(57) is ki_swi in component model_parameters (first_order_rate_constant).
C STATES(25) is APC_P in component APC_P (dimensionless).
C CONSTS(58) is ka_apc in component model_parameters (first_order_rate_constant).
C CONSTS(59) is ki_apc in component model_parameters (first_order_rate_constant).
C CONSTS(60) is Ja_apc in component model_parameters (dimensionless).
C CONSTS(61) is Ji_apc in component model_parameters (dimensionless).
C STATES(26) is Cdc20_T in component Cdc20_T (dimensionless).
C CONSTS(62) is ks_20_ in component model_parameters (first_order_rate_constant).
C CONSTS(63) is ks_20__ in component model_parameters (first_order_rate_constant).
C CONSTS(64) is kd_20 in component model_parameters (first_order_rate_constant).
C STATES(27) is Cdc20_A in component Cdc20_A (dimensionless).
C CONSTS(65) is ka_20_ in component model_parameters (first_order_rate_constant).
C CONSTS(66) is ka_20__ in component model_parameters (first_order_rate_constant).
C ALGBRC(4) is kmad2 in component model_parameters (first_order_rate_constant).
C STATES(28) is Cdh1_T in component Cdh1_T (dimensionless).
C CONSTS(67) is ks_cdh in component model_parameters (first_order_rate_constant).
C CONSTS(68) is kd_cdh in component model_parameters (first_order_rate_constant).
C STATES(29) is Cdh1 in component Cdh1 (dimensionless).
C CONSTS(69) is Ja_cdh in component model_parameters (dimensionless).
C CONSTS(70) is Ji_cdh in component model_parameters (dimensionless).
C ALGBRC(14) is Va_cdh in component Va_cdh (first_order_rate_constant).
C ALGBRC(17) is Vi_cdh in component Vi_cdh (first_order_rate_constant).
C STATES(30) is Tem1 in component Tem1 (dimensionless).
C ALGBRC(5) is kbub2 in component model_parameters (first_order_rate_constant).
C ALGBRC(9) is klte1 in component model_parameters (first_order_rate_constant).
C CONSTS(71) is Ja_tem in component model_parameters (dimensionless).
C CONSTS(72) is Ji_tem in component model_parameters (dimensionless).
C CONSTS(73) is Tem1_T in component model_parameters (dimensionless).
C STATES(31) is Cdc15 in component Cdc15 (dimensionless).
C CONSTS(74) is ka_15_ in component model_parameters (first_order_rate_constant).
C CONSTS(75) is ka_15__ in component model_parameters (first_order_rate_constant).
C CONSTS(76) is ka_15___ in component model_parameters (first_order_rate_constant).
C CONSTS(77) is ki_15 in component model_parameters (first_order_rate_constant).
C CONSTS(78) is Cdc15_T in component model_parameters (dimensionless).
C STATES(32) is Cdc14_T in component Cdc14_T (dimensionless).
C CONSTS(79) is ks_14 in component model_parameters (first_order_rate_constant).
C CONSTS(80) is kd_14 in component model_parameters (first_order_rate_constant).
C CONSTS(81) is kd_net in component model_parameters (first_order_rate_constant).
C CONSTS(82) is kdi_rent in component model_parameters (first_order_rate_constant).
C CONSTS(83) is kdi_rentp in component model_parameters (first_order_rate_constant).
C CONSTS(84) is kas_rent in component model_parameters (first_order_rate_constant).
C CONSTS(85) is kas_rentp in component model_parameters (first_order_rate_constant).
C STATES(33) is RENT in component RENT (dimensionless).
C ALGBRC(6) is RENTP in component RENTP (dimensionless).
C STATES(34) is Net1 in component Net1 (dimensionless).
C ALGBRC(10) is Net1P in component Net1P (dimensionless).
C STATES(35) is Net1_T in component Net1_T (dimensionless).
C CONSTS(86) is ks_net in component model_parameters (first_order_rate_constant).
C ALGBRC(18) is Cdc6_T in component Cdc6_T (dimensionless).
C ALGBRC(20) is CKI_T in component CKI_T (dimensionless).
C CONSTS(87) is Esp1_T in component model_parameters (dimensionless).
C CONSTS(88) is kd_b5_ in component model_parameters (first_order_rate_constant).
C CONSTS(89) is kd_b5__ in component model_parameters (first_order_rate_constant).
C CONSTS(90) is kd_b2_ in component model_parameters (first_order_rate_constant).
C CONSTS(91) is kd_b2__ in component model_parameters (first_order_rate_constant).
C CONSTS(92) is kd_b2p in component model_parameters (first_order_rate_constant).
C CONSTS(93) is ka_sbf in component model_parameters (first_order_rate_constant).
C CONSTS(94) is epsilon_sbf_n2 in component model_parameters (dimensionless).
C CONSTS(95) is epsilon_sbf_n3 in component model_parameters (dimensionless).
C CONSTS(96) is epsilon_sbf_b5 in component model_parameters (dimensionless).
C CONSTS(97) is ki_sbf_ in component model_parameters (first_order_rate_constant).
C CONSTS(98) is ki_sbf__ in component model_parameters (first_order_rate_constant).
C CONSTS(99) is kd1_c1 in component model_parameters (first_order_rate_constant).
C CONSTS(100) is kd2_c1 in component model_parameters (first_order_rate_constant).
C CONSTS(101) is Jd2_c1 in component model_parameters (dimensionless).
C CONSTS(102) is epsilon_c1_n2 in component model_parameters (dimensionless).
C CONSTS(103) is epsilon_c1_n3 in component model_parameters (dimensionless).
C CONSTS(104) is epsilon_c1_k2 in component model_parameters (dimensionless).
C CONSTS(105) is epsilon_c1_b5 in component model_parameters (dimensionless).
C CONSTS(106) is epsilon_c1_b2 in component model_parameters (dimensionless).
C CONSTS(107) is Jd2_f6 in component model_parameters (dimensionless).
C CONSTS(108) is kd1_f6 in component model_parameters (first_order_rate_constant).
C CONSTS(109) is kd2_f6 in component model_parameters (first_order_rate_constant).
C CONSTS(110) is epsilon_f6_n2 in component model_parameters (dimensionless).
C CONSTS(111) is epsilon_f6_n3 in component model_parameters (dimensionless).
C CONSTS(112) is epsilon_f6_k2 in component model_parameters (dimensionless).
C CONSTS(113) is epsilon_f6_b5 in component model_parameters (dimensionless).
C CONSTS(114) is epsilon_f6_b2 in component model_parameters (dimensionless).
C CONSTS(115) is ka_cdh_ in component model_parameters (first_order_rate_constant).
C CONSTS(116) is ka_cdh__ in component model_parameters (first_order_rate_constant).
C CONSTS(117) is ki_cdh_ in component model_parameters (first_order_rate_constant).
C CONSTS(118) is ki_cdh__ in component model_parameters (first_order_rate_constant).
C CONSTS(119) is epsilon_cdh_n2 in component model_parameters (dimensionless).
C CONSTS(120) is epsilon_cdh_n3 in component model_parameters (dimensionless).
C CONSTS(121) is epsilon_cdh_b5 in component model_parameters (dimensionless).
C CONSTS(122) is epsilon_cdh_b2 in component model_parameters (dimensionless).
C ALGBRC(12) is Vpp_net in component Vpp_net (first_order_rate_constant).
C CONSTS(123) is kpp_net_ in component model_parameters (first_order_rate_constant).
C CONSTS(124) is kpp_net__ in component model_parameters (first_order_rate_constant).
C STATES(36) is PPX in component PPX (dimensionless).
C ALGBRC(15) is Vkp_net in component Vkp_net (first_order_rate_constant).
C CONSTS(125) is kkp_net_ in component model_parameters (first_order_rate_constant).
C CONSTS(126) is kkp_net__ in component model_parameters (first_order_rate_constant).
C CONSTS(127) is ks_ppx in component model_parameters (first_order_rate_constant).
C ALGBRC(7) is Vd_ppx in component Vd_ppx (first_order_rate_constant).
C CONSTS(128) is kd_ppx_ in component model_parameters (first_order_rate_constant).
C CONSTS(129) is kd_ppx__ in component model_parameters (first_order_rate_constant).
C CONSTS(130) is Jpds in component model_parameters (dimensionless).
C CONSTS(131) is J20_ppx in component model_parameters (dimensionless).
C CONSTS(132) is kd1_pds_ in component model_parameters (first_order_rate_constant).
C CONSTS(133) is kd2_pds__ in component model_parameters (first_order_rate_constant).
C CONSTS(134) is kd3_pds__ in component model_parameters (first_order_rate_constant).
C CONSTS(135) is Kez in component model_parameters (dimensionless).
C CONSTS(136) is Kez2 in component model_parameters (dimensionless).
C RATES(1) is d/dt mass in component mass (dimensionless).
C RATES(2) is d/dt Cln2 in component Cln2 (dimensionless).
C RATES(3) is d/dt Clb5 in component Clb5 (dimensionless).
C RATES(10) is d/dt Clb2 in component Clb2 (dimensionless).
C RATES(8) is d/dt Sic1 in component Sic1 (dimensionless).
C RATES(17) is d/dt Sic1P in component Sic1P (dimensionless).
C RATES(12) is d/dt C2 in component C2 (dimensionless).
C RATES(5) is d/dt C5 in component C5 (dimensionless).
C RATES(11) is d/dt C2P in component C2P (dimensionless).
C RATES(4) is d/dt C5P in component C5P (dimensionless).
C RATES(9) is d/dt Cdc6 in component Cdc6 (dimensionless).
C RATES(18) is d/dt Cdc6P in component Cdc6P (dimensionless).
C RATES(14) is d/dt F2 in component F2 (dimensionless).
C RATES(19) is d/dt Pds1 in component Pds1 (dimensionless).
C RATES(20) is d/dt Esp1 in component Esp1 (dimensionless).
C RATES(21) is d/dt ORI in component ORI (dimensionless).
C RATES(22) is d/dt BUD in component BUD (dimensionless).
C RATES(23) is d/dt SPN in component SPN (dimensionless).
C RATES(7) is d/dt F5 in component F5 (dimensionless).
C RATES(13) is d/dt F2P in component F2P (dimensionless).
C RATES(6) is d/dt F5P in component F5P (dimensionless).
C RATES(24) is d/dt Swi5_T in component Swi5_T (dimensionless).
C RATES(15) is d/dt Swi5 in component Swi5 (dimensionless).
C RATES(25) is d/dt APC_P in component APC_P (dimensionless).
C RATES(26) is d/dt Cdc20_T in component Cdc20_T (dimensionless).
C RATES(27) is d/dt Cdc20_A in component Cdc20_A (dimensionless).
C RATES(28) is d/dt Cdh1_T in component Cdh1_T (dimensionless).
C RATES(29) is d/dt Cdh1 in component Cdh1 (dimensionless).
C RATES(30) is d/dt Tem1 in component Tem1 (dimensionless).
C RATES(31) is d/dt Cdc15 in component Cdc15 (dimensionless).
C RATES(32) is d/dt Cdc14_T in component Cdc14_T (dimensionless).
C RATES(16) is d/dt Cdc14 in component Cdc14 (dimensionless).
C RATES(35) is d/dt Net1_T in component Net1_T (dimensionless).
C RATES(34) is d/dt Net1 in component Net1 (dimensionless).
C RATES(33) is d/dt RENT in component RENT (dimensionless).
C RATES(36) is d/dt PPX in component PPX (dimensionless).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      STATES(1) = 1.206
      CONSTS(1) = 0.007702
      STATES(2) = 0.0652
      CONSTS(2) = 0
      CONSTS(3) = 0.15
      CONSTS(4) = 0.12
      STATES(3) = 0.0518
      CONSTS(5) = 0.0008
      CONSTS(6) = 0.005
      CONSTS(7) = 0.01
      CONSTS(8) = 0.06
      CONSTS(9) = 50
      CONSTS(10) = 0.01
      CONSTS(11) = 1
      CONSTS(12) = 1
      STATES(4) = 0.0069
      STATES(5) = 0.0701
      STATES(6) = 7.9e-6
      STATES(7) = 7.2e-5
      STATES(8) = 0.0229
      STATES(9) = 0.1076
      STATES(10) = 0.1469
      CONSTS(13) = 0.001
      CONSTS(14) = 0.04
      CONSTS(15) = 0.05
      CONSTS(16) = 0.5
      CONSTS(17) = 50
      CONSTS(18) = 15
      STATES(11) = 0.024
      STATES(12) = 0.2384
      STATES(13) = 0.0274
      STATES(14) = 0.2361
      CONSTS(19) = 0.012
      CONSTS(20) = 0.12
      CONSTS(21) = 4
      STATES(15) = 0.9562
      STATES(16) = 0.4683
      STATES(17) = 0.0064
      CONSTS(22) = 0.024
      CONSTS(23) = 0.12
      CONSTS(24) = 0.004
      CONSTS(25) = 4
      STATES(18) = 0.0155
      STATES(19) = 0.0256
      CONSTS(26) = 0
      CONSTS(27) = 0.03
      CONSTS(28) = 0.055
      CONSTS(29) = 0.5
      CONSTS(30) = 50
      STATES(20) = 0.3013
      STATES(21) = 0.0009
      CONSTS(31) = 2
      CONSTS(32) = 0.06
      CONSTS(33) = 0.9
      CONSTS(34) = 0.45
      STATES(22) = 0.0085
      CONSTS(35) = 0.2
      CONSTS(36) = 0.06
      CONSTS(37) = 0.25
      CONSTS(38) = 0.05
      CONSTS(39) = 1
      STATES(23) = 0.0305
      CONSTS(40) = 0.1
      CONSTS(41) = 0.06
      CONSTS(42) = 0.14
      CONSTS(43) = 0.01
      CONSTS(44) = 0.01
      CONSTS(45) = 0.1
      CONSTS(46) = 0.1
      CONSTS(47) = 0.15
      CONSTS(48) = 1
      CONSTS(49) = 0.4
      CONSTS(50) = 1
      CONSTS(51) = 6
      CONSTS(52) = 0.054
      STATES(24) = 0.9765
      CONSTS(53) = 0.005
      CONSTS(54) = 0.08
      CONSTS(55) = 0.08
      CONSTS(56) = 2
      CONSTS(57) = 0.05
      STATES(25) = 0.1015
      CONSTS(58) = 0.1
      CONSTS(59) = 0.15
      CONSTS(60) = 0.1
      CONSTS(61) = 0.1
      STATES(26) = 1.9163
      CONSTS(62) = 0.006
      CONSTS(63) = 0.6
      CONSTS(64) = 0.3
      STATES(27) = 0.4443
      CONSTS(65) = 0.05
      CONSTS(66) = 0.2
      STATES(28) = 1
      CONSTS(67) = 0.01
      CONSTS(68) = 0.01
      STATES(29) = 0.9305
      CONSTS(69) = 0.03
      CONSTS(70) = 0.03
      STATES(30) = 0.9039
      CONSTS(71) = 0.1
      CONSTS(72) = 0.1
      CONSTS(73) = 1
      STATES(31) = 0.6565
      CONSTS(74) = 0.002
      CONSTS(75) = 1
      CONSTS(76) = 0.001
      CONSTS(77) = 0.5
      CONSTS(78) = 1
      STATES(32) = 2
      CONSTS(79) = 0.2
      CONSTS(80) = 0.1
      CONSTS(81) = 0.03
      CONSTS(82) = 1
      CONSTS(83) = 2
      CONSTS(84) = 200
      CONSTS(85) = 1
      STATES(33) = 1.0495
      STATES(34) = 0.0186
      STATES(35) = 2.8
      CONSTS(86) = 0.084
      CONSTS(87) = 1
      CONSTS(88) = 0.01
      CONSTS(89) = 0.16
      CONSTS(90) = 0.003
      CONSTS(91) = 0.4
      CONSTS(92) = 0.15
      CONSTS(93) = 0.38
      CONSTS(94) = 2
      CONSTS(95) = 10
      CONSTS(96) = 2
      CONSTS(97) = 0.6
      CONSTS(98) = 8
      CONSTS(99) = 0.01
      CONSTS(100) = 1
      CONSTS(101) = 0.05
      CONSTS(102) = 0.06
      CONSTS(103) = 0.3
      CONSTS(104) = 0.03
      CONSTS(105) = 0.1
      CONSTS(106) = 0.45
      CONSTS(107) = 0.05
      CONSTS(108) = 0.01
      CONSTS(109) = 1
      CONSTS(110) = 0.06
      CONSTS(111) = 0.3
      CONSTS(112) = 0.03
      CONSTS(113) = 0.1
      CONSTS(114) = 0.55
      CONSTS(115) = 0.01
      CONSTS(116) = 0.8
      CONSTS(117) = 0.001
      CONSTS(118) = 0.08
      CONSTS(119) = 0.4
      CONSTS(120) = 0.25
      CONSTS(121) = 8
      CONSTS(122) = 1.2
      CONSTS(123) = 0.05
      CONSTS(124) = 3
      STATES(36) = 0.1232
      CONSTS(125) = 0.01
      CONSTS(126) = 0.6
      CONSTS(127) = 0.1
      CONSTS(128) = 0.17
      CONSTS(129) = 2
      CONSTS(130) = 0.04
      CONSTS(131) = 0.15
      CONSTS(132) = 0.01
      CONSTS(133) = 0.2
      CONSTS(134) = 0.04
      CONSTS(135) = 0.3
      CONSTS(136) = 0.2
      RETURN
      END
      SUBROUTINE computeRates(VOI, CONSTS,  RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RATES(1) =  STATES(1)*CONSTS(1)
      RATES(21) =  CONSTS(31)*( CONSTS(33)*STATES(3)+ CONSTS(34)*STATES(10)) -  CONSTS(32)*STATES(21)
      RATES(23) = ( CONSTS(40)*STATES(10))/(CONSTS(42)+STATES(10)) -  CONSTS(41)*STATES(23)
      RATES(25) = ( CONSTS(58)*STATES(10)*(1.00000 - STATES(25)))/((CONSTS(60)+1.00000) - STATES(25)) - ( CONSTS(59)*STATES(25))/(CONSTS(61)+STATES(25))
      RATES(28) = CONSTS(67) -  CONSTS(68)*STATES(28)
      RATES(31) =  ( CONSTS(74)*(CONSTS(73) - STATES(30))+ CONSTS(75)*STATES(30)+ CONSTS(76)*STATES(16))*(CONSTS(78) - STATES(31)) -  CONSTS(77)*STATES(31)
      RATES(32) = CONSTS(79) -  CONSTS(80)*STATES(32)
      RATES(35) = CONSTS(86) -  CONSTS(81)*STATES(35)
      ALGBRC(4) = TERNRY(STATES(21).GT.1.00000.AND.STATES(23).LT.1.00000, 8.00000, 0.0100000)
      RATES(27) =  (CONSTS(65)+ CONSTS(66)*STATES(25))*(STATES(26) - STATES(27)) -  (ALGBRC(4)+CONSTS(64))*STATES(27)
      ALGBRC(7) = CONSTS(128)+( CONSTS(129)*(CONSTS(131)+STATES(27))*CONSTS(130))/(CONSTS(130)+STATES(19))
      RATES(36) = CONSTS(127) -  ALGBRC(7)*STATES(36)
      ALGBRC(1) = ( 2.00000*CONSTS(45)*CONSTS(48)*STATES(10))/((CONSTS(47)+ CONSTS(46)*CONSTS(47)+ CONSTS(45)*CONSTS(48)*STATES(10)+ ((CONSTS(47)+ CONSTS(46)*CONSTS(47)+ CONSTS(45)*CONSTS(48)*STATES(10)) -  CONSTS(48)*STATES(10) ** 2.00000 -  4.00000*(CONSTS(47) -  CONSTS(48)*STATES(10))*CONSTS(45)*CONSTS(48)*STATES(10)) ** (1.0 / 2)) -  CONSTS(48)*STATES(10))
      ALGBRC(8) = ALGBRC(1)
      RATES(24) = (CONSTS(53)+ CONSTS(54)*ALGBRC(8)) -  CONSTS(55)*STATES(24)
      RATES(15) = (CONSTS(53)+ CONSTS(54)*ALGBRC(8)+ CONSTS(56)*STATES(16)*(STATES(24) - STATES(15))) -  (CONSTS(55)+ CONSTS(57)*STATES(10))*STATES(15)
      RATES(26) = (CONSTS(62)+ CONSTS(63)*ALGBRC(8)) -  CONSTS(64)*STATES(26)
      ALGBRC(5) = TERNRY(STATES(21).GT.1.00000.AND.STATES(23).LT.1.00000, 1.00000, 0.200000)
      ALGBRC(9) = TERNRY(STATES(23).GT.1.00000.AND.STATES(10).GT.CONSTS(135), 1.00000, 0.100000)
      RATES(30) = ( ALGBRC(9)*(CONSTS(73) - STATES(30)))/((CONSTS(71)+CONSTS(73)) - STATES(30)) - ( ALGBRC(5)*STATES(30))/(CONSTS(72)+STATES(30))
      ALGBRC(6) = STATES(32) - (STATES(33)+STATES(16))
      ALGBRC(10) = (STATES(35)+STATES(16)) - (STATES(34)+STATES(32))
      RATES(16) = (CONSTS(79)+ CONSTS(81)*(STATES(33)+ALGBRC(6))+ CONSTS(82)*STATES(33)+ CONSTS(83)*ALGBRC(6)) - ( CONSTS(80)*STATES(16)+ ( CONSTS(84)*STATES(34)+ CONSTS(85)*ALGBRC(10))*STATES(16))
      ALGBRC(11) = ( CONSTS(49)*CONSTS(50)*STATES(1))/(CONSTS(51)+ CONSTS(50)*STATES(1))
      RATES(22) =  CONSTS(35)*( CONSTS(37)*STATES(2)+ CONSTS(38)*ALGBRC(11)+ CONSTS(39)*STATES(3)) -  CONSTS(36)*STATES(22)
      ALGBRC(12) = CONSTS(123)+ CONSTS(124)*STATES(36)
      ALGBRC(15) =  (CONSTS(125)+ CONSTS(126)*STATES(31))*STATES(1)
      RATES(34) = (CONSTS(86)+ CONSTS(80)*STATES(33)+ CONSTS(82)*STATES(33)+ ALGBRC(12)*ALGBRC(10)) - ( CONSTS(81)*STATES(34)+ CONSTS(84)*STATES(16)*STATES(34)+ ALGBRC(15)*STATES(34))
      RATES(33) = ( CONSTS(84)*STATES(16)*STATES(34)+ ALGBRC(12)*ALGBRC(6)) - ( (CONSTS(80)+CONSTS(81))*STATES(33)+ CONSTS(82)*STATES(33)+ ALGBRC(15)*STATES(33))
      ALGBRC(14) = CONSTS(115)+ CONSTS(116)*STATES(16)
      ALGBRC(17) = CONSTS(117)+ CONSTS(118)*( CONSTS(120)*ALGBRC(11)+ CONSTS(119)*STATES(2)+ CONSTS(121)*STATES(3)+ CONSTS(122)*STATES(10))
      RATES(29) = (CONSTS(67)+( ALGBRC(14)*(STATES(28) - STATES(29)))/((CONSTS(69)+STATES(28)) - STATES(29))) - ( CONSTS(68)*STATES(29)+( ALGBRC(17)*STATES(29))/(CONSTS(70)+STATES(29)))
      ALGBRC(22) = CONSTS(90)+ CONSTS(91)*STATES(29)+ CONSTS(92)*STATES(27)
      RATES(10) = ( (CONSTS(13)+ CONSTS(14)*ALGBRC(8))*STATES(1)+ CONSTS(12)*STATES(11)+ CONSTS(15)*STATES(12)+ CONSTS(11)*STATES(13)+ CONSTS(16)*STATES(14)) -  (ALGBRC(22)+ CONSTS(17)*STATES(8)+ CONSTS(18)*STATES(9))*STATES(10)
      ALGBRC(21) = CONSTS(88)+ CONSTS(89)*STATES(27)
      ALGBRC(13) =  CONSTS(52)*STATES(1)
      ALGBRC(16) = STATES(8)+STATES(17)+STATES(12)+STATES(11)+STATES(5)+STATES(4)
      ALGBRC(24) = CONSTS(99)+( CONSTS(100)*( CONSTS(103)*ALGBRC(11)+ CONSTS(104)*ALGBRC(13)+ CONSTS(102)*STATES(2)+ CONSTS(105)*STATES(3)+ CONSTS(106)*STATES(10)))/(CONSTS(101)+ALGBRC(16))
      RATES(8) = (CONSTS(19)+ CONSTS(20)*STATES(15)+ (ALGBRC(22)+CONSTS(15))*STATES(12)+ (ALGBRC(21)+CONSTS(8))*STATES(5)+ CONSTS(21)*STATES(16)*STATES(17)) -  ( CONSTS(17)*STATES(10)+ CONSTS(9)*STATES(3)+ALGBRC(24))*STATES(8)
      RATES(17) = ( ALGBRC(24)*STATES(8) -  ( CONSTS(21)*STATES(16)+CONSTS(12))*STATES(17))+ ALGBRC(22)*STATES(11)+ ALGBRC(21)*STATES(4)
      RATES(12) = ( CONSTS(17)*STATES(10)*STATES(8)+ CONSTS(21)*STATES(16)*STATES(11)) -  (CONSTS(15)+ALGBRC(22)+ALGBRC(24))*STATES(12)
      RATES(5) = ( CONSTS(9)*STATES(3)*STATES(8)+ CONSTS(21)*STATES(16)*STATES(4)) -  (CONSTS(8)+ALGBRC(21)+ALGBRC(24))*STATES(5)
      RATES(11) =  ALGBRC(24)*STATES(12) -  ( CONSTS(21)*STATES(16)+CONSTS(12)+ALGBRC(22))*STATES(11)
      RATES(4) =  ALGBRC(24)*STATES(5) -  ( CONSTS(21)*STATES(16)+CONSTS(12)+ALGBRC(21))*STATES(4)
      ALGBRC(25) = CONSTS(97)+ CONSTS(98)*STATES(10)
      ALGBRC(23) =  CONSTS(93)*( CONSTS(94)*STATES(2)+ CONSTS(95)*(ALGBRC(11)+ALGBRC(13))+ CONSTS(96)*STATES(3))
      ALGBRC(26) = ( 2.00000*CONSTS(43)*ALGBRC(23))/((ALGBRC(25)+ CONSTS(44)*ALGBRC(25)+ CONSTS(43)*ALGBRC(23)+ ((ALGBRC(25)+ CONSTS(44)*ALGBRC(25)+ CONSTS(43)*ALGBRC(23)) - ALGBRC(23) ** 2.00000 -  4.00000*(ALGBRC(25) - ALGBRC(23))*CONSTS(43)*ALGBRC(23)) ** (1.0 / 2)) - ALGBRC(23))
      ALGBRC(27) = ALGBRC(26)
      RATES(3) = ( (CONSTS(5)+ CONSTS(6)*ALGBRC(27))*STATES(1)+ CONSTS(12)*STATES(4)+ CONSTS(8)*STATES(5)+ CONSTS(11)*STATES(6)+ CONSTS(7)*STATES(7)) -  (ALGBRC(21)+ CONSTS(9)*STATES(8)+ CONSTS(10)*STATES(9))*STATES(3)
      ALGBRC(28) = ALGBRC(27)
      RATES(2) =  (CONSTS(2)+ CONSTS(3)*ALGBRC(28))*STATES(1) -  CONSTS(4)*STATES(2)
      ALGBRC(18) = STATES(9)+STATES(18)+STATES(14)+STATES(13)+STATES(7)+STATES(6)
      ALGBRC(29) = CONSTS(108)+( CONSTS(109)*( CONSTS(111)*ALGBRC(11)+ CONSTS(112)*ALGBRC(13)+ CONSTS(110)*STATES(2)+ CONSTS(113)*STATES(3)+ CONSTS(114)*STATES(10)))/(CONSTS(107)+ALGBRC(18))
      RATES(9) = (CONSTS(22)+ CONSTS(23)*STATES(15)+ CONSTS(24)*ALGBRC(28)+ (ALGBRC(22)+CONSTS(16))*STATES(14)+ (ALGBRC(21)+CONSTS(7))*STATES(7)+ CONSTS(25)*STATES(16)*STATES(18)) -  ( CONSTS(18)*STATES(10)+ CONSTS(10)*STATES(3)+ALGBRC(29))*STATES(9)
      RATES(18) = ( ALGBRC(29)*STATES(9) -  ( CONSTS(25)*STATES(16)+CONSTS(11))*STATES(18))+ ALGBRC(22)*STATES(13)+ ALGBRC(21)*STATES(6)
      RATES(14) = ( CONSTS(18)*STATES(10)*STATES(9)+ CONSTS(25)*STATES(16)*STATES(13)) -  (CONSTS(16)+ALGBRC(22)+ALGBRC(29))*STATES(14)
      ALGBRC(30) = CONSTS(132)+ CONSTS(133)*STATES(27)+ CONSTS(134)*STATES(29)
      ALGBRC(19) = CONSTS(87) - STATES(20)
      RATES(19) = (CONSTS(26)+ CONSTS(27)*ALGBRC(28)+ CONSTS(28)*ALGBRC(8)+ CONSTS(29)*ALGBRC(19)) -  (ALGBRC(30)+ CONSTS(30)*STATES(20))*STATES(19)
      RATES(20) =  - CONSTS(30)*STATES(19)*STATES(20)+ (CONSTS(29)+ALGBRC(30))*ALGBRC(19)
      RATES(7) = ( CONSTS(10)*STATES(3)*STATES(9)+ CONSTS(25)*STATES(16)*STATES(6)) -  (CONSTS(7)+ALGBRC(21)+ALGBRC(29))*STATES(7)
      RATES(13) =  ALGBRC(29)*STATES(14) -  ( CONSTS(25)*STATES(16)+CONSTS(11)+ALGBRC(22))*STATES(13)
      RATES(6) =  ALGBRC(29)*STATES(7) -  ( CONSTS(25)*STATES(16)+CONSTS(11)+ALGBRC(21))*STATES(6)
      RETURN
      END
      SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      ALGBRC(4) = TERNRY(STATES(21).GT.1.00000.AND.STATES(23).LT.1.00000, 8.00000, 0.0100000)
      ALGBRC(7) = CONSTS(128)+( CONSTS(129)*(CONSTS(131)+STATES(27))*CONSTS(130))/(CONSTS(130)+STATES(19))
      ALGBRC(1) = ( 2.00000*CONSTS(45)*CONSTS(48)*STATES(10))/((CONSTS(47)+ CONSTS(46)*CONSTS(47)+ CONSTS(45)*CONSTS(48)*STATES(10)+ ((CONSTS(47)+ CONSTS(46)*CONSTS(47)+ CONSTS(45)*CONSTS(48)*STATES(10)) -  CONSTS(48)*STATES(10) ** 2.00000 -  4.00000*(CONSTS(47) -  CONSTS(48)*STATES(10))*CONSTS(45)*CONSTS(48)*STATES(10)) ** (1.0 / 2)) -  CONSTS(48)*STATES(10))
      ALGBRC(8) = ALGBRC(1)
      ALGBRC(5) = TERNRY(STATES(21).GT.1.00000.AND.STATES(23).LT.1.00000, 1.00000, 0.200000)
      ALGBRC(9) = TERNRY(STATES(23).GT.1.00000.AND.STATES(10).GT.CONSTS(135), 1.00000, 0.100000)
      ALGBRC(6) = STATES(32) - (STATES(33)+STATES(16))
      ALGBRC(10) = (STATES(35)+STATES(16)) - (STATES(34)+STATES(32))
      ALGBRC(11) = ( CONSTS(49)*CONSTS(50)*STATES(1))/(CONSTS(51)+ CONSTS(50)*STATES(1))
      ALGBRC(12) = CONSTS(123)+ CONSTS(124)*STATES(36)
      ALGBRC(15) =  (CONSTS(125)+ CONSTS(126)*STATES(31))*STATES(1)
      ALGBRC(14) = CONSTS(115)+ CONSTS(116)*STATES(16)
      ALGBRC(17) = CONSTS(117)+ CONSTS(118)*( CONSTS(120)*ALGBRC(11)+ CONSTS(119)*STATES(2)+ CONSTS(121)*STATES(3)+ CONSTS(122)*STATES(10))
      ALGBRC(22) = CONSTS(90)+ CONSTS(91)*STATES(29)+ CONSTS(92)*STATES(27)
      ALGBRC(21) = CONSTS(88)+ CONSTS(89)*STATES(27)
      ALGBRC(13) =  CONSTS(52)*STATES(1)
      ALGBRC(16) = STATES(8)+STATES(17)+STATES(12)+STATES(11)+STATES(5)+STATES(4)
      ALGBRC(24) = CONSTS(99)+( CONSTS(100)*( CONSTS(103)*ALGBRC(11)+ CONSTS(104)*ALGBRC(13)+ CONSTS(102)*STATES(2)+ CONSTS(105)*STATES(3)+ CONSTS(106)*STATES(10)))/(CONSTS(101)+ALGBRC(16))
      ALGBRC(25) = CONSTS(97)+ CONSTS(98)*STATES(10)
      ALGBRC(23) =  CONSTS(93)*( CONSTS(94)*STATES(2)+ CONSTS(95)*(ALGBRC(11)+ALGBRC(13))+ CONSTS(96)*STATES(3))
      ALGBRC(26) = ( 2.00000*CONSTS(43)*ALGBRC(23))/((ALGBRC(25)+ CONSTS(44)*ALGBRC(25)+ CONSTS(43)*ALGBRC(23)+ ((ALGBRC(25)+ CONSTS(44)*ALGBRC(25)+ CONSTS(43)*ALGBRC(23)) - ALGBRC(23) ** 2.00000 -  4.00000*(ALGBRC(25) - ALGBRC(23))*CONSTS(43)*ALGBRC(23)) ** (1.0 / 2)) - ALGBRC(23))
      ALGBRC(27) = ALGBRC(26)
      ALGBRC(28) = ALGBRC(27)
      ALGBRC(18) = STATES(9)+STATES(18)+STATES(14)+STATES(13)+STATES(7)+STATES(6)
      ALGBRC(29) = CONSTS(108)+( CONSTS(109)*( CONSTS(111)*ALGBRC(11)+ CONSTS(112)*ALGBRC(13)+ CONSTS(110)*STATES(2)+ CONSTS(113)*STATES(3)+ CONSTS(114)*STATES(10)))/(CONSTS(107)+ALGBRC(18))
      ALGBRC(30) = CONSTS(132)+ CONSTS(133)*STATES(27)+ CONSTS(134)*STATES(29)
      ALGBRC(19) = CONSTS(87) - STATES(20)
      ALGBRC(2) = STATES(3)+STATES(5)+STATES(4)+STATES(7)+STATES(6)
      ALGBRC(3) = STATES(10)+STATES(12)+STATES(11)+STATES(14)+STATES(13)
      ALGBRC(20) = ALGBRC(16)+ALGBRC(18)
      RETURN
      END
      REAL FUNCTION TERNRY(TEST, VALA, VALB)
      LOGICAL TEST
      REAL VALA, VALB
      IF (TEST) THEN
        TERNRY = VALA
      ELSE
        TERNRY = VALB
      ENDIF
      RETURN
      END