You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using simultaneously two Python FMUs seems not possible
Not at all or is it the loggers that don't work? If it's the former we need to fix that for sure as that was something that worked before introducing the logger.
The idea would be to use it to carry Test Driven Development on it.
Contrarily to what I said, you are right - at least with pyfmi - co-simulation of Python FMUs is possible. My problem was probably related to the test case. In the example notebook, I was trying to load a model with a missing dependency - using #95. And reloading the FMU after installing the dependency does not work as the import are ignored at the second call.
Could we keep this issue to track problem with co-simulation?
For now:
When using self.log with co-simulation and pyfmi on both FMUs, the simulation is carried out. But at least on Windows, an error is thrown when the FMU models are deleted:
Not at all or is it the loggers that don't work? If it's the former we need to fix that for sure as that was something that worked before introducing the logger.
Originally posted by @markaren in #95 (comment)
Ok I started creating test case for co-simulation with multiple Python FMUs in https://github.com/NTNU-IHB/PythonFMU/tree/tdd-multiple-fmus.
The idea would be to use it to carry Test Driven Development on it.
Contrarily to what I said, you are right - at least with
pyfmi
- co-simulation of Python FMUs is possible. My problem was probably related to the test case. In the example notebook, I was trying to load a model with a missing dependency - using #95. And reloading the FMU after installing the dependency does not work as the import are ignored at the second call.Could we keep this issue to track problem with co-simulation?
For now:
self.log
with co-simulation andpyfmi
on both FMUs, the simulation is carried out. But at least on Windows, an error is thrown when the FMU models are deleted:The text was updated successfully, but these errors were encountered: