笔记:Domain-Specific Modeling with SysML v2
OMG - Domain-Specific Modeling with SysML v2 (by Ed Seidewitz)
- A general-purpose modeling language(GPML) is broadly applicable for all kinds of modeling.
- A domain-specific modeling language(DSML) is specialized to a specific application domain (e.g., aerospace, automotive, etc.), engineering domain(e.g., control, electrical, earodynamtics, etc.) or other purpose(e.g., supporting specific organizational processes).
Domain-specific modeling is (1) systematically using DSMLs to model various facets of a system… or (2)…systematically adapting a GPML to model different domains.SysML is a GPML for systems modeling.(SysML是后者)
SysML v1 was typically adapted for domain-specific modeling using profiles.(Stereotypes adapt specific SysML v1 elements for domain-specific concepts. Tools can key off stereotypes to provide domain-specifc visualization, validation, etc.) SysML v1 was itself defined as a profile of UML. However, stereotypes provide only a syntactic marker, with no formal specification of semantics.(是否可以理解成:SysML v1基于UML开发,只提供了一个框架,没规范语义细节)
一个车的例子,展示了def Car和Car的使用。
一个车的例子,展示了metadata的用法。
UAF、SAE、AADL、Arcadia/Capella在SysML v2上的工作。
- SysML v2 is a general-purpose modeling language with powerful capabilities for domain-specific modeling.
- SysML v2 concepts of concepts of metadata and model libraries replace the v1 concepts of stereotypes and profiles,
- Model libraries to define domain-specific semantics.
- Metadata to annotate user model elements and tie them to semantic library base types.
- Already being used for standard domain-specific language specification.
- Allow domain-specific modeling at project, organization and community levels.