NADPH production
NADP > NADPH
PGA consumption
PGA > RuBP
PGA production - v_c
RuBP + CO2 + {2.0}NADPH > {2.0}PGA
PGA production - v_o
RuBP + O2 + {2.0}NADPH > {1.5}PGA
phi = 0.21 * (O2 / Ko) / (CO2 / Kc)
Vomax = 0.21 * Vcmax
NADP = Nt - NADPH
Vc = Vcmax * CO2 / ((1.0 + O2 / Ko) * Kc + CO2)
Vj = J / 4.0 * CO2 / (CO2 + 2.0 * Gamma)
J = alpha * Q / (10.0 - 9.0 * teta) / (65.0 * 0.5)
oxygenation(phi, Vc, Vj) = phi * (Vc + Vj - abs(Vc - Vj)) / 2
carboxylation(Vc, Vj) = (Vc + Vj - abs(Vc - Vj)) / 2
NADPH_production(j, S1, Nt) = j / 2 * (S1 / Nt)
PGA_consumption(S1, Rp, R, Nt, Vc) = S1 / Rp * (R / Nt) * Vc
Note that constraints are not enforced in simulations. It remains the responsibility of the user to verify that simulation results satisfy these constraints.