Opened 12 years ago

Closed 12 years ago

#1780 closed defect (fixed)

Linearization returns zero for systems with independent variables

Reported by: james.goppert@… Owned by: Willi Braun
Priority: high Milestone: 1.9.0
Component: Backend Version:
Keywords: Cc:

Description

Linearization returns A = 0 if there are equations that are not dependent on each other.

for instance the following returns A=[0,0;0,0] instead of A = [1,0;0,1]

model Simple
  Real a(start=0);
  Real b(start=0);
equation
  der(a) = a;
  der(b) = b;
end Simple;

While the following returns A = [1,0;1,0]

model Simple
  Real a(start=0);
  Real b(start=0);
equation
  der(a) = a;
  der(b) = a;
end Simple;

Change History (2)

comment:1 by Martin Sjölund, 12 years ago

Owner: changed from somebody to Willi Braun
Status: newassigned

Yes, the bug is there. I also checked it against the partitionIndependentBlocks module (since I wrote that). And my module has nothing to do with this bug so I think Willi has to look into it.

comment:2 by Willi Braun, 12 years ago

Resolution: fixed
Status: assignedclosed

fixed in r12853

Last edited 12 years ago by Willi Braun (previous) (diff)
Note: See TracTickets for help on using tickets.