(* 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 = { ACA[t], CAR1[t], ERK2[t], PKA[t], REGA[t], cAMP[t], excAMP[t] }; initialValues = { ACA[0] == 3.39, CAR1[0] == 2.45, ERK2[0] == 1.13, PKA[0] == 2.2, REGA[0] == 1.24, cAMP[0] == 1.38, excAMP[0] == 0.48 }; rates = { v\[LetterSpace]1, v\[LetterSpace]10, v\[LetterSpace]11, v\[LetterSpace]12, v\[LetterSpace]13, v\[LetterSpace]14, v\[LetterSpace]2, v\[LetterSpace]3, v\[LetterSpace]4, v\[LetterSpace]5, v\[LetterSpace]6, v\[LetterSpace]7, v\[LetterSpace]8, v\[LetterSpace]9 }; rateEquations = { v\[LetterSpace]1 -> k1*CAR1[t], v\[LetterSpace]10 -> k10*cAMP[t]*REGA[t], v\[LetterSpace]11 -> k11*ACA[t], v\[LetterSpace]12 -> k12*excAMP[t], v\[LetterSpace]13 -> k13*excAMP[t], v\[LetterSpace]14 -> k14*CAR1[t], v\[LetterSpace]2 -> k2*ACA[t]*PKA[t], v\[LetterSpace]3 -> k3*cAMP[t], v\[LetterSpace]4 -> k4*PKA[t], v\[LetterSpace]5 -> k5*CAR1[t], v\[LetterSpace]6 -> k6*ERK2[t]*PKA[t], v\[LetterSpace]7 -> k7, v\[LetterSpace]8 -> k8*ERK2[t]*REGA[t], v\[LetterSpace]9 -> k9*ACA[t] }; parameters = { k1 -> 2.0, k10 -> 0.8, k11 -> 0.7, k12 -> 4.9, k13 -> 23.0, k14 -> 4.5, k2 -> 0.9, k3 -> 2.5, k4 -> 1.5, k5 -> 0.6, k6 -> 0.8, k7 -> 1.0, k8 -> 1.3, k9 -> 0.3, p -> 1.0, s -> 1.0, default\[LetterSpace]compartment -> 1.0 }; assignments = { }; events = { }; speciesAnnotations = { }; reactionAnnotations = { }; units = { {"time" -> "min", "metabolite" -> "", "extent" -> ""} }; (* Time evolution *) odes = { ACA'[t] == 1.0*v\[LetterSpace]1 -1.0*v\[LetterSpace]2, CAR1'[t] == 1.0*v\[LetterSpace]13 -1.0*v\[LetterSpace]14, ERK2'[t] == 1.0*v\[LetterSpace]5 -1.0*v\[LetterSpace]6, PKA'[t] == 1.0*v\[LetterSpace]3 -1.0*v\[LetterSpace]4, REGA'[t] == 1.0*v\[LetterSpace]7 -1.0*v\[LetterSpace]8, cAMP'[t] == 1.0*v\[LetterSpace]9 -1.0*v\[LetterSpace]10, excAMP'[t] == 1.0*v\[LetterSpace]11 -1.0*v\[LetterSpace]12 }; 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]}]