Skip to content

Commit 64703fb

Browse files
authored
Merge pull request #1815 from SciML/baggepinnen-patch-2
Document `io` argument to `structural_simplify`
2 parents bd87049 + a69e7ae commit 64703fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/systems/abstractsystem.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,10 @@ topological sort of the observed equations. When `simplify=true`, the `simplify`
955955
function will be applied during the tearing process. It also takes kwargs
956956
`allow_symbolic=false` and `allow_parameter=true` which limits the coefficient
957957
types during tearing.
958+
959+
The optional argument `io` may take a tuple `(inputs, outputs)`.
960+
This will convert all `inputs` to parameters and allow them to be unconnected, i.e.,
961+
simplification will allow models where `n_states = n_equations - n_inputs`.
958962
"""
959963
function structural_simplify(sys::AbstractSystem, io = nothing; simplify = false, kwargs...)
960964
sys = expand_connections(sys)

0 commit comments

Comments
 (0)