Opened 9 years ago

Last modified 9 years ago

#3927 closed defect

Linear initial equations with non-fixed parameters are detected as nonlinear — at Version 1

Reported by: Patrick Täuber Owned by: Willi Braun
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 (1)

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

Description: modified (diff)
Note: See TracTickets for help on using tickets.