hopsan icon indicating copy to clipboard operation
hopsan copied to clipboard

Finalize components after measureing time

Open robbr48 opened this issue 1 year ago • 0 comments

Before multithreaded simualtion, components are simulated a few steps to measure time. After this they are initialized a second time. However, the also need to be finalized in between, in order to avoid components appearing in the wrong state (especially FMUs).

In other words, it should be: initialize - simulate - finalize - initialize - simulate - finalize

Not: initialize - simulate - initialize - simulate - finalize

robbr48 avatar May 02 '24 06:05 robbr48