Skip to content

Fix FMU initialization#2315

Merged
robbr48 merged 2 commits into
Hopsan:masterfrom
robbr48:fix_fmu_initialization
Jun 3, 2026
Merged

Fix FMU initialization#2315
robbr48 merged 2 commits into
Hopsan:masterfrom
robbr48:fix_fmu_initialization

Conversation

@robbr48

@robbr48 robbr48 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

When calling fmiGetReal during initialization, simulateOneTimestep must be called (without actually increasing time) to update outputs that depend on inputs.

@robbr48 robbr48 added this to the 2.24.0 milestone Jun 2, 2026
@robbr48 robbr48 self-assigned this Jun 2, 2026
@robbr48 robbr48 added the import/export:fmi FMI import/export or functionality label Jun 2, 2026
@robbr48 robbr48 merged commit a634c59 into Hopsan:master Jun 3, 2026
2 of 3 checks passed
@robbr48 robbr48 deleted the fix_fmu_initialization branch June 3, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

import/export:fmi FMI import/export or functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant