You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix ModelingToolkit variable mapping after structural_simplify
- Replace incorrect index-based mapping with proper symbolic variable matching
- Map initial conditions by finding corresponding variables in original system
- Map derivatives properly for DAEProblem construction
- Handle potential auxiliary variables introduced by structural_simplify
- Account for equation reordering during simplification process
This ensures correct initial conditions regardless of equation reordering.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments