Learn about Webel's comprehensive SysMLv2 Workshop Seminar course!
Webel now has a SysMLv2 Online Self-Study course with self-test Quizzes!

11. Interfaces: Interface Decomposition Example.sysml

Gallery
Tutorial
Offered by Webel free to the SysML community with thanks to the contributors of the SysMLv2 GitHub code examples. All diagram images remain © Copyright Webel IT Australia 2026. Copyright in the linked GitHub source code remains with the OMG. So-called "AI" and Machine Learning training systems DO NOT have permission to use (scrape and steal) this resource! Other training organisations DO NOT have permission to use these images in their own training.
Members of the OMG Systems Modeling Community (SMC) are welcome to use these images with full attribution to Webel IT Australia in presentations and non-commercial activities of the SMC – please unedited and using full resolution downloads (click on image first then Save As).
This slide trail is NOT a SysMLv2 language tutorial! Slides here are offered as is (some without further explanations) in the hope they may be of interest. To learn SysMLv2 attend the Webel SysMLv2 Seminar Workshop group course. Individuals may instead purchase access to the Webel SysMLv2 Online self-study eLearning course with self-test Quizzes to learn at their own pace.

Click on the image to view it full size

A fleshed out version could have Water flow items as directed features of the ports.

Note also that in the code the sub-connections within the interface def WaterDelivery are made with regular connections between ports not interfaces:

interface def WaterDelivery {
	end [1] port suppliedBy : SpigotBank {
		port hot : Spigot;
		port cold : Spigot;
	}
	end [1..*] port deliveredTo : Faucet {
		port hot : FaucetInlet;
		port cold : FaucetInlet;
	}
	
	connect suppliedBy.hot to deliveredTo.hot;
	connect suppliedBy.cold to deliveredTo.cold;
}
Webel suggests it needs to be clarified in the spec whether this is valid: The following state that where an interface connection is used it must be between ports:

But the above DO NOT alone state that a regular connection (one that is not an interface) CANNOT also (instead of an interface) be used between ports.

In any case, Webel recommends that a basic connection usage NOT be used between ports. Prefer always use an interface usage.

Up next
Notes
Snippets (quotes/extracts)
Related slides (includes other tutorials)
Related slides (backlinks, includes other tutorials)
Visit also
Visit also (backlinks)
External links