I am a beginner in Modelica and recently I have been working on exporting some electrical components as Functional Mock-up Units (FMUs). Based on the information I found in this article, it appears that Modelica connectors are acausal, and therefore, they cannot be directly converted into FMUs. The article suggests using an electrical adaptor as a bridge to achieve this.
However, I am unsure how to implement this in practice. Specifically, I am looking for guidance on how to create a causal adaptor in OpenModelica.
Additionally, I would like to understand the working principle of the causal adaptor described in the article. Specifically, why is it necessary to extract voltage (V) and current (I) in the process? How does this help in converting the acausal Modelica connectors into a causal form suitable for FMU export?
I expect to have the text view(in Modelica language) of the causal adaptor
楷祥林 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.