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 3e661eb commit 1204286Copy full SHA for 1204286
1 file changed
packages/core/src/compiler/modelica/blt.ts
@@ -267,6 +267,8 @@ export function performBltTransformation(dae: ModelicaDAE): {
267
const idx = sccEqs.indexOf(matchingEq);
268
if (idx >= 0) sccEqs[idx] = isolated;
269
equations[eqIdx] = isolated;
270
+ // Propagate back to the original DAE so output uses the isolated form
271
+ dae.equations[eqIdx] = isolated;
272
} else {
273
// implicit single variable loop — cannot isolate
274
algebraicLoops.push({ variables: scc, equations: sccEqs });
0 commit comments