Module RemoveSimpleEquations doesn't support synchronous systems
This simple synchronous equation system
model Example1
Real x, y;
equation
when Clock(0.1) then
x + y = 0;
x - y = 0;
end when;
end Example1;
produce an under-determined system
########################################
dumpindxdae
########################################
clocked partition(1)
======================================== Variables (2)
========================================
1: y:VARIABLE() type: Real
2: x:VARIABLE() type: Real
Equations (2, 2)
========================================
1/1 (1): -1.0 = 1.0 [dynamic |0|0|0|0|]
2/2 (1): y = -x [dynamic |0|0|0|0|]
Matching
========================================
2 variables and equations
var 1 is solved in eqn 2
var 2 is solved in eqn 1
StrongComponents
========================================
{1:2} Size: 1 Generic Jacobian via directional derivatives
{2:1}
BackendDAEType: simulation
Base partitions (1)
========================================
1: Clock(0.1)[1]
Sub partitions (1)
========================================
1: factor(1/1) shift(0/1) event(false)
optdaedump output shows that module removeSimpleEquations skip synchronous equations and module comSubExp produce wrong equation system.
########################################
pre-optimization module comSubExp (simulation)
########################################
clocked partition(1)
======================================== Variables (2)
========================================
1: y:VARIABLE() type: Real
2: x:VARIABLE() type: Real
Equations (2, 2)
========================================
1/1 (1): (-x) / x = 1.0 [dynamic |0|0|0|0|]
2/2 (1): x + y = 0.0 [dynamic |0|0|0|0|]
no matching
BackendDAEType: simulation
Base partitions (1)
========================================
1: Clock(0.1)[1]
Sub partitions (1)
========================================
1: factor(1/1) shift(0/1) event(false)
Change History
(12)
Milestone: |
Future → 1.14.0
|
Description: |
modified (diff)
|
Summary: |
postOpt modules dont work with synchronous equations → pre optimisation modules dont work synchronous equations
|
Owner: |
changed from Lennart Ochel to Maksimov Doe
|
Status: |
new → accepted
|
Owner: |
Maksimov Doe removed
|
Status: |
accepted → assigned
|
Summary: |
pre optimisation modules dont work synchronous equations → Module RemoveSimpleEquations doesn't support synchronous systems
|
Milestone: |
1.14.0 → 1.16.0
|
Milestone: |
1.16.0 → 1.17.0
|
Milestone: |
1.17.0 → 1.18.0
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Resolution: |
fixed
|
Status: |
closed → reopened
|
Owner: |
set to Karim Adbdelhak
|
Status: |
reopened → assigned
|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0