|
|
|
Re: Model execution of Blocks using events [message #1844355 is a reply to message #1844354] |
Fri, 10 September 2021 14:23 |
|
Even though this is more a generic SysML / UML question than a Papyrus specific, I try to give an answer here.
State transitionswithin a state machine can be triggered by time events. Each state has a entry, do and exit action. These actions might refer to operations within blocks.
For more information you might place a question in the Learn MBSE LinkedIn group.
/Carsten
|
|
|
|
Re: Model execution of Blocks using events [message #1844357 is a reply to message #1844356] |
Fri, 10 September 2021 14:38 |
|
This is more a matter of style. But the behavior is undefined if to or more outgoing transitions of a single state may trigger at the same time. UML does not restrict that, but the behavior is undefined. As far as I know Moka simply takes the first possible transition it finds.
/Carsten
|
|
|
|
|
|
Re: Model execution of Blocks using events [message #1844409 is a reply to message #1844407] |
Mon, 13 September 2021 10:40 |
|
In principle yes, but a so called god class is IMHO an anti pattern.
If it gets complex, a state within an UML state machine can be a a state machine itself. Given that you can build hierarchical state machines which are simpler to review and maintain.
/Carsten
|
|
|
Powered by
FUDForum. Page generated in 0.03343 seconds