INTO-CPS-Association / pyfmu

https://into-cps-application.readthedocs.io/en/latest/submodules/pyfmu/docs/index.html
7 stars 2 forks source link

cosimulation test of example projects #15

Open clegaard opened 4 years ago

clegaard commented 4 years ago

Currently, the test suite does a poor job at verifying the functionality of the simulated FMUs.

14 is related to simulation of the individual components. It would also make sense to examples of co-simulations of these components.

FMPy now has a master algorithm for co-simulation, which takes as input a ssp description of the scenario: https://github.com/CATIA-Systems/FMPy/wiki/Simulate-SPPs

Likewise it might also make sense to test this with INTO-CPS.

clegaard commented 4 years ago

Two examples have been added for Maestro. Currently, creating a new co-sim test requires a manual configuration of a coe.json file. It would be nicer to have an OO representation of the scenario in python and then generate the necessary coe.json or ssp file from this.