Skip to content

doc: ModelingToolkit section in the manual now supports DAEs - #518

Merged
franckgaga merged 9 commits into
mainfrom
doc_mtk_dae
Nov 12, 2026
Merged

franckgaga merged 9 commits into
mainfrom
doc_mtk_dae

Conversation

@franckgaga

Copy link
Copy Markdown
Member

This PR add the support for DAEs in the "ModelingToolkit" section of the manual. The conversion function now return either a NonLinModel or NonLinModelDAE, depending on the presence of algebraic equations.

I started a section that applies the conversion functions on the pH neutralization reactor MTK model. It works well but the section only does open-loop simulation for now. I will add the support of measured disturbances before continuing this example in the manual.

@franckgaga franckgaga changed the title doc: ModelingToolkit section in the manual now support DAEs + pH neutralization example doc: ModelingToolkit section in the manual support DAEs + pH neutralization example Nov 12, 2026
@franckgaga franckgaga changed the title doc: ModelingToolkit section in the manual support DAEs + pH neutralization example doc: ModelingToolkit section in the manual support DAEs Nov 12, 2026
@franckgaga franckgaga changed the title doc: ModelingToolkit section in the manual support DAEs doc: ModelingToolkit section in the manual now supports DAEs Nov 12, 2026
@franckgaga

Copy link
Copy Markdown
Member Author

Let's do also a benchmark to see if the PR #516 work as expected.

@codecov-commenter

codecov-commenter commented Nov 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.37%. Comparing base (9d6601a) to head (8a613d3).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #518      +/-   ##
==========================================
+ Coverage   97.35%   97.37%   +0.01%     
==========================================
  Files          28       28              
  Lines        7077     7077              
==========================================
+ Hits         6890     6891       +1     
+ Misses        187      186       -1     
Flag Coverage Δ
unittests 97.37% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@franckgaga
franckgaga merged commit 3ab73ae into main Nov 12, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants