(* 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 = { Deg[t], ImpNRLc[t], ImpNRLn[t], Impc[t], Impn[t], NRLcyt[t], NRLnuc[t], RE[t], RENRLnuc[t] }; initialValues = { Deg[0] == 0.0, ImpNRLc[0] == 0.0, ImpNRLn[0] == 0.0, Impc[0] == 0.84, Impn[0] == 0.0, NRLcyt[0] == 0.84, NRLnuc[0] == 0.0, RE[0] == 3.7, RENRLnuc[0] == 0.0 }; rates = { v\[LetterSpace]1, v\[LetterSpace]2, v\[LetterSpace]3, v\[LetterSpace]4, v\[LetterSpace]5, v\[LetterSpace]6 }; rateEquations = { v\[LetterSpace]1 -> k5f*NRLnuc[t]*RE[t] - k5b*RENRLnuc[t], v\[LetterSpace]2 -> -(k4b*ImpNRLn[t]) + k4f*Impn[t]*NRLnuc[t], v\[LetterSpace]3 -> -(k1b*ImpNRLc[t]) + k1f*Impc[t]*NRLcyt[t], v\[LetterSpace]4 -> (Kap3f*Impc[t] - Kap3b*Impn[t])/Vcytosol, v\[LetterSpace]5 -> (Kap2f*ImpNRLc[t] - Kap2b*ImpNRLn[t])/Vcytosol, v\[LetterSpace]6 -> k6*RENRLnuc[t] }; parameters = { EXTERNAL -> 0.0, Kap2b -> 5.4*^-12, Kap2f -> 5.4*^-12, Kap3b -> 5.4*^-12, Kap3f -> 5.4*^-12, Vcytosol -> 1.55*^-12, Vnucleus -> 4.5*^-13, k1b -> 300.0, k1f -> 60.0, k4b -> 300.0, k4f -> 60.0, k5b -> 60.0, k5f -> 60.0, k6 -> 0.1, default\[LetterSpace]compartment -> 1.0 }; assignments = { }; events = { }; speciesAnnotations = { }; reactionAnnotations = { }; units = { {"time" -> "min", "metabolite" -> "nmol/L", "extent" -> "nM"} }; (* Time evolution *) odes = { Deg'[t] == 1.0*v\[LetterSpace]6 , ImpNRLc'[t] == 1.0*v\[LetterSpace]3 -1.0*v\[LetterSpace]5, ImpNRLn'[t] == 1.0*v\[LetterSpace]2 +3.44444444444444*v\[LetterSpace]5 , Impc'[t] == -1.0*v\[LetterSpace]3 -1.0*v\[LetterSpace]4, Impn'[t] == 3.44444444444444*v\[LetterSpace]4 -1.0*v\[LetterSpace]2, NRLcyt'[t] == -1.0*v\[LetterSpace]3, NRLnuc'[t] == -1.0*v\[LetterSpace]1 -1.0*v\[LetterSpace]2, RE'[t] == 1.0*v\[LetterSpace]6 -1.0*v\[LetterSpace]1, RENRLnuc'[t] == 1.0*v\[LetterSpace]1 -1.0*v\[LetterSpace]6 }; 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]}]