-
Notifications
You must be signed in to change notification settings - Fork 50
Description
Describe the bug
There seems to be a bug with the iteration feature when there is a combination of publications and endpoints. The simulation does get stuck unable to proceed/break out from the iteration loop. This bug was discovered during the office hours (2025-05-01).
What is the expected behavior?
The expected behavior is that the simulation should still be able to iterate within the publication even if an existing endpoint federate is present.
To Reproduce
Steps to reproduce the behavior:
Using the existing Advanced iteration example while adding the controller will recreate the issue.
I've create a repo https://github.com/[BuiMCanmet/helics_iteration_endpoints_values_example](https://github.com/BuiMCanmet/helics_iteration_endpoints_values_example) containing the reproducible example using
$ helics run --path advanced_iteration_runner.jsonEnvironment (please complete the following information):
- Operating System: Windows
- Language Extension: Python
- HELICS version: HELICS Library version 3.6.1 (2025-02-24) & Python HELICS version 3.6.1
$ helics_app --versionHELICS App version: 3.6.1 (2025-02-24)
Additional context and information
The temporary solution was to add the targeted argument to true for all endpoints connection. For the controller itself, it was to also add targeted +all destination_endpoints.