diff --git a/docs/src/model_simulation/simulation_structure_interfacing.md b/docs/src/model_simulation/simulation_structure_interfacing.md index 0d557be2f0..4752d9cbbb 100644 --- a/docs/src/model_simulation/simulation_structure_interfacing.md +++ b/docs/src/model_simulation/simulation_structure_interfacing.md @@ -150,7 +150,7 @@ get_S(oprob) ## [Interfacing using symbolic representations](@id simulation_structure_interfacing_symbolic_representation) When e.g. [programmatic modelling is used](@ref programmatic_CRN_construction), species and parameters can be represented as *symbolic variables*. These can be used to index a problem, just like symbol-based representations can. Here we create a simple [two-state model](@ref basic_CRN_library_two_states) programmatically, and use its symbolic variables to check, and update, an initial condition: ```@example structure_indexing_symbolic_variables -using Catalyst +using Catalyst, OrdinaryDiffEq t = default_t() @species X1(t) X2(t) @parameters k1 k2 @@ -183,4 +183,4 @@ oprob[two_state_model.X1 + two_state_model.X2] This can be used to form symbolic expressions using model quantities when a model has been created using the DSL (as an alternative to @unpack). Alternatively, [creating an observable](@ref dsl_advanced_options_observables), and then interface using its `Symbol` representation, is also possible. !!! warn - With interfacing with a simulating structure using symbolic variables stored in a `ReactionSystem` model, ensure that the model is complete. \ No newline at end of file + With interfacing with a simulating structure using symbolic variables stored in a `ReactionSystem` model, ensure that the model is complete.