C C There are a total of 0 entries in the algebraic variable array. C There are a total of 7 entries in each of the rate and state variable arrays. C There are a total of 10 entries in the constant variable array. C C C VOI is time in component environment (minute). C STATES(1) is Ca_cyt in component Ca_cyt (micromolar). C STATES(2) is J_ERch in component J_ERch (micromolar). C STATES(3) is J_ERpump in component J_ERpump (micromolar). C STATES(4) is J_ERleak in component J_ERleak (micromolar). C STATES(5) is J_in in component J_in (micromolar). C STATES(6) is J_out in component J_out (micromolar). C STATES(7) is Ca_ER in component Ca_ER (micromolar). C CONSTS(1) is beta in component J_ERch (dimensionless). C CONSTS(2) is k_0ch in component J_ERch (micromolar_per_minute). C CONSTS(3) is K_chcyt in component J_ERch (micromolar). C CONSTS(4) is K_chER in component J_ERch (micromolar). C CONSTS(5) is K_ERpump in component J_ERpump (micromolar). C CONSTS(6) is K_pump in component J_ERpump (micromolar). C CONSTS(7) is K_ERleak in component J_ERleak (per_minute). C CONSTS(8) is K_0in in component J_in (micromolar_per_minute). C CONSTS(9) is K_out in component J_out (per_minute). C RATES(1) is d/dt Ca_cyt in component Ca_cyt (micromolar). C RATES(7) is d/dt Ca_ER in component Ca_ER (micromolar). C RATES(2) is d/dt J_ERch in component J_ERch (micromolar). C RATES(3) is d/dt J_ERpump in component J_ERpump (micromolar). C RATES(4) is d/dt J_ERleak in component J_ERleak (micromolar). C RATES(5) is d/dt J_in in component J_in (micromolar). C RATES(6) is d/dt J_out in component J_out (micromolar). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) STATES(1) = 0.01 STATES(2) = 0.1 STATES(3) = 0.1 STATES(4) = 0.1 STATES(5) = 0.1 STATES(6) = 0.1 STATES(7) = 20 CONSTS(1) = 1.7 CONSTS(2) = 325 CONSTS(3) = 0.45 CONSTS(4) = 1 CONSTS(5) = 25 CONSTS(6) = 0.5 CONSTS(7) = 1 CONSTS(8) = 1.7 CONSTS(9) = 10 CONSTS(9) = CONSTS(8)*1.00000 RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RATES(5) = CONSTS(9) RATES(1) = (((STATES(2) - STATES(3))+STATES(4)+STATES(5)) - STATES(6))*1.00000 RATES(7) = ((STATES(3) - STATES(4)) - STATES(2))*1.00000 RATES(2) = CONSTS(1)*CONSTS(2)*( (STATES(1) ** 4.00000/(CONSTS(3) ** 4.00000+STATES(1) ** 4.00000))*(STATES(7) ** 2.00000/(CONSTS(4) ** 2.00000+STATES(7) ** 2.00000)))*1.00000 RATES(3) = CONSTS(5)*(STATES(1) ** 2.00000/(CONSTS(6) ** 2.00000+STATES(1) ** 2.00000)) RATES(4) = (( CONSTS(7)*STATES(7))/1.00000)*1.00000 RATES(6) = (( CONSTS(9)*STATES(1))/1.00000)*1.00000 RETURN END SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RETURN END