We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eabc3a commit afc84fdCopy full SHA for afc84fd
src/systems/abstractsystem.jl
@@ -522,7 +522,7 @@ Structurally simplify algebraic equations in a system and compute the
522
topological sort of the observed equations.
523
"""
524
function structural_simplify(sys::AbstractSystem)
525
- sys = tearing(alias_elimination(sys))
+ sys = tearing(dae_index_lowering(alias_elimination(sys)))
526
fullstates = [map(eq->eq.lhs, observed(sys)); states(sys)]
527
@set! sys.observed = topsort_equations(observed(sys), fullstates)
528
return sys
0 commit comments