sysand add mbse4u/sysmod
SysML v2 library implementing the SYSMOD methodology for Model-Based Systems Engineering (MBSE).
Documentation: sysmod.org — the SYSMOD documentation website, maintained by mbse4u.com and no longer part of this repository.
Source: github.com/mbse4u/sysmod-sysmlv2
Sysand project: sysand.com/projects/mbse4u/sysmod — Sysand is a package registry for publishing, versioning, and discovering reusable SysML v2 libraries.
The library provides ready-to-use SysML v2 definitions for the core SYSMOD concepts:
soi/soiImpl) refinement contexts from the existing system through the system idea to the specification, which the functional, logical, and product architectures then specializeExtendedStakeholder with risk/effort/priority attributes and stakeholder categoriesExtendedConcern-based artifacts framing the problem and stakeholder intent, traced through to requirementsExtendedRequirement with obligation, stability, and motivation attributesSYSMODRequirementsBoilerplates package (top-level library package, own file) of ready-to-specialize quantitative requirement patterns (MaxValue, MinValue, RangeValue, ExactValue, ToleranceValue, MinAvailability, MinReliability)SystemUseCase with motivation, trigger, and result attributes, plus the specializations SecondaryUseCase, SystemProcess, and ContinuousUseCasefunctional2logical and logical2product allocationssubProjects list, subsetted by each sub-project usage, for decomposing a project into subsystem or component projectsSYSMODProcesses package with SYSMODDefaultProcess, the default SYSMOD workflow performed by every project as Project::defaultProcess. One action definition per step (SetupProject, SpecifyBrownfieldSystem, SpecifyProblemStatement, IdentifyStakeholders, ElaborateStakeholderNeeds, PitchSystemIdea, DefineSystemSpecification, CreateSolutionArchitectures, VerifyAndValidateRequirements) whose outputs flow into the project's artifacts. Each step carries StepStatus metadata (status and percentage) and refines one or more ISO/IEC/IEEE 15288 processes, which the ISO15288Processes package defines as action definitionsSYSMODViews package (top-level, own file), the SYSMOD architecture description framework according to ISO/IEC/IEEE 42010: stakeholder roles derived from the ISO/IEC/IEEE 15288 processes, their concerns, viewpoints framing the concerns, and view definitions for the SYSMOD steps, including AI renderings (e.g., ProjectAIView, AIUseCase4ManagersView). Project carries view usages such as projectCoverView and problemStatementView. See the generated documentation SYSMODViews.md#project, #systemContext, #extendedStakeholder, #extendedConcern, #extendedRequirement, #systemUseCase, #secondaryUseCase, #systemProcess, #continuousUseCase, plus the actor tags #system, #user, #externalSystem, #environmentalEffect) for cleaner model notationSYSMOD4AI package (top-level, own file, imports SYSMOD) providing AIProject, a template of AI metadata usages — one per main artifact plus a stakeholder priority map — each carrying create_prompt, create_questions, validation_prompt, and ready-to-run perform_prompt, story_prompt, and slide_prompt prompts, chained across all artifactsImport the library into your SysML v2 model:
package MyProject {
private import SYSMOD::*;
#project occurrence def <PRJ> MyProject {
// redefine inherited parts to specialize for your project
}
}
For AI-assisted creation and validation, additionally import SYSMOD4AI and apply AIProject's AI metadata usages (e.g. AIProject::problemStatementAI) to the identically-named/-roled feature on your own project.
You don't need a special plugin or skill to use SYSMOD with an AI assistant. The prompts are part of the library: every main artifact of a project carries AI metadata in SYSMOD4AI.sysml with questions to ask, instructions to create the artifact, and rules to validate it. AIProject::defaultProcessAI walks you through the whole SYSMOD process step by step and uses the AI metadata of each artifact on the way.
Give an AI assistant that can read GitHub repositories the following prompt and answer its questions:
Perform the prompts in AIProject::defaultProcessAI in the file SYSMOD4AI.sysml of the GitHub repository MBSE4U/sysmod-sysmlv2 (branch main), which is based on the SYSMOD methodology in the file SYSMOD.sysml of the same repository.
Each AI metadata usage also has a story_prompt and a slide_prompt that explain the model in plain language for stakeholders who don't read SysML. For example, once the assistant has created a model of a camera drone:
Create a PowerPoint slide deck of the camera drone using the story and slide prompts in SYSMOD4AI, telling the whole story of the system by walking through SYSMOD. The target audience is clients.
SYSMOD.sysml # The core SYSMOD library
SYSMOD4AI.sysml # AI-assisted extension (AI metadata, AIProject) — imports SYSMOD
SYSMODRequirementsBoilerPlates.sysml # Reusable quantitative requirement patterns (MaxValue, MinValue, ...)
SYSMODViews.sysml # Stakeholders, concerns, viewpoints, and views (ISO/IEC/IEEE 42010)
SYSMODViews.md # Generated, read-only documentation of SYSMODViews.sysml
scripts/generate_views_doc.py # Generates SYSMODViews.md (run after changing the library)
examples/ # Delivery Drone example model
DeliveryDroneSystemProject.sysml # Project definition tying all artifacts together
DeliveryDroneSystemStakeholders.sysml # Stakeholders and stakeholder needs
DeliveryDroneSystemBrownfieldArchitecture.sysml # Brownfield context (black box + white box)
DeliveryDroneSystemIdea.sysml # System idea context
DeliveryDroneSystemSpecification.sysml # Specification context, use cases, requirements
DeliveryDroneSystemFunctionalArchitecture.sysml # Functional architecture
DeliveryDroneSystemLogicalArchitecture.sysml # Logical architecture
DeliveryDroneSystemProductArchitecture.sysml # Product architecture and verification
DeliveryDroneSystemControlStationProject.sysml # Control station sub-project
DeliveryDroneSystemDomainLibrary.sysml # Shared domain items (orders, parcels, energy, ...)
views/ # Example renderings of the SYSMOD views (SVG)
SYSMODViews.md documents the SYSMODViews library: the ISO/IEC/IEEE 15288 processes, stakeholders, concerns, viewpoints, and views with their traceability and an example of each view. The file is read-only and generated from the library. After changing SYSMODViews.sysml, SYSMOD.sysml, or the example views, regenerate it:
python scripts/generate_views_doc.py
The GitHub workflow views-doc.yml also regenerates and commits it on every push that changes these files.
Contributions are welcome — please submit issues or pull requests.
For feedback or questions: tim@mbse4u.com