(* Generated by JWS Online *) (* This is an experimental feature of JWS Online. Please report any mistakes.*) (* Note that the following notable SBML entities or features are not supported in notebook outputyet: *) (* Events *) (* Constraints *) (* Units and UnitDefinitions *) (* AlgebraicRules *) (* conversionFactors *) variables = { G3P[t] }; initialValues = { G3P[0] == 0.0 }; rates = { v\[LetterSpace]1, v\[LetterSpace]2 }; rateEquations = { v\[LetterSpace]1 -> (Vf1*(DHAP*NADH - (NAD*G3P[t])/Keq1))/(K1dhap*(1 + ADP/K1adp + ATP/K1atp + F16BP/K1f16bp)*K1nadh*(1 + NAD/K1nad + NADH/K1nadh)*(1 + DHAP/K1dhap + G3P[t]/K1g3p)), v\[LetterSpace]2 -> (V2*G3P[t])/(K2g3p*(1 + Phi/K2phi)*(1 + G3P[t]/K2g3p)) }; parameters = { ADP -> 2.17, ATP -> 2.37, F16BP -> 6.01, K1adp -> 2.0, K1atp -> 0.73, K1dhap -> 0.54, K1f16bp -> 4.8, K1g3p -> 1.2, K1nad -> 0.93, K1nadh -> 0.023, K2g3p -> 3.5, K2phi -> 1.0, Keq1 -> 10000.0, NAD -> 1.45, NADH -> 1.87, Phi -> 1.0, V2 -> 53.0, Vf1 -> 47.0, DHAP -> 0.59, Gly -> 0.0, default\[LetterSpace]compartment -> 1.0 }; assignments = { }; events = { }; speciesAnnotations = { }; reactionAnnotations = { }; units = { {"time" -> "", "metabolite" -> "", "extent" -> ""} }; (* Time evolution *) odes = { G3P'[t] == 1.0*v\[LetterSpace]1 -1.0*v\[LetterSpace]2 }; timeCourse = NDSolve[Join[odes, initialValues]//.rateEquations//.assignments//.parameters, variables, {t, 0, 100}]; (* Steady-state solution initialized with result of time evolution *) findRootEquations = odes /.D[_[t],t]->0; findRootVariables = Partition[Flatten[{#, #/.timeCourse/.t->100} &/@variables],2]; steadyStateVariables = FindRoot[findRootEquations//.rateEquations//.assignments//.parameters, findRootVariables, MaxIterations->100] fluxes = #//.assignments//.parameters/.steadyStateVariables&/@rateEquations (* Plot the time evolution of the variables *) plotTable=Table[Plot[variables[[i]]/.parameters/.timeCourse,{t,0,100},PlotLegends->variables[[i]],PlotRange->Full],{i,Length[variables]}]