Skip to content

Commit f6e42c5

Browse files
committed
add cross-coupling example
1 parent c194ed6 commit f6e42c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/src/catalyst_functionality/example_networks/basic_CRN_library.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ jplt3 = plot(jsol3; title = "No outbreak")
154154
plot(jplt1, jplt2, jplt3; lw = 3, size=(800,700), layout = (3,1))
155155
```
156156

157-
## [Chemical cross coupling](@id basic_CRN_library_cc)
158-
In chemistry, [cross-coupling](https://en.wikipedia.org/wiki/Cross-coupling_reaction) is when a catalyst combines two substrates to form a product. In this example, the catalyst ($C$) first binds one substrate ($S₁$) to form an intermediary complex ($S₁Cat$). Next, the complex binds the second substrate ($S₂$) to form another complex ($CP$). Finally, the catalyst releases the now-formed product ($P$). This system is an extended version of the M[Michaelis-Menten system presented earlier](@ref basic_CRN_library_mm).
157+
## [Chemical cross-coupling](@id basic_CRN_library_cc)
158+
In chemistry, [cross-coupling](https://en.wikipedia.org/wiki/Cross-coupling_reaction) is when a catalyst combines two substrates to form a product. In this example, the catalyst ($C$) first binds one substrate ($S₁$) to form an intermediary complex ($S₁C$). Next, the complex binds the second substrate ($S₂$) to form another complex ($CP$). Finally, the catalyst releases the now-formed product ($P$). This system is an extended version of the[Michaelis-Menten system presented earlier](@ref basic_CRN_library_mm).
159159
```@example crn_library_cc
160160
using Catalyst
161161
cc_system = @reaction_network begin
@@ -164,16 +164,16 @@ cc_system = @reaction_network begin
164164
k₃, CP --> C + P
165165
end
166166
```
167-
Below, we perform a simple deterministic ODE simulation of teh system. Next, we plot both:
168-
- The concentration of the catalyst and the intermediaries.
167+
Below, we perform a simple deterministic ODE simulation of the system. Next, we plot both:
169168
- The concentration of the substrates and the product.
169+
- The concentration of the catalyst and the intermediaries.
170170

171171
In two separate plots.
172172
```@example crn_library_cc
173173
using OrdinaryDiffEq, Plots
174174
u0 = [:S₁ => 1.0, :C => 0.05, :S₂ => 1.2, :S₁C => 0.0, :CP => 0.0, :P => 0.0]
175175
tspan = (0., 15.)
176-
ps = [:k₁ => 10.0, :k₂ => 5.0, :k₃ => 100.0]
176+
ps = [:k₁ => 5.0, :k₂ => 5.0, :k₃ => 100.0]
177177
178178
# solve ODEs
179179
oprob = ODEProblem(cc_system, u0, tspan, ps)

0 commit comments

Comments
 (0)