File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,19 @@ $(SIGNATURES)
8
8
9
9
Structurally simplify algebraic equations in a system and compute the
10
10
topological sort of the observed equations. When `simplify=true`, the `simplify`
11
- function will be applied during the tearing process. It also takes kwargs
12
- `allow_symbolic=false` and `allow_parameter=true` which limits the coefficient
13
- types during tearing.
11
+ function will be applied during the tearing process. The kwargs
12
+ `allow_symbolic=false` and `allow_parameter=true` limit the coefficient
13
+ types during tearing. The kwarg `fully_determined=true` controls whether or not
14
+ an error will be thrown if the number of equations don't match the number of inputs,
15
+ outputs, and equations.
14
16
15
17
The optional argument `io` may take a tuple `(inputs, outputs)`.
16
18
This will convert all `inputs` to parameters and allow them to be unconnected, i.e.,
17
19
simplification will allow models where `n_unknowns = n_equations - n_inputs`.
18
20
"""
19
21
function structural_simplify (
20
22
sys:: AbstractSystem , io = nothing ; simplify = false , split = true ,
23
+ allow_symbolic = false , allow_parameter = false , fully_determined = true ,
21
24
kwargs... )
22
25
newsys′ = __structural_simplify (sys, io; simplify, kwargs... )
23
26
if newsys′ isa Tuple
You can’t perform that action at this time.
0 commit comments