C C There are a total of 2 entries in the algebraic variable array. C There are a total of 9 entries in each of the rate and state variable arrays. C There are a total of 30 entries in the constant variable array. C C C VOI is time in component environment (hour). C CONSTS(30) is F_c_dopa in component gastrointestinal_compartment_L_dopa (dimensionless). C STATES(1) is A_dopa_c in component gastrointestinal_compartment_L_dopa (umole). C CONSTS(1) is ka_c_dopa in component gastrointestinal_compartment_L_dopa (per_hour). C CONSTS(22) is F_G in component gastrointestinal_compartment_L_dopa (dimensionless). C CONSTS(29) is F_H in component gastrointestinal_compartment_L_dopa (dimensionless). C CONSTS(26) is CL_H in component gastrointestinal_compartment_L_dopa (liter_per_hour). C CONSTS(2) is Q in component gastrointestinal_compartment_L_dopa (liter_per_hour). C CONSTS(3) is f_H in component gastrointestinal_compartment_L_dopa (dimensionless). C CONSTS(4) is CL_dopa_0 in component L_dopa_clearance (liter_per_hour). C STATES(2) is C_dopa_c in component body_compartment_L_dopa (uM). C CONSTS(5) is V_dopa in component body_compartment_L_dopa (liter). C ALGBRC(2) is CL_dopa in component L_dopa_clearance (liter_per_hour). C STATES(3) is C_OMD_c in component body_compartment_3_OMD (uM). C CONSTS(6) is CL_OMD_c in component body_compartment_3_OMD (liter_per_hour). C CONSTS(7) is V_OMD_c in component body_compartment_3_OMD (liter). C CONSTS(23) is CL_COMT in component L_dopa_clearance (liter_per_hour). C ALGBRC(1) is CL_AADC in component L_dopa_clearance (liter_per_hour). C CONSTS(24) is CL_AADC0 in component L_dopa_clearance (liter_per_hour). C STATES(4) is C_Ro_central in component central_compartment_Ro (uM). C CONSTS(27) is CL_REST in component L_dopa_clearance (liter_per_hour). C CONSTS(8) is ki in component L_dopa_clearance (uM). C STATES(5) is A_bens in component gastrointestinal_compartment_benserazide (umole). C CONSTS(9) is ka_B in component gastrointestinal_compartment_benserazide (per_hour). C CONSTS(10) is F_B in component gastrointestinal_compartment_benserazide (dimensionless). C STATES(6) is C_bens_central in component central_compartment_benserazide (uM). C CONSTS(11) is V1_B in component central_compartment_benserazide (liter). C CONSTS(12) is CLd_B in component central_compartment_benserazide (liter_per_hour). C STATES(7) is C_bens_peripheral in component peripheral_compartment_benserazide (uM). C CONSTS(25) is CL_bens_total in component benserazide_clearance (liter_per_hour). C CONSTS(13) is V2_B in component peripheral_compartment_benserazide (liter). C CONSTS(28) is CL_Ro in component benserazide_clearance (liter_per_hour). C CONSTS(14) is CL_B in component benserazide_clearance (liter_per_hour). C CONSTS(15) is fm in component benserazide_clearance (dimensionless). C STATES(8) is A_Ro in component gastrointestinal_compartment_Ro (umole). C CONSTS(16) is ka_M in component gastrointestinal_compartment_Ro (per_hour). C CONSTS(17) is F_Ro in component gastrointestinal_compartment_Ro (dimensionless). C CONSTS(18) is V1_M in component central_compartment_Ro (liter). C CONSTS(19) is CLd_M in component central_compartment_Ro (liter_per_hour). C CONSTS(20) is CL_M in component central_compartment_Ro (liter_per_hour). C STATES(9) is C_Ro_peripheral in component peripheral_compartment_Ro (uM). C CONSTS(21) is V2_M in component peripheral_compartment_Ro (liter). C RATES(1) is d/dt A_dopa_c in component gastrointestinal_compartment_L_dopa (umole). C RATES(2) is d/dt C_dopa_c in component body_compartment_L_dopa (uM). C RATES(3) is d/dt C_OMD_c in component body_compartment_3_OMD (uM). C RATES(5) is d/dt A_bens in component gastrointestinal_compartment_benserazide (umole). C RATES(6) is d/dt C_bens_central in component central_compartment_benserazide (uM). C RATES(7) is d/dt C_bens_peripheral in component peripheral_compartment_benserazide (uM). C RATES(8) is d/dt A_Ro in component gastrointestinal_compartment_Ro (umole). C RATES(4) is d/dt C_Ro_central in component central_compartment_Ro (uM). C RATES(9) is d/dt C_Ro_peripheral in component peripheral_compartment_Ro (uM). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) STATES(1) = 101 CONSTS(1) = 1.29 CONSTS(2) = 0.828 CONSTS(3) = 0.13 CONSTS(4) = 0.823 STATES(2) = 0 CONSTS(5) = 0.496 STATES(3) = 0 CONSTS(6) = 0.00895 CONSTS(7) = 0.128 STATES(4) = 0 CONSTS(8) = 0.00246 STATES(5) = 19.51 CONSTS(9) = 0.94 CONSTS(10) = 0.022 STATES(6) = 0 CONSTS(11) = 0.202 CONSTS(12) = 0.072 STATES(7) = 0 CONSTS(13) = 0.127 CONSTS(14) = 1.67 CONSTS(15) = 0.15 STATES(8) = 1.3658 CONSTS(16) = 2.47 CONSTS(17) = 1 CONSTS(18) = 0.0691 CONSTS(19) = 1.06 CONSTS(20) = 4.29 STATES(9) = 0 CONSTS(21) = 3.2 CONSTS(22) = 1.00000 CONSTS(23) = CONSTS(4)*0.100000 CONSTS(24) = CONSTS(4)*0.690000 CONSTS(25) = CONSTS(14)/(1.00000 - CONSTS(15)) CONSTS(26) = CONSTS(3)*CONSTS(4) CONSTS(27) = CONSTS(4)*0.210000 CONSTS(28) = CONSTS(25)*CONSTS(15) CONSTS(29) = 1.00000 - CONSTS(26)/CONSTS(2) CONSTS(30) = CONSTS(29)*CONSTS(22) RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RATES(1) = - CONSTS(1)*STATES(1) RATES(3) = (1.00000/CONSTS(7))*( CONSTS(23)*STATES(2) - CONSTS(6)*STATES(3)) RATES(5) = - CONSTS(9)*STATES(5) RATES(6) = (1.00000/CONSTS(11))*(( CONSTS(9)*STATES(5)*CONSTS(10) - CONSTS(25)*STATES(6))+ CONSTS(12)*(STATES(7) - STATES(6))) RATES(7) = (1.00000/CONSTS(13))*CONSTS(12)*(STATES(6) - STATES(7)) RATES(8) = - CONSTS(16)*STATES(8) RATES(4) = (1.00000/CONSTS(18))*(( CONSTS(16)*STATES(8)*CONSTS(17) - CONSTS(20)*STATES(4))+ CONSTS(28)*STATES(6)+ CONSTS(19)*(STATES(9) - STATES(4))) RATES(9) = (1.00000/CONSTS(21))*CONSTS(19)*(STATES(4) - STATES(9)) ALGBRC(1) = CONSTS(24)/(1.00000+STATES(4)/CONSTS(8)) ALGBRC(2) = ALGBRC(1)+CONSTS(23)+CONSTS(27) RATES(2) = (1.00000/CONSTS(5))*( CONSTS(1)*STATES(1)*CONSTS(30) - ALGBRC(2)*STATES(2)) RETURN END SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) ALGBRC(1) = CONSTS(24)/(1.00000+STATES(4)/CONSTS(8)) ALGBRC(2) = ALGBRC(1)+CONSTS(23)+CONSTS(27) RETURN END