-
Notifications
You must be signed in to change notification settings - Fork 1
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
System simulation edge cases for event routing #149
Comments
Do we want to support this kind of graphing, and if not, why not? To me it makes sense that you might want several disconnected processes going on in a system simulation component. |
@abbiemery opinions? |
I can't think of a reason you would want this, but that doesn't mean someone wont. I therefore don't mind supporting it provided there are tests which prove it works and catch if it doesn't. Including using the config loading to do so. |
It's been decided, after much discussion, that the SystemSimulationComponent should not be 'standalone', because that would require it to keep it's own time and 'master' scheduler logic, and effectively push it to running independently of the master scheduler. As a result, it should at least have dummy components that act as inputs/outputs. I suppose this makes sense as all components in ticket are expected to list their inputs and outputs. I would still like to work on the above issue, r.e. routing. I think the diagram I drew above should be an allowed use case; but the fix for this is reasonably complex, as it involves changing how the event router works. |
Just seen this, and as far as I can recall the system in your diagram should work fine, what about it isn't working? |
@garryod At the moment, when the master scheduler does its initial tick, it calls the ticker with all of it's components, during which its
Now, the components get these inputs (via |
i.e. you can try running the simulation of the diagram above. The external sink will never see the value of the internal source (at the moment). |
Gotcha, that makes sense. I was imagining the internal "Source" being interrupted which should produce an output as expected, but of course if it's a trampoline or likewise it'll never be started |
The text was updated successfully, but these errors were encountered: