The Architecture
CREEM schema, meta base structure, instance runtime, and industrial resource architecture
How to read the diagram

The diagram separates definition from execution. The concentric model on the left is the CREEM Schema: it defines the type system and the rules used to construct a valid model. The Meta Base Structure in the center is the conformance boundary. It converts schema types into instance structures without discarding identity, inheritance, metadata, or extension rules. The right side is the CREEM Instance: it binds a validated model to workflows, software services, devices, files, operators, analytics stores, and asset interfaces.

The solid horizontal path is the primary type-resolution path. A domain-specific type resolves through type-tree mapping and the core inheritance tree before it reaches the metadata type and meta-structure contract. Dotted lines show mappings, generated projections, and runtime associations. Filled connection points mark explicit interfaces where an implementation must preserve identity, type, status, and provenance.

Schema side: three levels of specialization
Schema levelContents shown in the figureTechnical responsibility
Core LayerGlobal Namespace, Finite State Machine, Type Inheritance Tree, Base Objects, Meta InformationDefines stable identity, lifecycle state, subtype rules, common object semantics, and descriptive fields. Every higher-level object must resolve to these contracts.
Common Domain LayerGlobal Data Table, Global Status Code, IoT Behavior Tree, Workflow DSL, Workflow Description, low-code and 3D mappingsAdds execution concepts that recur across industries. It standardizes shared state, status propagation, workflow composition, and scene-to-model binding without assuming a specific plant domain.
Domain Specific LayerDomain types, architecture, scene models, planners, service builders, compiler and interpreter specificationsSpecializes the common contracts for an engineering discipline or facility. A domain package may add types and tools, but it cannot bypass core identity, inheritance, or lifecycle semantics.
The A1 to A5 core anchors

The five numbered anchors form the minimum semantic kernel. Each answers a separate runtime question. If an implementation collapses them into a generic object, validators cannot distinguish identity errors from state, type, object-model, or metadata errors.

AnchorQuestion answeredRuntime consequence
A1: Global NamespaceWhich object is this?Supplies a stable address across packages, repositories, workflows, scenes, and protocol adapters. Local vendor identifiers remain aliases; the global namespace holds the canonical identity.
A2: Finite State MachineWhat lifecycle state is the object in?Defines allowed transitions and terminal outcomes. Behavior Tree nodes can schedule work, while the FSM rejects calls that violate the current state.
A3: Type Inheritance TreeWhich contract does the object satisfy?Resolves inherited ports, constraints, capabilities, and validation rules. Type-tree mapping uses this anchor to compare heterogeneous source models.
A4: Base ObjectsWhich common object semantics are available?Provides reusable roots for resources, data, events, functions, and composite structures, so adapters do not invent a new object model for each protocol.
A5: Meta InformationWhat evidence describes this object?Carries version, ownership, source, language, timestamps, quality, and governance data required for audit and controlled deployment.
Meta Base Structure: the conformance boundary

The center of the diagram defines the conformance model used by every serializer and API. Meta Data Type specifies the fields and primitive constraints available to a model. Meta Structure specifies how those fields form objects, references, compositions, and extension points. Internationalisation and extensibility also belong at this boundary. Language variants and domain additions therefore travel with the model contract instead of sitting in application-specific side data.

A model crosses this boundary only after namespace resolution, inheritance checks, required-field checks, reference validation, and extension validation succeed. The result is a typed instance that tools can exchange without agreeing on one authoring application. This is also the correct boundary for schema version migration: migration changes the typed structure first, then regenerates dependent views and bindings.

Instance side: digital description and execution
Instance subsystemObjects in the figureExecution role
Authoring inputsNatural Language, UML/SysML, Flowchart, BPMN2, Prototype, SOPProduce candidate structures and workflow definitions. Schema and policy validation decide whether the generated objects can enter the runtime model.
Digital DescriptionWorkflow, Resource Tree, FB Library, Resource LibraryHolds the executable process graph and the resource references it can resolve. Library entries are versioned definitions; workflow nodes bind to concrete resources at deployment or dispatch time.
IT ResourceIT Device, Server, Software, File, Asset Interface, MicroservicesHosts services, model files, APIs, and enterprise-side execution. The asset interface translates CREEM operations into native service calls while retaining status and provenance.
OT ResourceOT Device, Protocol Manager, Human, OT File, Asset InterfaceRepresents the controlled operational boundary. Protocol managers perform transport and data conversion; the model still enforces capability, state, and authorization constraints.
FB Encapsulation LevelApplication Template, Skill, Behavior, InstructionDefines increasing execution specificity. Templates compose reusable solutions, skills expose capabilities, behaviors coordinate stateful actions, and instructions bind to executable endpoints.
Semantic and data servicesSemantic Domain Model, Semantic Ontology, Core Repository, OLTP, OLAP, AASConnect operational identity to domain meaning, current transactions, historical analysis, and Asset Administration Shell representations. The Workflow Runtime remains responsible for state transitions and dispatch.
Runtime resolution path

At execution time, Workflow Canvas selects a workflow node and resolves its namespace against the Resource Tree. The resolver checks the node's inherited type and required Function Block contract, chooses a compatible IT or OT asset interface, and verifies the target FSM state. The Workflow Runtime then dispatches the call. Status codes and output values return to the Global Data Table, while the instance records the resource identity, model revision, timestamps, and result. A failure therefore remains attributable to a particular model version, adapter, endpoint, and state transition.

The standards along the lower boundary connect through adapters. Mapping contracts translate IEC 61131, IEC 61499, OPC UA, and ROS 1/2 data into CREEM types without changing the native control programs. AAS exposes the resulting asset identity and submodel views. CREEM then supplies the common type, behavior, and evidence contract used by the services above those systems.

Technical abstraction in LaTeX notation
\( Schema = (N, T, O, F, M), \quad T_d \preceq T_c \preceq T_{core} \)
\( Instance = instantiate(Schema, bindings, extensions) \)
\( target = resolve(namespace, inherited\_type, capability, state, policy) \)
\( S_{t+1}, C_{t+1}, E_t = \delta(S_t, C_t, event_t, binding_t) \)
Model Package and Validation
01 / Definition boundary

A model package is the exchange unit between engineering tools and runtime services. It keeps authoring layout and annotations separate from the normalized fields used for execution, mapping, replay, and governance.

Package elementArchitectural role
MetadataIdentity, namespace, type, version, lifecycle state, and ownership.
UIInformationAuthoring layout, visualization hints, and review context.
DataTyped parameters, ports, events, constraints, and runtime values.
ResourceFiles, 3D assets, semantic references, connector endpoints, and external systems.
  • Schema validation rejects incomplete packages and broken references.
  • Versioned bindings support simulator, FAT, and production targets.
  • Package identity provides the root for audit and rollback.
Interoperability and Adapter Contracts
02 / Integration boundary

DBM sits above native vendor models and leaves their protocols and object models intact. An adapter translates each endpoint into Resource, Data, and Function Block semantics while carrying provenance, quality, timing, and execution limits into the runtime contract.

Contract axisAdapter obligationFailure prevented
NamespaceResolve local identifiers to canonical CREEM identities.Collision between reused or federated assets.
Type and unitConvert primitives, enums, engineering units, and ranges.Invalid parameter exchange.
Status and timePreserve quality codes, timestamps, order, and freshness.Evaluation against stale or uncertain data.
CapabilityDeclare methods, states, authorization, and execution bounds.Calls unsupported by the target asset.

The same contract pattern covers OPC UA, REST, MQTT, historians, databases, CAD/BIM, AAS, IEC 61131, IEC 61499, and ROS bridges. Protocol handling stays inside the adapter; behavior evaluation receives typed values and explicit status.

Behavior-Aware Semantic Resolution
03 / Mapping decision

DBM compares executable behavior as well as names, classes, attributes, and relations. A candidate mapping must have compatible capabilities, state transitions, failure semantics, and safety responses.

Resolution pipeline
  1. Detect the source ontology and target domain.
  2. Discover Mapping Products through the CREEM pivot.
  3. Score structure, semantics, provenance, runtime validity, and behavior equivalence.
  4. Transform entities, relations, units, and types.
  5. Return confidence, lineage, and unresolved constraints.

A DEXPI pump, for example, can resolve to a CREEM RD with Run and Stop Function Blocks, then map to an OPC UA object only after its methods and state model pass the behavior check.

Runtime Execution Plane
04 / Deterministic execution

The runtime orders incoming events before each evaluation tick, updates behavior state and shared context, then records the resulting transitions. The state update is \( S_{t+1} = f(S_t, E_t, C_t) \), where E is the ordered event batch and C is the Global Data Table context.

Runtime componentResponsibility
Workflow Canvas EngineeringAuthors and validates CREEM/DBM instances.
Workflow RuntimeSchedules Behavior Trees and dispatches Function Blocks.
Repository ServicesVersions RD, FB, workflow, and mapping products.
3D Scene PlatformProjects runtime state into twin views and timeline replay.
Scene and Runtime Binding
05 / Operational context

CREEM connects the static scene hierarchy (factory, line, workstation, machine) to the dynamic behavior hierarchy (workflow, sub-workflow, atomic action). Both resolve through one namespace.

A runtime object may have several meshes or views, but every command resolves to one authoritative identity. Selecting an object can therefore retrieve its current state, valid commands, and active workflow context.

  • Scene nodes bind RD identity, asset type, and location path.
  • Behavior state controls visual status and timeline replay.
  • Operator actions resolve into validated workflow commands.
Execution Safety and Evidence
06 / Governance boundary

Every executable FB exposes the lifecycle states IDLE, RUN, OK, and FAIL. Behavior Trees coordinate sequence, fallback, retry, timeout, halt, and recovery; the FSM makes each leaf transition explicit and inspectable.

AI services may propose or parameterize workflows. Typed ports, target state, authorization, timeout policy, and Behavior Tree traversal determine whether the runtime can execute the proposal.

EvidenceRecorded factPrimary use
Event streamOrdered triggers and observed facts.Replay and sequence diagnosis.
Data tablePort values and decision context.State reconstruction.
Trace graphPackage, mapping, endpoint, and action lineage.Root-cause analysis.
Governance logVersion, approval, deployment, and waiver history.Audit and release control.

Together these records provide the evidence needed for diagnostics, compliance review, and bounded AI execution.