open-simulation-platform / libcosim

OSP C++ co-simulation library
https://open-simulation-platform.github.io/libcosim
Mozilla Public License 2.0
61 stars 10 forks source link

User story: configure the step scheduling type #744

Closed xmirabel closed 1 month ago

xmirabel commented 1 year ago

NEED

It should be possible to configure the step scheduling type, among at least full parallelism (the default one), and cascading (waterfall effect) parallelism, in the OspSystemStructure.xml file.

DESCRIPTION

As a OSP user
I want to be able to configure the step scheduling type, among at least: - full parallelism (legacy code), and - cascading (waterfall effect) parallelism, deduced from the OSP OspSystemStructure.xml configuration file.
So that at each step of execution, the applied algorithm is the selected one.

ACCEPTANCE TESTS

The same as the user story fonction.

EXAMPLE OF CONFIGURATION SYNTAX

In the OspSystemStructure XML structure, a new algorithm is added called "waterfallFixedStep", so that it will be possible to choose between "fixedStep" and "waterfallFixedStep".

<OspSystemStructure [...]>  
... 
    <Algorithm>waterfallFixedStep</Algorithm>
        ...
</OspSystemStructure>
kyllingstad commented 1 month ago

Closing due to lack of activity in pull request #734.