Opened 8 years ago
Last modified 3 years ago
#4168 new defect
DAE index reduction in clocked partitions — at Initial Version
Reported by: | Rüdiger Franke | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Backend | Version: | |
Keywords: | Cc: |
Description
Clocked partitions may contain high index DAEs, for instance when basing a discrete-time controller on an inverse continuous-time model, see:
Modelica_Synchronous.Examples.Systems.ControlledMixingUnit
Modelica_Synchronous.Examples.Systems.EngineThrottleControl
OpenModelica produces wrong results for such models.
OpenModelica currently discretizes differential equations by replacing der(x)
with (x - previous(x))/interval()
during clock partitioning (ImplicitEuler).
OpenModelica should reduce the DAE index inside a clocked partition prior to the discretization.