C C There are a total of 9 entries in the algebraic variable array. C There are a total of 21 entries in each of the rate and state variable arrays. C There are a total of 38 entries in the constant variable array. C C C VOI is time in component environment (minute). C ALGBRC(1) is x1 in component x1 (molar). C STATES(1) is x2 in component x2 (molar). C CONSTS(1) is k1 in component reaction_constants (second_order_rate_constant). C CONSTS(2) is k_minus1 in component reaction_constants (first_order_rate_constant). C CONSTS(23) is k4 in component reaction_constants (first_order_rate_constant). C CONSTS(3) is k_minus4 in component reaction_constants (first_order_rate_constant). C CONSTS(24) is k_minus3 in component reaction_constants (second_order_rate_constant). C STATES(2) is x3 in component x3 (molar). C STATES(3) is x5 in component x5 (molar). C STATES(4) is x6 in component x6 (molar). C ALGBRC(6) is PTP in component reaction_constants (molar). C CONSTS(4) is k3 in component reaction_constants (first_order_rate_constant). C STATES(5) is x4 in component x4 (molar). C CONSTS(25) is k2 in component reaction_constants (second_order_rate_constant). C CONSTS(26) is k_minus2 in component reaction_constants (first_order_rate_constant). C CONSTS(5) is k4b in component reaction_constants (first_order_rate_constant). C CONSTS(6) is k_minus4b in component reaction_constants (first_order_rate_constant). C STATES(6) is x7 in component x7 (molar). C STATES(7) is x8 in component x8 (molar). C ALGBRC(8) is k5 in component reaction_constants (rate). C CONSTS(7) is k_minus5 in component reaction_constants (first_order_rate_constant). C CONSTS(8) is k6 in component reaction_constants (second_order_rate_constant). C STATES(8) is x9 in component x9 (molar). C CONSTS(9) is k7 in component reaction_constants (first_order_rate_constant). C CONSTS(27) is k_minus7 in component reaction_constants (second_order_rate_constant). C CONSTS(28) is k7b in component reaction_constants (first_order_rate_constant). C CONSTS(36) is k_minus7b in component reaction_constants (first_order_rate_constant). C STATES(9) is x10 in component x10 (molar). C STATES(10) is x10a in component x10a (molar). C CONSTS(10) is IRp in component reaction_constants (molar). C ALGBRC(9) is PKC in component reaction_constants (dimensionless). C CONSTS(29) is k8 in component reaction_constants (second_order_rate_constant). C CONSTS(11) is k_minus8 in component reaction_constants (first_order_rate_constant). C STATES(11) is x11 in component x11 (molar). C STATES(12) is x12 in component x12 (molar). C STATES(13) is x13 in component x13 (percentage). C ALGBRC(2) is k9 in component reaction_constants (first_order_rate_constant). C CONSTS(30) is k_minus9 in component reaction_constants (second_order_rate_constant). C CONSTS(31) is k10 in component reaction_constants (first_order_rate_constant). C CONSTS(12) is k_minus10 in component reaction_constants (second_order_rate_constant). C STATES(14) is x14 in component x14 (percentage). C STATES(15) is x15 in component x15 (percentage). C CONSTS(13) is PTEN in component reaction_constants (molar). C CONSTS(14) is SHIP in component reaction_constants (molar). C STATES(16) is x16 in component x16 (percentage). C ALGBRC(3) is k11 in component reaction_constants (first_order_rate_constant). C CONSTS(32) is k_minus11 in component reaction_constants (first_order_rate_constant). C STATES(17) is x17 in component x17 (percentage). C STATES(18) is x18 in component x18 (percentage). C ALGBRC(4) is k12 in component reaction_constants (first_order_rate_constant). C CONSTS(33) is k_minus12 in component reaction_constants (first_order_rate_constant). C STATES(19) is x19 in component x19 (percentage). C STATES(20) is x20 in component x20 (percentage). C CONSTS(34) is k13 in component reaction_constants (first_order_rate_constant). C CONSTS(15) is k_minus13 in component reaction_constants (first_order_rate_constant). C ALGBRC(7) is k13b in component reaction_constants (first_order_rate_constant). C CONSTS(35) is k14 in component reaction_constants (first_order_rate_constant). C CONSTS(16) is k_minus14 in component reaction_constants (first_order_rate_constant). C STATES(21) is x21 in component x21 (percentage). C CONSTS(17) is V_max in component reaction_constants (dimensionless). C CONSTS(18) is K_d in component reaction_constants (dimensionless). C CONSTS(19) is n in component reaction_constants (dimensionless). C CONSTS(20) is tau in component reaction_constants (minute). C CONSTS(37) is k9_basal in component reaction_constants (first_order_rate_constant). C CONSTS(21) is k9_stimulated in component reaction_constants (first_order_rate_constant). C ALGBRC(5) is effect in component reaction_constants (dimensionless). C CONSTS(22) is APequil in component reaction_constants (dimensionless). C CONSTS(38) is PI3K in component reaction_constants (molar). C RATES(1) is d/dt x2 in component x2 (molar). C RATES(2) is d/dt x3 in component x3 (molar). C RATES(5) is d/dt x4 in component x4 (molar). C RATES(3) is d/dt x5 in component x5 (molar). C RATES(4) is d/dt x6 in component x6 (molar). C RATES(6) is d/dt x7 in component x7 (molar). C RATES(7) is d/dt x8 in component x8 (molar). C RATES(8) is d/dt x9 in component x9 (molar). C RATES(9) is d/dt x10 in component x10 (molar). C RATES(10) is d/dt x10a in component x10a (molar). C RATES(11) is d/dt x11 in component x11 (molar). C RATES(12) is d/dt x12 in component x12 (molar). C RATES(13) is d/dt x13 in component x13 (percentage). C RATES(14) is d/dt x14 in component x14 (percentage). C RATES(15) is d/dt x15 in component x15 (percentage). C RATES(16) is d/dt x16 in component x16 (percentage). C RATES(17) is d/dt x17 in component x17 (percentage). C RATES(18) is d/dt x18 in component x18 (percentage). C RATES(19) is d/dt x19 in component x19 (percentage). C RATES(20) is d/dt x20 in component x20 (percentage). C RATES(21) is d/dt x21 in component x21 (percentage). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) STATES(1) = 9e-13 CONSTS(1) = 6e7 CONSTS(2) = 0.2 CONSTS(3) = 0.003 STATES(2) = 0 STATES(3) = 0 STATES(4) = 1e-13 CONSTS(4) = 2500 STATES(5) = 0 CONSTS(5) = 2.1e-3 CONSTS(6) = 2.1e-4 STATES(6) = 0 STATES(7) = 0 CONSTS(7) = 1.67e-18 CONSTS(8) = 0.461 STATES(8) = 1e-12 CONSTS(9) = 4.16 STATES(9) = 0 STATES(10) = 0 CONSTS(10) = 8.97e-13 CONSTS(11) = 10 STATES(11) = 1e-13 STATES(12) = 2.54e-15 STATES(13) = 0.31 CONSTS(12) = 2.77 STATES(14) = 99.4 STATES(15) = 0.29 CONSTS(13) = 1 CONSTS(14) = 1 STATES(16) = 100 STATES(17) = 0 STATES(18) = 100 STATES(19) = 0 STATES(20) = 96 CONSTS(15) = 0.167 CONSTS(16) = 0.001155 STATES(21) = 4 CONSTS(17) = 20 CONSTS(18) = 12 CONSTS(19) = 4 CONSTS(20) = 1.5 CONSTS(21) = 1.39 CONSTS(22) = 9.09 CONSTS(23) = CONSTS(3)/9.00000 CONSTS(24) = CONSTS(2)/1.00000 CONSTS(25) = CONSTS(1) CONSTS(26) = 100.000*CONSTS(2) CONSTS(27) = (2.50000/7.45000)*CONSTS(9) CONSTS(28) = log(2.00000)/2.00000 CONSTS(29) = (( CONSTS(11)*5.00000)/70.7750)*1.00000e+12 CONSTS(30) = (94.0000/3.10000)*CONSTS(21) CONSTS(31) = (3.10000/2.90000)*CONSTS(12) CONSTS(32) = 10.0000*log(2.00000)*1.00000 CONSTS(33) = 10.0000*log(2.00000)*1.00000 CONSTS(34) = (4.00000/96.0000)*CONSTS(15) CONSTS(35) = CONSTS(16)/96.0000 CONSTS(36) = ( (( CONSTS(28)*2.50000)/7.45000)*3.70000e-13)/(6.27000e-13 - (2.50000/7.45000)*3.70000e-13) CONSTS(37) = (0.310000/99.4000)*CONSTS(30) CONSTS(38) = ( CONSTS(29)*3.70000e-13*1.00000e-13)/( CONSTS(29)*3.70000e-13+CONSTS(11)) RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RATES(11) = CONSTS(11)*STATES(12) - CONSTS(29)*STATES(9)*STATES(11) RATES(12) = CONSTS(29)*STATES(9)*STATES(11) - CONSTS(11)*STATES(12) RATES(15) = CONSTS(12)*CONSTS(14)*STATES(13) - CONSTS(31)*STATES(15) ALGBRC(1) = TERNRY(VOI.LT.15.0000, 1.00000e-07, 0.00000) RATES(2) = CONSTS(1)*ALGBRC(1)*STATES(1) - ( CONSTS(2)*STATES(2)+ CONSTS(4)*STATES(2)) RATES(5) = ( CONSTS(25)*ALGBRC(1)*STATES(3)+ CONSTS(6)*STATES(6)) - ( CONSTS(26)*STATES(5)+ CONSTS(5)*STATES(5)) ALGBRC(2) = ( (CONSTS(21) - CONSTS(37))*STATES(12))/CONSTS(38)+CONSTS(37) RATES(13) = ( ALGBRC(2)*STATES(14)+ CONSTS(31)*STATES(15)) - ( CONSTS(30)*CONSTS(13)+ CONSTS(12)*CONSTS(14))*STATES(13) RATES(14) = CONSTS(30)*CONSTS(13)*STATES(13) - ALGBRC(2)*STATES(14) ALGBRC(3) = ( 0.100000*CONSTS(32)*(STATES(13) - 0.310000))/(3.10000 - 0.310000) RATES(16) = CONSTS(32)*STATES(17) - ALGBRC(3)*STATES(16) RATES(17) = ALGBRC(3)*STATES(16) - CONSTS(32)*STATES(17) ALGBRC(4) = ( 0.100000*CONSTS(33)*(STATES(13) - 0.310000))/(3.10000 - 0.310000) RATES(18) = CONSTS(33)*STATES(19) - ALGBRC(4)*STATES(18) RATES(19) = ALGBRC(4)*STATES(18) - CONSTS(33)*STATES(19) ALGBRC(6) = TERNRY(STATES(17).LE.400.000/11.0000.OR.ALGBRC(1).GE.1.00000e-07, 1.00000 - ( 0.250000*STATES(17))/(100.000/11.0000), 0.00000) RATES(1) = ( CONSTS(2)*STATES(2)+ CONSTS(24)*ALGBRC(6)*STATES(3)+ CONSTS(3)*STATES(4)) - ( CONSTS(1)*ALGBRC(1)*STATES(1)+ CONSTS(23)*STATES(1)) RATES(3) = ( CONSTS(4)*STATES(2)+ CONSTS(26)*STATES(5)+ CONSTS(6)*STATES(7)) - ( CONSTS(25)*ALGBRC(1)*STATES(3)+ CONSTS(24)*ALGBRC(6)*STATES(3)+ CONSTS(5)*STATES(3)) RATES(6) = CONSTS(5)*STATES(5) - ( CONSTS(6)*STATES(6)+ CONSTS(8)*ALGBRC(6)*STATES(6)) RATES(7) = CONSTS(5)*STATES(3) - ( CONSTS(6)*STATES(7)+ CONSTS(8)*ALGBRC(6)*STATES(7)) RATES(9) = (( CONSTS(9)*STATES(8)*(STATES(5)+STATES(3)))/CONSTS(10)+ CONSTS(11)*STATES(12)) - ( CONSTS(27)*ALGBRC(6)+ CONSTS(29)*STATES(11))*STATES(9) ALGBRC(5) = ( 0.200000*STATES(17)+ 0.800000*STATES(19))/CONSTS(22) ALGBRC(7) = (40.0000/60.0000 - 4.00000/96.0000)*CONSTS(15)*ALGBRC(5) RATES(20) = ( CONSTS(15)*STATES(21)+CONSTS(35)) - ( (CONSTS(34)+ALGBRC(7))*STATES(20)+ CONSTS(16)*STATES(20)) RATES(21) = - CONSTS(15)*STATES(21)+ (CONSTS(34)+ALGBRC(7))*STATES(20) ALGBRC(8) = TERNRY(STATES(4)+STATES(6)+STATES(7).GT.1.00000e-13, 10.0000*CONSTS(7), 60.0000*CONSTS(7)) RATES(4) = (ALGBRC(8)+ CONSTS(8)*ALGBRC(6)*(STATES(6)+STATES(7))+ CONSTS(23)*STATES(1)) - ( CONSTS(7)*STATES(4)+ CONSTS(3)*STATES(4)) ALGBRC(9) = ( CONSTS(17)*STATES(19) ** CONSTS(19))/(CONSTS(18) ** CONSTS(19)+STATES(19) ** CONSTS(19)) RATES(8) = (( CONSTS(27)*ALGBRC(6)*STATES(9) - ( CONSTS(9)*STATES(8)*(STATES(5)+STATES(3)))/CONSTS(10))+ CONSTS(36)*STATES(10)) - CONSTS(28)*ALGBRC(9)*STATES(8) RATES(10) = CONSTS(28)*ALGBRC(9)*STATES(8) - CONSTS(36)*STATES(10) RETURN END SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) ALGBRC(1) = TERNRY(VOI.LT.15.0000, 1.00000e-07, 0.00000) ALGBRC(2) = ( (CONSTS(21) - CONSTS(37))*STATES(12))/CONSTS(38)+CONSTS(37) ALGBRC(3) = ( 0.100000*CONSTS(32)*(STATES(13) - 0.310000))/(3.10000 - 0.310000) ALGBRC(4) = ( 0.100000*CONSTS(33)*(STATES(13) - 0.310000))/(3.10000 - 0.310000) ALGBRC(6) = TERNRY(STATES(17).LE.400.000/11.0000.OR.ALGBRC(1).GE.1.00000e-07, 1.00000 - ( 0.250000*STATES(17))/(100.000/11.0000), 0.00000) ALGBRC(5) = ( 0.200000*STATES(17)+ 0.800000*STATES(19))/CONSTS(22) ALGBRC(7) = (40.0000/60.0000 - 4.00000/96.0000)*CONSTS(15)*ALGBRC(5) ALGBRC(8) = TERNRY(STATES(4)+STATES(6)+STATES(7).GT.1.00000e-13, 10.0000*CONSTS(7), 60.0000*CONSTS(7)) ALGBRC(9) = ( CONSTS(17)*STATES(19) ** CONSTS(19))/(CONSTS(18) ** CONSTS(19)+STATES(19) ** CONSTS(19)) RETURN END REAL FUNCTION TERNRY(TEST, VALA, VALB) LOGICAL TEST REAL VALA, VALB IF (TEST) THEN TERNRY = VALA ELSE TERNRY = VALB ENDIF RETURN END