Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
casella opened this issue Apr 19, 2024 · 0 comments

Comments

@casella
Copy link

casella commented Apr 19, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant