Changes between Version 1 and Version 2 of Ticket #3138, comment 5


Ignore:
Timestamp:
2015-02-07T15:13:21Z (10 years ago)
Author:
Lennart Ochel

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3138, comment 5

    v1 v2  
    33The following example shows that there are no assertions for "constant" parameters:
    44{{{#!mo
    5 model testInit
     5model testInit2
    66  parameter Real p(min=0.5, max=2) = p2;
    77  parameter Real p2(min=0.5, max=2) = 0;
    8 end testInit;
     8end testInit2;
    99}}}
    1010
     
    1616In addition to that, there are also missing assertions for dependent parameters. The following example will not show any assert.
    1717{{{#!mo
    18 model testInit
     18model testInit3
    1919  parameter Real p(min=0.5, max=2, fixed=false);
    2020initial equation
    2121  p = 0;
    22 end testInit;
     22end testInit3;
    2323}}}