MBSE iNsightsMBSE iNsights

· 17 min read

Design Structure Matrices in SysML v2: Drawn from the Model, Clustered Eleven Ways

A design structure matrix is a view of the model, not a spreadsheet beside it. Here is a 17-part weather buoy drawn as a DSM by the SSR view renderer, clustered by greedy bidding, Louvain and spectral clustering, and a guide to which of the eleven algorithms to run at each point in the lifecycle.

Every program reaches the point where somebody asks how the system breaks into pieces. Which parts belong together on one board, in one enclosure, with one team? In what order can they be brought up on the bench? And when one of them changes, what else comes back to the table? The design structure matrix (DSM) is the classic engineering tool for all three, and it is older than SysML.

Chapter 21 of Models That Answer shows what a DSM is, why it is a view of a SysML v2 model rather than a separate artifact, and how to produce one from the Fish On! model and analyze it with two DSM tools originally built for SysML v1 matrices. This article goes further. Since the book, the SysML v2 Semantic Reasoner’s view renderer, ssr-render, draws the DSM straight from the model and runs the eleven clustering algorithms itself, so the matrix, the clustering and the reasoner’s findings come out of one model in one step. Below is a worked example, what each algorithm optimizes, and which one to reach for at each point in the systems engineering lifecycle.

What a DSM is, in one paragraph

A DSM is a square table. The same elements label the rows and the columns, in the same order, and a mark in a cell records a relationship between the row’s element and the column’s. Two things make it more than a table. Reorder the rows and columns together and the marks move; choose the order well and they gather into blocks along the diagonal. Each block is a module, a group of elements that mostly relate to each other, and the marks left outside the blocks are the interfaces between modules. And when a mark has a direction, an order that puts every mark on one side of the diagonal is a build or integration sequence; a mark that refuses to leave the wrong side is feedback, a loop of elements that must be developed together. Chapter 21 lists the four jobs engineers use DSMs for: modularity, sequencing, change propagation and interface management.

Why a SysML v2 model makes one for free

A DSM built by hand is a spreadsheet. Someone reads the drawings, marks the cells and saves the file, and from that day on the spreadsheet and the design drift apart. A SysML v2 model already holds everything a DSM needs: the parts, and the connections, interfaces and flows between them, each a distinct construct with a source and a target. The matrix is a query over the model, so the right way to keep one is as a view in the model, regenerated every time it is drawn.

The renderer’s dsm view does exactly that. It draws a part’s parts against each other: a square for a connection or interface, marked both ways, and a dot for a flow, from the row’s part to the column’s. Every matrix states its convention on its face, so nobody reads it backwards.

The example: a moored weather buoy

The example is a coastal weather buoy, deliberately small but coupled the way real systems are. A solar panel charges a battery through a charge controller, which feeds a power bus. A serial sensor hub powers five sensors and collects their readings. A data logger gathers the readings, the GPS fix and the charge status, and sends telemetry to shore over two links, satellite and cellular, each a modem with its own antenna. The logger also drives the navigation beacon’s flash code.

This is an architecture-stage model: the parts and what moves between them, written as usages, with item definitions for the eight kinds of thing that flow. Ports and interfaces come later, in design (more on that below). Each powered part states its draw, and one requirement checks the power budget:

package WeatherBuoy {
    private import ISQ::*;
    private import SI::*;
    private import NumericalFunctions::sum;
    private import SSRLayout::*;
    private import StandardViewDefinitions::GridView;

    doc /* A moored coastal weather buoy: solar power, five sensors on a
           serial hub, a data logger, and two telemetry links to shore. */

    // What moves between the parts.
    item def DCPower;
    item def Measurement;
    item def PositionFix;
    item def ChargeStatus;
    item def Telemetry;
    item def Command;
    item def RfSignal;
    item def FlashCode;

    part buoy {
        attribute busLoad : PowerValue =
            sum((sensorHub.draw, gpsReceiver.draw, dataLogger.draw,
                 satModem.draw, cellModem.draw, beaconLight.draw));

        // ------------------------------------------------ power
        part solarPanel;
        part chargeController { attribute loadRating : PowerValue = 6.0 [W]; }
        part battery;
        part powerBus;

        // ------------------------------------------------ sensing
        part sensorHub { attribute draw : PowerValue = 0.9 [W]; }
        part anemometer;
        part barometer;
        part waveSensor;
        part ctdSensor;
        part mooringLoadCell;
        part gpsReceiver { attribute draw : PowerValue = 0.15 [W]; }

        // ------------------------------------------------ logging and telemetry
        part dataLogger { attribute draw : PowerValue = 0.6 [W]; }
        part satModem { attribute draw : PowerValue = 1.5 [W]; }
        part satAntenna;
        part cellModem { attribute draw : PowerValue = 1.2 [W]; }
        part cellAntenna;
        part beaconLight { attribute draw : PowerValue = 0.8 [W]; }

        // ------------------------------------------------ flows
        flow of DCPower from solarPanel to chargeController;
        flow of DCPower from chargeController to battery;
        flow of DCPower from battery to chargeController;
        flow of DCPower from chargeController to powerBus;
        flow of ChargeStatus from chargeController to dataLogger;

        flow of DCPower from powerBus to sensorHub;
        flow of DCPower from powerBus to gpsReceiver;
        flow of DCPower from powerBus to dataLogger;
        flow of DCPower from powerBus to satModem;
        flow of DCPower from powerBus to cellModem;
        flow of DCPower from powerBus to beaconLight;

        flow of DCPower from sensorHub to anemometer;
        flow of DCPower from sensorHub to barometer;
        flow of DCPower from sensorHub to waveSensor;
        flow of DCPower from sensorHub to ctdSensor;
        flow of DCPower from sensorHub to mooringLoadCell;
        flow of Measurement from anemometer to sensorHub;
        flow of Measurement from barometer to sensorHub;
        flow of Measurement from waveSensor to sensorHub;
        flow of Measurement from ctdSensor to sensorHub;
        flow of Measurement from mooringLoadCell to sensorHub;
        flow of Measurement from sensorHub to dataLogger;
        flow of PositionFix from gpsReceiver to dataLogger;

        flow of Telemetry from dataLogger to satModem;
        flow of Command from satModem to dataLogger;
        flow of Telemetry from dataLogger to cellModem;
        flow of Command from cellModem to dataLogger;
        flow of RfSignal from satModem to satAntenna;
        flow of RfSignal from satAntenna to satModem;
        flow of RfSignal from cellModem to cellAntenna;
        flow of RfSignal from cellAntenna to cellModem;
        flow of FlashCode from dataLogger to beaconLight;
    }

    requirement <'WB-R01'> loadWithinRating {
        doc /* The loads on the power bus shall not exceed the charge
               controller's load output rating. */
        subject b;
        require constraint { b.busLoad <= b.chargeController.loadRating }
    }
    satisfy loadWithinRating by buoy;

    view buoyDsm : GridView {
        expose buoy::*;
        render asDesignStructureMatrix;
    }
    view buoyModules : GridView {
        @Layout { cluster = ClusterAlgorithm::greedy_dsm; }
        expose buoy::*;
        render asDesignStructureMatrix;
    }
}

Seventeen parts, thirty-two flows. Some of them run both ways on purpose: the battery is charged and discharged through the controller, each sensor takes power from the hub and returns readings to it, each modem takes telemetry from the logger and hands commands back, and each antenna both transmits and receives. Those return paths are where the interesting structure is.

Creating the DSM

There are two ways to ask for one, and both are shown in the listing.

As a view in the model. buoyDsm is an ordinary SysML v2 view usage. It is typed by the standard library’s GridView, whose own documentation names a “Relationship matrix view, e.g. presenting allocation or dependency relationships” among its uses. It exposes the buoy’s parts, and render asDesignStructureMatrix; asks for the matrix. The renderer honors that rendering by name. A tool that doesn’t know it still knows what the view exposes, and the reasoner still reads the view as part of the model. To draw it:

ssr render WeatherBuoy.sysml SSR-Layout-Hints.sysml --library sysml.library --view buoyDsm -o buoy-dsm.svg

From the command line, for any part. Without a view usage, name the part and the kind:

ssr render WeatherBuoy.sysml SSR-Layout-Hints.sysml --library sysml.library --target WeatherBuoy::buoy --kind dsm -o buoy-dsm.svg

The SSR-Layout-Hints.sysml file is the renderer’s small layout library. It is plain SysML v2 metadata, and it only matters once you ask for a clustering, which comes next. The same commands take --format csv to write the matrix as CSV instead of SVG.

A SysML v2 design structure matrix view titled buoyDsm, verdict Consistent, captioned rows send to columns. Seventeen parts label the rows and columns in this order: solarPanel, chargeController, battery, powerBus, sensorHub, anemometer, barometer, waveSensor, ctdSensor, mooringLoadCell, gpsReceiver, dataLogger, satModem, satAntenna, cellModem, cellAntenna, beaconLight. Black dots with arrows mark flows. Dashed outlines on the diagonal enclose three coupled blocks: chargeController and battery; sensorHub with the five sensors; and dataLogger with satModem, satAntenna, cellModem and cellAntenna. The powerBus row has flows to sensorHub, gpsReceiver, dataLogger, satModem, cellModem and beaconLight.
The view buoyDsm, rendered from the listing. Dots are stated flows, read from row to column. With no clustering asked for, the renderer orders the parts by layers of the flow graph and outlines each loop as a coupled block: the charge controller and battery, the sensor hub and its five sensors, and the data logger with both modems and both antennas. Every flow outside the blocks lies above the diagonal.

Read it before any algorithm touches it. Without being asked for a clustering, the renderer partitions the parts by the layers of the flow graph and keeps loops together. The result is already a sequence: the solar panel; the charge controller and battery, which feed each other; the power bus; the sensing block, where the hub and its sensors feed each other; the GPS; the logger and telemetry block; and the beacon. Every flow outside the three blocks lies above the diagonal, so nothing waits on anything later.

The eleven algorithms

Ask for a clustering and the renderer runs one of the eleven algorithms of the DSM Clustering & Analysis Tool, the application Chapter 21 uses, ported with the same parameters and defaults. It orders the parts, outlines the clusters on the diagonal, and names the algorithm, its parameters and its quality metrics in the legend. All eleven are deterministic: the stochastic ones (genetic, simulated annealing, k-medoids) take a random_seed, default 42, and draw from the same generators as the original, so a seed gives the same clusters in both.

They fall into three groups by what they are for.

Partitioning and sequencing: what must happen together, and in what order

  • Strongly connected components (scc) finds every group of elements that reach each other around a loop. It is exact and has no parameters. On a flow DSM, a block of more than one element is a feedback loop: parts that cannot be designed, built or started in isolation.
  • Topological sequencing (topological) orders the elements so dependencies run one way. If there are loops, it first tears them, removing one dependency per loop, then puts each element in the layer of its longest path from a source. The torn dependencies are listed in the legend as feedback: those are the loops to resolve.
  • Matrix seriation (seriation) looks for a good order rather than a partition, pulling marks toward the diagonal by one of four methods (a spectral ordering, the bond energy algorithm, reverse Cuthill–McKee or a dendrogram’s leaf order). The order is the result; the soft blocks it reads off that order are suggestions.

Modularity and clustering: where the natural modules are

  • Greedy DSM bidding (greedy_dsm) is the classic DSM clustering move. Every element starts alone and bids for the neighboring cluster that most raises a weighted score: a reward for each dependency inside a cluster (alpha), a penalty for each one between clusters (beta), and a penalty on cluster size (gamma). Raise beta to cut more interfaces; raise gamma or lower max_cluster_size to keep modules small.
  • Louvain community detection (louvain) maximizes modularity: the share of dependencies inside communities minus the share you would expect if the same parts were wired at random. It finds communities without being told how many, and its modularity says how modular the system is; above about 0.3 is clearly modular.
  • Hierarchical agglomerative (hierarchical) builds a tree bottom-up, merging the two closest clusters at each step, and cuts it into the number of clusters you ask for. It optimizes nothing global, which is its strength in a review: every merge can be explained.
  • Spectral clustering (spectral) finds groups with few dependencies between them relative to their size, using the eigenvectors of the graph Laplacian. It sees through a part that bridges two modules and gives balanced groups.
  • k-medoids (kmedoids) splits the parts into exactly n_clusters groups around actual parts chosen as centers. With distance_metric=jaccard it groups parts that talk to the same others even when they never talk to each other.

Optimization: a second opinion when the first answer may be a local optimum

  • Simulated annealing (simulated_annealing) starts from a random partition and proposes moves, swaps, merges and splits, sometimes keeping a worse partition while the search is “hot” so it can climb out of a local optimum. It uses the same kind of weighted score as greedy bidding.
  • Genetic algorithm (genetic) evolves a population of partitions by selection, crossover and mutation. Unlike annealing, it penalizes a cluster only once it grows past max_cluster_size, so it fills modules up to a size you choose.
  • Multi-objective optimization (multi_objective) runs annealing five times with five different weightings, from cohesion-first to coupling-first, keeps the run that holds the most dependencies inside modules, and reports all five as a Pareto set.

Every run reports the same quality metrics, so runs can be compared: internal and external dependencies, the modularity-like score (internal over all dependencies, where 1 is fully modular), an objective score computed with the same weights for every algorithm, average cohesion and coupling, and the number of singletons.

What the algorithms say about the buoy

To put a clustering in the model, add the layout metadata to the view usage. buoyModules asks for greedy bidding:

view buoyModules : GridView {
    @Layout { cluster = ClusterAlgorithm::greedy_dsm; }
    expose buoy::*;
    render asDesignStructureMatrix;
}

Parameters go in clusterParameters as a string of name=value pairs, and any parameter left out takes its default. On the command line, --cluster and --cluster-param do the same for one drawing and override the view usage’s choice:

ssr render WeatherBuoy.sysml SSR-Layout-Hints.sysml --library sysml.library --view buoyDsm --cluster louvain -o buoy-louvain.svg

In the interactive viewer, a DSM view shows an algorithm menu and a field for each of the algorithm’s parameters, and redraws on every change.

A design structure matrix view titled buoyModules, verdict Consistent. The parts are reordered into four dashed clusters on the diagonal. C0: solarPanel, chargeController, battery. C1: powerBus, gpsReceiver, dataLogger, satModem, satAntenna, beaconLight. C2: sensorHub, anemometer, barometer, waveSensor, ctdSensor, mooringLoadCell. C3: cellModem, cellAntenna. Below the grid, a legend headed Clusters: Greedy DSM bidding lists the parameters alpha 1.0, beta 0.5, gamma 0.1, max_cluster_size 10, iteration_limit 100, random_seed 42, and the quality metrics: 25 internal dependencies, 7 external dependencies, modularity-like score 0.7812, average cluster size 4.25, objective score 7, average cohesion 0.5417, average coupling 0.0355, 0 singletons.
The view buoyModules: greedy DSM bidding, asked for by the view usage's @Layout metadata. Four clusters, labeled C0 to C3 beside the grid. The legend names the algorithm, its parameters and the quality of the result: 25 internal dependencies, 7 external, a modularity-like score of 0.7812.

Greedy bidding finds the two modules any engineer would draw, power generation and sensing, and splits the rest in a way worth questioning: the satellite modem stays with the logger and the power bus, while the cellular modem and its antenna stand alone. Louvain gives a second reading, and it disagrees in exactly that place.

The buoyDsm view clustered by Louvain community detection. Three dashed clusters: C0 solarPanel, chargeController, battery; C1 powerBus, gpsReceiver, dataLogger, satModem, satAntenna, cellModem, cellAntenna, beaconLight; C2 sensorHub and the five sensors. The legend reports modularity 0.459, 28 internal and 4 external dependencies and a modularity-like score of 0.875.The buoyDsm view clustered by spectral clustering. Four dashed clusters: C0 sensorHub and the five sensors; C1 powerBus, gpsReceiver, dataLogger, beaconLight; C2 solarPanel, chargeController, battery; C3 satModem, satAntenna, cellModem, cellAntenna. The legend reports 22 internal and 10 external dependencies and a modularity-like score of 0.6875.
The same view drawn with --cluster louvain (top) and --cluster spectral (bottom). Louvain finds three communities, with a modularity of 0.459, and keeps both telemetry links with the logger and the power bus. Spectral clustering, with its default of four clusters, pulls both modems and both antennas out into a module of their own.

Running all eleven on the same matrix, with their defaults, gives this:

AlgorithmClusters foundModularity-like score
scc3 loops (charging; hub and sensors; logger, modems and antennas) and 4 singletons0.625
topological7 layers, after tearing 10 feedback dependencies0
seriation3 soft blocks, one of them 12 parts0.4375
greedy_dsmpower, sensing, logger with the satellite link, cellular link alone0.7812
louvainpower, sensing, everything else0.875
hierarchicalthe same four clusters as greedy bidding0.7812
spectralpower, sensing, logger and bus, both telemetry links0.6875
kmedoidsthe solar panel alone, sensing, everything else (3 by default)0.9062
simulated_annealingthe same three clusters as Louvain0.875
geneticpower generation, and the other 14 parts together0.9375
multi_objectivethe same two clusters as the genetic algorithm0.9375

The highest modularity-like score is not the best answer. That score rewards putting everything in one cluster, which is why the genetic and multi-objective runs, which fold fourteen parts into one module, top the column. The objective score, which penalizes big clusters the same way for every run, ranks Louvain and annealing first at 8.4, greedy and hierarchical next at 7.0, and the two-cluster answer at −6.6. The multi-objective run shows the trade-off openly: of its five weightings, the balanced one found Louvain’s three clusters, and the cohesion-first and coupling-first ones found the two-cluster answer, which won on its rule of keeping the most dependencies inside modules.

Two runs are instructive because they “fail.” Topological sequencing tore ten dependencies to get a one-way order, and the list it prints is every return path in the model: the battery back to the controller, each sensor back to the hub, each modem back to the logger, and each antenna back to its modem. That list is the design’s feedback, spelled out. And k-medoids with distance_metric=jaccard and four clusters put the five sensors in a group of their own, apart from the hub they all connect to, with a modularity-like score of 0.0312. The sensors never talk to each other, but they talk to the same thing, which is what the Jaccard distance looks for: a family of like parts, rather than a module.

Chapter 21’s checklist still applies here: run strongly connected components first, and compare two clustering algorithms. Where they agree, as greedy bidding and Louvain do on power and sensing, the structure is real. Where they disagree, as they do on the telemetry links, the matrix is telling you there is a design decision to make, not a fact to read off.

Which algorithm, when

The same model serves different questions as a program moves through its lifecycle. Here is how the algorithms map onto them.

Concept and architecture: find the natural modules, and compare alternatives. Early on, the question is where the subsystem boundaries want to be. Start with greedy_dsm and compare louvain, which is the renderer’s own guidance for the usual DSM question. Louvain’s modularity is the number to compare across architecture alternatives: model each alternative’s parts and flows, render each one’s DSM, and the more modular alternative is the one with fewer interfaces to manage later. For a grouping you will defend in a review, use hierarchical, which can be explained merge by merge.

Design: manage the interfaces, and price the coupling. Once modules are chosen, every mark outside a block is an interface that two teams or two suppliers must agree on, and the external dependency count is the size of that job. Greedy bidding’s beta is the knob for this: raise it and the search cuts more interfaces, at the price of bigger modules. If a module must fit a board or an enclosure, genetic with max_cluster_size fills modules up to that limit. When ports and interfaces are added to the model, the renderer draws each interface as a square marked both ways, beside the flow dots; see Ports and Interfaces in SysML v2 for that step.

Integration and test: the build order and the loops. Here the direction of the marks matters most. Run scc on the flows first. Its blocks are the groups that cannot be integrated one part at a time: for the buoy, the charge controller with the battery, the hub with its sensors, and the logger with both telemetry links. Then topological gives the order between them, and its torn dependencies name the loops to break with a test fixture or a simulator. The buoy’s bench order reads straight off the first figure: solar panel, then the charging pair together, then the power bus, then the sensing block and the GPS, then the logger and telemetry block, then the beacon. A caution from the renderer’s own guidance: connections and interfaces are marked both ways, so every connected pair forms a loop. Read scc and topological on flows.

Change impact and sustainment: what a change ripples into. Late in life, the questions are about change. A part goes obsolete, a supplier offers a substitute, a requirement tightens. Read the changed part’s row (what it sends to) and column (what it receives from), then the rows of those parts, step by step. The module boundaries from the earlier clustering say whether the change stays inside one module or crosses into another team’s. The worked example in the next section does exactly this.

Team and organization alignment: Conway’s law, used on purpose. Systems tend to take the shape of the organizations that build them. A DSM lets you run that in the other direction: cluster the architecture, then draw team boundaries along the clusters, so each interface the teams must negotiate is one the architecture already has. When the number of teams or subcontracts is fixed, use kmedoids or hierarchical with target_cluster_count. When one part bridges two would-be teams, spectral balances the groups; on the buoy it is the algorithm that gives the telemetry links to a team of their own.

What the reasoner adds that a spreadsheet cannot

A spreadsheet DSM records marks. The renderer draws the matrix from a model that the reasoner has already read as a whole, so the matrix carries what the reasoner knows about it.

The findings are on the same view. Chapter 21 makes the point plainly: “A DSM shows that two things are related. It cannot show that the relationship is wrong.” Here is what that means in practice. Suppose that in design the power bus and the beacon get ports, with a port definition that says power only goes in, and an interface between them. And suppose the beacon’s power flow is written in the wrong direction:

port def PowerIn { in item supply : DCPower; }

part powerBus { port outlets : ~PowerIn; }
part beaconLight {
    attribute draw : PowerValue = 0.8 [W];
    port power : PowerIn;
}

interface connect powerBus.outlets to beaconLight.power;
flow of DCPower from beaconLight.power to powerBus.outlets;   // backwards

To any DSM tool, that is one more mark, and an expensive one: the backwards flow closes a loop through the power bus, the hub, the logger and the beacon, and the matrix reports a single coupled block of fourteen parts. The reasoner reports why:

✗ Flow runs against a declared direction — 'the flow of DCPower from beaconLight.power to powerBus.outlets'
      The flow starts at beaconLight.power, which does not produce — it carries DCPower the other way.
✗ Flow runs against a declared direction — 'the flow of DCPower from beaconLight.power to powerBus.outlets'
      The flow ends at powerBus.outlets, which does not accept — it carries DCPower the other way.

And the renderer marks that very cell.

The buoyDsm view of the miswired variant. A large dashed coupled block runs from powerBus to beaconLight, enclosing fourteen parts. In the beaconLight row, the powerBus column holds a red cell with a white cross. The powerBus row's beaconLight column holds a plain square for the interface. The legend lists the part itself, connected (connect, interface, connection), stated flow (row sends to column), flow SSR finds miswired (FLOW_DIRECTION), and coupled block (parts that feed each other).
The buoy's DSM with the beacon's power flow written backwards. The flow closes a loop, so the renderer's flow layering outlines a coupled block of fourteen parts. The cell itself is drawn in the finding color with a cross, and the legend names the finding: a flow SSR finds miswired, FLOW_DIRECTION.

The same thing happened to me while writing this example. My first draft gave every part typed ports and wrote the flows between them with no interfaces. The reasoner reported eighteen flows between ports that no interface connects, each quoting the line of the standard library’s Ports.sysml that makes it a contradiction rather than an omission. A spreadsheet would have counted all eighteen as good marks.

Derived values, marked as derived. The power budget is not typed into the model. The reasoner computes it from the parts and marks the result as inferred, so you can always tell a stated value from a derived one.

One source of truth. The DSM, the requirement check and the findings come from the same model in the same run. There is no export to go stale and no second copy of the architecture to keep in step.

Worked example: changing the satellite modem

A sustainment question: the satellite modem is going end-of-life, and the replacement draws 2.5 W instead of 1.5 W. What does that touch?

The DSM answers the first half. The satellite modem’s row sends to the data logger and the satellite antenna; its column receives from the power bus, the logger and the antenna. Three parts and five flows, two of them inside the logger and telemetry loop that scc already said must be integrated together, so the swap means re-testing that whole block, not just the modem. The power flow from the bus is the one a matrix cannot evaluate: it says the modem draws power, not how much.

The reasoner answers the second half. With the replacement’s 2.5 W in the model, the bus load rises from 5.15 W to 6.15 W, over the charge controller’s 6.0 W rating, and the power budget requirement breaks. The DSM shows where to look; the reasoner says what broke.

Checked by the reasoner

Everything above was produced by the SysML v2 Semantic Reasoner (SSR 1.30.1) and its view renderer from the listing in this article, with the OMG SysML v2 standard library loaded: every figure, every cluster and every metric. The model has no unresolved names. The reasoner reports it consistent, with no wiring findings, and computes the bus load from the parts:

CONSISTENT

PROVED — 1 value, and that is all of them: busLoad is bound to an expression.
  busLoad = 5.15 W (= NumericalFunctions::sum(sensorHub.draw, gpsReceiver.draw, dataLogger.draw, satModem.draw, cellModem.draw, beaconLight.draw))  [INFERRED]  derived: given by an expression, and this is what it evaluates to

The power budget holds:

ENTAILED — Yes. buoy meets loadWithinRating, and every constraint it states was evaluated against stated values and the values the model derives from them. That is satisfaction, not verification: ask `verification evidence for loadWithinRating` for whether anything checks it in practice (spec §278).
  buoy  [INFERRED]  every required constraint holds of it

With the replacement modem’s 2.5 W, it does not:

CONTRADICTED — No. buoy is claimed to satisfy loadWithinRating and breaches it. Ask `why buoy inconsistent` for the numbers it turned on.
  buoy  [ASSERTED]  claimed to satisfy loadWithinRating, and does not

Asked why, it names the two values:

INCONSISTENT — buoy is contradictory in 1 way(s), each shown with the statements it rests on.
  buoy is claimed to satisfy loadWithinRating, but does not: b.busLoad <= b.chargeController.loadRating  [INFERRED]
    ⇒ ... — b.busLoad = 6.15 W (= NumericalFunctions::sum(sensorHub.draw, gpsReceiver.draw, dataLogger.draw, satModem.draw, cellModem.draw, beaconLight.draw)), b.chargeController.loadRating = 6.0 W   (a satisfaction claim is contradicted by the subject's own data (spec §81))

The requirement is satisfied on paper and not yet verified, and the reasoner says so too: satisfaction is an argument, and verification is evidence. A real program would add the verification case that measures the bus load.

Going further

Chapter 21 of Models That Answer: A Practitioner’s Guide to Model-Based Systems Engineering with SysML v2 runs four of the DSM Clustering & Analysis Tool’s eleven algorithms (strongly connected components, topological layering, greedy cluster bidding and Louvain) on matrices exported from the Fish On! model as CSV. It covers the DSM’s two conventions, which SysML v2 construct belongs in which matrix, the folded requirements matrix and the whole-model matrix, and it ends by tracing a packet change through the model to a one-byte answer. It closes its tailoring section with three steps that lead on from what was built: a DSM tool that reads a SysML v2 model directly, matrices drawn from the reasoner’s entailed relationships, and a matrix rendering that a SysML v2 tool draws for a GridView. Since the book, the renderer has taken the first and the third: the matrix in this article is drawn by a SysML v2 tool from a GridView in the model, and clustered there by all eleven algorithms.

Get the next article by email

One email when a new article goes live, usually Thursday morning. SysML v2 and MBSE practice, no filler. Unsubscribe with one click.

More of this, on video

Walkthroughs in SysML v2 and MBSE tooling, with the model on screen.

Subscribe on YouTube