Changes between Initial Version and Version 2 of Ticket #3772


Ignore:
Timestamp:
2016-03-22T12:27:25Z (9 years ago)
Author:
Niklas Worschech
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3772

    • Property Summary unknown clock intervalevent clock error
  • Ticket #3772 – Description

    initial v2  
    11For the following example the clock interval is unknown in SimCode.
    22The model is from the cpp runtime testfolder.
    3 
     3{{{#!mo
    44model EventClock "See Modelica 3.3 spec, section 16.3 Clock Constructors"
    55  Integer nextInterval(start = 1);
     
    1111  end when;
    1212end EventClock;
     13}}}
    1314The generated cpp code equation for the interval calculation is:
    1415_clockInterval[0] = 0.0 * 1.0 / 1.0;