Skip to content

Commit 025e07d

Browse files
committed
iv doc update
1 parent d6d767b commit 025e07d

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

docs/src/catalyst_functionality/chemistry_related_functionality.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Next, we create the `CO2` compound species:
1717
```@example chem1
1818
@compound CO2 ~ C + 2O
1919
```
20-
Here, the compound is the first argument to the macro, followed by its component (with the left-hand and right-hand sides separated by a `~` sign). While non-compound species (such as `C` and `O`) have their independent variable (in this case `t`) designated, independent variables as not designated for compounds (but instead directly inferred from their components). Components with non-unitary stoichiometries have this value written before the component (generally, the rules for designating the components of a compound are identical to those of designating the substrates or products of a reaction). The created compound, `CO2`, is a species in every sense, and can be used wherever e.g. `C` can be used:
20+
Here, the compound is the first argument to the macro, followed by its component (with the left-hand and right-hand sides separated by a `~` sign). While non-compound species (such as `C` and `O`) have their independent variable (in this case `t`) designated, independent variables are not designated for compounds (these are instead directly inferred from their components). Components with non-unitary stoichiometries have this value written before the component (generally, the rules for designating the components of a compound are identical to those of designating the substrates or products of a reaction). The created compound, `CO2`, is a species in every sense, and can be used wherever e.g. `C` can be used:
2121
```@example chem1
2222
isspecies(CO2)
2323
```
@@ -37,16 +37,6 @@ Finally, it is possible to check whether a species is a compound or not using th
3737
iscompound(CO2)
3838
```
3939

40-
!!! note
41-
Currently, compounds with components that depend on variables that are not `t` are not supported. E.g.
42-
```julia
43-
@variables x y
44-
@species O(x, y)
45-
@compound O2 ~ 2O
46-
```
47-
will currently throw an error.
48-
49-
5040
Compound components that are also compounds are allowed, e.g. we can create a carbonic acid compound (H₂CO₃) that consists of CO₂ and H₂O:
5141
```@example chem1
5242
@species H(t)

0 commit comments

Comments
 (0)