(* 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 = { x2[t], x3[t] }; initialValues = { x2[0] == 1.0, x3[0] == 0.0 }; rates = { v\[LetterSpace]2 }; rateEquations = { v\[LetterSpace]2 -> (Vm2*(x2[t] - x3[t]/Keq2))/(K2x2*(1 + x2[t]/K2x2 + x3[t]/K2x3)) }; parameters = { K2x2 -> 1.0, K2x3 -> 1.0, Keq2 -> 1.0, Vm2 -> 1.0, default\[LetterSpace]compartment -> 1.0 }; assignments = { }; events = { }; speciesAnnotations = { }; reactionAnnotations = { }; units = { {"time" -> "", "metabolite" -> "", "extent" -> ""} }; (* Time evolution *) odes = { x2'[t] == -1.0*v\[LetterSpace]2, x3'[t] == 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]}]