Conversation
TorkelE
commented
Feb 7, 2026
| # solve as ODEs | ||
| odesys = ode_model(rs) | ||
| odesys = complete(odesys) | ||
| oprob = ODEProblem(odesys, u₀map, tspan, parammap) |
Member
Author
There was a problem hiding this comment.
Going through odesys here didn't feel necessary in the context of the FAW, so dropped it so that we don't have to change syntax
TorkelE
commented
Feb 7, 2026
| - [`continuous_events`](@ref events): Allows the creation of continuous events. | ||
| - [`discrete_events`](@ref events): Allows the creation of discrete events. | ||
| - `brownians`: Allows the creation of brownian processes that can be used to add noise to non-species variables. | ||
| - `poissonians`: Allows the creation of poissonian processes that can be used to add jump events to non-species variables. |
Member
Author
There was a problem hiding this comment.
need to remember to add links here once appropriate docs are up. Might be able to at least write a small section on each taht we can expand later on.
TorkelE
commented
Feb 7, 2026
| can call: | ||
|
|
||
| * `ModelingToolkitBase.unknowns(rn)` returns all species *and variables* across the | ||
| system, *all sub-systems*, and all constraint systems. Species are ordered |
Member
Author
There was a problem hiding this comment.
We no longer have these, right?
Member
There was a problem hiding this comment.
Yes, no constraint systems since ReactionSystem can be anything now.
TorkelE
commented
Feb 7, 2026
| It is possible to turn off all inference (requiring all symbols to be declared using `@parameters`, `@species`, `@variables`, or some other option) through the [`@require_declaration` option](@ref faq_require_declaration). | ||
|
|
||
| ## [How can I turn off automatic inferring of species and parameters when using the DSL?](@id faq_require_declaration) | ||
| This option can be set using the `@require_declaration` option inside `@reaction_network`. In this case all the species, parameters, and variables in the system must be pre-declared using one of the `@species`, `@parameters`, or `@variables` macros. For more information about what is inferred automatically and not, please see the section on [`@require_declaration`](@ref dsl_advanced_options_require_dec). |
Member
Author
There was a problem hiding this comment.
The FAW file has on section on conservation laws, but it is to late in the eveningfor me wanting to have a look at that.
isaacsas
approved these changes
Feb 8, 2026
isaacsas
approved these changes
Feb 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.