(* 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 = { A[t], Ap[t], IL10e[t], IL10i[t], IL10m[t], X0[t], X1[t], X2[t], dusp[t], erk[t], erkp[t], p38[t], p38p[t] }; initialValues = { A[0] == 10.0, Ap[0] == 0.0, IL10e[0] == 0.0, IL10i[0] == 0.0, IL10m[0] == 0.0, X0[0] == 10.0, X1[0] == 0.0, X2[0] == 0.0, dusp[0] == 0.0, erk[0] == 2.0, erkp[0] == 0.0, p38[0] == 2.0, p38p[0] == 0.0 }; rates = { v\[LetterSpace]1, v\[LetterSpace]10, v\[LetterSpace]11, v\[LetterSpace]12, v\[LetterSpace]13, v\[LetterSpace]14, v\[LetterSpace]15, v\[LetterSpace]16, v\[LetterSpace]17, 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 -> function3[k, stimulus, erk[t], Ki, dusp[t], h], v\[LetterSpace]10 -> k19*X2[t], v\[LetterSpace]11 -> function5[k10, X2[t]], v\[LetterSpace]12 -> k111*IL10m[t], v\[LetterSpace]13 -> function5[k12, IL10m[t]], v\[LetterSpace]14 -> k113*IL10i[t], v\[LetterSpace]15 -> k114*IL10i[t], v\[LetterSpace]16 -> k115*IL10e[t], v\[LetterSpace]17 -> k116*erkp[t], v\[LetterSpace]2 -> k1*erkp[t], v\[LetterSpace]3 -> function4[k2, stimulus, p38[t]], v\[LetterSpace]4 -> k13*p38p[t], v\[LetterSpace]5 -> function4[k4, p38p[t], A[t]], v\[LetterSpace]6 -> k15*Ap[t], v\[LetterSpace]7 -> function4[k6, erkp[t], X0[t]], v\[LetterSpace]8 -> k17*X1[t], v\[LetterSpace]9 -> k18*Ap[t]*X1[t] }; parameters = { Ki -> 40.8504, h -> 2.14702, k -> 10.9349, k1 -> 0.311361, k10 -> 32.2813, k111 -> 0.699176, k113 -> 0.001, k114 -> 0.0792189, k115 -> 12.0329, k116 -> 0.634692, k12 -> 54.0458, k13 -> 0.00640955, k15 -> 4.12481, k17 -> 31.2592, k18 -> 52.7563, k19 -> 33.1177, k2 -> 1.72266, k4 -> 5.2251, k6 -> 0.0108484, parameter4 -> 0.006389035, parameter5 -> 0.044448794, parameter6 -> 0.001282198, stimulus -> 1.0, extVar -> 0.0, default -> 1.0 }; assignments = { function4[k_,Mvar_,S_] -> k*Mvar*S, function5[k_,Mvar_] -> k*Mvar, function3[k_,Mvar_,S_,Ki_,Ivar_,h_] -> (k*Mvar*S)/(1 + Ivar^h*Ki) }; events = { }; speciesAnnotations = { }; reactionAnnotations = { }; units = { {"time" -> "", "metabolite" -> "", "extent" -> ""} }; (* Time evolution *) odes = { A'[t] == 1.0*v\[LetterSpace]6 -1.0*v\[LetterSpace]5, Ap'[t] == 1.0*v\[LetterSpace]10 +1.0*v\[LetterSpace]5 -1.0*v\[LetterSpace]9 -1.0*v\[LetterSpace]6, IL10e'[t] == 1.0*v\[LetterSpace]15 -1.0*v\[LetterSpace]16, IL10i'[t] == 1.0*v\[LetterSpace]13 -1.0*v\[LetterSpace]14 -1.0*v\[LetterSpace]15, IL10m'[t] == 1.0*v\[LetterSpace]11 -1.0*v\[LetterSpace]12, X0'[t] == 1.0*v\[LetterSpace]8 -1.0*v\[LetterSpace]7, X1'[t] == 1.0*v\[LetterSpace]10 +1.0*v\[LetterSpace]7 -1.0*v\[LetterSpace]9 -1.0*v\[LetterSpace]8, X2'[t] == 1.0*v\[LetterSpace]9 -1.0*v\[LetterSpace]10, dusp'[t] == 1.0*v\[LetterSpace]17 , erk'[t] == 1.0*v\[LetterSpace]2 -1.0*v\[LetterSpace]1, erkp'[t] == 1.0*v\[LetterSpace]1 -1.0*v\[LetterSpace]17 -1.0*v\[LetterSpace]2, p38'[t] == 1.0*v\[LetterSpace]4 -1.0*v\[LetterSpace]3, p38p'[t] == 1.0*v\[LetterSpace]3 -1.0*v\[LetterSpace]4 }; 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]}]