Skip to content

Commit 073e800

Browse files
Merge pull request #2091 from ArnoStrouwen/links
strict links
2 parents 34b59c7 + 0780e81 commit 073e800

File tree

9 files changed

+26
-23
lines changed

9 files changed

+26
-23
lines changed

docs/make.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ mathengine = MathJax3(Dict(:loader => Dict("load" => ["[tex]/require", "[tex]/ma
2222
makedocs(sitename = "ModelingToolkit.jl",
2323
authors = "Chris Rackauckas",
2424
modules = [ModelingToolkit],
25-
clean = true, doctest = false,
25+
clean = true, doctest = false, linkcheck = true,
26+
linkcheck_ignore = ["https://epubs.siam.org/doi/10.1137/0903023"],
2627
strict = [
2728
:doctest,
2829
:linkcheck,

docs/src/basics/Linearization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Input derivatives appeared in expressions (-g_z\g_u != 0)
5959

6060
This means that to simulate this system, some order of derivatives of the input is required. To allow `linearize` to proceed in this situation, one may pass the keyword argument `allow_input_derivatives = true`, in which case the resulting model will have twice as many inputs, ``2n_u``, where the last ``n_u`` inputs correspond to ``\dot u``.
6161

62-
If the modeled system is actually proper (but MTK failed to find a proper realization), further numerical simplification can be applied to the resulting statespace system to obtain a proper form. Such simplification is currently available in the experimental package [ControlSystemsMTK](https://github.com/baggepinnen/ControlSystemsMTK.jl#internals-transformation-of-non-proper-models-to-proper-statespace-form).
62+
If the modeled system is actually proper (but MTK failed to find a proper realization), further numerical simplification can be applied to the resulting statespace system to obtain a proper form. Such simplification is currently available in the package [ControlSystemsMTK](https://juliacontrol.github.io/ControlSystemsMTK.jl/dev/#Internals:-Transformation-of-non-proper-models-to-proper-statespace-form).
6363

6464
## Tools for linear analysis
6565

docs/src/examples/modelingtoolkitize_index_reduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ But that's not a satisfying answer, so what do you do about it?
115115

116116
It turns out that higher order DAEs can be transformed into lower order DAEs.
117117
[If you differentiate the last equation two times and perform a substitution,
118-
you can arrive at the following set of equations](https://courses.seas.harvard.edu/courses/am205/g_act/dae_notes.pdf):
118+
you can arrive at the following set of equations](https://people.math.wisc.edu/%7Echr/am205/g_act/DAE_slides.pdf):
119119

120120
```math
121121
\begin{aligned}

docs/src/examples/perturbation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Prelims
44

5-
In the previous tutorial, [Mixed Symbolic-Numeric Perturbation Theory](https://symbolics.juliasymbolics.org/stable/examples/perturbation), we discussed how to solve algebraic equations using **Symbolics.jl**. Here, our goal is to extend the method to differential equations. First, we import the following helper functions that were introduced in [Mixed Symbolic/Numerical Methods for Perturbation Theory - Algebraic Equations](@ref perturb_alg):
5+
In the previous tutorial, [Mixed Symbolic-Numeric Perturbation Theory](https://symbolics.juliasymbolics.org/stable/examples/perturbation/), we discussed how to solve algebraic equations using **Symbolics.jl**. Here, our goal is to extend the method to differential equations. First, we import the following helper functions that were introduced in [Mixed Symbolic/Numerical Methods for Perturbation Theory - Algebraic Equations](@ref perturb_alg):
66

77
```julia
88
using Symbolics, SymbolicUtils

docs/src/tutorials/acausal_components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ At the top, we start with defining the fundamental qualities of an electric
113113
circuit component. At every input and output pin, a circuit component has
114114
two values: the current at the pin and the voltage. Thus we define the `Pin`
115115
component (connector) to simply be the values there. Whenever two `Pin`s in a
116-
circuit are connected together, the system satisfies [Kirchhoff's laws](https: //en.wikipedia.org/wiki/Kirchhoff%27s_circuit_laws),
116+
circuit are connected together, the system satisfies [Kirchhoff's laws](https://en.wikipedia.org/wiki/Kirchhoff%27s_circuit_laws),
117117
i.e. that currents sum to zero and voltages across the pins are equal.
118118
`[connect = Flow]` informs MTK that currents ought to sum to zero, and by
119119
default, variables are equal in a connection.

docs/src/tutorials/parameter_identifiability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,6 @@ global_id = assess_identifiability(ode, measured_quantities = measured_quantitie
144144
Both parameters `b, c` are globally identifiable with probability `0.9` in this case.
145145

146146
[^1]: > R. Munoz-Tamayo, L. Puillet, J.B. Daniel, D. Sauvant, O. Martin, M. Taghipoor, P. Blavy [*Review: To be or not to be an identifiable model. Is this a relevant question in animal science modelling?*](https://doi.org/10.1017/S1751731117002774), Animal, Vol 12 (4), 701-712, 2018. The model is the ODE system (3) in Supplementary Material 2, initial conditions are assumed to be unknown.
147-
[^2]: > Moate P.J., Boston R.C., Jenkins T.C. and Lean I.J., [*Kinetics of Ruminal Lipolysis of Triacylglycerol and Biohydrogenationof Long-Chain Fatty Acids: New Insights from Old Data*](doi:10.3168/jds.2007-0398), Journal of Dairy Science 91, 731–742, 2008
147+
[^2]: > Moate P.J., Boston R.C., Jenkins T.C. and Lean I.J., [*Kinetics of Ruminal Lipolysis of Triacylglycerol and Biohydrogenationof Long-Chain Fatty Acids: New Insights from Old Data*](https://doi.org/10.3168/jds.2007-0398), Journal of Dairy Science 91, 731–742, 2008
148148
[^3]: > Goodwin, B.C. [*Oscillatory behavior in enzymatic control processes*](https://doi.org/10.1016/0065-2571(65)90067-1), Advances in Enzyme Regulation, Vol 3 (C), 425-437, 1965
149149
[^4]: > Dong, R., Goodbrake, C., Harrington, H. A., & Pogudin, G. [*Computing input-output projections of dynamical models with applications to structural identifiability*](https://arxiv.org/pdf/2111.00991). arXiv preprint arXiv:2111.00991.

src/clock.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Symbolics.option_to_metadata_type(::Val{:timedomain}) = TimeDomain
1414

1515
"""
1616
is_continuous_domain(x)
17+
1718
true if `x` contains only continuous-domain signals.
1819
See also [`has_continuous_domain`](@ref)
1920
"""
@@ -33,6 +34,7 @@ get_time_domain(x::Num) = get_time_domain(value(x))
3334

3435
"""
3536
has_time_domain(x)
37+
3638
Determine if variable `x` has a time-domain attributed to it.
3739
"""
3840
function has_time_domain(x::Symbolic)

src/structural_transformation/pantelides.jl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,18 @@ Computes which variables are the "highest-differentiated" for purposes of
7676
pantelides. Ordinarily this is relatively straightforward. However, in our
7777
case, there are two complicating conditions:
7878
79-
1. We allow variables in the structure graph that don't appear in the
80-
system at all. What we are interested in is the highest-differentiated
81-
variable that actually appears in the system.
79+
1. We allow variables in the structure graph that don't appear in the
80+
system at all. What we are interested in is the highest-differentiated
81+
variable that actually appears in the system.
8282
83-
2. We have an alias graph. The alias graph implicitly contributes an
84-
alias equation, so it doesn't actually whitelist any additional variables,
85-
but it may change which variable is considered the highest differentiated one.
86-
Consider the following situation:
83+
2. We have an alias graph. The alias graph implicitly contributes an
84+
alias equation, so it doesn't actually whitelist any additional variables,
85+
but it may change which variable is considered the highest differentiated one.
86+
Consider the following situation:
8787
88-
Vars: x, y
89-
Eqs: 0 = f(x)
90-
Alias: ẋ = ẏ
88+
Vars: x, y
89+
Eqs: 0 = f(x)
90+
Alias: ẋ = ẏ
9191
9292
In the absence of the alias, we would consider `x` to be the highest
9393
differentiated variable. However, because of the alias (and because there

src/systems/discrete_system/discrete_system.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,9 @@ end
302302

303303
"""
304304
```julia
305-
SciMLBase.DiscreteFunction{iip}(sys::DiscreteSystem, dvs=states(sys),
306-
ps=parameters(sys);
307-
version=nothing,
305+
SciMLBase.DiscreteFunction{iip}(sys::DiscreteSystem, dvs = states(sys),
306+
ps = parameters(sys);
307+
version = nothing,
308308
kwargs...) where {iip}
309309
```
310310
@@ -370,10 +370,10 @@ end
370370

371371
"""
372372
```julia
373-
DiscreteFunctionExpr{iip}(sys::DiscreteSystem, dvs = states(sys),
374-
ps = parameters(sys);
375-
version = nothing,
376-
kwargs...) where {iip}
373+
DiscreteFunctionExpr{iip}(sys::DiscreteSystem, dvs = states(sys),
374+
ps = parameters(sys);
375+
version = nothing,
376+
kwargs...) where {iip}
377377
```
378378
379379
Create a Julia expression for an `DiscreteFunction` from the [`DiscreteSystem`](@ref).

0 commit comments

Comments
 (0)