DCP support (wip) - #1558
Conversation
|
@robbr48 can you rebase the PR and fix the conflicts it will be easier to fix |
|
@arun3688 The implementation is now good enough for merging. Only non-realtime simulations are yet supported, but we can add realtime support later in another PR. Also start time is hard-coded to zero, but it should not matter in most cases. Below is the example Python script I used to test it, you can just replace Hopsan with some other tool: |
|
@robbr48 great i will look into this as early as possible and merge it |
|
@robbr48 Can you rebase your branch with the master and resolve the conflicts so that we can merge it. I tried to rebase the branch but the conflicts are more |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1558 +/- ##
==========================================
- Coverage 29.24% 27.37% -1.87%
==========================================
Files 68 72 +4
Lines 12960 13889 +929
Branches 8389 8966 +577
==========================================
+ Hits 3790 3802 +12
- Misses 7979 8888 +909
- Partials 1191 1199 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
As agreed, I made a draft PR of my DCP work. I think we should sit down and discuss implementation details, e.g. where to put the master/slave code and the interaction between FMI and DCP. Also, a lot of things in OMSimulator are currently hard-coded for FMU, so I guess we need to do some refactoring.