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 71 entries in the algebraic variable array. C There are a total of 41 entries in each of the rate and state variable arrays. C There are a total of 73 entries in the constant variable array. C C C VOI is time in component environment (millisecond). C STATES(1) is V in component membrane (millivolt). C CONSTS(1) is Cm in component membrane (microF_per_cm2). C CONSTS(2) is Vmyo in component membrane (microlitre). C CONSTS(3) is VJSR in component membrane (microlitre). C CONSTS(4) is VNSR in component membrane (microlitre). C CONSTS(5) is Vss in component membrane (microlitre). C CONSTS(6) is Acap in component membrane (cm2). C CONSTS(7) is Ko in component membrane (micromolar). C CONSTS(8) is Nao in component membrane (micromolar). C CONSTS(9) is Cao in component membrane (micromolar). C CONSTS(10) is R in component membrane (joule_per_mole_kelvin). C CONSTS(11) is T in component membrane (kelvin). C CONSTS(12) is F in component membrane (coulomb_per_millimole). C ALGBRC(1) is i_stim in component membrane (picoA_per_picoF). C ALGBRC(47) is i_CaL in component L_type_calcium_current (picoA_per_picoF). C ALGBRC(49) is i_pCa in component calcium_pump_current (picoA_per_picoF). C ALGBRC(51) is i_NaCa in component sodium_calcium_exchange_current (picoA_per_picoF). C ALGBRC(55) is i_Cab in component calcium_background_current (picoA_per_picoF). C ALGBRC(58) is i_Na in component fast_sodium_current (picoA_per_picoF). C ALGBRC(59) is i_Nab in component sodium_background_current (picoA_per_picoF). C ALGBRC(69) is i_NaK in component sodium_potassium_pump_current (picoA_per_picoF). C ALGBRC(61) is i_Kto_f in component fast_transient_outward_potassium_current (picoA_per_picoF). C ALGBRC(62) is i_Kto_s in component slow_transient_outward_potassium_current (picoA_per_picoF). C ALGBRC(63) is i_K1 in component time_independent_potassium_current (picoA_per_picoF). C ALGBRC(64) is i_Ks in component slow_delayed_rectifier_potassium_current (picoA_per_picoF). C ALGBRC(65) is i_Kur in component ultra_rapidly_activating_delayed_rectifier_potassium_current (picoA_per_picoF). C ALGBRC(66) is i_Kss in component non_inactivating_steady_state_potassium_current (picoA_per_picoF). C ALGBRC(71) is i_ClCa in component calcium_activated_chloride_current (picoA_per_picoF). C ALGBRC(67) is i_Kr in component rapid_delayed_rectifier_potassium_current (picoA_per_picoF). C CONSTS(13) is stim_start in component membrane (millisecond). C CONSTS(14) is stim_end in component membrane (millisecond). C CONSTS(15) is stim_period in component membrane (millisecond). C CONSTS(16) is stim_duration in component membrane (millisecond). C CONSTS(17) is stim_amplitude in component membrane (picoA_per_picoF). C STATES(2) is Cai in component calcium_concentration (micromolar). C STATES(3) is Cass in component calcium_concentration (micromolar). C STATES(4) is CaJSR in component calcium_concentration (micromolar). C STATES(5) is CaNSR in component calcium_concentration (micromolar). C ALGBRC(12) is Bi in component calcium_concentration (dimensionless). C ALGBRC(25) is Bss in component calcium_concentration (dimensionless). C ALGBRC(30) is BJSR in component calcium_concentration (dimensionless). C CONSTS(18) is CMDN_tot in component calcium_concentration (micromolar). C CONSTS(19) is CSQN_tot in component calcium_concentration (micromolar). C CONSTS(20) is Km_CMDN in component calcium_concentration (micromolar). C CONSTS(21) is Km_CSQN in component calcium_concentration (micromolar). C ALGBRC(41) is J_leak in component calcium_fluxes (micromolar_per_millisecond). C ALGBRC(34) is J_rel in component calcium_fluxes (micromolar_per_millisecond). C ALGBRC(43) is J_up in component calcium_fluxes (micromolar_per_millisecond). C ALGBRC(37) is J_tr in component calcium_fluxes (micromolar_per_millisecond). C ALGBRC(45) is J_trpn in component calcium_fluxes (micromolar_per_millisecond). C ALGBRC(39) is J_xfer in component calcium_fluxes (micromolar_per_millisecond). C CONSTS(22) is k_plus_htrpn in component calcium_fluxes (per_micromolar_millisecond). C CONSTS(23) is k_minus_htrpn in component calcium_fluxes (per_millisecond). C CONSTS(24) is k_plus_ltrpn in component calcium_fluxes (per_micromolar_millisecond). C CONSTS(25) is k_minus_ltrpn in component calcium_fluxes (per_millisecond). C STATES(6) is P_RyR in component calcium_fluxes (dimensionless). C CONSTS(26) is v1 in component calcium_fluxes (per_millisecond). C CONSTS(27) is tau_tr in component calcium_fluxes (millisecond). C CONSTS(28) is v2 in component calcium_fluxes (per_millisecond). C CONSTS(29) is tau_xfer in component calcium_fluxes (millisecond). C CONSTS(30) is v3 in component calcium_fluxes (micromolar_per_millisecond). C CONSTS(31) is Km_up in component calcium_fluxes (micromolar). C CONSTS(32) is LTRPN_tot in component calcium_buffering (micromolar). C CONSTS(33) is HTRPN_tot in component calcium_buffering (micromolar). C STATES(7) is LTRPN_Ca in component calcium_buffering (micromolar). C STATES(8) is HTRPN_Ca in component calcium_buffering (micromolar). C CONSTS(34) is i_CaL_max in component L_type_calcium_current (picoA_per_picoF). C STATES(9) is P_O1 in component ryanodine_receptors (dimensionless). C STATES(10) is P_O2 in component ryanodine_receptors (dimensionless). C ALGBRC(2) is P_C1 in component ryanodine_receptors (dimensionless). C STATES(11) is P_C2 in component ryanodine_receptors (dimensionless). C CONSTS(35) is k_plus_a in component ryanodine_receptors (micromolar4_per_millisecond). C CONSTS(36) is k_minus_a in component ryanodine_receptors (per_millisecond). C CONSTS(37) is k_plus_b in component ryanodine_receptors (micromolar3_per_millisecond). C CONSTS(38) is k_minus_b in component ryanodine_receptors (per_millisecond). C CONSTS(39) is k_plus_c in component ryanodine_receptors (per_millisecond). C CONSTS(40) is k_minus_c in component ryanodine_receptors (per_millisecond). C CONSTS(41) is m in component ryanodine_receptors (dimensionless). C CONSTS(42) is n in component ryanodine_receptors (dimensionless). C CONSTS(43) is E_CaL in component L_type_calcium_current (millivolt). C CONSTS(44) is g_CaL in component L_type_calcium_current (milliS_per_microF). C STATES(12) is O in component L_type_calcium_current (dimensionless). C ALGBRC(3) is C1 in component L_type_calcium_current (dimensionless). C STATES(13) is C2 in component L_type_calcium_current (dimensionless). C STATES(14) is C3 in component L_type_calcium_current (dimensionless). C STATES(15) is C4 in component L_type_calcium_current (dimensionless). C STATES(16) is I1 in component L_type_calcium_current (dimensionless). C STATES(17) is I2 in component L_type_calcium_current (dimensionless). C STATES(18) is I3 in component L_type_calcium_current (dimensionless). C ALGBRC(13) is alpha in component L_type_calcium_current (per_millisecond). C ALGBRC(26) is beta in component L_type_calcium_current (per_millisecond). C ALGBRC(31) is gamma in component L_type_calcium_current (per_millisecond). C ALGBRC(35) is Kpcf in component L_type_calcium_current (per_millisecond). C CONSTS(45) is Kpcb in component L_type_calcium_current (per_millisecond). C CONSTS(46) is Kpc_max in component L_type_calcium_current (per_millisecond). C CONSTS(47) is Kpc_half in component L_type_calcium_current (micromolar). C CONSTS(48) is i_pCa_max in component calcium_pump_current (picoA_per_picoF). C CONSTS(49) is Km_pCa in component calcium_pump_current (micromolar). C CONSTS(50) is k_NaCa in component sodium_calcium_exchange_current (picoA_per_picoF). C CONSTS(51) is K_mNa in component sodium_calcium_exchange_current (micromolar). C CONSTS(52) is K_mCa in component sodium_calcium_exchange_current (micromolar). C CONSTS(53) is k_sat in component sodium_calcium_exchange_current (dimensionless). C CONSTS(54) is eta in component sodium_calcium_exchange_current (dimensionless). C STATES(19) is Nai in component sodium_concentration (micromolar). C CONSTS(55) is g_Cab in component calcium_background_current (milliS_per_microF). C ALGBRC(53) is E_CaN in component calcium_background_current (millivolt). C ALGBRC(57) is E_Na in component fast_sodium_current (millivolt). C CONSTS(56) is g_Na in component fast_sodium_current (milliS_per_microF). C STATES(20) is O_Na in component fast_sodium_current (dimensionless). C STATES(21) is C_Na1 in component fast_sodium_current (dimensionless). C STATES(22) is C_Na2 in component fast_sodium_current (dimensionless). C ALGBRC(4) is C_Na3 in component fast_sodium_current (dimensionless). C STATES(23) is I1_Na in component fast_sodium_current (dimensionless). C STATES(24) is I2_Na in component fast_sodium_current (dimensionless). C STATES(25) is IF_Na in component fast_sodium_current (dimensionless). C STATES(26) is IC_Na2 in component fast_sodium_current (dimensionless). C STATES(27) is IC_Na3 in component fast_sodium_current (dimensionless). C ALGBRC(14) is alpha_Na11 in component fast_sodium_current (per_millisecond). C ALGBRC(36) is beta_Na11 in component fast_sodium_current (per_millisecond). C ALGBRC(27) is alpha_Na12 in component fast_sodium_current (per_millisecond). C ALGBRC(38) is beta_Na12 in component fast_sodium_current (per_millisecond). C ALGBRC(32) is alpha_Na13 in component fast_sodium_current (per_millisecond). C ALGBRC(40) is beta_Na13 in component fast_sodium_current (per_millisecond). C ALGBRC(42) is alpha_Na3 in component fast_sodium_current (per_millisecond). C ALGBRC(44) is beta_Na3 in component fast_sodium_current (per_millisecond). C ALGBRC(46) is alpha_Na2 in component fast_sodium_current (per_millisecond). C ALGBRC(48) is beta_Na2 in component fast_sodium_current (per_millisecond). C ALGBRC(50) is alpha_Na4 in component fast_sodium_current (per_millisecond). C ALGBRC(52) is beta_Na4 in component fast_sodium_current (per_millisecond). C ALGBRC(54) is alpha_Na5 in component fast_sodium_current (per_millisecond). C ALGBRC(56) is beta_Na5 in component fast_sodium_current (per_millisecond). C STATES(28) is Ki in component potassium_concentration (micromolar). C CONSTS(57) is g_Nab in component sodium_background_current (milliS_per_microF). C ALGBRC(60) is E_K in component fast_transient_outward_potassium_current (millivolt). C CONSTS(58) is g_Kto_f in component fast_transient_outward_potassium_current (milliS_per_microF). C STATES(29) is ato_f in component fast_transient_outward_potassium_current (dimensionless). C STATES(30) is ito_f in component fast_transient_outward_potassium_current (dimensionless). C ALGBRC(5) is alpha_a in component fast_transient_outward_potassium_current (per_millisecond). C ALGBRC(15) is beta_a in component fast_transient_outward_potassium_current (per_millisecond). C ALGBRC(6) is alpha_i in component fast_transient_outward_potassium_current (per_millisecond). C ALGBRC(16) is beta_i in component fast_transient_outward_potassium_current (per_millisecond). C ALGBRC(7) is ass in component slow_transient_outward_potassium_current (dimensionless). C ALGBRC(8) is iss in component slow_transient_outward_potassium_current (dimensionless). C CONSTS(59) is g_Kto_s in component slow_transient_outward_potassium_current (milliS_per_microF). C STATES(31) is ato_s in component slow_transient_outward_potassium_current (dimensionless). C STATES(32) is ito_s in component slow_transient_outward_potassium_current (dimensionless). C ALGBRC(17) is tau_ta_s in component slow_transient_outward_potassium_current (millisecond). C ALGBRC(18) is tau_ti_s in component slow_transient_outward_potassium_current (millisecond). C CONSTS(60) is g_Ks in component slow_delayed_rectifier_potassium_current (milliS_per_microF). C STATES(33) is nKs in component slow_delayed_rectifier_potassium_current (dimensionless). C ALGBRC(9) is alpha_n in component slow_delayed_rectifier_potassium_current (per_millisecond). C ALGBRC(19) is beta_n in component slow_delayed_rectifier_potassium_current (per_millisecond). C CONSTS(61) is g_Kur in component ultra_rapidly_activating_delayed_rectifier_potassium_current (milliS_per_microF). C STATES(34) is aur in component ultra_rapidly_activating_delayed_rectifier_potassium_current (dimensionless). C STATES(35) is iur in component ultra_rapidly_activating_delayed_rectifier_potassium_current (dimensionless). C ALGBRC(20) is tau_aur in component ultra_rapidly_activating_delayed_rectifier_potassium_current (millisecond). C ALGBRC(21) is tau_iur in component ultra_rapidly_activating_delayed_rectifier_potassium_current (millisecond). C CONSTS(62) is g_Kss in component non_inactivating_steady_state_potassium_current (milliS_per_microF). C STATES(36) is aKss in component non_inactivating_steady_state_potassium_current (dimensionless). C STATES(37) is iKss in component non_inactivating_steady_state_potassium_current (dimensionless). C ALGBRC(22) is tau_Kss in component non_inactivating_steady_state_potassium_current (millisecond). C CONSTS(63) is g_Kr in component rapid_delayed_rectifier_potassium_current (milliS_per_microF). C STATES(38) is O_K in component rapid_delayed_rectifier_potassium_current (dimensionless). C STATES(39) is C_K1 in component rapid_delayed_rectifier_potassium_current (dimensionless). C STATES(40) is C_K2 in component rapid_delayed_rectifier_potassium_current (dimensionless). C ALGBRC(10) is C_K0 in component rapid_delayed_rectifier_potassium_current (dimensionless). C STATES(41) is I_K in component rapid_delayed_rectifier_potassium_current (dimensionless). C ALGBRC(23) is alpha_a0 in component rapid_delayed_rectifier_potassium_current (per_millisecond). C ALGBRC(28) is beta_a0 in component rapid_delayed_rectifier_potassium_current (per_millisecond). C CONSTS(64) is kb in component rapid_delayed_rectifier_potassium_current (per_millisecond). C CONSTS(65) is kf in component rapid_delayed_rectifier_potassium_current (per_millisecond). C ALGBRC(11) is alpha_a1 in component rapid_delayed_rectifier_potassium_current (per_millisecond). C ALGBRC(24) is beta_a1 in component rapid_delayed_rectifier_potassium_current (per_millisecond). C ALGBRC(29) is alpha_i in component rapid_delayed_rectifier_potassium_current (per_millisecond). C ALGBRC(33) is beta_i in component rapid_delayed_rectifier_potassium_current (per_millisecond). C CONSTS(66) is i_NaK_max in component sodium_potassium_pump_current (picoA_per_picoF). C CONSTS(67) is Km_Nai in component sodium_potassium_pump_current (micromolar). C CONSTS(68) is Km_Ko in component sodium_potassium_pump_current (micromolar). C ALGBRC(68) is f_NaK in component sodium_potassium_pump_current (dimensionless). C CONSTS(72) is sigma in component sodium_potassium_pump_current (dimensionless). C CONSTS(69) is g_ClCa in component calcium_activated_chloride_current (milliS_per_microF). C ALGBRC(70) is O_ClCa in component calcium_activated_chloride_current (dimensionless). C CONSTS(70) is E_Cl in component calcium_activated_chloride_current (millivolt). C CONSTS(71) is Km_Cl in component calcium_activated_chloride_current (micromolar). C RATES(1) is d/dt V in component membrane (millivolt). C RATES(2) is d/dt Cai in component calcium_concentration (micromolar). C RATES(3) is d/dt Cass in component calcium_concentration (micromolar). C RATES(4) is d/dt CaJSR in component calcium_concentration (micromolar). C RATES(5) is d/dt CaNSR in component calcium_concentration (micromolar). C RATES(6) is d/dt P_RyR in component calcium_fluxes (dimensionless). C RATES(7) is d/dt LTRPN_Ca in component calcium_buffering (micromolar). C RATES(8) is d/dt HTRPN_Ca in component calcium_buffering (micromolar). C RATES(9) is d/dt P_O1 in component ryanodine_receptors (dimensionless). C RATES(10) is d/dt P_O2 in component ryanodine_receptors (dimensionless). C RATES(11) is d/dt P_C2 in component ryanodine_receptors (dimensionless). C RATES(12) is d/dt O in component L_type_calcium_current (dimensionless). C RATES(13) is d/dt C2 in component L_type_calcium_current (dimensionless). C RATES(14) is d/dt C3 in component L_type_calcium_current (dimensionless). C RATES(15) is d/dt C4 in component L_type_calcium_current (dimensionless). C RATES(16) is d/dt I1 in component L_type_calcium_current (dimensionless). C RATES(17) is d/dt I2 in component L_type_calcium_current (dimensionless). C RATES(18) is d/dt I3 in component L_type_calcium_current (dimensionless). C RATES(19) is d/dt Nai in component sodium_concentration (micromolar). C RATES(22) is d/dt C_Na2 in component fast_sodium_current (dimensionless). C RATES(21) is d/dt C_Na1 in component fast_sodium_current (dimensionless). C RATES(20) is d/dt O_Na in component fast_sodium_current (dimensionless). C RATES(25) is d/dt IF_Na in component fast_sodium_current (dimensionless). C RATES(23) is d/dt I1_Na in component fast_sodium_current (dimensionless). C RATES(24) is d/dt I2_Na in component fast_sodium_current (dimensionless). C RATES(26) is d/dt IC_Na2 in component fast_sodium_current (dimensionless). C RATES(27) is d/dt IC_Na3 in component fast_sodium_current (dimensionless). C RATES(28) is d/dt Ki in component potassium_concentration (micromolar). C RATES(29) is d/dt ato_f in component fast_transient_outward_potassium_current (dimensionless). C RATES(30) is d/dt ito_f in component fast_transient_outward_potassium_current (dimensionless). C RATES(31) is d/dt ato_s in component slow_transient_outward_potassium_current (dimensionless). C RATES(32) is d/dt ito_s in component slow_transient_outward_potassium_current (dimensionless). C RATES(33) is d/dt nKs in component slow_delayed_rectifier_potassium_current (dimensionless). C RATES(34) is d/dt aur in component ultra_rapidly_activating_delayed_rectifier_potassium_current (dimensionless). C RATES(35) is d/dt iur in component ultra_rapidly_activating_delayed_rectifier_potassium_current (dimensionless). C RATES(36) is d/dt aKss in component non_inactivating_steady_state_potassium_current (dimensionless). C RATES(37) is d/dt iKss in component non_inactivating_steady_state_potassium_current (dimensionless). C RATES(40) is d/dt C_K2 in component rapid_delayed_rectifier_potassium_current (dimensionless). C RATES(39) is d/dt C_K1 in component rapid_delayed_rectifier_potassium_current (dimensionless). C RATES(38) is d/dt O_K in component rapid_delayed_rectifier_potassium_current (dimensionless). C RATES(41) is d/dt I_K in component rapid_delayed_rectifier_potassium_current (dimensionless). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) STATES(1) = -82.4202 CONSTS(1) = 1 CONSTS(2) = 25.84e-6 CONSTS(3) = 0.12e-6 CONSTS(4) = 2.098e-6 CONSTS(5) = 1.485e-9 CONSTS(6) = 1.534e-4 CONSTS(7) = 5400 CONSTS(8) = 140000 CONSTS(9) = 1800 CONSTS(10) = 8.314 CONSTS(11) = 298 CONSTS(12) = 96.5 CONSTS(13) = 20 CONSTS(14) = 100000 CONSTS(15) = 71.43 CONSTS(16) = 0.5 CONSTS(17) = -80 STATES(2) = 0.115001 STATES(3) = 0.115001 STATES(4) = 1299.5 STATES(5) = 1299.5 CONSTS(18) = 50 CONSTS(19) = 15000 CONSTS(20) = 0.238 CONSTS(21) = 800 CONSTS(22) = 0.00237 CONSTS(23) = 3.2e-5 CONSTS(24) = 0.0327 CONSTS(25) = 0.0196 STATES(6) = 0 CONSTS(26) = 4.5 CONSTS(27) = 20 CONSTS(28) = 1.74e-5 CONSTS(29) = 8 CONSTS(30) = 0.45 CONSTS(31) = 0.5 CONSTS(32) = 70 CONSTS(33) = 140 STATES(7) = 11.2684 STATES(8) = 125.29 CONSTS(34) = 7 STATES(9) = 0.149102e-4 STATES(10) = 0.951726e-10 STATES(11) = 0.16774e-3 CONSTS(35) = 0.006075 CONSTS(36) = 0.07125 CONSTS(37) = 0.00405 CONSTS(38) = 0.965 CONSTS(39) = 0.009 CONSTS(40) = 0.0008 CONSTS(41) = 3 CONSTS(42) = 4 CONSTS(43) = 63 CONSTS(44) = 0.1729 STATES(12) = 0.930308e-18 STATES(13) = 0.124216e-3 STATES(14) = 0.578679e-8 STATES(15) = 0.119816e-12 STATES(16) = 0.497923e-18 STATES(17) = 0.345847e-13 STATES(18) = 0.185106e-13 CONSTS(45) = 0.0005 CONSTS(46) = 0.23324 CONSTS(47) = 20 CONSTS(48) = 1 CONSTS(49) = 0.5 CONSTS(50) = 292.8 CONSTS(51) = 87500 CONSTS(52) = 1380 CONSTS(53) = 0.1 CONSTS(54) = 0.35 STATES(19) = 14237.1 CONSTS(55) = 0.000367 CONSTS(56) = 13 STATES(20) = 0.713483e-6 STATES(21) = 0.279132e-3 STATES(22) = 0.020752 STATES(23) = 0.673345e-6 STATES(24) = 0.155787e-8 STATES(25) = 0.153176e-3 STATES(26) = 0.0113879 STATES(27) = 0.34278 STATES(28) = 143720 CONSTS(57) = 0.0026 CONSTS(58) = 0.4067 STATES(29) = 0.265563e-2 STATES(30) = 0.999977 CONSTS(59) = 0 STATES(31) = 0.417069e-3 STATES(32) = 0.998543 CONSTS(60) = 0.00575 STATES(33) = 0.262753e-3 CONSTS(61) = 0.16 STATES(34) = 0.417069e-3 STATES(35) = 0.998543 CONSTS(62) = 0.05 STATES(36) = 0.417069e-3 STATES(37) = 1 CONSTS(63) = 0.078 STATES(38) = 0.175298e-3 STATES(39) = 0.992513e-3 STATES(40) = 0.641229e-3 STATES(41) = 0.319129e-4 CONSTS(64) = 0.036778 CONSTS(65) = 0.023761 CONSTS(66) = 0.88 CONSTS(67) = 21000 CONSTS(68) = 1500 CONSTS(69) = 10 CONSTS(70) = -40 CONSTS(71) = 10 CONSTS(72) = (1.00000/7.00000)*(EXP(CONSTS(8)/67300.0) - 1.00000) CONSTS(72) = 0.00000 RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RATES(37) = CONSTS(72) RATES(7) = CONSTS(24)*STATES(2)*(CONSTS(32) - STATES(7)) - CONSTS(25)*STATES(7) RATES(8) = CONSTS(22)*STATES(2)*(CONSTS(33) - STATES(8)) - CONSTS(23)*STATES(8) RATES(10) = CONSTS(37)*STATES(3) ** CONSTS(41)*STATES(9) - CONSTS(38)*STATES(10) RATES(11) = CONSTS(39)*STATES(9) - CONSTS(40)*STATES(11) ALGBRC(2) = 1.00000 - (STATES(11)+STATES(9)+STATES(10)) RATES(9) = ( CONSTS(35)*STATES(3) ** CONSTS(42)*ALGBRC(2)+ CONSTS(38)*STATES(10)+ CONSTS(40)*STATES(11)) - ( CONSTS(36)*STATES(9)+ CONSTS(37)*STATES(3) ** CONSTS(41)*STATES(9)+ CONSTS(39)*STATES(9)) ALGBRC(5) = 0.180640*EXP( 0.0357700*(STATES(1)+30.0000)) ALGBRC(15) = 0.395600*EXP( - 0.0623700*(STATES(1)+30.0000)) RATES(29) = ALGBRC(5)*(1.00000 - STATES(29)) - ALGBRC(15)*STATES(29) ALGBRC(6) = ( 0.000152000*EXP(- (STATES(1)+13.5000)/7.00000))/( 0.00670830*EXP(- (STATES(1)+33.5000)/7.00000)+1.00000) ALGBRC(16) = ( 0.000950000*EXP((STATES(1)+33.5000)/7.00000))/( 0.0513350*EXP((STATES(1)+33.5000)/7.00000)+1.00000) RATES(30) = ALGBRC(6)*(1.00000 - STATES(30)) - ALGBRC(16)*STATES(30) ALGBRC(7) = 1.00000/(1.00000+EXP(- (STATES(1)+22.5000)/7.70000)) ALGBRC(17) = 0.493000*EXP( - 0.0629000*STATES(1))+2.05800 RATES(31) = (ALGBRC(7) - STATES(31))/ALGBRC(17) ALGBRC(8) = 1.00000/(1.00000+EXP((STATES(1)+45.2000)/5.70000)) ALGBRC(18) = 270.000+1050.00/(1.00000+EXP((STATES(1)+45.2000)/5.70000)) RATES(32) = (ALGBRC(8) - STATES(32))/ALGBRC(18) ALGBRC(9) = ( 4.81333e-06*(STATES(1)+26.5000))/(1.00000 - EXP( - 0.128000*(STATES(1)+26.5000))) ALGBRC(19) = 9.53333e-05*EXP( - 0.0380000*(STATES(1)+26.5000)) RATES(33) = ALGBRC(9)*(1.00000 - STATES(33)) - ALGBRC(19)*STATES(33) ALGBRC(20) = 0.493000*EXP( - 0.0629000*STATES(1))+2.05800 RATES(34) = (ALGBRC(7) - STATES(34))/ALGBRC(20) ALGBRC(21) = 1200.00 - 170.000/(1.00000+EXP((STATES(1)+45.2000)/5.70000)) RATES(35) = (ALGBRC(8) - STATES(35))/ALGBRC(21) ALGBRC(22) = 39.3000*EXP( - 0.0862000*STATES(1))+13.1700 RATES(36) = (ALGBRC(7) - STATES(36))/ALGBRC(22) ALGBRC(11) = 0.0137330*EXP( 0.0381980*STATES(1)) ALGBRC(24) = 6.89000e-05*EXP( - 0.0417800*STATES(1)) RATES(40) = ( CONSTS(65)*STATES(39)+ ALGBRC(24)*STATES(38)) - ( CONSTS(64)*STATES(40)+ ALGBRC(11)*STATES(40)) ALGBRC(3) = 1.00000 - (STATES(12)+STATES(13)+STATES(14)+STATES(15)+STATES(16)+STATES(17)+STATES(18)) ALGBRC(13) = ( 0.400000*EXP((STATES(1)+12.0000)/10.0000)*((1.00000+ 0.700000*EXP(- STATES(1)+40.0000 ** 2.00000/10.0000)) - 0.750000*EXP(- STATES(1)+20.0000 ** 2.00000/400.000)))/(1.00000+ 0.120000*EXP((STATES(1)+12.0000)/10.0000)) ALGBRC(26) = 0.0500000*EXP(- (STATES(1)+12.0000)/13.0000) RATES(13) = ( 4.00000*ALGBRC(13)*ALGBRC(3)+ 2.00000*ALGBRC(26)*STATES(14)) - ( ALGBRC(26)*STATES(13)+ 3.00000*ALGBRC(13)*STATES(13)) RATES(14) = ( 3.00000*ALGBRC(13)*STATES(13)+ 3.00000*ALGBRC(26)*STATES(15)) - ( 2.00000*ALGBRC(26)*STATES(14)+ 2.00000*ALGBRC(13)*STATES(14)) ALGBRC(10) = 1.00000 - (STATES(39)+STATES(40)+STATES(38)+STATES(41)) ALGBRC(23) = 0.0223480*EXP( 0.0117600*STATES(1)) ALGBRC(28) = 0.0470020*EXP( - 0.0631000*STATES(1)) RATES(39) = ( ALGBRC(23)*ALGBRC(10)+ CONSTS(64)*STATES(40)) - ( ALGBRC(28)*STATES(39)+ CONSTS(65)*STATES(39)) ALGBRC(29) = 0.0908210*EXP( 0.0233910*(STATES(1)+5.00000)) ALGBRC(33) = 0.00649700*EXP( - 0.0326800*(STATES(1)+5.00000)) RATES(38) = ( ALGBRC(11)*STATES(40)+ ALGBRC(33)*STATES(41)) - ( ALGBRC(24)*STATES(38)+ ALGBRC(29)*STATES(38)) RATES(41) = ALGBRC(29)*STATES(38) - ALGBRC(33)*STATES(41) ALGBRC(31) = ( CONSTS(46)*STATES(3))/(CONSTS(47)+STATES(3)) ALGBRC(35) = 13.0000*(1.00000 - EXP(- STATES(1)+14.5000 ** 2.00000/100.000)) RATES(12) = ( ALGBRC(13)*STATES(15)+ CONSTS(45)*STATES(16)+ 0.00100000*( ALGBRC(13)*STATES(17) - ALGBRC(35)*STATES(12))) - ( 4.00000*ALGBRC(26)*STATES(12)+ ALGBRC(31)*STATES(12)) RATES(15) = ( 2.00000*ALGBRC(13)*STATES(14)+ 4.00000*ALGBRC(26)*STATES(12)+ 0.0100000*( 4.00000*CONSTS(45)*ALGBRC(26)*STATES(16) - ALGBRC(13)*ALGBRC(31)*STATES(15))+ 0.00200000*( 4.00000*ALGBRC(26)*STATES(17) - ALGBRC(35)*STATES(15))+ 4.00000*ALGBRC(26)*CONSTS(45)*STATES(18)) - ( 3.00000*ALGBRC(26)*STATES(15)+ ALGBRC(13)*STATES(15)+ 1.00000*ALGBRC(31)*ALGBRC(35)*STATES(15)) RATES(16) = ( ALGBRC(31)*STATES(12)+ 0.00100000*( ALGBRC(13)*STATES(18) - ALGBRC(35)*STATES(16))+ 0.0100000*( ALGBRC(13)*ALGBRC(31)*STATES(15) - 4.00000*ALGBRC(26)*ALGBRC(35)*STATES(16))) - CONSTS(45)*STATES(16) RATES(17) = ( 0.00100000*( ALGBRC(35)*STATES(12) - ALGBRC(13)*STATES(17))+ CONSTS(45)*STATES(18)+ 0.00200000*( ALGBRC(35)*STATES(15) - 4.00000*ALGBRC(26)*STATES(17))) - ALGBRC(31)*STATES(17) RATES(18) = ( 0.00100000*( ALGBRC(35)*STATES(16) - ALGBRC(13)*STATES(18))+ ALGBRC(31)*STATES(17)+ 1.00000*ALGBRC(31)*ALGBRC(35)*STATES(15)) - ( 4.00000*ALGBRC(26)*CONSTS(45)*STATES(18)+ CONSTS(45)*STATES(18)) ALGBRC(30) = 1.00000+( CONSTS(19)*CONSTS(21))/CONSTS(21)+STATES(4) ** 2.00000 ** - 1.00000 ALGBRC(34) = CONSTS(26)*(STATES(9)+STATES(10))*(STATES(4) - STATES(3))*STATES(6) ALGBRC(37) = (STATES(5) - STATES(4))/CONSTS(27) RATES(4) = ALGBRC(30)*(ALGBRC(37) - ALGBRC(34)) ALGBRC(41) = CONSTS(28)*(STATES(5) - STATES(2)) ALGBRC(43) = ( CONSTS(30)*STATES(2) ** 2.00000)/(CONSTS(31) ** 2.00000+STATES(2) ** 2.00000) RATES(5) = ( (ALGBRC(43) - ALGBRC(41))*CONSTS(2))/CONSTS(4) - ( ALGBRC(37)*CONSTS(3))/CONSTS(4) ALGBRC(4) = 1.00000 - (STATES(20)+STATES(21)+STATES(22)+STATES(25)+STATES(23)+STATES(24)+STATES(26)+STATES(27)) ALGBRC(14) = 3.80200/( 0.102700*EXP(- (STATES(1)+2.50000)/17.0000)+ 0.200000*EXP(- (STATES(1)+2.50000)/150.000)) ALGBRC(36) = 0.191700*EXP(- (STATES(1)+2.50000)/20.3000) ALGBRC(27) = 3.80200/( 0.102700*EXP(- (STATES(1)+2.50000)/15.0000)+ 0.230000*EXP(- (STATES(1)+2.50000)/150.000)) ALGBRC(38) = 0.200000*EXP(- (STATES(1) - 2.50000)/20.3000) ALGBRC(42) = 7.00000e-07*EXP(- (STATES(1)+7.00000)/7.70000) ALGBRC(44) = 0.00840000+ 2.00000e-05*(STATES(1)+7.00000) RATES(22) = ( ALGBRC(14)*ALGBRC(4)+ ALGBRC(38)*STATES(21)+ ALGBRC(42)*STATES(26)) - ( ALGBRC(36)*STATES(22)+ ALGBRC(27)*STATES(22)+ ALGBRC(44)*STATES(22)) ALGBRC(32) = 3.80200/( 0.102700*EXP(- (STATES(1)+2.50000)/12.0000)+ 0.250000*EXP(- (STATES(1)+2.50000)/150.000)) ALGBRC(40) = 0.220000*EXP(- (STATES(1) - 7.50000)/20.3000) RATES(21) = ( ALGBRC(27)*STATES(22)+ ALGBRC(40)*STATES(20)+ ALGBRC(42)*STATES(25)) - ( ALGBRC(38)*STATES(21)+ ALGBRC(32)*STATES(21)+ ALGBRC(44)*STATES(21)) RATES(26) = ( ALGBRC(14)*STATES(27)+ ALGBRC(38)*STATES(25)+ ALGBRC(44)*STATES(22)) - ( ALGBRC(36)*STATES(26)+ ALGBRC(27)*STATES(26)+ ALGBRC(42)*STATES(26)) RATES(27) = ( ALGBRC(36)*STATES(26)+ ALGBRC(44)*ALGBRC(4)) - ( ALGBRC(14)*STATES(27)+ ALGBRC(42)*STATES(27)) ALGBRC(47) = CONSTS(44)*STATES(12)*(STATES(1) - CONSTS(43)) ALGBRC(25) = 1.00000+( CONSTS(18)*CONSTS(20))/CONSTS(20)+STATES(3) ** 2.00000 ** - 1.00000 ALGBRC(39) = (STATES(3) - STATES(2))/CONSTS(29) RATES(3) = ALGBRC(25)*(( ALGBRC(34)*CONSTS(3))/CONSTS(5) - (( ALGBRC(39)*CONSTS(2))/CONSTS(5)+( ALGBRC(47)*CONSTS(6)*CONSTS(1))/( 2.00000*CONSTS(5)*CONSTS(12)))) RATES(6) = - 0.0400000*STATES(6) - (( 0.100000*ALGBRC(47))/CONSTS(34))*EXP(- STATES(1) - 5.00000 ** 2.00000/648.000) ALGBRC(46) = 1.00000/( 0.188495*EXP(- (STATES(1)+7.00000)/16.6000)+0.393956) ALGBRC(48) = ( ALGBRC(32)*ALGBRC(46)*ALGBRC(42))/( ALGBRC(40)*ALGBRC(44)) RATES(20) = ( ALGBRC(32)*STATES(21)+ ALGBRC(48)*STATES(25)) - ( ALGBRC(40)*STATES(20)+ ALGBRC(46)*STATES(20)) ALGBRC(50) = ALGBRC(46)/1000.00 ALGBRC(52) = ALGBRC(42) RATES(25) = ( ALGBRC(46)*STATES(20)+ ALGBRC(44)*STATES(21)+ ALGBRC(52)*STATES(23)+ ALGBRC(27)*STATES(26)) - ( ALGBRC(48)*STATES(25)+ ALGBRC(42)*STATES(25)+ ALGBRC(50)*STATES(25)+ ALGBRC(38)*STATES(25)) ALGBRC(49) = ( CONSTS(48)*STATES(2) ** 2.00000)/(CONSTS(49) ** 2.00000+STATES(2) ** 2.00000) ALGBRC(51) = (( (( (( CONSTS(50)*1.00000)/(CONSTS(51) ** 3.00000+CONSTS(8) ** 3.00000))*1.00000)/(CONSTS(52)+CONSTS(9)))*1.00000)/(1.00000+ CONSTS(53)*EXP(( (CONSTS(54) - 1.00000)*STATES(1)*CONSTS(12))/( CONSTS(10)*CONSTS(11)))))*( EXP(( CONSTS(54)*STATES(1)*CONSTS(12))/( CONSTS(10)*CONSTS(11)))*STATES(19) ** 3.00000*CONSTS(9) - EXP(( (CONSTS(54) - 1.00000)*STATES(1)*CONSTS(12))/( CONSTS(10)*CONSTS(11)))*CONSTS(8) ** 3.00000*STATES(2)) ALGBRC(53) = (( CONSTS(10)*CONSTS(11))/( 2.00000*CONSTS(12)))*log(CONSTS(9)/STATES(2)) ALGBRC(55) = CONSTS(55)*(STATES(1) - ALGBRC(53)) ALGBRC(12) = 1.00000+( CONSTS(18)*CONSTS(20))/CONSTS(20)+STATES(2) ** 2.00000 ** - 1.00000 ALGBRC(45) = ( CONSTS(22)*STATES(2)*(CONSTS(33) - STATES(8))+ CONSTS(24)*STATES(2)*(CONSTS(32) - STATES(7))) - ( CONSTS(23)*STATES(8)+ CONSTS(25)*STATES(7)) RATES(2) = ALGBRC(12)*((ALGBRC(41)+ALGBRC(39)) - (ALGBRC(43)+ALGBRC(45)+( ((ALGBRC(55)+ALGBRC(49)) - 2.00000*ALGBRC(51))*CONSTS(6)*CONSTS(1))/( 2.00000*CONSTS(2)*CONSTS(12)))) ALGBRC(54) = ALGBRC(46)/95000.0 ALGBRC(56) = ALGBRC(42)/50.0000 RATES(23) = ( ALGBRC(50)*STATES(25)+ ALGBRC(56)*STATES(24)) - ( ALGBRC(52)*STATES(23)+ ALGBRC(54)*STATES(23)) RATES(24) = ALGBRC(54)*STATES(23) - ALGBRC(56)*STATES(24) ALGBRC(57) = (( CONSTS(10)*CONSTS(11))/CONSTS(12))*log(( 0.900000*CONSTS(8)+ 0.100000*CONSTS(7))/( 0.900000*STATES(19)+ 0.100000*STATES(28))) ALGBRC(58) = CONSTS(56)*STATES(20)*(STATES(1) - ALGBRC(57)) ALGBRC(59) = CONSTS(57)*(STATES(1) - ALGBRC(57)) ALGBRC(68) = 1.00000/(1.00000+ 0.124500*EXP(( - 0.100000*STATES(1)*CONSTS(12))/( CONSTS(10)*CONSTS(11)))+ 0.0365000*CONSTS(72)*EXP(( - STATES(1)*CONSTS(12))/( CONSTS(10)*CONSTS(11)))) ALGBRC(69) = ( (( CONSTS(66)*ALGBRC(68)*1.00000)/(1.00000+CONSTS(67)/STATES(19) ** 1.50000))*CONSTS(7))/(CONSTS(7)+CONSTS(68)) RATES(19) = ( - (ALGBRC(58)+ALGBRC(59)+ 3.00000*ALGBRC(69)+ 3.00000*ALGBRC(51))*CONSTS(6)*CONSTS(1))/( CONSTS(2)*CONSTS(12)) ALGBRC(60) = (( CONSTS(10)*CONSTS(11))/CONSTS(12))*log(CONSTS(7)/STATES(28)) ALGBRC(61) = CONSTS(58)*STATES(29) ** 3.00000*STATES(30)*(STATES(1) - ALGBRC(60)) ALGBRC(62) = CONSTS(59)*STATES(31)*STATES(32)*(STATES(1) - ALGBRC(60)) ALGBRC(63) = ( (( 0.293800*CONSTS(7))/(CONSTS(7)+210.000))*(STATES(1) - ALGBRC(60)))/(1.00000+EXP( 0.0896000*(STATES(1) - ALGBRC(60)))) ALGBRC(64) = CONSTS(60)*STATES(33) ** 2.00000*(STATES(1) - ALGBRC(60)) ALGBRC(65) = CONSTS(61)*STATES(34)*STATES(35)*(STATES(1) - ALGBRC(60)) ALGBRC(66) = CONSTS(62)*STATES(36)*STATES(37)*(STATES(1) - ALGBRC(60)) ALGBRC(67) = CONSTS(63)*STATES(38)*(STATES(1) - (( CONSTS(10)*CONSTS(11))/CONSTS(12))*log(( 0.980000*CONSTS(7)+ 0.0200000*CONSTS(8))/( 0.980000*STATES(28)+ 0.0200000*STATES(19)))) RATES(28) = ( - ((ALGBRC(61)+ALGBRC(62)+ALGBRC(63)+ALGBRC(64)+ALGBRC(66)+ALGBRC(65)+ALGBRC(67)) - 2.00000*ALGBRC(69))*CONSTS(6)*CONSTS(1))/( CONSTS(2)*CONSTS(12)) ALGBRC(1) = TERNRY(VOI.GE.CONSTS(13).AND.VOI.LE.CONSTS(14).AND.(VOI - CONSTS(13)) - INT((VOI - CONSTS(13))/CONSTS(15))*CONSTS(15).LE.CONSTS(16), CONSTS(17), 0.00000) ALGBRC(70) = 0.200000/(1.00000+EXP(- (STATES(1) - 46.7000)/7.80000)) ALGBRC(71) = (( CONSTS(69)*ALGBRC(70)*STATES(2))/(STATES(2)+CONSTS(71)))*(STATES(1) - CONSTS(70)) RATES(1) = - (ALGBRC(47)+ALGBRC(49)+ALGBRC(51)+ALGBRC(55)+ALGBRC(58)+ALGBRC(59)+ALGBRC(69)+ALGBRC(61)+ALGBRC(62)+ALGBRC(63)+ALGBRC(64)+ALGBRC(65)+ALGBRC(66)+ALGBRC(67)+ALGBRC(71)+ALGBRC(1)) RETURN END SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) ALGBRC(2) = 1.00000 - (STATES(11)+STATES(9)+STATES(10)) ALGBRC(5) = 0.180640*EXP( 0.0357700*(STATES(1)+30.0000)) ALGBRC(15) = 0.395600*EXP( - 0.0623700*(STATES(1)+30.0000)) ALGBRC(6) = ( 0.000152000*EXP(- (STATES(1)+13.5000)/7.00000))/( 0.00670830*EXP(- (STATES(1)+33.5000)/7.00000)+1.00000) ALGBRC(16) = ( 0.000950000*EXP((STATES(1)+33.5000)/7.00000))/( 0.0513350*EXP((STATES(1)+33.5000)/7.00000)+1.00000) ALGBRC(7) = 1.00000/(1.00000+EXP(- (STATES(1)+22.5000)/7.70000)) ALGBRC(17) = 0.493000*EXP( - 0.0629000*STATES(1))+2.05800 ALGBRC(8) = 1.00000/(1.00000+EXP((STATES(1)+45.2000)/5.70000)) ALGBRC(18) = 270.000+1050.00/(1.00000+EXP((STATES(1)+45.2000)/5.70000)) ALGBRC(9) = ( 4.81333e-06*(STATES(1)+26.5000))/(1.00000 - EXP( - 0.128000*(STATES(1)+26.5000))) ALGBRC(19) = 9.53333e-05*EXP( - 0.0380000*(STATES(1)+26.5000)) ALGBRC(20) = 0.493000*EXP( - 0.0629000*STATES(1))+2.05800 ALGBRC(21) = 1200.00 - 170.000/(1.00000+EXP((STATES(1)+45.2000)/5.70000)) ALGBRC(22) = 39.3000*EXP( - 0.0862000*STATES(1))+13.1700 ALGBRC(11) = 0.0137330*EXP( 0.0381980*STATES(1)) ALGBRC(24) = 6.89000e-05*EXP( - 0.0417800*STATES(1)) ALGBRC(3) = 1.00000 - (STATES(12)+STATES(13)+STATES(14)+STATES(15)+STATES(16)+STATES(17)+STATES(18)) ALGBRC(13) = ( 0.400000*EXP((STATES(1)+12.0000)/10.0000)*((1.00000+ 0.700000*EXP(- STATES(1)+40.0000 ** 2.00000/10.0000)) - 0.750000*EXP(- STATES(1)+20.0000 ** 2.00000/400.000)))/(1.00000+ 0.120000*EXP((STATES(1)+12.0000)/10.0000)) ALGBRC(26) = 0.0500000*EXP(- (STATES(1)+12.0000)/13.0000) ALGBRC(10) = 1.00000 - (STATES(39)+STATES(40)+STATES(38)+STATES(41)) ALGBRC(23) = 0.0223480*EXP( 0.0117600*STATES(1)) ALGBRC(28) = 0.0470020*EXP( - 0.0631000*STATES(1)) ALGBRC(29) = 0.0908210*EXP( 0.0233910*(STATES(1)+5.00000)) ALGBRC(33) = 0.00649700*EXP( - 0.0326800*(STATES(1)+5.00000)) ALGBRC(31) = ( CONSTS(46)*STATES(3))/(CONSTS(47)+STATES(3)) ALGBRC(35) = 13.0000*(1.00000 - EXP(- STATES(1)+14.5000 ** 2.00000/100.000)) ALGBRC(30) = 1.00000+( CONSTS(19)*CONSTS(21))/CONSTS(21)+STATES(4) ** 2.00000 ** - 1.00000 ALGBRC(34) = CONSTS(26)*(STATES(9)+STATES(10))*(STATES(4) - STATES(3))*STATES(6) ALGBRC(37) = (STATES(5) - STATES(4))/CONSTS(27) ALGBRC(41) = CONSTS(28)*(STATES(5) - STATES(2)) ALGBRC(43) = ( CONSTS(30)*STATES(2) ** 2.00000)/(CONSTS(31) ** 2.00000+STATES(2) ** 2.00000) ALGBRC(4) = 1.00000 - (STATES(20)+STATES(21)+STATES(22)+STATES(25)+STATES(23)+STATES(24)+STATES(26)+STATES(27)) ALGBRC(14) = 3.80200/( 0.102700*EXP(- (STATES(1)+2.50000)/17.0000)+ 0.200000*EXP(- (STATES(1)+2.50000)/150.000)) ALGBRC(36) = 0.191700*EXP(- (STATES(1)+2.50000)/20.3000) ALGBRC(27) = 3.80200/( 0.102700*EXP(- (STATES(1)+2.50000)/15.0000)+ 0.230000*EXP(- (STATES(1)+2.50000)/150.000)) ALGBRC(38) = 0.200000*EXP(- (STATES(1) - 2.50000)/20.3000) ALGBRC(42) = 7.00000e-07*EXP(- (STATES(1)+7.00000)/7.70000) ALGBRC(44) = 0.00840000+ 2.00000e-05*(STATES(1)+7.00000) ALGBRC(32) = 3.80200/( 0.102700*EXP(- (STATES(1)+2.50000)/12.0000)+ 0.250000*EXP(- (STATES(1)+2.50000)/150.000)) ALGBRC(40) = 0.220000*EXP(- (STATES(1) - 7.50000)/20.3000) ALGBRC(47) = CONSTS(44)*STATES(12)*(STATES(1) - CONSTS(43)) ALGBRC(25) = 1.00000+( CONSTS(18)*CONSTS(20))/CONSTS(20)+STATES(3) ** 2.00000 ** - 1.00000 ALGBRC(39) = (STATES(3) - STATES(2))/CONSTS(29) ALGBRC(46) = 1.00000/( 0.188495*EXP(- (STATES(1)+7.00000)/16.6000)+0.393956) ALGBRC(48) = ( ALGBRC(32)*ALGBRC(46)*ALGBRC(42))/( ALGBRC(40)*ALGBRC(44)) ALGBRC(50) = ALGBRC(46)/1000.00 ALGBRC(52) = ALGBRC(42) ALGBRC(49) = ( CONSTS(48)*STATES(2) ** 2.00000)/(CONSTS(49) ** 2.00000+STATES(2) ** 2.00000) ALGBRC(51) = (( (( (( CONSTS(50)*1.00000)/(CONSTS(51) ** 3.00000+CONSTS(8) ** 3.00000))*1.00000)/(CONSTS(52)+CONSTS(9)))*1.00000)/(1.00000+ CONSTS(53)*EXP(( (CONSTS(54) - 1.00000)*STATES(1)*CONSTS(12))/( CONSTS(10)*CONSTS(11)))))*( EXP(( CONSTS(54)*STATES(1)*CONSTS(12))/( CONSTS(10)*CONSTS(11)))*STATES(19) ** 3.00000*CONSTS(9) - EXP(( (CONSTS(54) - 1.00000)*STATES(1)*CONSTS(12))/( CONSTS(10)*CONSTS(11)))*CONSTS(8) ** 3.00000*STATES(2)) ALGBRC(53) = (( CONSTS(10)*CONSTS(11))/( 2.00000*CONSTS(12)))*log(CONSTS(9)/STATES(2)) ALGBRC(55) = CONSTS(55)*(STATES(1) - ALGBRC(53)) ALGBRC(12) = 1.00000+( CONSTS(18)*CONSTS(20))/CONSTS(20)+STATES(2) ** 2.00000 ** - 1.00000 ALGBRC(45) = ( CONSTS(22)*STATES(2)*(CONSTS(33) - STATES(8))+ CONSTS(24)*STATES(2)*(CONSTS(32) - STATES(7))) - ( CONSTS(23)*STATES(8)+ CONSTS(25)*STATES(7)) ALGBRC(54) = ALGBRC(46)/95000.0 ALGBRC(56) = ALGBRC(42)/50.0000 ALGBRC(57) = (( CONSTS(10)*CONSTS(11))/CONSTS(12))*log(( 0.900000*CONSTS(8)+ 0.100000*CONSTS(7))/( 0.900000*STATES(19)+ 0.100000*STATES(28))) ALGBRC(58) = CONSTS(56)*STATES(20)*(STATES(1) - ALGBRC(57)) ALGBRC(59) = CONSTS(57)*(STATES(1) - ALGBRC(57)) ALGBRC(68) = 1.00000/(1.00000+ 0.124500*EXP(( - 0.100000*STATES(1)*CONSTS(12))/( CONSTS(10)*CONSTS(11)))+ 0.0365000*CONSTS(72)*EXP(( - STATES(1)*CONSTS(12))/( CONSTS(10)*CONSTS(11)))) ALGBRC(69) = ( (( CONSTS(66)*ALGBRC(68)*1.00000)/(1.00000+CONSTS(67)/STATES(19) ** 1.50000))*CONSTS(7))/(CONSTS(7)+CONSTS(68)) ALGBRC(60) = (( CONSTS(10)*CONSTS(11))/CONSTS(12))*log(CONSTS(7)/STATES(28)) ALGBRC(61) = CONSTS(58)*STATES(29) ** 3.00000*STATES(30)*(STATES(1) - ALGBRC(60)) ALGBRC(62) = CONSTS(59)*STATES(31)*STATES(32)*(STATES(1) - ALGBRC(60)) ALGBRC(63) = ( (( 0.293800*CONSTS(7))/(CONSTS(7)+210.000))*(STATES(1) - ALGBRC(60)))/(1.00000+EXP( 0.0896000*(STATES(1) - ALGBRC(60)))) ALGBRC(64) = CONSTS(60)*STATES(33) ** 2.00000*(STATES(1) - ALGBRC(60)) ALGBRC(65) = CONSTS(61)*STATES(34)*STATES(35)*(STATES(1) - ALGBRC(60)) ALGBRC(66) = CONSTS(62)*STATES(36)*STATES(37)*(STATES(1) - ALGBRC(60)) ALGBRC(67) = CONSTS(63)*STATES(38)*(STATES(1) - (( CONSTS(10)*CONSTS(11))/CONSTS(12))*log(( 0.980000*CONSTS(7)+ 0.0200000*CONSTS(8))/( 0.980000*STATES(28)+ 0.0200000*STATES(19)))) ALGBRC(1) = TERNRY(VOI.GE.CONSTS(13).AND.VOI.LE.CONSTS(14).AND.(VOI - CONSTS(13)) - INT((VOI - CONSTS(13))/CONSTS(15))*CONSTS(15).LE.CONSTS(16), CONSTS(17), 0.00000) ALGBRC(70) = 0.200000/(1.00000+EXP(- (STATES(1) - 46.7000)/7.80000)) ALGBRC(71) = (( CONSTS(69)*ALGBRC(70)*STATES(2))/(STATES(2)+CONSTS(71)))*(STATES(1) - CONSTS(70)) RETURN END REAL FUNCTION TERNRY(TEST, VALA, VALB) LOGICAL TEST REAL VALA, VALB IF (TEST) THEN TERNRY = VALA ELSE TERNRY = VALB ENDIF RETURN END