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

VectorSum does not support nested variable groups #601

Open THEvang opened 4 years ago

THEvang commented 4 years ago

I get the following error when summing two nested groups using the VectorSum element in the OspSystemStructure file: Could not create execution from OspSystemStructure.xml file: invalid vector<T> subscript.

The error appeared after I rewrote the configuration file to use variable groups defined in OSP-IS.

Before refactoring:

` <Variable ref="var_1/>

`

After:

`