Opened 9 years ago

Closed 8 years ago

#3891 closed discussion (fixed)

Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2 reference

Reported by: Volker Waurich Owned by: Bernhard Thiele
Priority: normal Milestone: Future
Component: *unknown* Version:
Keywords: Modelica_Synchronous_cpp Cc: Niklas Worschech, Rüdiger Franke, Bernhard Thiele

Description

Hi,

I need some clarification about the references for the synchronous library. If you see at:
https://test.openmodelica.org/libraries/Modelica_Synchronous_cpp/files/Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2.diff.sample1.y.html

the cpp runtime makes a step at 0.04 and the reference(dymola?) at 0.06 which is one tick afterwards.
The input to the sample function makes the step at 0.04 so omc is right isnt it?

Change History (4)

comment:1 by Rüdiger Franke, 9 years ago

Cc: Bernhard Thiele added

comment:2 by Rüdiger Franke, 9 years ago

Owner: changed from Volker Waurich to Bernhard Thiele
Status: newassigned

comment:3 by Volker Waurich, 9 years ago

One should read the specification instead of deciding on a gut level. We need the left limit of the input value. So dymola is correct and my intuitive understanding was wrong.

comment:4 by Volker Waurich, 8 years ago

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