C C There are a total of 0 entries in the algebraic variable array. C There are a total of 4 entries in each of the rate and state variable arrays. C There are a total of 14 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 CONSTS(1) is a1 in component X1 (flux). C CONSTS(2) is b1 in component X1 (flux). C CONSTS(3) is A1 in component X1 (dimensionless). C CONSTS(4) is k11 in component X1 (per_nanomolar). C CONSTS(5) is k12 in component X1 (per_nanomolar). C STATES(2) is Y1 in component Y1 (nanomolar). C STATES(3) is Y2 in component Y2 (nanomolar). C CONSTS(6) is beta_1 in component Y1 (flux). C CONSTS(7) is alpha_1 in component Y1 (first_order_rate_constant). C STATES(4) is X2 in component X2 (nanomolar). C CONSTS(8) is a2 in component X2 (flux). C CONSTS(9) is b2 in component X2 (flux). C CONSTS(10) is A2 in component X2 (dimensionless). C CONSTS(11) is k21 in component X2 (per_nanomolar). C CONSTS(12) is k22 in component X2 (per_nanomolar). C CONSTS(13) is beta_2 in component Y2 (flux). C CONSTS(14) is alpha_2 in component Y2 (first_order_rate_constant). C RATES(1) is d/dt X1 in component X1 (nanomolar). C RATES(2) is d/dt Y1 in component Y1 (nanomolar). C RATES(4) is d/dt X2 in component X2 (nanomolar). C RATES(3) is d/dt Y2 in component Y2 (nanomolar). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) STATES(1) = 7 CONSTS(1) = 360 CONSTS(2) = 10 CONSTS(3) = 36 CONSTS(4) = 1 CONSTS(5) = 0 STATES(2) = -10 STATES(3) = -10 CONSTS(6) = 0 CONSTS(7) = 0.5 STATES(4) = 7 CONSTS(8) = 360 CONSTS(9) = 10 CONSTS(10) = 43 CONSTS(11) = 0 CONSTS(12) = 1 CONSTS(13) = 0 CONSTS(14) = 0.6 RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RATES(1) = CONSTS(1)/(CONSTS(3)+ CONSTS(4)*STATES(2)+ CONSTS(5)*STATES(3)) - CONSTS(2) RATES(2) = CONSTS(7)*STATES(1) - CONSTS(6) RATES(4) = CONSTS(8)/(CONSTS(10)+ CONSTS(11)*STATES(2)+ CONSTS(12)*STATES(3)) - CONSTS(9) RATES(3) = CONSTS(14)*STATES(4) - CONSTS(13) RETURN END SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RETURN END