← Files Computable Systems EngineeringARCHIVED FILE
examples/sysml/correlated-events.sysml
804 Bytes · Dec 3, 2026 · 18:30 UTC
package EventExample {
private import ScalarValues::String;
doc cseClock /*
CSE-CLOCK/2.0
period 1 millisecond
*/
part def Controller {
in event occurrence requestReceived {
attribute correlationId : String;
}
out event occurrence ackSent {
attribute correlationId : String;
}
}
part controller : Controller;
requirement <R_EVENT> AcknowledgeEachRequest {
doc cseSource /*
CSE-SOURCE/2.0
SYN-02
*/
subject unit = controller;
require constraint responseTime {
doc cse /*
CSE-EVENT/2.0
Each unit.requestReceived shall within 2 seconds have
unit.ackSent with matching correlationId.
*/
}
}
}
SHA-256: 516b4abdef9d6db86b61adc712aed6cfec9909e9ff139be3b40ae5e0dce86c5f