Changes between Initial Version and Version 1 of Ticket #4168, comment 5


Ignore:
Timestamp:
2017-01-27T12:06:27Z (8 years ago)
Author:
Rüdiger Franke

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4168, comment 5

    initial v1  
    1 [https://github.com/OpenModelica/OMCompiler/pull/1391 PR1391] along with [https://github.com/OpenModelica/OMCompiler/commit/d32ecbb30f3cd8de9baad8576b1f9a1df0425ec3 commit d32ecb] make `ControlledMixingUnit` work.
    2 
    3 Some more issues show up when replacing `ExplicitEuler` with `ImplicitEuler`. See the following example:
    4 {{{#!mo
    5 model ControlledMixingUnit2
    6   extends Modelica_Synchronous.Examples.Systems.ControlledMixingUnit(
    7     periodicClock1(solverMethod="ImplicitEuler"));
    8 end ControlledMixingUnit2;
    9 }}}
    10 
    11 `ImplicitEuler` leads to the introduction of algebraic loops. No Jacobians and no ModelStructure are generated though!
    12 
    13 Moreover, there is a linear torn system of dimension 1 -- shouldn't this be solved analytically?
    14 
    15 Last but not least, the C runtime does not generate code for algebraic loops in clocked partitions.
     1See also follow-up ticket #4237