-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Non-urgent - Ready] Advanced introduction to Catalyst and its internal #890
base: master
Are you sure you want to change the base?
Conversation
(k1*k2)/k2, X --> 0 | ||
end | ||
reactions(rn)[1].rate | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I had more on symbolic simplifications performed, but looking at examples, it seems that these are never really done (even with structural_simplify
).
!!! warn | ||
When accessing species and parameters that are stored in a system using the above approach it is important to ensure that the model is *complete*. Model completeness is described [here](@ref ref). | ||
|
||
## [Independent variables](@id advanced_intro_to_catalyst_independent_vars) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have a short section on independent variables somewhere (I hadn't really heard of this before MTK started using these), and somewhere here seemed natural. The main purpose of this one is that whenever we mention "independent variable" somewhere, we can link this section, and those who are unfamiliar with the term can read up on what it means.
|
||
Symbolic variables-based representation is strictly superior to symbol-based representation. However, it is generally only used in combination with programmatic modelling (as during DSL-based modelling we never actually declare the symbolic variables, and thus cannot use them directly). To use symbolic variables-based representation in combination with the DSL, the [`@unpack` macro can be used](@ref ref). | ||
|
||
### [System-based symbolic designation](@id advanced_intro_to_catalyst_designations_sys_symb) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new section on how to access content of models got a more extensive description of this.
Again not sure what to call this one.
This is basically a third introduction page. While the two previous ones are more or less parallel (i.e. have the same purpose, but for people who know/do not know Julia), this one is a continuation. It doesn't really go through any core stuff per see, but have two functions: