Skip to content

Commit a6e1742

Browse files
TorkelEisaacsas
andauthored
Update docs/src/catalyst_functionality/chemistry_related_functionality.md
Co-authored-by: Sam Isaacson <[email protected]>
1 parent 8772169 commit a6e1742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/catalyst_functionality/chemistry_related_functionality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ If both default values and meta data are provided, the metadata is provided afte
9595
In all of these cases, the side to the left of the `~` must be enclosed within `()`.
9696

9797
## Balancing chemical reactions
98-
One use of defining a species as a compound is that they can be used to balance reactions to that the number of components are the same on both sides. Catalyst provides the `balance_reaction` function, which takes a reaction, and returns a balanced version. E.g. let us consider a reaction when carbon dioxide is formed from carbon and oxide `C + O --> CO2`. Here, `balance_reaction` enables us to find coefficients creating a balanced reaction (in this case, where the number of carbon and oxygen atoms are the same on both sides). To demonstrate, we first created the unbalanced reactions:
98+
One use of defining a species as a compound is that they can be used to balance reactions so that the number of components are the same on both sides. Catalyst provides the `balance_reaction` function, which takes a reaction, and returns a balanced version. E.g. let us consider a reaction when carbon dioxide is formed from carbon and oxide `C + O --> CO2`. Here, `balance_reaction` enables us to find coefficients creating a balanced reaction (in this case, where the number of carbon and oxygen atoms are the same on both sides). To demonstrate, we first created the unbalanced reactions:
9999
```@example chem1
100100
rx = @reaction k, C + O --> $CO2
101101
```

0 commit comments

Comments
 (0)