C C There are a total of 2 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 19 entries in the constant variable array. C C C VOI is time in component environment (minute). C CONSTS(13) is F16BP in component F16BP (millimolar). C STATES(1) is G3P in component G3P (millimolar). C ALGBRC(1) is V_Gpd_p in component V_Gpd_p (flux). C ALGBRC(2) is V_Gpp_p in component V_Gpp_p (flux). C CONSTS(14) is DHAP in component DHAP (millimolar). C CONSTS(15) is ATP in component ATP (millimolar). C CONSTS(16) is ADP in component ADP (millimolar). C CONSTS(17) is NADH in component NADH (millimolar). C CONSTS(18) is NAD in component NAD (millimolar). C CONSTS(19) is Pi_ in component Pi (millimolar). C CONSTS(1) is K_F16BP in component V_Gpd_p (millimolar). C CONSTS(2) is K_ATP in component V_Gpd_p (millimolar). C CONSTS(3) is K_ADP in component V_Gpd_p (millimolar). C CONSTS(4) is K_NAD in component V_Gpd_p (millimolar). C CONSTS(5) is K_NADH in component V_Gpd_p (millimolar). C CONSTS(6) is K_G3P in component V_Gpd_p (millimolar). C CONSTS(7) is K_DHAP in component V_Gpd_p (millimolar). C CONSTS(8) is K_eq in component V_Gpd_p (dimensionless). C CONSTS(9) is Vf in component V_Gpd_p (flux). C CONSTS(10) is K_G3P in component V_Gpp_p (millimolar). C CONSTS(11) is K_Pi in component V_Gpp_p (millimolar). C CONSTS(12) is V in component V_Gpp_p (flux). C RATES(1) is d/dt G3P in component G3P (millimolar). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) STATES(1) = 24 CONSTS(1) = 4.8 CONSTS(2) = 0.73 CONSTS(3) = 2 CONSTS(4) = 0.93 CONSTS(5) = 0.023 CONSTS(6) = 1.2 CONSTS(7) = 0.54 CONSTS(8) = 1e4 CONSTS(9) = 36 CONSTS(10) = 3.5 CONSTS(11) = 1 CONSTS(12) = 18 CONSTS(13) = 0.00000 CONSTS(14) = 0.590000 CONSTS(15) = 2.37000 CONSTS(16) = 2.17000 CONSTS(17) = 1.87000 CONSTS(18) = 1.45000 CONSTS(19) = 2.17000 RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) ALGBRC(1) = ( (CONSTS(9)/( CONSTS(5)*CONSTS(7)))*( CONSTS(17)*CONSTS(14) - ( CONSTS(18)*STATES(1))/CONSTS(8)))/( (1.00000+CONSTS(13)/CONSTS(1)+CONSTS(15)/CONSTS(2)+CONSTS(16)/CONSTS(3))*(1.00000+CONSTS(17)/CONSTS(5)+CONSTS(18)/CONSTS(4))*(1.00000+CONSTS(14)/CONSTS(7)+STATES(1)/CONSTS(6))) ALGBRC(2) = (( CONSTS(12)*STATES(1))/CONSTS(10))/( (1.00000+STATES(1)/CONSTS(10))*(1.00000+CONSTS(19)/CONSTS(11))) RATES(1) = - ALGBRC(2)+ALGBRC(1) RETURN END SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) ALGBRC(1) = ( (CONSTS(9)/( CONSTS(5)*CONSTS(7)))*( CONSTS(17)*CONSTS(14) - ( CONSTS(18)*STATES(1))/CONSTS(8)))/( (1.00000+CONSTS(13)/CONSTS(1)+CONSTS(15)/CONSTS(2)+CONSTS(16)/CONSTS(3))*(1.00000+CONSTS(17)/CONSTS(5)+CONSTS(18)/CONSTS(4))*(1.00000+CONSTS(14)/CONSTS(7)+STATES(1)/CONSTS(6))) ALGBRC(2) = (( CONSTS(12)*STATES(1))/CONSTS(10))/( (1.00000+STATES(1)/CONSTS(10))*(1.00000+CONSTS(19)/CONSTS(11))) RETURN END