Changeset defe92d3 in OpenModelica


Ignore:
Timestamp:
2021-04-08T13:12:04+02:00 (3 years ago)
Author:
Martin Sjölund <martin@…>
Parents:
29797a1
Message:

WIP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/Compiler/SimCode/SimCodeUtil.mo

    r29797a1 rdefe92d3  
    16561656  list<BackendDAE.Equation> eqnlst;
    16571657  OutputSystems outputSystemsKind;
    1658   Boolean createAlgebraicEquations, bdynamic, skip;
     1658  Boolean createAlgebraicEquations, bdynamic, bzc, skip;
    16591659  constant Boolean debug = false;
    16601660algorithm
     
    16641664  (varlst, varIdx, eqnlst, eqsIdx) := BackendDAEUtil.getStrongComponentVarsAndEquations(comp, syst.orderedVars, syst.orderedEqs);
    16651665  bdynamic := BackendDAEUtil.blockIsDynamic(eqsIdx, stateeqnsmark);
    1666 
    1667   if outputSystemsKind==OutputSystems.Both or (if outputSystemsKind==OutputSystems.States then bdynamic else not bdynamic) then
     1666  bzc := BackendDAEUtil.blockIsDynamic(eqsIdx, zceqnsmark);
     1667
     1668  if outputSystemsKind==OutputSystems.Both or (if outputSystemsKind==OutputSystems.States then (bdynamic or not bzc) else not (bdynamic or not bzc)) then
    16681669    outFold := inFold;
    16691670    return;
Note: See TracChangeset for help on using the changeset viewer.