Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

About this edition

Adapted from The SysML v2 Book, by the sysml-rs contributors, revision 87d74b3. This English edition retains the book’s coffee-machine study, sixteen chapters and appendices A–J. The source edition remains available unchanged. The original generated Language Reference is linked rather than reproduced: its implementation matrix measures a different tool.

What changed

  • The worked examples use Open-MBEE OpenSysML MDK 0.12.1. The program name is sysml. Commands, diagnostics and example outputs describe this implementation, not the language standard.
  • Examples specify import visibility, declare the signals and features they reference, and distinguish a bound value from an initial value. Control nodes, calculation results, filter predicates and verification objectives use standard notation. Code shown in its surrounding model is distinguished from grammar templates and deliberate counterexamples.
  • The figures are static renderings of the supplied model views, not captures of the original viewer. The same model sources are distributed with the book.
  • Chapters 15 and 16 and appendices D–F use OpenSysML’s project loading, checking, evaluation, state execution and diagnostic facilities. The chapter on physical models distinguishes a differential equation from a numerical solver; it does not assume an automatic integrator or implicit conservation laws.

The original prose and diagrams and their adaptations are distributed under Creative Commons Attribution 4.0 International. The model snippets and example models are dual licensed under MIT or Apache-2.0. The original authors have not endorsed the changes. See the original license notice.

Where to find the porting changes

Lesson or appendixChange in the worked material
2: first model, 4: importsUse explicit visibility. Check a file or load both sides of an import together; a package import is not a filesystem lookup.
3: definitions, 5: structure, 6: connectionsSeparate a role from an instance, distinguish undirected ref item from a composite port member, and name the payload feature at each end of a transfer. The connection between two definitions is marked as a counterexample.
7: actions, 8: statesDeclare control nodes before wiring them; write each succession between two endpoints. Type the loop variable, declare signal types and separate absolute times from durations.
9: expressionsBind the calculation result once, supply expression inputs, import the sequence operators and distinguish a rate from integration.
10: verification, 11: integrated modelPut result expressions in their proper bodies. Bind and instantiate the subject. Check a returned verdict separately from a design’s satisfaction claim. Chapter 11’s six displayed packages run together without the lesson vocabulary: the same temperature case passes at 96 °C and fails at 97 °C.
12: variants, 13: viewsReplace a reserved variant name. Identify metadata targets, filter on modeled metaclasses/metadata, and use viewpoint usages rather than satisfying a definition by name.
14: librariesSeparate KerML library source from SysML input, and duration and temperature units from scalar magnitudes.
15: projects, 16: runningLoad a workspace, round-trip an archive, instantiate a machine, run a timed controller and compare input powers under one heating model.
A: syntax, B: migration, G: relationships, H: lexical formsProvide the owning model context, preserve directions in redefinitions, distinguish grammar from tool diagnostics, and correctly close lexical notes.
C: API, D: tools, E: dynamics, F: diagnosticsReplace product-specific commands, diagnostic identifiers, interactive workbenches and solver claims. Keep the standard interchange concepts, state-space model and physical limitations.