FMPy
FMPy copied to clipboard
Please consider using DefaultExperiment.stepSize attribute in modelDescription.xml to set output_interval in ModelExchange mode
According to FMI 2.0.4, page 45, the DefaultExperiment.stepSize attribute has the following meaning
- ModelExchange: Default step size for fixed time step integrators
- CoSimulation: Preferred communicationStepSize
Strictly speaking, if I use ModelExchange with a variable step size, this value would be ignored. However, if it has the meaning of preferred communication step size, wouldn't it make sense to use it to set output_interval here when using ModelExchange with a variable step size solver?
In fact, would it be advisable to also add an interval attribute to DefaultExperiment for this purpose in the FMI standard? I know this is ot the right place to discuss that, just asking for your opinion.
Thanks!