Skip to content

Commit

Permalink
- implemented first tearing selection algorithm
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@4870 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Jan 27, 2010
1 parent a245334 commit 7a31d5d
Show file tree
Hide file tree
Showing 4 changed files with 505 additions and 7 deletions.
1 change: 1 addition & 0 deletions Compiler/CevalScript.mo
Expand Up @@ -2321,6 +2321,7 @@ algorithm
mT = DAELow.transposeMatrix(m);
(ass1,ass2,dlow_1,m,mT) = DAELow.matchingAlgorithm(dlow, m, mT, (DAELow.INDEX_REDUCTION(),DAELow.EXACT(),DAELow.REMOVE_SIMPLE_EQN()));
(comps) = DAELow.strongComponents(m, mT, ass1, ass2);
(_,_,_,_,_,_) = DAELow.tearingSystem(dlow_1,m,mT,ass1,ass2,comps);
indexed_dlow = DAELow.translateDae(dlow_1,NONE);
indexed_dlow_1 = DAELow.calculateValues(indexed_dlow);
Debug.fprint("bltdump", "indexed DAE:\n");
Expand Down

0 comments on commit 7a31d5d

Please sign in to comment.