OpenSimulationInterface / osi-sensor-model-packaging

This document specifies the ways in which sensor models are to be packaged for use in simulation environments with FMI 2.0
Other
41 stars 18 forks source link

Usage of DCP in Network Proxy #96

Closed jdsika closed 1 year ago

jdsika commented 1 year ago

I was wondering if the Network Proxy example should follow the DCP specification? Maybe we could organize a quick call about this topic and Pierre could give some insights into DCP? I assume that you have been involved here?

It could be a receiver/sender FMU component also used in OpenMSL?

Best regards Carlo

ClemensLinnhoff commented 1 year ago

I don't know anything about DCP. So a quick call would probably be best. We might also want to talk about DDS then. We implemented DDS with OSI and it works quite well (without the need of a co-simulation master).

pmai commented 1 year ago

DCP really sits at a level on top of FMI, i.e. one would use a DCP capable implementation to import an FMU and remote it, not necessarily embed a DCP implementation inside an FMU (which, depending on the mode of DCP being used might not even be possible). The DCP specification is also rather complex for the little it achieves in this regard (simple co-simulation), so the question for me would be what the use cases are that people have in mind. Really, one should avoid distributed co-simulation as far as one can (heavy performance impact, etc.), so when one has to use it, the details of what is advisable really depend on the specific use cases.

That being said, the network proxy example is just a toy example like the DummySensor, to show how in principle something can be done, not an industrial strength building block for others to use, so anything that makes this more complex and specific really seems like not a good idea.

ClemensLinnhoff commented 1 year ago

Is there more need for discussion or can we close this issue?

jdsika commented 1 year ago

Decision: Discard the idea of playing around with DCO