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 0 entries in the algebraic variable array.
C There are a total of 19 entries in each of the rate and state variable arrays.
C There are a total of 63 entries in the constant variable array.
C
C
C VOI is time in component environment (hour).
C STATES(1) is MP in component MP (nanomolar).
C CONSTS(1) is vsP in component MP (flux).
C CONSTS(2) is vmP in component MP (flux).
C CONSTS(3) is kdmp in component MP (first_order_rate_constant).
C CONSTS(4) is KAP in component MP (nanomolar).
C CONSTS(5) is KmP in component MP (nanomolar).
C CONSTS(6) is n in component model_parameters (dimensionless).
C STATES(2) is BN in component BN (nanomolar).
C STATES(3) is MC in component MC (nanomolar).
C CONSTS(7) is vsC in component MC (flux).
C CONSTS(8) is vmC in component MC (flux).
C CONSTS(9) is kdmc in component MC (first_order_rate_constant).
C CONSTS(10) is KAC in component MC (nanomolar).
C CONSTS(11) is KmC in component MC (nanomolar).
C STATES(4) is MB in component MB (nanomolar).
C CONSTS(12) is vsB in component MB (flux).
C CONSTS(13) is vmB in component MB (flux).
C CONSTS(14) is kdmb in component MB (first_order_rate_constant).
C CONSTS(15) is KIB in component MB (nanomolar).
C CONSTS(16) is KmB in component MB (nanomolar).
C CONSTS(17) is m in component model_parameters (dimensionless).
C STATES(5) is RN in component RN (nanomolar).
C STATES(6) is MR in component MR (nanomolar).
C CONSTS(18) is vsR in component MR (flux).
C CONSTS(19) is vmR in component MR (flux).
C CONSTS(20) is kdmr in component MR (first_order_rate_constant).
C CONSTS(21) is KAR in component MR (nanomolar).
C CONSTS(22) is KmR in component MR (nanomolar).
C CONSTS(23) is h in component model_parameters (dimensionless).
C STATES(7) is PC in component PC (nanomolar).
C CONSTS(24) is ksP in component model_parameters (first_order_rate_constant).
C CONSTS(25) is Kp in component model_parameters (nanomolar).
C CONSTS(26) is Kdp in component model_parameters (nanomolar).
C CONSTS(27) is k3 in component model_parameters (second_order_rate_constant).
C CONSTS(28) is k4 in component model_parameters (first_order_rate_constant).
C CONSTS(29) is kdn in component model_parameters (first_order_rate_constant).
C CONSTS(30) is V1P in component model_parameters (flux).
C CONSTS(31) is V2P in component model_parameters (flux).
C STATES(8) is PCP in component PCP (nanomolar).
C STATES(9) is PCC in component PCC (nanomolar).
C STATES(10) is CC in component CC (nanomolar).
C CONSTS(32) is ksC in component model_parameters (first_order_rate_constant).
C CONSTS(33) is kdnc in component model_parameters (first_order_rate_constant).
C CONSTS(34) is V1C in component model_parameters (flux).
C CONSTS(35) is V2C in component model_parameters (flux).
C STATES(11) is CCP in component CCP (nanomolar).
C STATES(12) is RC in component RC (nanomolar).
C CONSTS(36) is ksR in component model_parameters (first_order_rate_constant).
C CONSTS(37) is Kd in component model_parameters (nanomolar).
C CONSTS(38) is k9 in component model_parameters (first_order_rate_constant).
C CONSTS(39) is k10 in component model_parameters (first_order_rate_constant).
C CONSTS(40) is vdRC in component model_parameters (flux).
C CONSTS(41) is vdPC in component model_parameters (flux).
C CONSTS(42) is vdCC in component model_parameters (flux).
C CONSTS(43) is k1 in component model_parameters (first_order_rate_constant).
C CONSTS(44) is k2 in component model_parameters (first_order_rate_constant).
C CONSTS(45) is V1PC in component model_parameters (flux).
C CONSTS(46) is V2PC in component model_parameters (flux).
C STATES(13) is PCCP in component PCCP (nanomolar).
C STATES(14) is PCN in component PCN (nanomolar).
C CONSTS(47) is k7 in component model_parameters (second_order_rate_constant).
C CONSTS(48) is k8 in component model_parameters (first_order_rate_constant).
C CONSTS(49) is V3PC in component model_parameters (flux).
C CONSTS(50) is V4PC in component model_parameters (flux).
C STATES(15) is PCNP in component PCNP (nanomolar).
C STATES(16) is IN in component IN (nanomolar).
C CONSTS(51) is vdRN in component model_parameters (flux).
C CONSTS(52) is vdPCC in component model_parameters (flux).
C CONSTS(53) is vdPCN in component model_parameters (flux).
C STATES(17) is BC in component BC (nanomolar).
C CONSTS(54) is ksB in component model_parameters (first_order_rate_constant).
C CONSTS(55) is k5 in component model_parameters (first_order_rate_constant).
C CONSTS(56) is k6 in component model_parameters (first_order_rate_constant).
C CONSTS(57) is V1B in component model_parameters (flux).
C CONSTS(58) is V2B in component model_parameters (flux).
C STATES(18) is BCP in component BCP (nanomolar).
C CONSTS(59) is vdBC in component model_parameters (flux).
C CONSTS(60) is V3B in component model_parameters (flux).
C CONSTS(61) is V4B in component model_parameters (flux).
C STATES(19) is BNP in component BNP (nanomolar).
C CONSTS(62) is vdBN in component model_parameters (flux).
C CONSTS(63) is vdIN in component model_parameters (flux).
C RATES(1) is d/dt MP in component MP (nanomolar).
C RATES(3) is d/dt MC in component MC (nanomolar).
C RATES(4) is d/dt MB in component MB (nanomolar).
C RATES(6) is d/dt MR in component MR (nanomolar).
C RATES(7) is d/dt PC in component PC (nanomolar).
C RATES(10) is d/dt CC in component CC (nanomolar).
C RATES(12) is d/dt RC in component RC (nanomolar).
C RATES(8) is d/dt PCP in component PCP (nanomolar).
C RATES(11) is d/dt CCP in component CCP (nanomolar).
C RATES(9) is d/dt PCC in component PCC (nanomolar).
C RATES(14) is d/dt PCN in component PCN (nanomolar).
C RATES(5) is d/dt RN in component RN (nanomolar).
C RATES(13) is d/dt PCCP in component PCCP (nanomolar).
C RATES(15) is d/dt PCNP in component PCNP (nanomolar).
C RATES(17) is d/dt BC in component BC (nanomolar).
C RATES(18) is d/dt BCP in component BCP (nanomolar).
C RATES(2) is d/dt BN in component BN (nanomolar).
C RATES(19) is d/dt BNP in component BNP (nanomolar).
C RATES(16) is d/dt IN in component IN (nanomolar).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      STATES(1) = 0.1
      CONSTS(1) = 2.4
      CONSTS(2) = 2.2
      CONSTS(3) = 0.02
      CONSTS(4) = 0.6
      CONSTS(5) = 0.3
      CONSTS(6) = 2.0
      STATES(2) = 0.1
      STATES(3) = 1.2
      CONSTS(7) = 2.2
      CONSTS(8) = 2.0
      CONSTS(9) = 0.02
      CONSTS(10) = 0.6
      CONSTS(11) = 0.4
      STATES(4) = 9
      CONSTS(12) = 1.8
      CONSTS(13) = 1.3
      CONSTS(14) = 0.02
      CONSTS(15) = 2.2
      CONSTS(16) = 0.4
      CONSTS(17) = 2.0
      STATES(5) = 0.1
      STATES(6) = 1.5
      CONSTS(18) = 1.6
      CONSTS(19) = 1.6
      CONSTS(20) = 0.02
      CONSTS(21) = 0.6
      CONSTS(22) = 0.4
      CONSTS(23) = 2.0
      STATES(7) = 0.1
      CONSTS(24) = 1.2
      CONSTS(25) = 1.006
      CONSTS(26) = 0.1
      CONSTS(27) = 0.8
      CONSTS(28) = 0.4
      CONSTS(29) = 0.02
      CONSTS(30) = 9.6
      CONSTS(31) = 0.6
      STATES(8) = 0.1
      STATES(9) = 0.1
      STATES(10) = 0.1
      CONSTS(32) = 3.2
      CONSTS(33) = 0.02
      CONSTS(34) = 1.2
      CONSTS(35) = 0.2
      STATES(11) = 0.1
      STATES(12) = 0.1
      CONSTS(36) = 1.7
      CONSTS(37) = 0.3
      CONSTS(38) = 0.8
      CONSTS(39) = 0.4
      CONSTS(40) = 4.4
      CONSTS(41) = 3.4
      CONSTS(42) = 1.4
      CONSTS(43) = 0.8
      CONSTS(44) = 0.4
      CONSTS(45) = 2.4
      CONSTS(46) = 0.2
      STATES(13) = 0.1
      STATES(14) = 0.1
      CONSTS(47) = 1.0
      CONSTS(48) = 0.2
      CONSTS(49) = 2.4
      CONSTS(50) = 0.2
      STATES(15) = 0.1
      STATES(16) = 0.1
      CONSTS(51) = 0.8
      CONSTS(52) = 1.4
      CONSTS(53) = 1.4
      STATES(17) = 0.1
      CONSTS(54) = 0.32
      CONSTS(55) = 0.8
      CONSTS(56) = 0.4
      CONSTS(57) = 1.4
      CONSTS(58) = 0.2
      STATES(18) = 0.1
      CONSTS(59) = 3.0
      CONSTS(60) = 1.4
      CONSTS(61) = 0.4
      STATES(19) = 0.1
      CONSTS(62) = 3.0
      CONSTS(63) = 1.6
      RETURN
      END
      SUBROUTINE computeRates(VOI, CONSTS,  RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RATES(1) =  CONSTS(1)*(STATES(2) ** CONSTS(6)/(CONSTS(4) ** CONSTS(6)+STATES(2) ** CONSTS(6))) - ( CONSTS(2)*(STATES(1)/(CONSTS(5)+STATES(1)))+ CONSTS(3)*STATES(1))
      RATES(3) =  CONSTS(7)*(STATES(2) ** CONSTS(6)/(CONSTS(10) ** CONSTS(6)+STATES(2) ** CONSTS(6))) - ( CONSTS(8)*(STATES(3)/(CONSTS(11)+STATES(3)))+ CONSTS(9)*STATES(3))
      RATES(4) =  CONSTS(12)*(CONSTS(15) ** CONSTS(17)/(CONSTS(15) ** CONSTS(17)+STATES(5) ** CONSTS(17))) - ( CONSTS(13)*(STATES(4)/(CONSTS(16)+STATES(4)))+ CONSTS(14)*STATES(4))
      RATES(6) =  CONSTS(18)*(STATES(2) ** CONSTS(23)/(CONSTS(21) ** CONSTS(23)+STATES(2) ** CONSTS(23))) - ( CONSTS(19)*(STATES(6)/(CONSTS(22)+STATES(6)))+ CONSTS(20)*STATES(6))
      RATES(7) = ( CONSTS(24)*STATES(1)+ CONSTS(31)*(STATES(8)/(CONSTS(26)+STATES(8)))+ CONSTS(28)*STATES(9)) - ( CONSTS(30)*(STATES(7)/(CONSTS(25)+STATES(7)))+ CONSTS(27)*STATES(7)*STATES(10)+ CONSTS(29)*STATES(7))
      RATES(10) = ( CONSTS(32)*STATES(3)+ CONSTS(35)*(STATES(11)/(CONSTS(26)+STATES(11)))+ CONSTS(28)*STATES(9)) - ( CONSTS(34)*(STATES(10)/(CONSTS(25)+STATES(10)))+ CONSTS(27)*STATES(7)*STATES(10)+ CONSTS(33)*STATES(10))
      RATES(12) = ( CONSTS(36)*STATES(6)+ CONSTS(39)*STATES(5)) - ( CONSTS(38)*STATES(12)+ CONSTS(40)*(STATES(12)/(CONSTS(37)+STATES(12)))+ CONSTS(29)*STATES(12))
      RATES(8) =  CONSTS(30)*(STATES(7)/(CONSTS(25)+STATES(7))) - ( CONSTS(31)*(STATES(8)/(CONSTS(26)+STATES(8)))+ CONSTS(41)*(STATES(8)/(CONSTS(37)+STATES(8)))+ CONSTS(29)*STATES(8))
      RATES(11) =  CONSTS(34)*(STATES(10)/(CONSTS(25)+STATES(10))) - ( CONSTS(35)*(STATES(11)/(CONSTS(26)+STATES(11)))+ CONSTS(42)*(STATES(11)/(CONSTS(37)+STATES(11)))+ CONSTS(29)*STATES(11))
      RATES(9) = ( CONSTS(46)*(STATES(13)/(CONSTS(26)+STATES(13)))+ CONSTS(27)*STATES(7)*STATES(10)+ CONSTS(44)*STATES(14)) - ( CONSTS(45)*(STATES(9)/(CONSTS(25)+STATES(9)))+ CONSTS(28)*STATES(9)+ CONSTS(43)*STATES(9)+ CONSTS(29)*STATES(9))
      RATES(14) = ( CONSTS(50)*(STATES(15)/(CONSTS(26)+STATES(15)))+ CONSTS(43)*STATES(9)+ CONSTS(48)*STATES(16)) - ( CONSTS(49)*(STATES(14)/(CONSTS(25)+STATES(14)))+ CONSTS(44)*STATES(14)+ CONSTS(47)*STATES(2)*STATES(14)+ CONSTS(29)*STATES(14))
      RATES(5) =  CONSTS(38)*STATES(12) - ( CONSTS(39)*STATES(5)+ CONSTS(51)*(STATES(5)/(CONSTS(37)+STATES(5)))+ CONSTS(29)*STATES(5))
      RATES(13) =  CONSTS(45)*(STATES(9)/(CONSTS(25)+STATES(9))) - ( CONSTS(46)*(STATES(13)/(CONSTS(26)+STATES(13)))+ CONSTS(52)*(STATES(13)/(CONSTS(37)+STATES(13)))+ CONSTS(29)*STATES(13))
      RATES(15) =  CONSTS(49)*(STATES(14)/(CONSTS(25)+STATES(14))) - ( CONSTS(50)*(STATES(15)/(CONSTS(26)+STATES(15)))+ CONSTS(53)*(STATES(15)/(CONSTS(37)+STATES(15)))+ CONSTS(29)*STATES(15))
      RATES(17) = ( CONSTS(58)*(STATES(18)/(CONSTS(26)+STATES(18)))+ CONSTS(56)*STATES(2)+ CONSTS(54)*STATES(4)) - ( CONSTS(57)*(STATES(17)/(CONSTS(25)+STATES(17)))+ CONSTS(55)*STATES(17)+ CONSTS(29)*STATES(17))
      RATES(18) =  CONSTS(57)*(STATES(17)/(CONSTS(25)+STATES(17))) - ( CONSTS(58)*(STATES(18)/(CONSTS(26)+STATES(18)))+ CONSTS(59)*(STATES(18)/(CONSTS(37)+STATES(18)))+ CONSTS(29)*STATES(18))
      RATES(2) = ( CONSTS(61)*(STATES(19)/(CONSTS(26)+STATES(19)))+ CONSTS(55)*STATES(17)+ CONSTS(48)*STATES(16)) - ( CONSTS(60)*(STATES(2)/(CONSTS(25)+STATES(2)))+ CONSTS(56)*STATES(2)+ CONSTS(47)*STATES(2)*STATES(14)+ CONSTS(29)*STATES(2))
      RATES(19) =  CONSTS(60)*(STATES(2)/(CONSTS(25)+STATES(2))) - ( CONSTS(61)*(STATES(19)/(CONSTS(26)+STATES(19)))+ CONSTS(62)*(STATES(19)/(CONSTS(37)+STATES(19)))+ CONSTS(29)*STATES(19))
      RATES(16) =  CONSTS(47)*STATES(2)*STATES(14) - ( CONSTS(48)*STATES(16)+ CONSTS(63)*(STATES(16)/(CONSTS(37)+STATES(16)))+ CONSTS(29)*STATES(16))
      RETURN
      END
      SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RETURN
      END