open-simulation-platform / cosim-cli

Command-line interface for libcosim
https://open-simulation-platform.github.io/cosim
Mozilla Public License 2.0
10 stars 4 forks source link

Add switch to run all simulators in a single thread #82

Closed kyllingstad closed 2 years ago

kyllingstad commented 4 years ago

This would increase performance for lightweight models. This requires some changes to libcosim so that the internal class fmu_model (in orchestration.cpp) has an option to use make_pseudo_async() instead of make_background_thread_slave() to instantiate the model.