Changes between Initial Version and Version 4 of Ticket #1690


Ignore:
Timestamp:
2012-10-11T12:15:10Z (12 years ago)
Author:
Willi Braun
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1690

    • Property ComponentBackend
    • Property Owner changed from Willi Braun to Lennart Ochel
    • Property Status acceptedreopened
  • Ticket #1690 – Description

    initial v4  
    11The following model isn't initial correctly.
    22{{{
    3 model m1
    4   parameter Real a = 3;
    5   parameter Real b(fixed = false);
     3loadString("model m1
     4  Real a;
     5  Real b(fixed = false);
    66initial algorithm
    77  b:=a ^ 2;
    8 end m1;
     8equation
     9  sin(time)+1 = a;
     10  der(b) = b;
     11end m1;");
     12simulate(m1);
     13val(b,0.0);
     14val(b,0.5);
     15val(b,1.0);
    916}}}