Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

End of simulation time not propagated for FMUs 2.0 for co-simulation #61

Open
tsnouidui opened this issue Feb 9, 2021 · 0 comments
Open

Comments

@tsnouidui
Copy link

tsnouidui commented Feb 9, 2021

The latest version of FMUChecker (2.0.4) seems to not propagate the simulation stop time to FMUs 2.0 for co-simulation.

The following line indicates that the last argument of fmi2_import_setup_experiment() is set to 0 as opposed to tEnd.

fmi2_status_ok_or_warning(fmistatus = fmi2_import_setup_experiment(fmu, toleranceControlled,relativeTolerance, tstart, fmi2_false, 0.0)) &&

Consequently, FMUChecker will not use the stop time provided as parameter. Changing the value to tEnd will lead to the correct behavior.

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

No branches or pull requests

1 participant