Skip to content

Commit cc20441

Browse files
Update SDEProblemLibrary.jl
1 parent 8db49d1 commit cc20441

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/SDEProblemLibrary/src/SDEProblemLibrary.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ prob_sde_bruss = SDEProblem(bruss_f, bruss_g, [3.0, 2.0], (0.0, 100.0), p,
491491
noise_rate_prototype = zeros(2, 4))
492492

493493
network = @reaction_network begin
494+
@parameters p1=0.01 p2=3.0 p3=3.0 p4=4.5 p5=2.0 p6=15.0 p7=20.0 p8=0.005 p9=0.01 p10=0.05
494495
p1, (X, Y, Z) --> 0
495496
hill(X, p2, 100.0, -4), 0 --> Y
496497
hill(Y, p3, 100.0, -4), 0 --> Z
@@ -501,13 +502,12 @@ network = @reaction_network begin
501502
R * p8, S --> SP
502503
p9, SP + SP --> SP2
503504
p10, SP2 --> 0
504-
end p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
505-
p = (0.01, 3.0, 3.0, 4.5, 2.0, 15.0, 20.0, 0.005, 0.01, 0.05)
505+
end
506506

507507
"""
508508
An oscillatory chemical reaction system
509509
"""
510510
prob_sde_oscilreact = SDEProblem(network, [200.0, 60.0, 120.0, 100.0, 50.0, 50.0, 50.0],
511-
(0.0, 4000.0), p, eval_module = @__MODULE__)
511+
(0.0, 4000.0), eval_module = @__MODULE__)
512512

513513
end # module

0 commit comments

Comments
 (0)