Abstract
System complexity has become ubiquitous in the design, assessment, and implementation of practical and useful cyber-physical systems. This increased complexity is impacting the management of models necessary for designing cyber-physical systems that are able to take into account a number of "-ilities", such that they are safe and secure and ultimately resilient to disruption of service. We propose an ontological metamodel for system design that augments an already existing industry metamodel to capture the relationships between various model elements and safety, security, and resilient considerations. Employing this metamodel leads to more cohesive and structured modeling efforts with an overall increase in scalability, usability, and unification of already existing models. In turn, this leads to a mission-oriented perspective in designing security defenses and resilience mechanisms to combat undesirable behaviors. We illustrate this metamodel in an open-source GraphQL implementation, which can interface with a number of modeling languages. We support our proposed metamodel with a detailed demonstration using an oil and gas pipeline model.
Introduction
Modern Cyber-Physical Systems (CPS)—such as power grids, autonomous vehicles, and industrial pipelines—exhibit extreme complexity. Traditionally, the engineering disciplines of "safety" (preventing accidental harm) and "security" (preventing intentional harm) have operated in silos. However, in a CPS, these domains are inextricably linked; a security breach, such as a compromised sensor, can lead directly to a safety catastrophe.
Existing Model-Based Systems Engineering (MBSE) tools often exacerbate this fragmentation. Safety engineers, security analysts, and system architects frequently use disparate models that lack interoperability. This disconnect hinders the design for resilience—the system's ability to maintain critical operations despite failures or attacks.
The Ontological Metamodel
To bridge these gaps, we propose an ontological metamodel that serves as a "model of models." This framework defines system entities and their interrelationships, providing a unified language for coengineering.
The metamodel is built upon the industry-standard Vitech metamodel, which handles core architecture elements like components, functions, and requirements. We extend this foundation by integrating safety concepts from the Systems-Theoretic Process Analysis (STPA) framework and security/resilience concepts from the Mission Aware methodology.
By formalizing relationships between architectural components and risk-related entities (e.g., "Loss Scenarios," "Unsafe Control Actions," and "Attack Vectors"), the metamodel ensures that resilience is a first-class citizen in the design process.
Coengineering with Mission Aware
The integration of the Mission Aware methodology allows for a structured coengineering process. This process involves collaboration between "yellow teams" (designers), "blue teams" (operators), and "red teams" (security analysts) to identify vulnerabilities and prioritize resilience solutions.
The methodology focuses on identifying critical mission functions and deploying "Sentinels"—secure monitors that detect anomalies and trigger "Resilient Modes." These modes allow the system to transition to a degraded but safe state when a threat is detected.
Implementation and Case Study
A key innovation of this work is the implementation of the metamodel using GraphQL. Unlike proprietary MBSE tools, GraphQL provides a tool-agnostic, human-readable interface that can be queried by various analysis tools. This "source of truth" facilitates better collaboration and automated assessments.
We demonstrated the metamodel's efficacy using an oil and gas pipeline case study. The model included physical components (pipes, pumps, valves), sensors, and SCADA control logic. The demonstration showed how a Sentinel could detect a hacked sensor reporting false data and switch the pipeline to a Resilient Mode, preventing physical damage.
Tradespace Analysis and Results
The metamodel enables quantitative "tradespace analysis" using metrics such as recoveryRatio and operationalImpact. Designers can compare different resilience strategies—for instance, evaluating whether the cost of redundant hardware sensors is justified by the increased security compared to software-based monitoring.
Key results include:
- Formalization of Risk: Mapping complex safety and security concepts into a unified data structure.
- Sentinel Pattern Validation: Demonstrating effective detection and mitigation of loss scenarios.
- Interoperability: Proving that system models can be decoupled from specific vendor tools for broader analysis.
Conclusion and Future Work
While the metamodel provides a robust framework for coengineering, challenges remain. Implementing "bridges" for existing modeling tools requires initial effort, and the metamodel itself does not perform dynamic simulations. Future research will focus on linking this framework to simulation engines like Simulink and refining the modeling of human-operator interactions during high-stress security events.
Summary updated