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 29 entries in the algebraic variable array. C There are a total of 15 entries in each of the rate and state variable arrays. C There are a total of 46 entries in the constant variable array. C C C VOI is time in component environment (minute). C CONSTS(1) is k1 in component rate_constants (first_order_rate_constant). C CONSTS(2) is kn1 in component rate_constants (first_order_rate_constant). C CONSTS(3) is k2 in component rate_constants (first_order_rate_constant). C CONSTS(4) is kn2 in component rate_constants (first_order_rate_constant). C CONSTS(5) is k2_ in component rate_constants (first_order_rate_constant). C CONSTS(6) is k3_ in component rate_constants (first_order_rate_constant). C CONSTS(7) is kn3_ in component rate_constants (first_order_rate_constant). C CONSTS(8) is k4 in component rate_constants (first_order_rate_constant). C CONSTS(9) is k5 in component rate_constants (first_order_rate_constant). C CONSTS(10) is k6 in component rate_constants (first_order_rate_constant). C CONSTS(11) is k7 in component rate_constants (first_order_rate_constant). C CONSTS(12) is kn7 in component rate_constants (first_order_rate_constant). C CONSTS(13) is k8 in component rate_constants (first_order_rate_constant). C CONSTS(14) is kn8 in component rate_constants (first_order_rate_constant). C CONSTS(15) is k8_ in component rate_constants (first_order_rate_constant). C CONSTS(16) is k9 in component rate_constants (first_order_rate_constant). C CONSTS(17) is kn9 in component rate_constants (first_order_rate_constant). C CONSTS(18) is k9_ in component rate_constants (first_order_rate_constant). C CONSTS(19) is k10 in component rate_constants (first_order_rate_constant). C CONSTS(20) is k11 in component rate_constants (first_order_rate_constant). C CONSTS(21) is k12 in component rate_constants (first_order_rate_constant). C CONSTS(22) is k13 in component rate_constants (first_order_rate_constant). C CONSTS(23) is k14 in component rate_constants (first_order_rate_constant). C CONSTS(24) is k14_ in component rate_constants (first_order_rate_constant). C CONSTS(25) is k15 in component rate_constants (first_order_rate_constant). C CONSTS(26) is k16 in component rate_constants (first_order_rate_constant). C CONSTS(27) is k17 in component rate_constants (first_order_rate_constant). C CONSTS(28) is k18 in component rate_constants (first_order_rate_constant). C CONSTS(29) is kn18 in component rate_constants (first_order_rate_constant). C CONSTS(30) is k20 in component rate_constants (first_order_rate_constant). C CONSTS(31) is k21 in component rate_constants (first_order_rate_constant). C CONSTS(32) is k22 in component rate_constants (first_order_rate_constant). C CONSTS(33) is k23 in component rate_constants (first_order_rate_constant). C CONSTS(34) is kn23 in component rate_constants (first_order_rate_constant). C CONSTS(35) is kPlk1 in component rate_constants (first_order_rate_constant). C CONSTS(36) is kPlk1_ in component rate_constants (first_order_rate_constant). C CONSTS(37) is kctak1 in component rate_constants (first_order_rate_constant). C CONSTS(38) is kctak1_ in component rate_constants (first_order_rate_constant). C CONSTS(39) is kex in component rate_constants (first_order_rate_constant). C STATES(1) is Chk1P in component Chk1P (dimensionless). C ALGBRC(12) is V_n1 in component V_n1 (first_order_rate_constant). C ALGBRC(8) is V_1 in component V_1 (first_order_rate_constant). C STATES(2) is Rad3 in component Rad3 (dimensionless). C CONSTS(42) is V_4 in component V_4 (first_order_rate_constant). C ALGBRC(2) is V_5 in component V_5 (first_order_rate_constant). C STATES(3) is p53 in component p53 (dimensionless). C CONSTS(43) is V_10 in component V_10 (first_order_rate_constant). C ALGBRC(3) is V_11 in component V_11 (first_order_rate_constant). C STATES(4) is preMPF in component preMPF (dimensionless). C ALGBRC(13) is V_14 in component V_14 (first_order_rate_constant). C ALGBRC(9) is V_n9 in component V_n9 (first_order_rate_constant). C ALGBRC(4) is V_9 in component V_9 (first_order_rate_constant). C STATES(5) is MPF in component MPF (dimensionless). C ALGBRC(27) is V_n23 in component V_n23 (first_order_rate_constant). C ALGBRC(22) is V_23 in component V_23 (first_order_rate_constant). C ALGBRC(14) is V_15 in component V_15 (first_order_rate_constant). C STATES(6) is p21 in component p21 (dimensionless). C CONSTS(44) is V_21 in component V_21 (first_order_rate_constant). C ALGBRC(17) is V_20 in component V_20 (first_order_rate_constant). C ALGBRC(19) is V_22 in component V_22 (first_order_rate_constant). C STATES(7) is p21_MPF in component p21_MPF (dimensionless). C STATES(8) is iCdc25 in component iCdc25 (dimensionless). C ALGBRC(28) is V_n7 in component V_n7 (first_order_rate_constant). C ALGBRC(20) is V_n3_ in component V_n3_ (first_order_rate_constant). C ALGBRC(23) is V_7 in component V_7 (first_order_rate_constant). C ALGBRC(15) is V_2_ in component V_2_ (first_order_rate_constant). C CONSTS(40) is V_in in component V_in (first_order_rate_constant). C STATES(9) is iCdc25Ps216 in component iCdc25Ps216 (dimensionless). C ALGBRC(24) is V_n18 in component V_n18 (first_order_rate_constant). C ALGBRC(21) is V_18 in component V_18 (first_order_rate_constant). C ALGBRC(18) is V_3_ in component V_3_ (first_order_rate_constant). C STATES(10) is iCdc25Ps216_protein1433 in component iCdc25Ps216_protein1433 (dimensionless). C ALGBRC(25) is V_ex in component V_ex (first_order_rate_constant). C STATES(11) is aCdc25 in component aCdc25 (dimensionless). C ALGBRC(10) is V_n2 in component V_n2 (first_order_rate_constant). C ALGBRC(5) is V_2 in component V_2 (first_order_rate_constant). C STATES(12) is aCdc25Ps216 in component aCdc25Ps216 (dimensionless). C STATES(13) is protein1433 in component protein1433 (dimensionless). C ALGBRC(26) is V_6 in component V_6 (first_order_rate_constant). C CONSTS(45) is V_13 in component V_13 (first_order_rate_constant). C ALGBRC(29) is V_12 in component V_12 (first_order_rate_constant). C STATES(14) is Wee1 in component Wee1 (dimensionless). C CONSTS(46) is V_16 in component V_16 (first_order_rate_constant). C ALGBRC(11) is V_n8 in component V_n8 (first_order_rate_constant). C ALGBRC(6) is V_8 in component V_8 (first_order_rate_constant). C STATES(15) is Wee1P in component Wee1P (dimensionless). C ALGBRC(16) is V_17 in component V_17 (first_order_rate_constant). C ALGBRC(7) is aCdc25_T in component aCdc25_T (dimensionless). C ALGBRC(1) is Chk1 in component V_1 (dimensionless). C CONSTS(41) is Chk1_T in component V_1 (dimensionless). C RATES(1) is d/dt Chk1P in component Chk1P (dimensionless). C RATES(2) is d/dt Rad3 in component Rad3 (dimensionless). C RATES(3) is d/dt p53 in component p53 (dimensionless). C RATES(4) is d/dt preMPF in component preMPF (dimensionless). C RATES(5) is d/dt MPF in component MPF (dimensionless). C RATES(6) is d/dt p21 in component p21 (dimensionless). C RATES(7) is d/dt p21_MPF in component p21_MPF (dimensionless). C RATES(8) is d/dt iCdc25 in component iCdc25 (dimensionless). C RATES(9) is d/dt iCdc25Ps216 in component iCdc25Ps216 (dimensionless). C RATES(10) is d/dt iCdc25Ps216_protein1433 in component iCdc25Ps216_protein1433 (dimensionless). C RATES(11) is d/dt aCdc25 in component aCdc25 (dimensionless). C RATES(12) is d/dt aCdc25Ps216 in component aCdc25Ps216 (dimensionless). C RATES(13) is d/dt protein1433 in component protein1433 (dimensionless). C RATES(14) is d/dt Wee1 in component Wee1 (dimensionless). C RATES(15) is d/dt Wee1P in component Wee1P (dimensionless). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) CONSTS(1) = 1 CONSTS(2) = 10 CONSTS(3) = 0.1 CONSTS(4) = 0.01 CONSTS(5) = 0.1 CONSTS(6) = 100 CONSTS(7) = 0 CONSTS(8) = 0 CONSTS(9) = 1 CONSTS(10) = 0.01 CONSTS(11) = 1 CONSTS(12) = 0.01 CONSTS(13) = 0.1 CONSTS(14) = 0.01 CONSTS(15) = 0 CONSTS(16) = 1 CONSTS(17) = 1 CONSTS(18) = 0 CONSTS(19) = 0 CONSTS(20) = 1 CONSTS(21) = 0.1 CONSTS(22) = 1 CONSTS(23) = 0.0005 CONSTS(24) = 1 CONSTS(25) = 0.01 CONSTS(26) = 0.0002 CONSTS(27) = 0.1 CONSTS(28) = 1 CONSTS(29) = 0.01 CONSTS(30) = 0.1 CONSTS(31) = 0.01 CONSTS(32) = 0.1 CONSTS(33) = 0.1 CONSTS(34) = 1 CONSTS(35) = 0 CONSTS(36) = 0 CONSTS(37) = 0 CONSTS(38) = 0 CONSTS(39) = 1 STATES(1) = 0.000001 STATES(2) = 0 STATES(3) = 0 STATES(4) = 0.000001 STATES(5) = 0.00000001 STATES(6) = 0 STATES(7) = 0 STATES(8) = 0.000001 CONSTS(40) = 0.00001 STATES(9) = 0.00002 STATES(10) = 0.03 STATES(11) = 0.000001 STATES(12) = 0 STATES(13) = 2 STATES(14) = 0.001 STATES(15) = 0 CONSTS(41) = 1 CONSTS(42) = CONSTS(8) CONSTS(43) = CONSTS(19) CONSTS(44) = CONSTS(31) CONSTS(45) = CONSTS(22) CONSTS(46) = CONSTS(26) RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) ALGBRC(2) = CONSTS(9)*STATES(2) RATES(2) = CONSTS(42) - ALGBRC(2) ALGBRC(3) = CONSTS(20)*STATES(3) RATES(3) = CONSTS(43) - ALGBRC(3) ALGBRC(11) = CONSTS(14)*STATES(15) ALGBRC(6) = CONSTS(13)*STATES(5)*STATES(14)+ CONSTS(15)*STATES(14) RATES(14) = (CONSTS(46)+ALGBRC(11)) - ALGBRC(6) ALGBRC(12) = CONSTS(2)*STATES(1) ALGBRC(1) = CONSTS(41) - STATES(1) ALGBRC(8) = CONSTS(1)*ALGBRC(1)*STATES(2) RATES(1) = ALGBRC(8) - ALGBRC(12) ALGBRC(13) = (CONSTS(23)/(1.00000+ CONSTS(24)*STATES(3)))*1.00000 ALGBRC(9) = CONSTS(17)*STATES(5)*STATES(14) ALGBRC(4) = CONSTS(16)*(STATES(11)+STATES(12))*STATES(4)+ CONSTS(18)*STATES(4) RATES(4) = (ALGBRC(13)+ALGBRC(9)) - ALGBRC(4) ALGBRC(16) = CONSTS(27)*STATES(15) RATES(15) = ALGBRC(6) - (ALGBRC(11)+ALGBRC(16)) ALGBRC(15) = CONSTS(5)*STATES(1)*STATES(8)+ CONSTS(38)*STATES(8) ALGBRC(24) = CONSTS(29)*STATES(12) ALGBRC(21) = CONSTS(28)*STATES(5)*STATES(9)+ CONSTS(36)*STATES(9) ALGBRC(18) = CONSTS(6)*STATES(9)*STATES(13) RATES(9) = (ALGBRC(15)+ALGBRC(24)) - (ALGBRC(21)+ALGBRC(18)) ALGBRC(20) = CONSTS(7)*STATES(10) ALGBRC(25) = CONSTS(39)*STATES(10) RATES(10) = ALGBRC(18) - (ALGBRC(20)+ALGBRC(25)) ALGBRC(10) = CONSTS(4)*STATES(12) ALGBRC(5) = CONSTS(3)*STATES(1)*STATES(11)+ CONSTS(37)*STATES(11) RATES(12) = (ALGBRC(5)+ALGBRC(21)) - (ALGBRC(10)+ALGBRC(24)) ALGBRC(27) = CONSTS(34)*STATES(7) ALGBRC(22) = CONSTS(33)*STATES(5)*STATES(6) ALGBRC(14) = CONSTS(25)*STATES(5) ** 2.00000 RATES(5) = (ALGBRC(4)+ALGBRC(27)) - (ALGBRC(9)+ALGBRC(22)+ALGBRC(14)) ALGBRC(17) = CONSTS(30)*STATES(3) ALGBRC(19) = CONSTS(32)*STATES(6) RATES(6) = (ALGBRC(17)+CONSTS(44)+ALGBRC(27)) - (ALGBRC(19)+ALGBRC(22)) RATES(7) = ALGBRC(22) - ALGBRC(27) ALGBRC(28) = CONSTS(12)*STATES(11) ALGBRC(23) = CONSTS(11)*STATES(5)*STATES(8)+ CONSTS(35)*STATES(8) RATES(8) = (ALGBRC(28)+ALGBRC(20)+CONSTS(40)) - (ALGBRC(23)+ALGBRC(15)) RATES(11) = (ALGBRC(23)+ALGBRC(10)) - (ALGBRC(28)+ALGBRC(5)) ALGBRC(26) = CONSTS(10)*STATES(3) ALGBRC(29) = CONSTS(21)*STATES(13) RATES(13) = (ALGBRC(26)+CONSTS(45)+ALGBRC(20)) - (ALGBRC(18)+ALGBRC(29)) RETURN END SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) ALGBRC(2) = CONSTS(9)*STATES(2) ALGBRC(3) = CONSTS(20)*STATES(3) ALGBRC(11) = CONSTS(14)*STATES(15) ALGBRC(6) = CONSTS(13)*STATES(5)*STATES(14)+ CONSTS(15)*STATES(14) ALGBRC(12) = CONSTS(2)*STATES(1) ALGBRC(1) = CONSTS(41) - STATES(1) ALGBRC(8) = CONSTS(1)*ALGBRC(1)*STATES(2) ALGBRC(13) = (CONSTS(23)/(1.00000+ CONSTS(24)*STATES(3)))*1.00000 ALGBRC(9) = CONSTS(17)*STATES(5)*STATES(14) ALGBRC(4) = CONSTS(16)*(STATES(11)+STATES(12))*STATES(4)+ CONSTS(18)*STATES(4) ALGBRC(16) = CONSTS(27)*STATES(15) ALGBRC(15) = CONSTS(5)*STATES(1)*STATES(8)+ CONSTS(38)*STATES(8) ALGBRC(24) = CONSTS(29)*STATES(12) ALGBRC(21) = CONSTS(28)*STATES(5)*STATES(9)+ CONSTS(36)*STATES(9) ALGBRC(18) = CONSTS(6)*STATES(9)*STATES(13) ALGBRC(20) = CONSTS(7)*STATES(10) ALGBRC(25) = CONSTS(39)*STATES(10) ALGBRC(10) = CONSTS(4)*STATES(12) ALGBRC(5) = CONSTS(3)*STATES(1)*STATES(11)+ CONSTS(37)*STATES(11) ALGBRC(27) = CONSTS(34)*STATES(7) ALGBRC(22) = CONSTS(33)*STATES(5)*STATES(6) ALGBRC(14) = CONSTS(25)*STATES(5) ** 2.00000 ALGBRC(17) = CONSTS(30)*STATES(3) ALGBRC(19) = CONSTS(32)*STATES(6) ALGBRC(28) = CONSTS(12)*STATES(11) ALGBRC(23) = CONSTS(11)*STATES(5)*STATES(8)+ CONSTS(35)*STATES(8) ALGBRC(26) = CONSTS(10)*STATES(3) ALGBRC(29) = CONSTS(21)*STATES(13) ALGBRC(7) = STATES(11)+STATES(12) RETURN END