Opened 12 years ago
Closed 12 years ago
#2189 closed defect (fixed)
Index reduction broken?
Reported by: | Christoph Höger | Owned by: | Willi Braun |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Backend | Version: | trunk |
Keywords: | Cc: |
Description
model T1 Real x, y; equation der(y) = der(x); x = time - y; end T1;
The above model results in der(y) = 0 for me. This seems like an odd error of index reduction.
Change History (5)
comment:1 by , 12 years ago
comment:3 by , 12 years ago
Component: | Frontend → Backend |
---|---|
Owner: | changed from | to
Status: | new → accepted |
It's a but in module "constantLinearSystem", which evaluates y as constant instead of der(y).
Version 0, edited 12 years ago by (next)
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Index reduction cannot be the problem
Final System with DummyStates
========================================
Variables (3)
========================================
1: y:STATE(1)() .T1, .Real type: Real
2: x:DUMMY_STATE() .T1, .Real type: Real
3: $DER.x:DUMMY_DER(fixed = false ) .T1, .Real type: Real
Equations (3, 3)
========================================
1/1 (1): der(y) = $DER.x
2/2 (1): $DER.x = 1.0 - der(y)
3/3 (1): x = time - y