For Cybersecurity Consciousness Month, we’re republishing our most learn put up during the last 4 years, Nataliya Shevchenko’s 2020 piece on model-based techniques engineering (MBSE). This put up supplies an introduction to MBSE and descriptions how the methodology can be utilized to make sure that techniques are safe by design.
Mannequin-based techniques engineering (MBSE) is a formalized methodology that’s used to assist the necessities, design, evaluation, verification, and validation related to the event of advanced techniques. In distinction to document-centric engineering, MBSE places fashions on the middle of system design. The elevated adoption of digital-modeling environments throughout the previous few years has led to elevated adoption of MBSE. In January 2020, NASA famous this pattern by reporting that MBSE, “has been more and more embraced by each business and authorities as a way to maintain monitor of system complexity.” On this weblog put up, I present a short introduction to MBSE.
One space of concern inside advanced techniques is cybersecurity. The SEI CERT Division has begun researching how MBSE can be utilized to mitigate safety dangers early within the system-development course of in order that techniques are safe by design, in distinction to the frequent follow of including safety features later within the growth course of. Capturing system attributes in fashions allows techniques engineers to carry out threat-modeling evaluation of the system early and incorporate mitigation methods into the system design, thereby decreasing the system’s general security-related dangers.
MBSE in a digital-modeling atmosphere supplies benefits that document-based techniques engineering can not present. For instance, in a document-based strategy, many paperwork are generated by totally different authors to seize the system’s design from varied stakeholder views, resembling system conduct, software program, {hardware}, security, safety, or different disciplines. Utilizing a digital-modeling strategy, a single supply of reality for the system is constructed wherein discipline-specific views of the system are created utilizing the identical mannequin components.
A digital-modeling atmosphere additionally creates a typical standards-based strategy to documenting the system that may be programmatically validated to take away inconsistencies throughout the fashions and implement the usage of an ordinary by all stakeholders. This frequent modeling atmosphere improves the evaluation of the system and reduces the variety of defects which might be generally injected in a conventional document-based strategy. The provision of digitalized system information for evaluation throughout disciplines supplies constant propagation of corrections and incorporation of recent data and design choices (i.e., state it as soon as and robotically propagate to numerous views of the info) to all stakeholders. When MBSE is finished correctly, the result’s an general discount of growth dangers.
MBSE brings collectively three ideas: mannequin, techniques considering, and techniques engineering:
- A mannequin is a simplified model of something–a graphical, mathematical, or bodily illustration that abstracts actuality to get rid of some complexity. This definition implies formality or guidelines in simplifying, representing, or abstracting. To mannequin a system, a techniques architect should symbolize the system with much less element in order that its construction and conduct are obvious and its complexity is manageable. In different phrases, fashions ought to sufficiently symbolize the system, and the system ought to verify the mannequins.
- Programs considering is a approach of a system into account not as a self-sufficient entity, however as half of a bigger system. Programs considering isn’t the identical as a scientific adherence to following good plans, gathering statistics, or being methodical. The techniques engineer observes the system from a distance; explores its boundaries, context, and lifecycle; notes its conduct; and identifies patterns. This methodology will help the engineer to establish points (e.g., lacking interplay, a lacking step in a course of, duplication of effort, missed alternative for automation) and handle a system’s complexity. Though techniques engineers should break down and analyze the system within the beginning–identify elements and describe connections between them–with techniques considering, they later synthesize the elements again right into a coherent entire. Elements usually are not simply linked to different elements, they rely on one another to work correctly. Programs considering emphasizes this interconnectedness. The conduct of the system emerges from the actions of the system’s subparts. Observing the system’s interconnections, the techniques engineer identifies suggestions loops and causality patterns that might not be obvious at first. Programs considering will help make points extra obvious and simpler to establish, steadiness the system, and handle the system’s complexity.
- Programs engineering is a transdisciplinary and integrative strategy to allow the profitable realization, use, and retirement of engineered techniques, utilizing techniques rules and ideas, and scientific, technological, and administration strategies. It brings collectively quite a lot of methods to be sure that all necessities are glad by the designed system. It concentrates on structure, implementation, integration, evaluation, and administration of a system throughout its lifecycle. It additionally considers software program, {hardware}, personnel, processes, and procedural facets of the system.
If a company has determined to undertake MBSE as an inside systems-engineering strategy and chosen one of many 4 or 5 present merchandise for digital modeling which might be in the marketplace, the group’s techniques engineers ought to think about whether or not it will comply with any architectural frameworks. Though a complete dialogue of this matter is past the scope for this weblog put up, the selection of a specific architectural framework will present extra steering and construction to the modeling actions, particularly if the techniques engineers are already conversant in the framework.
MBSE is a multidisciplinary and multifaceted endeavor. It requires its personal actors, processes, atmosphere, and knowledge flows. To create a profitable mannequin of a posh system or system of techniques, a company should assist the modeling course of. The assist wanted isn’t a lot totally different from what’s required for a company to efficiently develop and ship a posh system or system of techniques. MBSE will be successfully built-in right into a growth course of, however the group should decide to the trouble that might be required to mannequin the system.
Making use of techniques considering, we will acknowledge that there are three techniques concerned within the modeling course of: the designed system, the designed system’s context, and the modeling group for the designed system. The designed system operates within the context of a bigger system, and the modeling group should perceive each the designed system and the designed system’s context. The group should additionally concentrate on its personal conduct, successes, and failures.
Modeling
Now we have all seen, used, or created fashions all through our lives, starting from toys that symbolize automobiles or planes to mathematical formulation that describe and clarify bodily phenomena resembling thermodynamics or gravity. Whereas basically totally different, these fashions all join an concept to a actuality and supply ample abstraction for the aim. When modeling a system, the techniques engineer decides what facets of the manufacturing system are most necessary, resembling construction, power or matter stream, inside communication, or security and safety. These sorts of facets will turn out to be the main focus of the mannequin. The highest goal of the modeling exercise is to mannequin the salient facets on which the mannequin is concentrated as carefully to the true system as is feasible and possible.
Modeling as a method makes use of 4 devices:
- language
- construction
- argumentation
- presentation
A modeling language is a typical terminology for clearly speaking an summary concept that the mannequin captures. The modeling language will be formal, with strict syntax and guidelines. A number of system-modeling languages exist, together with general-purpose languages such because the Programs Modeling Language (SysML) and Unified Modeling Language (UML), in addition to specialised languages resembling Structure Evaluation Design Language (AADL). Though SysML and UML usually are not mathematically formal, a legitimate mannequin requires that the modeling language’s guidelines for entities and relationships be adopted. SysML has strict syntax and guidelines for relationships and connections between components, which helps to keep away from ambiguity. If a mannequin is effectively constructed, a number of sorts of normal SysML diagrams will be dynamically simulated, and at the least one kind of SysML diagram will be mathematically simulated. UML is semi-formal; SysML is much like UML, however extra formal.
A mannequin should have a construction. A well-structured mannequin could make the mannequin comprehensible, usable, and maintainable, which is especially necessary for advanced techniques. The objective of a mannequin is to indicate stakeholders that the offered design satisfies the system’s necessities. The mannequin ought to reveal, in an simply understandable approach, how the system have to be constructed to achieve success. Visualization is a key approach to make sure comprehensibility. Visualizing summary concepts allows folks to take the leap of creativeness that’s wanted to “see” the system.
Modeling Domains
Despite the fact that MBSE doesn’t dictate any particular course of, primarily any course of chosen ought to cowl 4 systems-engineering domains:
- necessities/capabilities
- conduct
- structure/construction
- verification and validation
Descriptions of those domains are effectively documented and mentioned by, amongst others, Protection Acquisition College (DAU), NASA, and Avi Sharma. The distinction that MBSE makes is that these basic systems-engineering domains are outlined not as a set of paperwork, however within the mannequin itself, i.e., in a proper approach utilizing a modeling language. The mannequin represents an argument for a way the system have to be designed for it to achieve success.
MBSE additionally fosters communication amongst stakeholders, techniques engineers, and builders. Since system design is carried out within the built-in modeling atmosphere, all techniques engineers, managers, and different stakeholders can have entry to the generated information–such as necessities, conduct flows, and architecture–as quickly as obligatory.
The most typical modeling exercise is the creation of diagrams representing some a part of the system–a view. This exercise is so frequent that some engineers mistakenly equate making a view with making a mannequin. This error is so pervasive that there’s even an rising time period for it: zombie mannequin. This time period refers to a mannequin that is filled with diagrams, however with no interconnectivity and dependencies recognized among the many components.
Anybody who’s about to begin modeling should notice {that a} set of views isn’t a mannequin. Though a view or perhaps a set of views can symbolize part of the system’s design and will be helpful for documenting and speaking some facets of the system, views are solely aspects or parts of the true system mannequin. An actual mannequin can produce many views and matrices, carry out analyses, and run simulations.
Language of System Modeling
Whereas a system-modeling language resembling SysML is a proper syntactic language, it’s nonetheless primarily based on components of human language. Its formality provides readability and self-discipline which might be essential for describing the design of a system. Such a language is straightforward to learn and perceive. Phrases of MBSE’s language merely map to elements of speech:
- noun: actors, blocks, elements, necessities
- verb: operational actions, features, use instances
- adjective: attributes
- adverb: relationships, needlines, exchanges, interfaces
This view of the modeling language helps its customers to mentally map real-life ideas to summary concepts, and eases the formalization of the modeling course of.
4 Quadrants of the MBSE Mannequin
Now that I’ve described the fundamentals of a mannequin’s language and domains, I’ll describe the modeling strategy. A mannequin should describe each an issue that the designed system solves, and the designed system itself (the answer). The mannequin should have these two sides, the issue aspect and the answer aspect. These are typically known as the operational and system factors of view.
The operational standpoint is the angle of customers, operators, and enterprise folks. It ought to symbolize enterprise processes, targets, organizational construction, use instances, and knowledge flows. The operational aspect of the mannequin can include the outline of “the world as-is” and the longer term state.
The system standpoint is the answer, the structure of the system that solves the issue posed within the operational aspect of the mannequin. It ought to describe the conduct of the system, its construction, dataflows between elements, and allocation of performance. It ought to describe how the system might be deployed in the true world. It may well include resolution options and analyses of them.
Every of those factors of view has two elements, logical and bodily. Separating logical and bodily facets of the mannequin is a solution to handle a system’s complexity. Logical elements of the mannequin normally change little over time, whereas bodily adjustments are sometimes initiated by know-how advances.
If the mannequin is constructed correctly, all 4 quadrants needs to be tightly linked, as proven in Determine 1 beneath. Statements of the issue needs to be traced to components of the answer, and logical components allotted to bodily buildings. The consumer of the mannequin ought to be capable to see clearly how the top-level ideas and elements decompose to the decrease stage options. Customers ought to be capable to carry out system evaluation, create dependency matrices, run simulations, and produce a view of the system for each stakeholder. If the bodily a part of the system should change, the logical aspect of the mannequin identifies precisely what performance might be affected. If a requirement or enterprise course of have to be modified, the mannequin will simply uncover the affect on the options.
Determine 1: Elements of A Mannequin
Wrapping Up and Wanting Forward
On this put up, I defined what MBSE is, confirmed the way it pertains to techniques engineering, and mentioned the basics of mannequin and modeling. My subsequent put up will take a extra sensible strategy and focus on necessities and necessities fashions.