-
Notifications
You must be signed in to change notification settings - Fork 0
System Input
For debugging or testing purposes, we can inject an input that would ordinarily originate from some internal component of the System.
Let's say we are debugging the Elevator Case Study elevator management domain in isolation. A Stop request signal directed at some instance of Cabin would normally originate from the UI domain. But since that domain, or even a stub of that domain is not present in our System, we can inject it directly as a system input.
Here's an example:
UI >|| EVMAN : Stop request -> ASLEV<S1-3>
Here we define a System Input from a simulated source Actor UI domain and inject a signal instance Action Type with the interaction name Stop request toward a target Actor ASLEV (Accessible Shaft Level class) instance.
Since the same Actor can be used in many roles, we establish that it is playing the Role of Input Target.
- Number
The amount of time to wait before injecting the input. The value is zero by default, but a delay is useful when you want to simulate the typical interval that would occur when the System is operating normally. In the elevator example, we might delay for a few seconds to simulate the movement of a cabin toward its destination and then inject some event announcing arrival.
Type: Duration
Copyright © 2025-2026, Leon Starr at Model Integration, LLC under the MIT Open Source License