CATIA-Systems / FMPy

Simulate Functional Mockup Units (FMUs) in Python
Other
429 stars 118 forks source link

Please consider using DefaultExperiment.stepSize attribute in modelDescription.xml to set output_interval in ModelExchange mode #665

Open casella opened 5 months ago

casella commented 5 months ago

According to FMI 2.0.4, page 45, the DefaultExperiment.stepSize attribute has the following meaning

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!