Opened 9 years ago

Closed 9 years ago

#3927 closed defect (fixed)

Linear initial equations with non-fixed parameters are detected as nonlinear

Reported by: Patrick Täuber Owned by: Patrick Täuber
Priority: high Milestone: Future
Component: Backend Version:
Keywords: Cc: Francesco Casella, Lennart Ochel

Description (last modified by Patrick Täuber)

In the following model the linear initial equation system is considered as nonlinear due to the wrong Jacobian type:

model foo
  final parameter Real p1 = 1;
  final parameter Real p2 = 2;
  final parameter Real p3 = 3;
  final parameter Real p4 = 4;
  parameter Real q1 (fixed=false);
  parameter Real q2 (fixed=false);
initial equation
  -p1 = 3 * (p3 * q1 + p4 * q2);
  -p2 = 3 * (q1 * p4 - p3 * q2);
end foo;

Change History (4)

comment:1 by Patrick Täuber, 9 years ago

Description: modified (diff)

comment:2 by Willi Braun, 9 years ago

Owner: changed from Willi Braun to Patrick Täuber
Status: newassigned

The jacobian type is JAC_CONSTANT, it's not non-linear ;).

comment:3 by Patrick Täuber, 9 years ago

Thanks, I will fix it!

comment:4 by Patrick Täuber, 9 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.