C C There are a total of 1 entries in the algebraic variable array. C There are a total of 9 entries in each of the rate and state variable arrays. C There are a total of 10 entries in the constant variable array. C C C VOI is time in component environment (second). C STATES(1) is x1 in component x1 (nanomolar). C STATES(2) is x2 in component x2 (nanomolar). C STATES(3) is x3 in component x3 (nanomolar). C STATES(4) is x4 in component x4 (nanomolar). C STATES(5) is x5 in component x5 (nanomolar). C STATES(6) is x6 in component x6 (nanomolar). C STATES(7) is x7 in component x7 (nanomolar). C STATES(8) is x8 in component x8 (nanomolar). C STATES(9) is x9 in component x9 (nanomolar). C CONSTS(1) is k1 in component rate_variables (second_order_rate_constant). C CONSTS(2) is k1_ in component rate_variables (first_order_rate_constant). C CONSTS(3) is k2 in component rate_variables (second_order_rate_constant). C CONSTS(4) is k2_ in component rate_variables (first_order_rate_constant). C CONSTS(5) is k4 in component rate_variables (second_order_rate_constant). C CONSTS(6) is k4_ in component rate_variables (first_order_rate_constant). C CONSTS(7) is k5 in component rate_variables (second_order_rate_constant). C CONSTS(8) is k5_ in component rate_variables (first_order_rate_constant). C ALGBRC(1) is scatchard in component x1 (dimensionless). C CONSTS(9) is k3 in component rate_variables (second_order_rate_constant). C CONSTS(10) is k3_ in component rate_variables (first_order_rate_constant). C RATES(1) is d/dt x1 in component x1 (nanomolar). C RATES(2) is d/dt x2 in component x2 (nanomolar). C RATES(3) is d/dt x3 in component x3 (nanomolar). C RATES(4) is d/dt x4 in component x4 (nanomolar). C RATES(5) is d/dt x5 in component x5 (nanomolar). C RATES(6) is d/dt x6 in component x6 (nanomolar). C RATES(7) is d/dt x7 in component x7 (nanomolar). C RATES(8) is d/dt x8 in component x8 (nanomolar). C RATES(9) is d/dt x9 in component x9 (nanomolar). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) STATES(1) = 10 STATES(2) = 0.1 STATES(3) = 1.0 STATES(4) = 1.0 STATES(5) = 1.0 STATES(6) = 1.0 STATES(7) = 1.0 STATES(8) = 1.0 STATES(9) = 1.0 CONSTS(1) = 1000000 CONSTS(2) = 0.0004 CONSTS(3) = 1000000 CONSTS(4) = 0.04 CONSTS(5) = 1000000 CONSTS(6) = 0.0004 CONSTS(7) = 10000000 CONSTS(8) = 0.004 CONSTS(9) = 1000000 CONSTS(10) = 0.0004 RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RATES(1) = (((((( CONSTS(2)*STATES(3) - CONSTS(1)*STATES(1)*STATES(2))+ CONSTS(4)*STATES(4)) - CONSTS(3)*STATES(1)*STATES(3))+ CONSTS(6)*(STATES(6)+STATES(7))) - CONSTS(5)*STATES(1)*(STATES(5)+STATES(9)))+ CONSTS(8)*(STATES(7)+STATES(8)+STATES(9))) - CONSTS(7)*STATES(1)*(STATES(5)+STATES(6)+STATES(7)) RATES(2) = (( CONSTS(2)*STATES(3) - CONSTS(1)*STATES(1)*STATES(2))+ CONSTS(10)*(STATES(5)+STATES(9))) - CONSTS(9)*STATES(2)*(STATES(3)+STATES(4)) RATES(3) = ((((( CONSTS(1)*STATES(1)*STATES(2) - CONSTS(2)*STATES(3))+ CONSTS(4)*STATES(4)) - CONSTS(3)*STATES(1)*STATES(3))+ CONSTS(10)*STATES(5)) - CONSTS(9)*STATES(2)*STATES(3)) RATES(4) = (( CONSTS(3)*STATES(1)*STATES(3) - CONSTS(4)*STATES(4))+ CONSTS(10)*STATES(9)) - CONSTS(3)*STATES(2)*STATES(4) RATES(5) = (((( CONSTS(9)*STATES(2)*STATES(3) - CONSTS(10)*STATES(5))+ CONSTS(6)*STATES(6)) - CONSTS(5)*STATES(1)*STATES(5))+ CONSTS(8)*STATES(9)) - CONSTS(7)*STATES(1)*STATES(5) RATES(6) = (( CONSTS(5)*STATES(1)*STATES(5) - CONSTS(6)*STATES(6))+ CONSTS(8)*STATES(7)) - CONSTS(7)*STATES(1)*STATES(6) RATES(7) = ( CONSTS(5)*STATES(1)*STATES(9) - CONSTS(6)*STATES(7))+ CONSTS(8)*(STATES(8) - STATES(7))+ CONSTS(7)*STATES(1)*(STATES(6) - STATES(7)) RATES(8) = CONSTS(7)*STATES(1)*STATES(7) - CONSTS(8)*STATES(8) RATES(9) = (((( CONSTS(9)*STATES(2)*STATES(4) - CONSTS(10)*STATES(9))+ CONSTS(6)*STATES(7)) - CONSTS(5)*STATES(1)*STATES(9))+ CONSTS(7)*STATES(1)*STATES(5)) - CONSTS(8)*STATES(9) RETURN END SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) ALGBRC(1) = (STATES(3)+STATES(4)+STATES(7)+STATES(8)+STATES(9))/STATES(1) RETURN END