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 1 entries in the algebraic variable array.
C There are a total of 14 entries in each of the rate and state variable arrays.
C There are a total of 20 entries in the constant variable array.
C
C
C VOI is time in component environment (second).
C STATES(1) is Fe3 in component Fe3 (micromolar).
C CONSTS(1) is Arg in component model_constants (micromolar).
C STATES(2) is Fe3_Arg in component Fe3_Arg (micromolar).
C STATES(3) is Fe3_NO in component Fe3_NO (micromolar).
C STATES(4) is Fe2_NO in component Fe2_NO (micromolar).
C CONSTS(2) is O2 in component model_constants (micromolar).
C CONSTS(3) is k1 in component model_constants (second_order_rate_constant).
C CONSTS(4) is k_1 in component model_constants (first_order_rate_constant).
C CONSTS(5) is k2 in component model_constants (first_order_rate_constant).
C CONSTS(6) is k13 in component model_constants (first_order_rate_constant).
C CONSTS(7) is k12 in component model_constants (second_order_rate_constant).
C CONSTS(8) is k3 in component model_constants (first_order_rate_constant).
C STATES(5) is Fe2 in component Fe2 (micromolar).
C STATES(6) is Fe2_Arg in component Fe2_Arg (micromolar).
C CONSTS(9) is k_4 in component model_constants (first_order_rate_constant).
C CONSTS(10) is k4 in component model_constants (second_order_rate_constant).
C STATES(7) is Fe3_O2_Arg in component Fe3_O2_Arg (micromolar).
C CONSTS(11) is k5 in component model_constants (second_order_rate_constant).
C CONSTS(12) is k_5 in component model_constants (first_order_rate_constant).
C CONSTS(13) is k6 in component model_constants (first_order_rate_constant).
C STATES(8) is Fe3_NOHA in component Fe3_NOHA (micromolar).
C CONSTS(14) is k7 in component model_constants (first_order_rate_constant).
C STATES(9) is Fe2_NOHA in component Fe2_NOHA (micromolar).
C STATES(10) is NOHA in component NOHA (micromolar).
C STATES(11) is Fe3_O2_NOHA in component Fe3_O2_NOHA (micromolar).
C CONSTS(15) is k9 in component model_constants (second_order_rate_constant).
C CONSTS(16) is k_9 in component model_constants (first_order_rate_constant).
C CONSTS(17) is k_8 in component model_constants (first_order_rate_constant).
C CONSTS(18) is k8 in component model_constants (second_order_rate_constant).
C CONSTS(19) is k10 in component model_constants (first_order_rate_constant).
C CONSTS(20) is k11 in component model_constants (first_order_rate_constant).
C STATES(12) is NO in component NO (micromolar).
C ALGBRC(1) is dNOdt in component NO (micromolar_per_second).
C STATES(13) is citrulline in component citrulline (micromolar).
C STATES(14) is NO3 in component NO3 (micromolar).
C RATES(1) is d/dt Fe3 in component Fe3 (micromolar).
C RATES(2) is d/dt Fe3_Arg in component Fe3_Arg (micromolar).
C RATES(5) is d/dt Fe2 in component Fe2 (micromolar).
C RATES(6) is d/dt Fe2_Arg in component Fe2_Arg (micromolar).
C RATES(7) is d/dt Fe3_O2_Arg in component Fe3_O2_Arg (micromolar).
C RATES(8) is d/dt Fe3_NOHA in component Fe3_NOHA (micromolar).
C RATES(9) is d/dt Fe2_NOHA in component Fe2_NOHA (micromolar).
C RATES(11) is d/dt Fe3_O2_NOHA in component Fe3_O2_NOHA (micromolar).
C RATES(3) is d/dt Fe3_NO in component Fe3_NO (micromolar).
C RATES(4) is d/dt Fe2_NO in component Fe2_NO (micromolar).
C RATES(12) is d/dt NO in component NO (micromolar).
C RATES(13) is d/dt citrulline in component citrulline (micromolar).
C RATES(14) is d/dt NO3 in component NO3 (micromolar).
C RATES(10) is d/dt NOHA in component NOHA (micromolar).
C
SUBROUTINE initConsts(CONSTS, RATES, STATES)
REAL CONSTS(*), RATES(*), STATES(*)
STATES(1) = 0.6
CONSTS(1) = 100.0
STATES(2) = 0.0
STATES(3) = 0.0
STATES(4) = 0.0
CONSTS(2) = 100.0
CONSTS(3) = 6.6
CONSTS(4) = 6.6
CONSTS(5) = 20.8
CONSTS(6) = 39.9
CONSTS(7) = 0.01
CONSTS(8) = 20.8
STATES(5) = 0.0
STATES(6) = 0.0
CONSTS(9) = 6.6
CONSTS(10) = 6.6
STATES(7) = 0.0
CONSTS(11) = 8.5
CONSTS(12) = 215.6
CONSTS(13) = 175.6
STATES(8) = 0.0
CONSTS(14) = 20.8
STATES(9) = 0.0
STATES(10) = 0.0
STATES(11) = 0.0
CONSTS(15) = 8.6
CONSTS(16) = 399.2
CONSTS(17) = 13.2
CONSTS(18) = 13.2
CONSTS(19) = 39.1
CONSTS(20) = 20.8
STATES(12) = 0.0
STATES(13) = 0.0
STATES(14) = 0.0
RETURN
END
SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC)
REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
RATES(12) = CONSTS(6)*STATES(3)
RATES(1) = ( CONSTS(4)*STATES(2)+ CONSTS(6)*STATES(3)+ CONSTS(7)*STATES(4)*CONSTS(2)) - ( CONSTS(3)*CONSTS(1)*STATES(1)+ CONSTS(5)*STATES(1))
RATES(2) = CONSTS(3)*STATES(1)*CONSTS(1) - ( CONSTS(4)*STATES(2)+ CONSTS(8)*STATES(2))
RATES(5) = ( CONSTS(5)*STATES(1)+ CONSTS(9)*STATES(6)) - CONSTS(10)*STATES(5)*CONSTS(1)
RATES(6) = ( CONSTS(8)*STATES(2)+ CONSTS(12)*STATES(7)+ CONSTS(10)*STATES(5)*CONSTS(1)) - ( CONSTS(11)*STATES(6)*CONSTS(2)+ CONSTS(9)*STATES(6))
RATES(7) = CONSTS(11)*STATES(6)*CONSTS(2) - ( CONSTS(13)*STATES(7)+ CONSTS(12)*STATES(7))
RATES(8) = CONSTS(13)*STATES(7) - CONSTS(14)*STATES(8)
RATES(9) = ( CONSTS(14)*STATES(8)+ CONSTS(16)*STATES(11)+ CONSTS(18)*STATES(5)*STATES(10)) - ( CONSTS(17)*STATES(9)+ CONSTS(15)*STATES(9)*CONSTS(2))
RATES(11) = CONSTS(15)*STATES(9)*CONSTS(2) - ( CONSTS(19)*STATES(11)+ CONSTS(16)*STATES(11))
RATES(3) = CONSTS(19)*STATES(11) - ( CONSTS(6)*STATES(3)+ CONSTS(20)*STATES(3))
RATES(4) = CONSTS(20)*STATES(3) - CONSTS(7)*STATES(4)*CONSTS(2)
RATES(13) = CONSTS(19)*STATES(11)
RATES(14) = CONSTS(7)*STATES(4)*CONSTS(2)
RATES(10) = CONSTS(17)*STATES(9) - CONSTS(18)*STATES(5)*STATES(10)
RETURN
END
SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC)
REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
ALGBRC(1) = RATES(12)
RETURN
END
