Skip to content

problem with synchronization between low computational unit and high computational unit #63

@femust

Description

@femust

Hey,

so I have encountered one problem with dcplib use and synchronization:

  • If I have 2 slaves with FMU (low complexity model) that exchange information -> result plots are correct and they have the same number of data points, e.g. if the simulation is 10 seconds, we get 1000 samples for each slave if the step is 0.01s -> and here there is no problem BUT
  • If I have the same 2 slaves with FMU but joined with one FMU that is high computational demanding (e.g. particle filter), I see the "simple slaves" results have 1000 samples, but complex FMU has only ~50. So the conclusion is that it seems that the communication within dcp is not synchronized properly even if SYNC option and SYNC callbacks are used.
  • The files structure is similar to the structure that is available in the examples.

Thanks for the suggestions.

image

Here is an example 100 seconds of simulation, complex model only reached 7s.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions