(* 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 = { Phser[t] }; initialValues = { Phser[0] == 0.0 }; rates = { v\[LetterSpace]1, v\[LetterSpace]2, v\[LetterSpace]3 }; rateEquations = { v\[LetterSpace]1 -> V1, v\[LetterSpace]2 -> (CGS*kcat2*Phser[t])/((1 + KmCYS/Cys)*((KmPHSER*(1 + Phi/Ki2))/(1 + KmCYS/Cys) + Phser[t])), v\[LetterSpace]3 -> ((0.42 + 0.04794520547945205*AdoMet^2)*TS*Phser[t])/((1 + AdoMet^2/73)*((250*(1 + 2.*AdoMet)*(1 + Phi/Ki3))/((1 + 0.9174311926605504*AdoMet)*(1 + AdoMet^2/142)) + Phser[t])) }; parameters = { AdoMet -> 20.0, CGS -> 0.7, Ki2 -> 2000.0, Ki3 -> 1000.0, KmCYS -> 460.0, KmPHSER -> 2500.0, TS -> 5.0, V1 -> 1.0, kcat2 -> 30.0, Cys -> 15.0, Cystathionine -> 0.0, Hser -> 0.0, Phi -> 10000.0, Thr -> 0.0, default\[LetterSpace]compartment -> 1.0 }; assignments = { }; events = { }; speciesAnnotations = { Cys[t]->"http://identifiers.org/obo.chebi/CHEBI%3A32460", Cystathionine[t]->"http://identifiers.org/kegg.compound/C00542", Thr[t]->"http://identifiers.org/obo.chebi/CHEBI%3A32835" }; reactionAnnotations = { }; units = { {"time" -> "s", "metabolite" -> "umol/L", "extent" -> "uM"} }; (* Time evolution *) odes = { Phser'[t] == 1.0*v\[LetterSpace]1 -1.0*v\[LetterSpace]2 -1.0*v\[LetterSpace]3 }; 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]}]