- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Problem in exporting to FMU
Problem in exporting to FMU
Problem in exporting to FMU
Good afternoon,
I have got problem in exporting classes with electrical ports to FMU. It seems that since ports are not assumed as input or outputs it causes a "Too many equations" error and also "Found equations without time-dependent variables: n.i = 0.0"
I guess I need to define new OnePort and TwoPort interfaces with current and voltage as outputs and inputs and use them instead of available interfaces. However, I am wondering if there is a better way to fix the problem?
Best regards,
Arash
Re: Problem in exporting to FMU
FMUs have fixed causality with clear inputs and outputs.
In general I create another model in which I add RealInput ports and RealOutput ports which you can connect to your internal model (via equations or connects).
- adrpo
- 885 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Problem in exporting to FMU