Opened 8 years ago

Closed 7 years ago

#3891 closed discussion (fixed)

Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2 reference

Reported by: vwaurich Owned by: bthiele
Priority: normal Milestone: Future
Component: *unknown* Version:
Keywords: Modelica_Synchronous_cpp Cc: niklwors, rfranke, bthiele

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 Changed 8 years ago by rfranke

  • Cc bthiele added

comment:2 Changed 8 years ago by rfranke

  • Owner changed from vwaurich to bthiele
  • Status changed from new to assigned

comment:3 Changed 8 years ago by vwaurich

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 Changed 7 years ago by vwaurich

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.