Digital Twin Modeling
The metamodeling approach for distributed event discrete systems addresses flexibility issues in real-time process control by using meta-object entities and digital twin engines, enabling efficient dynamic adaptation to changes in manufacturing environments.
Patent Information
- Application Number
- JP2020074241
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-04-18
- Filing Date
- 2020-04-17
- Publication Date
- 2024-08-13
- Estimated Expiration
- 2040-04-17
AI Technical Summary
Existing approaches to real-time process control in manufacturing environments, particularly in distributed event discrete systems, lack flexibility and require complete remodeling when changes occur, such as new line setups or subsystem functionality changes, leading to inefficiencies.
A computer-implemented metamodeling approach that utilizes meta-object entities to model subsystems of distributed event discrete systems, allowing for flexible real-time process control through meta-level, usage-level, and twin-level modeling, including state-space models and digital twin engines for dynamic system adaptation.
Enables flexible and efficient real-time process control by reducing complexity and allowing dynamic modification of system models, enhancing adaptability and reducing the need for complete recoding during changes in manufacturing environments.
Smart Images

Figure 0007532073000001 
Figure 0007532073000002 
Figure 0007532073000003
Abstract
Description
[Technical field]
[0001] The present invention relates to the field of modeling distributed event discrete systems using digital twins, more particularly to the field of modeling distributed event discrete systems using digital twins for subsequent use of the model during real-time control of the distributed event discrete systems. [Background technology]
[0002] Real-time process control in manufacturing is an ongoing problem and subject to continuous development. Figure 1 shows a typical example of a manufacturing environment subject to real-time process control.
[0003] 1, the considered manufacturing environment may include, for example, a first line 1. The first line 1 may be set up of three conveyors, namely conveyor 11, conveyor 12, and conveyor 13, each equipped with sensors 11, 12, and 13, respectively.
[0004] 1, the considered manufacturing environment may, for example, also include a second line 2. The second line 2 may be set up of three conveyors, namely conveyor 21, conveyor 22, and conveyor 23, each equipped with sensors 21, 22, and 23, respectively.
[0005] As shown in FIG. 1, a conveyor 11 of line 1 carries boxes and the overall objective of process control may be the safe movement of the boxes along line 1 .
[0006] FIG. 2 shows a hierarchical tree model, which is a typical model used for process control of the manufacturing environment shown in FIG.
[0007] In the hierarchical tree model, different subsystems of the process environment are represented as nodes, as shown in Figure 2. Typically, the hierarchical tree model is prepared before the start of process control. The allocation of subsystems to hierarchical levels in the hierarchical tree model may be application specific, and different layers in the hierarchical tree model are usually operated in an independent manner.
[0008] Moreover, the subsystems of the manufacturing environment are hard-coded into the hierarchical tree model without any flexibility, so once the process control starts there is no option to change the generated hierarchical tree model. For example, if a new line is set up in the manufacturing environment or its application is changed, a complete re-coding of the hierarchical tree model underlying the process control is required. Also, changes in the functionality of different subsystems require a remodeling process of the hierarchical tree model.
[0009] However, considering the increasing complexity of process environments, existing approaches to process control no longer meet the requirements of future application scenarios. Summary of the Invention [Problem to be solved by the invention]
[0010] In view of the above, it is an object of the present invention to provide increased flexibility in modeling distributed event discrete systems for subsequent efficient real-time process control. [Means for solving the problem]
[0011] According to a first aspect of the invention, this object is achieved by a computer-implemented metamodel for modeling at least one subsystem of a distributed event discrete system. The computer-implemented metamodel comprises at least one meta-object entity describing a meta-object type used for modeling the subsystem of the distributed event discrete system, the at least one meta-object entity referencing a state space model entity specifying at least one state model in relation to the subsystem. Furthermore, at least one state in the at least one state model is represented by a metamodel, which is a set of partial states using different levels of data abstraction according to a set of meta-features characterizing the state in a meta description domain, a set of target features with discrete or continuous ranges of values characterizing a target of the considered state, and a set of actual features with discrete or continuous ranges of values representing an actual constellation of the considered state.
[0012] According to a second aspect of the invention, the above outlined object is achieved by a method for generating a metamodel representation of at least one subsystem of a distributed event discrete system, comprising the steps of selecting a meta-object type for modeling of the distributed event discrete system, the meta-object type referring to at least one state model for modeling of the at least one subsystem of the distributed event discrete system, selecting at least one state model referred to by the meta-object type for actual use during modeling of the at least one subsystem, and describing at least one state in the selected at least one state model with a metamodel, which is a set of partial states using different levels of data abstraction, according to a set of meta-features characterizing states in a meta description domain, a set of target features having discrete or continuous ranges of values characterizing targets of the considered states, and a set of actual features having discrete or continuous ranges of values characterizing actual constellations of the considered states.
[0013] According to a third aspect of the invention, the above outlined object is achieved by a method of deriving a usage level model of a distributed event discrete system comprising at least two subsystems having metamodelling generated by the method according to the second aspect. The method comprises the step of dividing the distributed event discrete system into at least two subsystem clusters each comprising at least one subsystem of the distributed event discrete system, all subsystems assigned to a particular subsystem cluster being modelled with the same meta object type. The method according to the third aspect also comprises the step of defining a routing topology for exchanging streaming messages between the subsystem clusters.
[0014] According to a fourth aspect of the invention, the above outlined object is achieved by a modeling engine for generating a metamodel of at least one subsystem of a distributed event discrete system. The modeling engine includes a meta-object type usage module adapted to select a meta-object type for modeling at least one subsystem of the distributed event discrete system, the meta-object type referring to at least one state model for modeling at least one subsystem of the distributed event discrete system. The modeling machine also includes a state space model usage module adapted to model at least one state model referred to by the selected meta-object type, the state space model usage module adapted to describe at least one state in the selected at least one state model with a metamodel, which is a set of partial states using different levels of data abstraction, according to a set of meta-features characterizing the state in a meta description domain, a set of target features with discrete or continuous ranges of values characterizing a target of the considered state, and a set of actual features with discrete or continuous ranges of values characterizing an actual constellation of the considered state.
[0015] According to a fifth aspect of the invention, the above outlined object is achieved by a service engine of a usage level model of a distributed event discrete system comprising at least two subsystems having metamodelling generated by the method according to the second aspect. The service engine comprises a partitioning module adapted to partition the distributed event discrete system into at least two subsystem clusters each comprising at least one subsystem of the distributed event discrete system, all subsystems assigned to a particular subsystem cluster being modelled with the same meta object type. The service engine also comprises a routing module adapted to define a routing topology for exchanging streaming messages between the subsystem clusters.
[0016] In the following, the present invention and related examples will be described with reference to the drawings. [Brief description of the drawings]
[0017] [Figure 1] FIG. 1 illustrates a typical example of a manufacturing environment subject to real-time process control. [Diagram 2] FIG. 2 shows an overview of a typical model underlying the process control of the manufacturing environment shown in FIG. 1. [Diagram 3] FIG. 2 illustrates an example of modeling at the metamodel layer using meta-objects as types of metamodels of subsystems. [Figure 4] FIG. 1 illustrates an example of modeling at the usage model layer, i.e., the template layer, for defining a cluster of metamodels of subsystems. [Diagram 5] FIG. 13 illustrates an example of modeling at the twin layer to describe a subsystem as an instance of a cluster of subsystem metamodels. [Figure 6] FIG. 6 shows the results of combining meta-level modeling shown in FIG. 3 with usage-level modeling shown in FIG. 4 and with twin-layer modeling shown in FIG. 5. [Figure 7]FIG. 1 shows a general overview of the state space model used in accordance with the invention for modeling distributed event discrete systems. [Figure 8] FIG. 8 illustrates a more detailed representation of the state space model shown in FIG. [Figure 9] FIG. 8 illustrates a more detailed representation of the state space model shown in FIG. [Figure 10] FIG. 1 shows an overview of a system adapted to model a distributed event discrete system and perform real-time process control of the distributed event discrete system in accordance with the present invention. [Figure 11] 1 is a basic flow chart of the operation of a system adapted to model a distributed event discrete system and to perform real-time process control of the distributed event discrete system according to the present invention. [Figure 12] FIG. 11 is a schematic diagram of a computer-implemented metamodel according to the present invention used by the modeling engine shown in FIG. [Figure 13] 11 is a flow chart of the operation of the modeling engine according to the present invention shown in FIG. [Figure 14] FIG. 1 illustrates a partitioning of a distributed event discrete system according to the present invention, where the partitioning is defined as a set of subsystem clusters such that all subsystems assigned to a particular subsystem cluster are modeled with the same meta object type. [Figure 15] FIG. 2 is a schematic diagram of a service engine according to the present invention, in which the service engine generates a usage model of at least one subsystem of a distributed event discrete system along with the meta object types used to model the at least one subsystem. [Figure 16] 16 is a flow chart of the operation of usage level modeling according to the present invention shown in FIG. 14 and FIG. 15, respectively. [Figure 17]FIG. 16 is a schematic diagram of a virtual twin engine according to the present invention, the virtual twin engine having pre-installed at least one executable modeling software kernel prepared by the service engine shown in FIG. [Figure 18] 18 is a flowchart of the operation of the virtual twin engine according to the present invention shown in FIG. 17. [Figure 19] FIG. 13 illustrates further details of the operation of a modular processing module operating in a virtual twin engine. [Figure 20] FIG. 13 is a further schematic diagram illustrating the operation of a virtual twin engine in accordance with the present invention. [Figure 21] 21 is a flowchart of further details of the operation of the data flow processing modules shown in FIGS. 17 and 20, respectively. [Figure 22] FIG. 18 illustrates an example of a seed box approach for evaluation of state and condition vectors in the data flow processing module according to the present invention illustrated in FIG. 17. [Figure 23] FIG. 18 illustrates a further example of a seed box approach to the evaluation of state and condition vectors in the data flow processing module according to the invention illustrated in FIG. 17. [Figure 24] FIG. 24 shows an example of updating the seed box as shown in FIGS. 22 and 23 after performing a state transition on a twin object. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] The present invention will now be described in detail with reference to the drawings, in which it is to be understood that such description relates only to examples of the invention and is not restrictive of the scope of the invention as defined by the claims.
[0019] To the extent that a specific procedural or structural component is mentioned, this shall be considered as an example of the underlying function, where the procedural or structural components are clearly interchangeable so long as the same function is achieved. The present invention is therefore described using general terms to avoid limiting the scope of protection.
[0020] Furthermore, the capabilities of process control using the digital twin according to the present invention are manifold: it supports not only flexible modeling of distributed event discrete systems, but also real-time process control of distributed event discrete systems.
[0021] Generally, the distributed event discrete systems considered within the overall framework of the present invention are divided into multiple subsystems, with each single subsystem operating autonomously, and one does not always have a complete picture of the overall operating state in the distributed event discrete system.
[0022] Further, a distributed event discrete system may be classified as, for example, a continuous system, a discrete system deterministic system, a stochastic system, a dynamical system, a real-valued system, a causal system, a linear system, a nonlinear system, a time-invariant system, a time-varying system, a stable system, a BIBO stable system, a loss-free system, etc., or any suitable combination thereof.
[0023] Furthermore, the term process in a subsystem of a distributed event discrete system denotes a sequence of events with fixed causal time relations to each other, which implies the causal identifiability of events in a subsystem of a distributed event discrete system, i.e., two different local events in a subsystem cannot occur simultaneously.
[0024] In view of the above, events are divided into three classes.
[0025] The first class relates to internal events that occur within subsystems of a distributed event discrete system without sending a message to the outside.
[0026] The second class relates to the transmission of an event occurring within a subsystem that triggers the transmission of a message from the subsystem to a different subsystem of the distributed event discrete system, which, from a global point of view, precedes a corresponding receiving event in the different subsystem to which the message is addressed.
[0027] The third class relates to receiving messages from different subsystems of a distributed event discrete system, which in turn are events occurring within the subsystem, followed from a global point of view by corresponding transmission events in the different subsystems from which the message is sent.
[0028] In general, modeling of distributed event discrete systems is based on a trade-off between the processing and associated effort of a given task and the implied complexity of the overall model. In particular, the way in which a particular subsystem of the model and the associated connections are set up contributes to the complexity of the model.
[0029] Here, in the state of the art, a typical approach is hierarchical structuring and decomposition of a particular modeling task. Generally, in the state of the art, subsystems are modeled in a compositional way, i.e., in an any-to-any manner. Compositional structuring of models increases the adaptability of the models according to new modeling goals, but it also increases the complexity of the models, especially due to the number of signaling connections between the subsystems.
[0030] In contrast to the prior art, the modeling approach according to the present invention supports modeling and process control of distributed event discrete systems tuned for dynamic modification of the overall system model in real time.
[0031] As will be shown below, so far the present invention uses different levels of abstraction and modeling of a distributed event discrete system, namely a meta-level, a usage level and a twin level, allowing the entire distributed event discrete system to be divided into sub-systems which are then further specified top-down according to a virtual hierarchy or specification.
[0032] FIG. 3 shows an example of modeling at the metamodel layer using meta-objects as types of metamodels for subsystems.
[0033] As shown in Figure 3, the metamodel uses transformation functions, i.e. language scopes, semantics to describe metastates, and a state space model to describe logical behavior.
[0034] In general, a metamodel highlights the properties of an actual model. Metamodeling is thus the construction of concepts within some application domain. Metamodeling typically involves the exploration of input and output relationships and the fitting of a metamodel to represent a given behavior.
[0035] Furthermore, the relationship between the digital twin level and the metal model level is of the instance-of-relation type, and the relationship between the usage level and the metamodel is also of the instance-of-relation type.
[0036] As shown in Figure 3, metamodeling refers to abstraction away from specific real-world instantiations based on meta-objects. In the specific example shown in Figure 3, the meta-objects are a meta-object conveyor and a meta-object sensor. In the case of the meta-object conveyor, the relevant functionality may then be described using a state diagram, e.g., representing the ON / OFF state of a conveyor motor.
[0037] As shown in FIG. 3, sensors are also abstracted away from the real world and again may be described via associated state diagrams that generally characterize the typical states of a sensor, i.e., when a measurement is completed and when a signal has been analyzed, as well as the associated state transitions for analyzing the signal into duo measurements.
[0038] Yet another important aspect of the present invention is the meta-representation of states at different levels of abstraction, as shown in Fig. 3. As shown in Fig. 3, such an abstracted state representation of a meta-object conveyor is, for example, a specific representation of the analyzed meta-state signals, the specification of target features to target speeds, and the actual features indicating the actual speed of the conveyor at run-time.
[0039] Similarly, as shown in FIG. 3, the meta-state representation of the meta-object sensor may again be the classification features to be signal analyzed, the target features specifying the detection result state to be given, and the object ID as the actual feature, which may be the object ID equal to ID3456.
[0040] Figure 4 shows an example of modeling at the usage model layer, i.e. the template layer, for defining a cluster of metamodels of subsystems.
[0041] Here, the goal is to define usage objects as clusters of digital twin objects such that all digital twin objects in the cluster share a common set of descriptive features, a common subset of globally valid events, a common set of states, and a common set of state models.
[0042] Here, the cluster of subsystem metamodels uses a common language scope, semantics, and behavior of the subsystem metamodels, as well as a common set of metadata, features, and properties.
[0043] As shown in FIG. 4, usage-level modeling differs from meta-level modeling in that it is more specific about the actual use of the conveyors and sensors that are described in abstract terms at the meta-level.
[0044] Thus, as shown in Fig. 4, the usage model of the conveyor line describes different uses of the conveyor, i.e., use 1 to use 3. Similarly, four uses of the sensor are described. Furthermore, in the usage layer, a so-called external state vector is also introduced, which means the action when it indicates a certain state in the whole system, e.g., when the state of the sensor use indicates that the signal is to be analyzed, the conveyor use acts as switched on.
[0045] Yet another aspect of the usage level modeling according to the present invention, which will be explained in more detail below, is the setup of clusters, as shown in Fig. 4. Here, the identified usages of different system components, such as conveyors and sensors, are grouped together in so-called usage clusters, and different meta object types are assigned to the respective clusters accordingly. The exchange of information between usage clusters then takes place in so-called meta streams.
[0046] As shown in Fig. 4, each use cluster transmits an external signal as a metastream, i.e., the use cluster conveyor transmits an external signal on the stream conveyor and the use cluster sensor sets an external signal on the stream sensor. Furthermore, each use cluster listens to an external signal from at least one metastream different from its own sending metastream, e.g., the use cluster conveyor listens to the use cluster sensor's external signal on the stream sensor. In some cases, internal signals may be exchanged within a use cluster.
[0047] The usage level modeling according to the present invention and the setup of usage clusters and associated metastreams between them is very important for reducing the complexity during real-time process control of the entire distributed event discrete system, since, unlike any-to-any routing topology, the number of components to be addressed is given by the number of clusters and not by the number of actual components of the system.
[0048] Figure 5 shows an example of modeling in the twin layer to describe a subsystem as an instance of a cluster of subsystem metamodels.
[0049] Here, each instance maps the logical behavior of a subsystem. In the following, instances at the digital twin level are equivalently referred to as digital twins.
[0050] Thus, the third level of abstraction in modeling distributed event discrete systems according to the present invention is an abstraction level called the digital twin level, where the objective is to define digital twin objects of real-world process objects that model real-world devices, data, messages, task specifications, etc.
[0051] The results of twin layer modeling are shown as an example in Figure 5. Now assume that two conveyor lines are set up.
[0052] As shown in Figure 5, the conveyor has three usage scenarios but six twin instantiations, such that conveyor twin 1 to twin 3 set up conveyor line 1 and conveyor twin 4 to twin 6 set up conveyor line 2.
[0053] Further, in the sensor uses, four uses each are specified for conveyor lines 1 and 2. Then, for each sensor use, there are two twins t1, t4, then t2, t5, then twin 3, twin 7, and finally twin 4, twin 8.
[0054] As can be seen from Figure 5, only upon modeling decisions in the twin layer is a complete model of the distributed event discrete system generated.
[0055] FIG. 6 shows the results of combining meta-level modeling shown in FIG. 3 with usage-level modeling shown in FIG. 4 and twin-layer modeling shown in FIG.
[0056] As shown in Fig. 6 , the complete system shown in Fig. 5 is modeled across three layers of abstraction, namely, metamodel object representations used to set up the clusters such as cluster conveyors and cluster sensors, then usage level modeling to classify the usage of the system components characterized at the meta level according to the type of metamodeling, and then the instantiation of different usage scenarios of each cluster at the twin level.
[0057] As shown in FIG. 6 , and as described in more detail below, in order to significantly reduce the overall burden of exchanging information during real-time process control of the entire distributed event discrete system, interoperability between different system clusters is then realized based on metastreams associated with different clusters.
[0058] FIG. 7 shows a general overview of the state space model used in accordance with the present invention for modeling distributed event discrete systems.
[0059] In general, according to a state model, a system is described by an input vector x = (x1, ..., xk) T ∈ X, an output vector y = (y1, ..., yn) T ∈ Y, and a system operator S that maps from the input vector x to an output vector y according to y = S(x).
[0060] More specifically, the mathematical model uses state variables to model the system state, which is summarized in a state variable vector z = (z1, ..., zm) T ∈ Z.
[0061] The composition of the input vector x, the state variable vector z, and the output vector y may be expressed using at least two functions:
[0062] The first function is a state transition function Φ:Z×X→Z, which determines the transition to a target state z′∈Z as a function of an initial state z∈Z and an input vector x∈X upon the occurrence of a system event to describe the dynamic behavior of the system.
[0063] The second function is the output function Ω:Z×X→Y, which determines the output vector y∈Y as a function of the state variable vector z∈Z and the input vector x∈X.
[0064] Optionally, for some types of event discrete systems, a third function may be defined that is a hold time function τ:Z→R+ that defines a hold time for the state variable vector z∈Z.
[0065] Furthermore, with respect to the presence and type of input vector x, it should be noted that an empty input vector x corresponds to an autonomous system, i.e., a data generator, and the combination of an empty input vector x and an empty output vector y relates to a system that can be described by a Markov chain model.
[0066] A feature according to the invention is the type of representation of states in the state model, as shown in Fig. 7. According to the invention, it is proposed to have different types of abstraction for state representation according to the meta level, the target level and the actual level, as illustrated above in Fig. 3.
[0067] These different types of abstraction for state representation according to the invention allow a significant reduction in the complexity of processing process control of distributed event discrete systems, since for example the targets of the subsystems used to specify the control behavior may be in the real-time domain and therefore may have an infinite number of values. Nevertheless, the abstraction of such real range methods into meta-level types, e.g. slow, medium, fast, then leads to a reduction in the complexity of processing, e.g., conveyor lines, as described above.
[0068] FIG. 8 shows a more detailed representation of the state space model shown in FIG.
[0069] As shown in FIG. 8, the state transition function Φ can be decomposed into at least external state transitions Φex to describe state transitions due to events external to the system, respectively.
[0070] More specifically, as shown in FIG. 8, the present invention considers a situation in which a state transition in a first subsystem is influenced by the state of a further subsystem that is not identical to the first subsystem.
[0071] As shown in Fig. 8, the state model of a particular subsystem may be considered, as well as the associated transitions ΦEX triggered by an external state vector that summarizes the identification of the external subsystems and their associated states, e.g., SS 1, st 1, ..., SS n, st n, etc. Assuming that each of these subsystems is in a specified state, in accordance with the present invention, the external state transitions within the subsystem that are consistent with the external state vector are considered.
[0072] The concept of the external state vector means the trigger of state transitions within a specific subsystem and supports parallelization in the process of system modeling regarding the interaction between subsystems of a distributed event discrete system. The external state vector can be flexibly set up to increase or decrease the granularity at the level of the conditions guaranteeing state transitions in a specific subsystem.
[0073] Figure 9 shows a more detailed representation of the state space model shown in Figure 7.
[0074] As shown in Figure 9, the state transition function Φ can further be decomposed into at least an internal state transition Φin to describe state transitions due to system internal events.
[0075] As shown in Figure 9, the internal state transition is also triggered by considering the state representation of at least one state within the system. Assuming that the state representation triggering the state transition is dominant, the entire state space model representation of the subsystem can be updated. Note that a change in the internal state within a specific subsystem constitutes an external event to a remote subsystem and may trigger a state transition in the remote subsystem as described above with respect to Figure 4.
[0076] In view of the above, hereinafter, as a basis for understanding the principle underlying the present invention, the modeling of a distributed event discrete system in general will be described.
[0077] More specifically, the state model of a distributed event discrete system is defined by a 7-tuple Σ = <X, Z, Y, Φin, Φex, Ω, τ>, where X is a finite set of input vectors x ∈ X, Z is a finite set of state variable vectors z ∈ Z, Y is a finite set of output vectors y ∈ Y, Φin: Z → Z is the state transition function for internal events, Φex: Z × X → Z is the state transition function for external events, Ω: Z × X → Y is the output function, τ: Z→R+ is the retention time function.
[0078] According to the present invention, the input vector x ∈ X to the distributed event discrete system is called an external event. When an external event occurs, the system state z ∈ Z is Z'(t) = Φex(x(t), z0(t)) Therefore, z'∈Z may change according to
[0079] Here, z0(t) ∈ Z is the initial state of the distributed event discrete system, or initial state for short, and z'(t) is the target state of the distributed event discrete system, or target state for short.
[0080] Additionally, internal events that may occur over time generate inputless state transitions, as outlined above with respect to Figure 9. A distributed event-discrete system remains in state z for a hold time τ(z). When the hold time τ(z) expires, Z'(t+τ(z))=Φin(z(t)) A new state is generated according to the internal state transition function.
[0081] In addition, when a state transition occurs, the output vector is also updated according to: y(t)=Ω(z(t),x(t)) where z(t) is again the initial state. Note that when there is no input, i.e. no prevailing external events, x(t) can be the zero vector.
[0082] As mentioned above, the hold time function τ determines the duration of all partial states z i ∈ z = (z1, ..., zm) T. Any change of a partial state implies a change in the state variable vector z ∈ Z.
[0083] Assuming that ti is the start time of partial state zi and τ1,…,τm are the hold times of partial states z1,…,zm determined at start time ti, the hold time function of partial state zi at time ti is given by τ(zi)=min{τ1,…,τm} It can be determined according to:
[0084] In general, according to the present invention, events of a distributed event discrete system are assumed to occur at random times so that state transitions can be calculated using a probabilistic state model. A special case of a distributed event discrete system can then be a deterministic time discrete state model with sample time tA, where τ(zi)=tA for i∈(1,...,m) and ti=tj for i≠j for all i,j∈(1,...,m).
[0085] Based on the above description, the principle of deriving a metamodel of a distributed event discrete system according to the present invention will be described below.
[0086] At the metamodeling level, as illustrated above with respect to FIG. 3, there are specific types of metamodels, hereafter called meta-object types, that serve to model specific types of subsystems of a distributed event discrete system.
[0087] More specifically, in accordance with the present invention, a meta-object type specifies a meta-model of state representations and associated semantics. The meta-object type also specifies transformation functions, i.e., language ranges, and the logical behavior of the subsystem being modeled with reference to at least one corresponding state space model.
[0088] In what follows, without loss of generality, it is assumed to model a subsystem SS with a meta-object MO having a specific, but as yet unmodified, meta-object type ●.
[0089] Therefore, ● is understood as a placeholder for a meta-object type, ie a property of a metamodel type template.
[0090] The instantiation of the generic meta-object type into its concrete use is then achieved via parameterization of the placeholder ●, with different usage scenarios being handled by multiple parameterizations.
[0091] According to the invention, the first element of the metamodel of a meta-object type MO● is a representation object MO●R which represents the set D●={d1●, . . . , do●} of descriptive features of the meta-object type MO●.
[0092] Furthermore, according to the present invention, in the meta-model, at least one meta-object type MO● can be perceived under different perspectives in the meta-object type MO●, which is described as a set of perspectives P●={p1●, ..., pv●} in the meta-object type MO●.
[0093] According to the invention, the second element is at least one meta-object type MO● for modeling a subsystem of the distributed event discrete system, the at least one meta-object type MO● referencing at least one state model Σi● i=1,...,s in relation to the subsystem.
[0094] More specifically, according to the invention, for each meta-object type MO●, the metamodel defines Σi●=UiΣi● such that the entire state model of the meta-model type MO● is Σ●=UiΣi●.<Xi●,Zi●,Yi●,Φini●,Φexi●,Ωi●,τi●> Specify at least one state model Σi● i=1,…,s that represents an event-discrete system by
[0095] The reason for the reference of several state models Σi● by a meta-object type MO● is that one and the same meta-object type MO● can be perceived under different criteria, each forming a perspective on the meta-object type MO● and on the underlying subsystem to be modeled. For this reason, it makes sense to have one state model Σi● for each perspective used by a meta-object type MO●. In the following, the set of perspectives in a meta-object type MO● is described as P●={p1●,…,pv●}.
[0096] Furthermore, for each state model Σi●, there exists a state variable vector zi●=(zi●1,...,zi●z)T∈Zi●. According to the invention, each kth state in zi●, i.e., state zi●k in each state model Σi●, may be described using different levels of data abstraction, such as metadata, discrete or continuous values for target values, and discrete or continuous values for actual values.
[0097] Thus, according to the invention, each state zi●k has a metamodel which is a set of partial states zi●k,p described according to the following: At least one state zi●k in at least one state model Σi● i=1,…,s is A set of metafeatures MFi●k,1={fc1,…,fcc}i●k,1 that characterize states in the metadescription domain; a set of target features TFi●k,2={ft1,…,ftt}i●k,2 with a discrete or continuous range of values that characterize the target in the considered state, and A set of actual features AFi●k,3={fa1,…,faa}i●k,3 with a discrete or continuous range of values that represents the actual constellation of the state under consideration According to,we have a metamodel which is a set of partial states zi●k,p that use,different levels of data abstraction.
[0098] It should be noted that the metafeatures used to characterize states in the metadescription domain according to the invention achieve abstraction compared to traditional state space representations: the abstraction according to the invention allows metastate space representations, where each metastate space representation summarizes an infinite number of state space representations into a single metastate space representation, thus greatly reducing the modeling complexity.
[0099] Furthermore, in the meta-model, a state transition from a first state zi●a to a second state zi●t in the ith state model Σi● of a meta-object type MO● is realized via a process described by the function model Φi●at:Zi●×Xi●→Zi●. Thus, any state transition is assigned to exactly one state model Σi● and there is exactly one state transition from zi●a to zi●t.
[0100] Here, according to the present invention, the functional model represents a dataflow model according to metafeatures, target features, and / or actual features, where the dataflow model describes a control flow that operates on the metadata and a dataflow that operates on data reflecting the target features and / or actual features.
[0101] Note that the functional model Φi●at generally applies to state transitions due to external and / or internal events associated with a particular meta-object type MO● according to Φex,i●at and Φin,i●at, respectively.
[0102] Here, the functional model Φex,i●at represents a metamodel of state transitions triggered by at least one external event associated with a particular meta-object type MO●. Furthermore, we describe the dataflow model according to different levels of data abstraction, i.e., in terms of metafeatures, target features and / or actual features.
[0103] In accordance with the present invention, in the most general sense, a dataflow model describes control flows that operate on metadata and data flows that operate on data reflecting targets or real-world characteristics. Dataflows can be incorporated into a dataflow model to specify conditions for state transitions.
[0104] Furthermore, according to the present invention, the first input to the functional model Φex,i●at is at least one vector of external states, i.e., external state vector Θex,i●at,l=((MOj,j≠●,zj), ..., (MOk,k≠●,zk))lT, where l is the index of the l-th external state vector, and each external state vector summarizes a tuple of subsystems external to the subsystem being modeled, respectively, using the meta-object type MO● and the corresponding state indicated that the external subsystem is dominant.
[0105] Thus, when a certain set of subsystems, modelled using the metamodel type MO● and external to the subsystem type under consideration, are each in a particular state, this may trigger a state transition from zi●a to zi●t in one of the state models Σi● of the metaobject type MO● used to model the subsystem under consideration. The identification of the relevant state models Σi● and the types of state transitions is explained in more detail below.
[0106] Furthermore, the reason for considering multiple external state vectors Θex,i●at,l,l>1 is that even if different subsystems prevail in different states, this may still trigger the same state transition from zi●a to zi●t in the subsystem state model Σi● of the meta-object type MO● under consideration.
[0107] Furthermore, let Πex,i●a=Ul Θex,i●at,l be the set of all external state vectors that may trigger a state transition for the initial state zi●a in the state model Σi● of meta-object type MO●.
[0108] Furthermore, according to the invention, a second input to the functional model is represented as a vector Δex,i●a summarizing a set of conditions that must be satisfied before triggering a state transition for an initial state z●a in the state model Σi● of a meta-object type MO● due to an external event. Typically, such conditions are specified on underlying data reflecting target features and actual features.
[0109] Furthermore, to conclude the metamodelling of the meta-object type MO● according to the invention, a set of contexts C={con_ID1,...,con_IDk} is introduced.
[0110] Here, every context models the potential relationships between two twin objects representing digital instantiations of the meta-object type MO●, or in other words, the potential relationships between instances of the components of a distributed event-discrete system at the twin level, as will be explained in more detail below.
[0111] In general, a context is defined relative to a functional model and is valid for all meta-object types MO● that reference the functional model, and a context is explicitly assigned to a perspective.
[0112] In view of the above, according to the present invention, the functional model Φex,i●at is Φex,i●at:zi●a∈Zi●x Πex,i●a×Δex,i●a×con_IDa x MFi●a, 1×TFi●a, 2×AFi●a, 3→ zi●t∈Zi●×con_IDt x MFi●t, 1×TFi●t, 2×AFi●t, 3 The data flow can be modeled as a metamodel according to:
[0113] Furthermore, according to the present invention, the similar functional model Φin,i●at is Φin,i●at:zi●a∈Zi●x Πin,i●a×Δin,i●a×con_IDa x MFi●a, 1×TFi●a, 2×AFi●a, 3→ zi●t∈Zi●×con_IDt x MFi●t, 1×TFi●t, 2×AFi●t, 3 According to the above, a meta-object type MO● can be modeled as a meta-model data flow for internal state transitions in its state model Σi●.
[0114] In the above functional model, the expressions can be identified as follows: z i ● a ∈ Z i ● is a source state selected from the set Z i ● of all states of at least one state model Σ i ● (i = 1, …, s) of meta-object type MO ● , zi●t∈Zi● is a target state selected from the set Zi● of all states of at least one state model Σi●i=1,…,s of meta-object type MO●, Πex,ini●a is the set of external or internal state vectors that trigger a state transition from source state zi●a to target state zi●t, Δex,ini●a is a vector of conditions that trigger a state transition from source state zi●a to target state zi●t, con_IDa is the context identification of the context that prevails for the subsystem modeled by the meta-object type MO● prior to the state transition from source state zi●a to target state zi●t; con_IDt is the context identification of the context that prevails for the subsystem modeled by the meta-object type MO● after a state transition from source state zi●a to target state zi●t; MFi●a,1×TFi●a,2×AFi●a,3 is a representation of the values of meta-features, target features, and actual features at source state zi●a before the state transition to target state zi●t, MFi●t,1 × TFi●t,2 × AFi●t,3 is a representation of the values of meta-features, target features, and actual features at target state zi●t after the state transition to target state zi●t.
[0115] In conclusion, according to the present invention, regardless of how a particular transformation is realized, it operates on two levels of abstraction, namely, a control flow that operates on metadata, a data flow that realizes the link between the metadata level, the target conditions, and the actual conditions, e.g., captured by a sensor. Thus, the introduction of a control flow that operates on metadata allows us to handle an infinite number of states in a very efficient computational way.
[0116] Additionally, it should be noted that a state transition may also be triggered by a combination of at least one external event and at least one internal event.
[0117] In the following, different aspects of computer-implemented metamodeling of distributed event discrete systems and related uses of computer-implemented metamodels for real-time process control of distributed event discrete systems are described.
[0118] FIG. 10 shows an overview of a system adapted for modeling a distributed event discrete system and for performing real-time process control of the distributed event discrete system according to the present invention.
[0119] 10, a system 10 according to the present invention includes a modeling engine 12, a service engine 14, and a virtual twin engine 16. The virtual twin engine 16 creates virtual counterparts for real-world process objects.
[0120] Here, a process object is, for example, a field device to be controlled during operation of the distributed event discrete system. Nevertheless, according to the invention, no restrictions are imposed on the type of process object, which may also relate to a task to be accomplished within the distributed event discrete system and may, for example, model different types of information, etc.
[0121] In operation, the modeling engine 12 drives a meta-level model of the distributed event discrete system, as outlined above. Once such a meta-level model of the distributed event discrete system is available, the modeling engine 12 issues a service request to the service engine 14.
[0122] Further operationally, the service 14 accomplishes modeling of the distributed event discrete system at the usage level as outlined above, and further repairs an executable software skeleton that reflects the results of the usage level modeling of the distributed event discrete system.
[0123] As also shown in FIG. 10, the modeling engine 12 and the service engine 14 have interfaces to a virtual twin engine 16.
[0124] In operation, the service engine 14 transfers and pre-installs executable software skeletons associated with different types of component clusters to the virtual twin engine 16 as described above. The service engine 14 also transfers the routing topology derived during usage-level modeling of the distributed event discrete system to the virtual twin engine 16 to establish the associated communication processes within the virtual twin engine 16 as described above.
[0125] 10, in operation, the modeling engine 12 may dynamically inject modeling components into the virtual twin engine 16 in real time. This helps to modify the overall model of the distributed event discrete system in real time to increase the flexibility of the modeling and process control methodology, as described in more detail below.
[0126] FIG. 11 shows a basic flow chart of the operation of a system adapted to model a distributed event discrete system and to perform real-time process control of the distributed event discrete system according to the present invention.
[0127] As shown in FIG. 11, initially, in step S10 performed by the modeling engine 12, at least one meta object type is generated along the lines of a pre-configured static data model described below with respect to FIG.
[0128] Then, in step S12 executed by the service engine 14, the subsystems of the distributed event discrete system are clustered according to the meta object type. And, the service engine 14 executes step S16 for each cluster object to generate sub-clusters in association with the use of the meta object type. And, the service engine 14 accomplishes the specification of the routing topology between the different clusters.
[0129] The generated model is then executed in real time following step S16 performed by a virtual twin engine, as shown in Figure 11, where the virtual twin engine 16 allocates at least one twin object for each meta object type usage and also uses different levels of abstraction for data representation, as described in more detail below.
[0130] FIG. 12 shows a schematic diagram of a computer-implemented metamodel used by the modeling engine according to the invention shown in FIG.
[0131] As shown in Fig. 12, the computer-implemented metamodel according to the present invention is divided into a static metamodel and a dynamic metamodel, where the static metamodel includes multiple entities that are repositories for building real-time capable models of distributed discrete-event systems.
[0132] On the other hand, the dynamic metamodel part of the computer-implemented metamodel at least partially references the entities of the static metamodel in order to transfer the modeling options offered by the different entities to the actual metamodel of the subsystem of the distributed-event discrete system.
[0133] As shown in FIG. 12 , the static metamodel of the computer-implemented metamodel 18 for modeling at least one subsystem of a distributed event discrete system includes at least one meta-object entity 20 that describes a meta-object type MO● used to model the subsystem of the distributed event discrete system.
[0134] As shown in Figure 12, at least one meta object entity 20 references a state space model entity 22 which specifies at least one state model Σi● for i ≥ 1 for a subsystem. In the state space model entity 22, at least one state zi●k in the at least one state model Σi● is A set of metafeatures MFi●k,1={fc1,…,fcc}i●k,1 that characterize states in the metadescription domain; a set of target features TFi●k,2={ft1,…,ftt}i●k,2 with a discrete or continuous range of values that characterize the target in the considered state, and A set of actual features AFi●k,3={fa1,…,faa}i●k,3 with a discrete or continuous range of values that represents the actual constellation of the state under consideration According to, it is represented by a metamodel, which is a set of partial states zi●k,p that use different levels of data abstraction.
[0135] Furthermore, at least one meta-object entity 20 references a representation entity that specifies at least one representation object MO●R that represents a set D●={d1●,...,do●} of descriptive features of a meta-object type (MO●).
[0136] Furthermore, at least one meta-object type MO● can be perceived under different perspectives in the meta-object type MO●, described as a set of perspectives P●={p1●,...,pv●} in the at least one meta-object type (MO●).
[0137] As shown in FIG. 12 , the static metamodel of the computer-implemented metamodel includes a functional entity 24 representing a state transition from a source state zi●a to a target state zi●t in at least one state model Σi● via a functional model Φi●at:Zi●×Xi●→Zi● that represents the dataflow model according to the metafeatures, target features, and / or actual features.
[0138] According to the invention, the functional entity 24 represents the data flow model as a control flow operating on metadata and a data flow operating on data reflecting the target features and / or actual features. Preferably, the functional entity 24 represents the functional model as a metadata flow Φex,i●at or Φin,i●at, as explained above, both summarized below as Φ(ex,in),i●at.
[0139] As shown in FIG. 12, the static metamodel of the computer-implemented metamodel includes an input vector entity 26 that represents the first input to the functional model Φ(ex,in)i●at as at least one state vector Θ(ex,in),i●at,l that summarizes the identification of a subsystem and at least one tuple of states in which the identified subsystem prevails.
[0140] Further, the input vector entity 26 represents a second input to the functional model Φ(ex,in),i●at as a vector summarizing at least one condition Δ(ex,in),i●at that must be satisfied prior to a state transition from source state zi●a to target state zi●t.
[0141] Additionally, the input vector entity 26 represents at least one condition as data reflecting at least one target feature and / or at least one actual feature.
[0142] As shown in Figure 12, the static metamodel of the computer-implemented metamodel includes a context entity 28 representing at least one potential relationship between two twin objects, representing a digital instantiation of the meta-object type MO● as a set of contexts C = {con_ID1, ..., con_IDk}, in the sense outlined above.
[0143] In addition to the above, the computer-implemented metamodel 18 according to the present invention includes, alongside the static metamodel, a dynamic metamodel portion which uses modeling options available from the entities of the static metamodel to discover specific metamodels of subsystems of the distributed-event discrete system.
[0144] 12, the dynamic metamodel of the computer-implemented metamodel 18 for modeling at least one subsystem of the distributed event discrete system includes a meta-object type usage module 30 adapted to select a meta-object type MO● for modeling the at least one subsystem of the distributed event discrete system. As outlined above, the meta-object type MO● references at least one state model Σi●i∈{1,...,s} for modeling the at least one subsystem of the distributed event discrete system.
[0145] As shown in FIG. 12 , the dynamic metamodel of the computer-implemented metamodel 18 includes a state space model usage module 32 adapted to model at least one state model Σi●i∈{1,...,s} referenced by a selected meta-object type MO●.
[0146] As shown in FIG. 12, modeling of at least one state model Σi●i∈{1,...,s} is generally realized by referring to modeling options provided by a state space model entity 22, which are then transferred to model usage at the meta level by a state space model usage module 32.
[0147] The state space model usage module 32 is also adapted to describe at least one state in the at least one selected state model Σi●i=1,...,s with a metamodel that is a set of partial states z●k,p using different levels of data abstraction as outlined above. As outlined above, different state models may have different associated perspectives.
[0148] As shown in Fig. 12, the dynamic metamodel of the computer-implemented metamodel 18 comprises a representation usage module adapted to model a representation object MO●R that represents a set D●={d1●, ..., do●} of descriptive features of at least one modeled subsystem. Again, the representation usage model refers to a representation entity of the static metamodel to instantiate at least one of the descriptive features generically described in the representation entity with respect to the specific modeling task.
[0149] As shown in FIG. 12 , the dynamic metamodel of the computer-implemented metamodel 18 includes a function usage module 34 adapted to model a state transition in at least one state model Σi● from a source state zi●a to a target state zi●t by a function model representing the dataflow model according to the metafeatures, target features and / or actual features, as described above.
[0150] As shown in Fig. 12, modelling of a functional model is achieved by referencing functional entities 24 of the static metamodel which provide general options for modelling a function. The general options are then transferred to more specific functional models via indications of applicable function transformations and indications of applicable arguments to realise the functional model Φex,i●at and / or the functional model Φin,i●at as explained above.
[0151] Also, at least a potential relationship between at least two twin objects representing digital instantiations of a meta-object type may be modeled by at least one context, as described above.
[0152] As shown in Fig. 12, the dynamic metamodel of the computer-implemented metamodel 18 includes an input vector usage module 36 adapted to model a first input to the functional model as an external or internal state vector, as outlined above. Thus far, reference is made to an input vector entity 26 of the static data model of the computer-implemented metamodel, which provides an input vector template and associated parameters. A similar approach is applied to modeling a second vector, which specifies the conditions for at least one state transition.
[0153] As shown in FIG. 12, the dynamic metamodel portion of the computer-implemented metamodel 18 according to the present invention also includes a twin / twin usage module 38 .
[0154] The provision of such a twin usage module 38 serves to already prepare for modeling components of a distributed event discrete system that are themselves known to be part of the distributed event discrete system.
[0155] Thus, associated twin objects may be categorized as known a priori or as static, as opposed to digital twin objects that are allocated in real time during twin-level modeling of distributed event discrete systems described below.
[0156] FIG. 13 shows a flow chart of the operation of the modeling engine according to the present invention shown in FIG.
[0157] In general, the modeling engine 12 according to the present invention executes the computer-implemented metamodel described above with respect to FIG.
[0158] 13, the modeling engine 12 performs step S18 by executing the meta-object type usage module 30 to select a meta-object type MO● for modeling the distributed-event discrete system. The meta-object type MO● references at least one state model Σi●i∈{1,...,s} for modeling at least one subsystem of the distributed-event discrete system.
[0159] 13, the modeling engine 12 performs step S20 by executing the state space model usage module 32 to select at least one state model Σi●i∈{1,...,s} referenced by the meta object type MO● for actual use during modeling of the at least one subsystem. In step S20, at least one state z i●k in the selected at least one state model Σi●i∈{1,...,s} is described in a metamodel as outlined above.
[0160] As shown in FIG. 13, the modeling engine 12 performs step S22 by executing an associated usage module to model the representation object MO●R and select at least one perspective view, where step S22 is optional.
[0161] As shown in Fig. 13, the modeling engine 12 performs step S24 by executing the function usage module 32 to model a state transition in at least one state model Σi● from a source state zi●a to a target state zi●t by a function model representing the dataflow model according to the metafeatures, target features and / or actual features as explained above, where the dataflow model describes the control flow operating on the metadata and the data flow operating on the data reflecting the target or actual features.
[0162] As shown in FIG. 13, the modeling engine 12 performs step S26 by executing the input vector usage module 36 to model input vectors to the functional model representing external state vectors and / or internal state vectors as outlined above.
[0163] As shown in FIG. 13, the modeling engine 12 performs step S28 by executing the input vector use module 36 to model the conditions of the state transition, where step S28 is optional.
[0164] FIG. 14 illustrates a partitioning of a distributed event discrete system according to the present invention, where the partitioning is defined as a set of subsystem clusters such that all subsystems assigned to a particular subsystem cluster are modeled with the same meta-object type.
[0165] As outlined above, according to the present invention, the different levels of abstraction in the modelling of distributed event discrete systems, namely the meta level, the usage level and the twin level, imply the division of the distributed event discrete system into subsystems themselves consisting of digital twins.
[0166] Given the concept of a distributed event discrete system, associated subsystems, and streams between the subsystems, the topic to be solved in modeling a distributed event discrete system is how to divide the entire structure of the distributed event discrete system into at least one subsystem which can then be modeled using the associated meta-object type MO● as described above.
[0167] So far, it is first necessary to determine which of the available meta-object types MO● are actually relevant to the partitioning of a particular case of a distributed event discrete system.
[0168] As shown in Figure 14, according to the present invention, meta-object type-based partitioning by meta-object type MO● means the definition of subsystem clusters MOC = {MO1, ..., MOp} such that each subsystem cluster MOi ∈ MOC contains at least one subsystem that is modeled with the same meta-object type MO●.
[0169] More specifically, let MOT = {type1, ..., typet} be the set of all meta-object types MO● that can be used to model distributed-event discrete systems, and let the type of the mapping MOT(MOi):MOi → MOi ∈ MOT be a function that maps a subsystem identification MOi to its associated meta-model type MO●.
[0170] Then, the meta-object type-based partitioning of a distributed-event discrete system P(x) = G[SS,STR](x) implies that different subsystems of a subsystem cluster have the same metamodel type MO●, i.e., for all MOi, MOj ∈ MOCk, MOT(MOi) = MOT(MOj) = MO● if i ≠ j.
[0171] Furthermore, a partition of a distributed event-discrete system P(x) can be represented as a directed graph according to P(x) = G[SS,STR](x). More specifically, SS = {SS1, ...,SSp} is a set of subsystem clusters with meta-object types {MO1, ...,MOp}, and STR = {STR1, ...,STRq} is a set of streams between subsystems of the distributed event-discrete system, where the subsystem clusters have a common language scope, semantics, and behavior of the subsystem metamodel, as well as a common set of metadata, functions, and properties.
[0172] Furthermore, in accordance with the present invention, within each subsystem cluster that reflects a meta-object type MO●, sub-clusters of subsystems are introduced that are due to different uses of the subsystem modeled by the meta-object type MO●.
[0173] Furthermore, for each subsystem cluster with metamodel type i, different usage scenarios of the underlying metamodel type i are described, where the usage scenarios are modeled as subsystem usage clusters MOUCi = {MOUC1, ..., MOUCu}i.
[0174] As a result of the meta-object type based partitioning and clustering, the subsystems of the distributed event discrete system are clustered according to their associated meta-object types MO●.
[0175] Within each subsystem cluster, optionally, different subsystem usage clusters are written that have the same meta-object type MO●, but different usages of the meta-model type MO●.
[0176] Once the decomposition of the distributed event discrete system is available, a further point to be solved at the level of usage-level modelling is the setup of a routing topology for exchanging streaming messages between the subsystem clusters MOC i ∈ MOC.
[0177] As shown in Fig. 14, a routing topology is defined for every subsystem cluster MOCi ∈ MOC. More specifically, for each subsystem cluster MOCi, a set MOC_rec_i of at least one subsystem cluster from which the subsystem cluster MOCi receives streaming messages is defined. Also, for each subsystem cluster MOCi, a set MOC_send_i of at least one subsystem cluster to which the subsystem cluster MOCi sends streaming messages is defined.
[0178] Then, we proceed with the transition from meta-level modeling to usage-level modeling according to the setup of the routing topology between the subsystem clusters of the distributed event discrete system.
[0179] Furthermore, the final step of the Usage Level Modeling process involves transferring the results of the Usage Level Modeling into an executable software skeleton that serves to execute a digital twin engine for controlling the distributed event discrete system in real time.
[0180] In conclusion, meta-object type-based partitioning significantly reduces the amount of data streamed between different subsystem clusters compared to modeling approaches, and configuration representation is achieved at the level of digital twin objects without modeling abstraction into meta- and usage-level domains.
[0181] The reason for this is that in streaming between different subsystem clusters it is realized as meta-streaming, where for each subsystem cluster, the associated digital twin object, i.e. sub-clustering through the use of meta-model types, broadcasts data related to the internal events of the subsystem cluster on a common streaming channel assigned to the subsystem cluster modeled with the particular meta-object type MO●.
[0182] In some cases, each of the other subsystem clusters receives data regarding external events of the subsystem cluster of a meta-object type MO● in metastreaming channels assigned to other metamodel types.
[0183] Overall, the number of streaming channels depends only on the number of subsystem clusters and associated meta-object types MO●, and not on the number of actual subsystems and associated twin objects. Since the number of communication channels of a complete communicating process in a distributed event-discrete system grows linearly with the number of meta-object types MO● and does not grow exponentially with the number of actual subsystems, this has a significant impact on the complexity of the routing topology between subsystem clusters.
[0184] Additionally, it should be noted that subsystems may themselves be decomposed into related further subsystems, thereby introducing hierarchy into the overall modeling process.
[0185] FIG. 15 shows a schematic diagram of the service engine 14 according to the present invention shown in FIG. 10, in which the service engine 14 generates a usage model of at least one subsystem of a distributed event discrete system along with the meta object type used to model the at least one subsystem.
[0186] As shown in Fig. 15, the service engine includes a partitioning module 40 adapted to partition the distributed event discrete system into at least two subsystem clusters each including at least one subsystem of the distributed event discrete system, as described with respect to Fig. 14, where all subsystems assigned to a particular subsystem cluster MOCi ∈ MOC are modeled with the same meta-object type MO●.
[0187] As shown in FIG. 15, the service engine includes a routing module 42 adapted to define a routing topology for exchanging streaming messages between subsystem clusters MOCi ∈ MOC.
[0188] As shown in FIG. 15, the service engine includes a usage cluster module 44 adapted to model different subsystem usage clusters MOUCi={MOUC1, ..., MOUCu}i for all subsystems assigned to a subsystem cluster of the distributed event discrete system.
[0189] Preferably, the routing topology defines that for each subsystem cluster MOCi, at least one external subsystem cluster from which streaming messages are received and at least one external subsystem cluster to which streaming messages are sent.
[0190] As shown in FIG. 15, the service engine includes a software configuration module 46 adapted to convert a usage model of at least one subsystem of the distributed event discrete system into at least one executable modeling software kernel that can be executed in the digital twin engine for real-time control of the distributed event discrete system.
[0191] Preferably, the software configuration module 46 comprises: Configure at least one executable modeling software kernel for each system cluster MOCi via parameterization of the executable software available from the software library It is adapted to at least one executable modeling software kernel is configured to execute at least one subsystem usage model with respect to the usage of all subsystems of the subsystem cluster MOCi; The at least one executable modeling software kernel is configured to execute an input interface and an output interface for exchanging message streams having a meta-level message format with the at least one executable modeling software kernel.
[0192] Further, according to the present invention, the software configuration module 46 is adapted to configure a routing topology between at least two executable modeling software kernels by connecting associated input and output interfaces via at least one metastream communication channel.
[0193] Further, according to the present invention, the software configuration module 46 is adapted to load at least one executable modeling software kernel into the digital twin engine for controlling the distributed event discrete system in real time.
[0194] FIG. 16 shows a flow chart of the operation of usage level modeling according to the present invention as shown in FIGS. 14 and 15, respectively.
[0195] As shown in FIG. 16, to achieve usage level modeling according to the present invention, step S30 is executed by executing the division module 40 shown in FIG. 15 to divide the distributed event discrete system into at least two subsystem clusters each including at least one subsystem of the distributed event discrete system, and all subsystems assigned to a particular subsystem cluster MOCi∈MOC are modeled with the same meta object type MO●.
[0196] As shown in FIG. 16, following step S30, step S32 is performed by executing the routing module 42 shown in FIG. 15 to define a routing topology for exchanging streaming messages between subsystem clusters MOCi∈MOC.
[0197] Preferably, step 32 defines the routing topology by defining, for each subsystem cluster MOCi, at least one external subsystem cluster from which streaming messages are received and at least one external subsystem cluster to which streaming messages are sent.
[0198] As shown in FIG. 16, following step S32, step S34 is performed by executing the usage cluster module 44 shown in FIG. 15 to define different subsystem usage clusters MOUCi={MOUC1, ..., MOUCu}i) for all subsystems assigned to the subsystem clusters of the distributed event discrete system.
[0199] As shown in FIG. 16, following step S34, step S36 is performed by executing software configuration module 46 shown in FIG. 15 to configure software to convert the usage model of at least one subsystem of the distributed event discrete system into at least one executable modeling software kernel that can be executed in a digital twin engine for real-time control of the distributed event discrete system.
[0200] Details of the software configuration according to step S36 are outlined above with respect to FIG. 15 and will not be repeated here.
[0201] Finally, during step S36, at least one executable modeling software kernel is loaded into the virtual twin engine 16 for controlling the distributed event discrete system in real time.
[0202] Having described above different aspects of the invention relating to modelling of distributed event discrete systems, in the following a description will be given of models generated for real-time process control of distributed event discrete systems.
[0203] FIG. 17 shows a schematic diagram of a virtual twin engine 16 according to the present invention.
[0204] In the following, it is assumed that the virtual twin engine 16 has pre-installed at least one executable modeling software kernel prepared by the service engine 15, as shown in FIG. 15.
[0205] As outlined above, this means the pre-installation of at least one modelling software kernel for each system cluster of the distributed event discrete system, and the associated meta-object type MO● used for the meta-level modelling of the system cluster.
[0206] As shown in FIG. 17, the virtual twin engine 16 according to the present invention includes a model processing module 48 adapted to execute at least one subsystem usage model in real time with respect to a subsystem cluster via execution of an associated modeling software kernel that models the at least one subsystem usage model.
[0207] According to the present invention, the model processing module 48 is adapted to cause at least one digital twin, with respect to at least one subsystem use model, to act as a virtual counterpart to an associated process object operated in the distributed event discrete system and having functionality consistent with the subsystem use model.
[0208] Further, in accordance with the present invention, the model processing module 48 is adapted to passively operate the at least one digital twin via real-time access to a modeling software kernel that models the subsystem usage model of the at least one digital twin.
[0209] As shown in FIG. 17, the virtual twin engine 16 according to the present invention includes a modeling engine interface 50 adapted to inject modeling information into the module processing module 48 by activating at least one meta object type MO● from all available meta object types MO● supported by the modeling engine for the digital twin engine.
[0210] Preferably, the modeling engine interface 50 is adapted to inject a set of state models Σij, where i is an index into the state model and j is an index into the associated usage, including at least a state model representing a meta-object type MO● into the module processing module 48.
[0211] Further preferably, the modelling engine interface 50 is adapted to inject into the modular processing module 48 at least one perspective Pj relating to the at least one injected state model.
[0212] Further preferably, the modeling engine interface 50 is adapted to inject different levels of data abstraction into the module processing module 48 according to the metadata, target data, and actual data of each state model and associated state variables.
[0213] Further preferably, the modeling engine interface 50 is adapted to inject at least one subsystem usage cluster with a given metamodel type and at least one associated digital twin, where the at least one digital twin serves as a digital counterpart to a corresponding real-world process object.
[0214] As shown in FIG. 17, the virtual twin engine 16 according to the present invention includes a service engine interface 52 adapted to inject software code that implements external and / or internal state transitions into the module processing module 48.
[0215] 17, the virtual twin engine 16 according to the present invention includes a modeling control module 54 adapted to initialize at least one associated digital twin for at least one subsystem usage cluster. Preferably, the modeling control module 54 is adapted to initialize the at least one digital twin before starting the digital twin engine or in real-time during operation of the digital twin engine.
[0216] As shown in FIG. 17, the virtual twin engine 16 according to the present invention includes a data flow processing module 56 adapted to handle data exchange to / from the virtual twin engine.
[0217] As shown in FIG. 17, the virtual twin engine 16 according to the present invention includes a data flow control module 58 adapted to control data exchange to / from the virtual twin engine by classifying communication data into at least control data flows and / or usage data flows according to different levels of abstraction, as will be explained in more detail below.
[0218] As shown in FIG. 17, the virtual twin engine 16 according to the present invention includes a metastream input / output module 60 for exchanging metastream messages with the virtual twin engine 16.
[0219] FIG. 18 shows a flowchart of the operation of the virtual twin engine 16 according to the present invention shown in FIG.
[0220] As shown in FIG. 18, step S38 is performed by executing a model processing usage module 48 to execute at least one subsystem usage model in real time with respect to a subsystem cluster via execution of an associated modeling software kernel that models the at least one subsystem usage model to achieve real-time process control of the model distributed event discrete system.
[0221] As shown in FIG. 18, to achieve real-time process control of the model distributed event discrete system, step S40 is performed by executing the model processing usage module 48 to operate at least one digital twin for at least one subsystem usage model as a virtual counterpart to an associated process object operated in the distributed event discrete system and having functionality consistent with the subsystem usage model.
[0222] According to the present invention, the step S40 of operating the at least one digital twin is performed passively via real-time access to a modeling software kernel that models the subsystem usage model of the at least one digital twin.
[0223] As shown in FIG. 18, step S42 is performed by executing the model processing usage module 48 to modify the model of the distributed event discrete system in real time via insertion / deletion of modeling components and / or digital twins to achieve real-time process control of the model distributed event discrete system.
[0224] Preferably, step S42 is executed to inject modeling information into the module processing module 48 of the virtual twin engine 16 by activating at least one meta object type MO● from all available meta object types MO● supported by the modeling engine 12.
[0225] Preferably, a step S42 is executed to inject at least the state models Σij, including at least a state model representing the meta object type MO●, into the module processing module 48 of the virtual twin engine 16.
[0226] Preferably, step S42 is executed to inject at least one perspective Pj in the injected at least one state model into the module processing module 48 of the virtual twin engine 16.
[0227] Preferably, step S42 is performed to inject different levels of data abstraction into the data flow processing module 56 of the twin engine 16 according to the metadata, target data, and actual data of each state model and associated state variables.
[0228] Preferably, step S42 is performed to inject software code implementing external and / or internal state transitions into the module processing module 48 of the virtual twin machine 16.
[0229] Preferably, step S42 is executed to inject at least one subsystem usage cluster having a predetermined meta object type into the module processing module 48 of the virtual twin machine 16.
[0230] 18, step S42 is also performed to initialize at least one digital twin for the subsystem usage cluster, where the at least one digital twin serves as a digital counterpart to the corresponding real-world process object. Preferably, the at least one digital twin is initialized before starting the virtual twin engine or during operation of the virtual twin engine for real-time process control of the distributed event discrete system.
[0231] As shown in FIG. 18, step S44 is performed by executing a data flow control module 88 to control data exchange to and from the digital twin engine by classifying communication data into at least control data flows and / or usage data flows according to different levels of abstraction to achieve real-time process control of the model distributed event discrete system.
[0232] Preferably, in step S44, at least one state vector representing at least one trigger event for at least one state transition of the digital twin is evaluated.
[0233] Further preferably, in step S44, the control data flow is controlled by generating at least one metastream message regarding state transitions of the digital twin for exchanging relevant control data between different subsystem clusters.
[0234] FIG. 19 shows further details of the operation of the module processing module 48 operating on the virtual twin engine 16.
[0235] As shown in FIG. 19, in the module processing unit 48, injected functional software code is executed that implements a particular metamodel type and its associated usage model.
[0236] Then, for every subsystem usage cluster within every subsystem cluster, at least one digital twin is introduced as a digital counterpart in the digital domain of a real-world process object in the process domain. In other words, each digital twin reflects the logical behavior of the process object in the domain being modeled.
[0237] More specifically, for every subsystem usage cluster MOUCk ∈ {MOUC1, …, MOUCu} of a subsystem cluster with metamodel type i, a set of at least one digital twin object TOk,i = {to1, …, tol}k,i that realizes a digital counterpart to a real-world process object is instantiated.
[0238] It should be noted that the introduction of the digital twin can be performed before the start of the digital twin engine or during the real-time process control of the distributed event discrete system. This is very important because this real-time configuration capability of the digital twin engine achieves much higher flexibility and configurability compared to hardwired process control systems.
[0239] Furthermore, during initial configuration, the target values are not yet available and are therefore declared according to the type of data and the associated memory is allocated. Similarly, the actual values are also taken into account through the data type declaration and memory allocation.
[0240] The result of the initial configuration is a set of executable software kernels for the subsystem-utilizing cluster.
[0241] Subsequent execution of the virtual twin engine means executing the subsystem usage model in real time with respect to the subsystem usage of the subsystem cluster via execution of a modeling software kernel that models the subsystem usage.
[0242] Additionally, at least one digital twin is operated with respect to all subsystem use models as their digital counterparts and in a one-to-one relationship with at least one process object having a function modeled by the digital twin in a distributed event discrete system.
[0243] In particular, at least one digital twin is manipulated via real-time access to an associated modeling software kernel running in real time, so that the behavior of the twin objects is inherited from the usage-level modeling stage rather than being explicitly modeled.
[0244] Also, according to the invention, it is possible to trade off the size of the subsystem usage cluster with the number of twins. In the first case, the size of each usage cluster is 1 and the subsystem usage cluster covers exactly one twin object. This is called explicit modeling. Alternatively, the subsystem usage cluster may cover multiple twin objects according to a 1:N relationship. This is called implicit modeling.
[0245] FIG. 20 shows a more detailed schematic diagram illustrating the operation of the virtual twin engine 16 according to the present invention shown in FIG.
[0246] As shown in FIG. 20, another aspect of implementing the virtual twin engine 16 in accordance with the present invention relates to data flow control regarding the exchange of data to and from the virtual twin engine 16.
[0247] 20, according to the present invention, the control of data flow relies on splitting the data into different classes, e.g., control data flow, usage level data flow for real-time execution of metamodel types, usage model types, and associated twin objects. A further category of data may relate to process data, e.g., sensor / actuator data fed to and / or output by the digital twin engine.
[0248] It should be noted that, according to the present invention, usage-level data flows can be used to affect control data flows. Also, usage-level data flows can be specified at the usage level of modeling and evaluated at the twin level of modeling. Finally, behavioral conditions associated with state transitions can be specified as usage-level conditions or meta-level conditions.
[0249] In view of the above, the separation between control data and model-related data according to the present invention is consistent with the computer-implemented metamodel outlined above and enables significant efficiency gains to be achieved during operation of the overall system.
[0250] As shown in FIG. 20, the first element of control data related data flow control relates to the evaluation of external and / or internal state vectors that represent trigger events for state transitions in the use model that models the behavior of the digital twin.
[0251] As shown in FIG. 20, the second element of control data related data flow control concerns the generation of meta stream messages for exchange with subsystem clusters that are not the same as the subsystem cluster in which the state transition under consideration occurs.
[0252] As shown in Figure 20, a first element of model-related data flow control relates to the evaluation of condition vectors that represent conditions for state transitions in a use model that models the behavior of the digital twin. More specifically, such conditions consider data that represent actual or target values and are evaluated in relation to different states of a use-level state model that is operated on with respect to the digital twin.
[0253] As shown in Figure 20, the second element of model-related data flow control concerns the achievement of the actual transition from the initial state to the target state, assuming that the conditions for a particular state transition are met. This means applying the associated transformation function to the data representing the initial state to generate the data representing the target state. The transition from the initial state to the target state also requires at least one update of the context information corresponding to the twin object for which the state transition is processed.
[0254] As shown in Figure 20, the third element of model-related data flow control relates to the processing of state transition results, where information related to a target state is submitted to the second element of control data flow control, namely the generation of a metastream message.
[0255] Once a state transition is completed, an associated metastream message is generated to inform other subsystem clusters having different metamodel types about the state transition.
[0256] Furthermore, when a state transition is completed, it is also necessary to update the associated state-space model representation in the subsystem cluster in which the associated state-space model is executed.
[0257] As noted above, a further category of data may relate to process data, e.g., sensor / actuator data fed to and / or output by the digital twin engine, where the relevant data is exchanged in real time between the twin object representations and the sensor / actuator interfaces of the digital twin engine.
[0258] FIG. 21 shows a flow chart of further details of the operation of the data flow processing modules shown in FIGS. 17 and 20, respectively.
[0259] As shown in FIG. 21 , according to the present invention, the data flow control module 52 is adapted to control a state vector evaluation module 62 operating on the control data flow to evaluate at least one state vector representing at least one trigger event of at least one state transition of the digital twin.
[0260] As shown in FIG. 21 , the data flow control module 58 is adapted to control the message generation module 64 operating on the control data flow to generate at least one meta stream message regarding state transitions of the digital twin for exchanging relevant control data between different subsystem clusters.
[0261] As shown in FIG. 21 , the data flow control module 58 is adapted to control the condition vector evaluation module 66 operating on the usage data flow to evaluate at least one condition vector including at least an actual value and / or at least one target value in association with at least one state transition of the at least one digital twin for evaluation of an associated transition condition.
[0262] 21, the data flow control module 58 is adapted to control an error evaluation module 68 operating on the usage data flow to evaluate at least one condition indication for an error in operation in the virtual twin engine 16. If an error occurs, an error handling module 70 corrects the problem so that operation can be resumed or terminates the overall operation of the virtual twin engine 16.
[0263] As shown in FIG. 21, the data flow control module 58 controls a transformation module 72 operating on the usage data flow to apply at least one transformation function to data representing an initial state before a state transition to generate data representing a target state after a state transition.
[0264] As shown in FIG. 21, the data flow control module 58 is adapted to control an update module 74 operating on the usage data flow to update state representation related information regarding state transitions and, optionally, context information.
[0265] In conclusion, according to the invention it is proposed to split the data flows into control and usage data flows, which reduces the communication complexity, improves real-time capabilities since for example operations on the control and usage data flows can be parallelized, and allows for greater flexibility since usage data can affect the control flow.
[0266] FIG. 22 shows an example of a seed box approach used for the evaluation of state and condition vectors in the data flow processing module according to the invention shown in FIG.
[0267] As outlined above, the present invention considers an external state vector that triggers state transitions in the state space model upon the occurrence of an event external to the subsystem cluster in which the state model is used.
[0268] As outlined above, each l-th external state vector Θex,i●at,l=((MOj,j≠●,zj),…,(MOk,k≠●,zk))Tl summarizes a tuple of subsystems that are external to the subsystem being modeled using meta-object type MO● and a corresponding state indicating that the external subsystem is dominant. It was also explained above that there may be multiple external state vectors for different state transitions.
[0269] According to the present invention, without loss of generality, it may be assumed that for each state transition, a different external state vector is established for a different context.
[0270] Also according to the invention, a metamodel is prepared as a basis for setting up a usage-level model. Then, for each dedicated usage of a particular metamodel, at least one digital twin is instantiated as a digital counterpart of a process object in the real world.
[0271] From the above, it is clear that the external state vector specified at the meta level is replicated according to the number of associated digital twins and the associated different contexts that accompany the state transitions of the digital twins.
[0272] Also, for each use model operated in the virtual twin engine, at least one associated state space model is operated. For each use model, assuming that at least one digital twin is instantiated, at least one usage of states per twin, i.e., state usage per digital twin, is considered for every state in the associated state space model.
[0273] In other words, for a particular use model, assuming multiple twins are instantiated, for each state of the relevant state space model at the use level of abstraction, multiple corresponding state uses are considered at the twin level of abstraction.
[0274] From the above, the conclusion is that for any set of external state vectors per subsystem type, the associated subsystem type usages can be organized into a matrix format where the rows correspond to state usages with respect to the digital twin of the subsystem usage model and the columns represent the different contexts of state transitions considered at the twin level of model abstraction, as shown in Figure 22.
[0275] FIG. 23 shows a further example of a seed box approach for the evaluation of state and condition vectors in a dataflow processing module according to the invention shown in FIG.
[0276] As shown in FIG. 23, according to the present invention, a seed box is prepared for each subsystem cluster of the usage-level model of the distributed event discrete system.
[0277] According to the present invention, the preparation of seed boxes follows the routing topology at the modeling usage level of abstraction.
[0278] More specifically, for every subsystem cluster, a seed box is prepared for every other subsystem cluster that the considered subsystem cluster listens to, as shown in Figure 23. Furthermore, a seed box is prepared for each meta object type applicable to the other subsystem clusters that the considered subsystem cluster listens to. Finally, seed boxes are also prepared to handle the internal state transitions of the state space model that is internally operated within the subsystem cluster.
[0279] FIG. 24 shows an example of updating the seed box as shown in FIG. 22 and FIG. 23 after performing a state transition on a twin object.
[0280] As shown in Figure 24, an efficient way to sparsely represent the state usage vs. context matrix shown in Figure 22 is to use a linked list of twin / context pairs for every state usage. Then, when a twin performs a state transition, this means canceling the associated twin / context pair from the first list for the source state of the state transition, and adding the updated twin / context pair for the target state of the state transition to the second list.
[0281] Although the present invention has been described above with reference to the drawings and figures of the preferred embodiment of the present invention, it should be noted that the present invention can also be implemented using variations and modifications thereof that are obvious and can be easily made by those skilled in the art without departing from the scope and intent of the present invention. For example, the above functions may be realized in software, hardware, or a combination thereof.
[0282] Accordingly, the scope of the claims appended hereto is not intended to be limited to the description contained herein, but rather the claims are intended to be construed to encompass all features of novelty which are presently encompassed by the present invention, including all features which would be treated as equivalents thereof by those skilled in the art to which the invention pertains.
[0283] Glossary: Vectors and sets: x=(x1,…,xk)T input vector A set of X input vectors y=(y1,…,yn)T output vector Set of Y output vectors z=(z1,…,zm)T State variable vector Z is a set of state variable vectors SS={SS1,…,SSp} A set of mutually separated subsystems of a distributed event discrete system. STR={STR1,…,STRq} A set of streams between subsystems of a distributed event discrete system. MOC={MOC1,…,MOCp} A set of subsystem clusters describing the partitioning of a distributed event discrete system. MOC_rec_i The set of at least one subsystem cluster from which subsystem cluster MOCi receives streaming messages. MOC_send_i The set of at least one subsystem cluster to which subsystem cluster MOCi sends streaming messages. MOT={MOT1,…,MOTp} A set of meta object types that can be used to model distributed discrete-event systems. MOUCi = {MOUC1,…,MOUCu}i is a subsystem usage cluster of a subsystem within a subsystem modeled with a particular meta-object type typei. MO●R Representation object of meta object type MO● D●={d1,…,do} A set of descriptive features of meta-object type MO● The external state vector of meta-object type MO●: Θex,i●at,l=((SSTj,j≠●,zj),…,(SSTk,k≠●,zk))lT Πex,i●at=Ul Θex,i●at,l The set of all external state vectors that trigger state transitions due to external events associated with the meta-object type MOT●. Δex,i●a A set of conditions that must be met before triggering a state transition due to an external event associated with meta-object type MOT● Πin,i●at A set of internal state vectors that trigger state transitions due to internal events associated with the meta-object type MOT●. Δin,i●a A set of conditions that must be met before triggering a state transition due to an internal event associated with meta-object type MOT● C=(con_ID1,…,con_IDn) a set of contexts function: Φ state transition function Φin State transition due to internal events Φex State transition due to external events Ω Output Function τ retention time function Operator and Model: S System Operator Σ=<X,Z,Y,Φin,Φex,Ω,τ> State models for distributed event discrete systems P(x)=G[SS,STR](x) is a directed graph representation of the compositional decomposition of a distributed event discrete system. Σi ● The ith state model used in the static data model of the partial subsystem TS ● ● Placeholders for optional but fixed elements [Explanation of symbols]
[0284] 1. First Line 2. Second Line 10. System 11 Sensors 11 Conveyor 12 Sensors 12 Conveyor 12 Modeling Engine 13 Sensors 13 Conveyor 14 Service Engine 16 Virtual Twin Engine 18 Computer Implementation Metamodel 20 Meta Object Entities 21 Sensors 21 Conveyor 22 Sensors 22 Conveyor 22 State Space Model Entities 23 Sensors 23 Conveyor 24 Functional Entities 26 Input Vector Entities 28 Context Entities 30 Meta Object Type Usage Module 32 Modules using state space models 34 Function Usage Module 36 Input Vector Use Module 38 Twin / Twin Use Module 40 Split Module 42 Routing Module 44 Cluster Modules Used 46 Software Configuration Module 48 Module Processing Module 50 Modeling Engine Interface 52 Service Engine Interface 54 Modeling Control Module 56 Dataflow Processing Module 58 Data Flow Control Module 60 Metastream I / O module 62 State Vector Evaluation Module 64 Message Generation Module 66 Condition Vector Evaluation Module 68 Error Evaluation Module 70 Error Handling Module 72 Conversion Module 74 Update Module
Claims
1. A method for generating digital twin objects, comprising: a digital twin engine generating, based on a computer-implemented metamodel for modeling at least one subsystem of a distributed event discrete system and a usage-level model of the distributed event discrete system including at least two subsystems derived from the computer-implemented metamodel, a digital twin object having functionality consistent with the usage-level model, comprising: The computer-implemented meta-model comprises: at least one meta-object entity describing a meta-object type (MO●) used to model a subsystem of the distributed event discrete system, the at least one meta-object entity referencing a state space model entity specifying at least one state model (Σi●i∈{1,...,s}) associated with the subsystem; At least one state (zi●k) in the at least one state model (Σi●i∈{1,...,s}) is a set of metafeatures (MFi●k,1={fc1,…,fcc}i●k,1) that characterize states in the metadescription domain; A set of target features (TFi●k,2={ft1,…,ftt}i●k,2) with a discrete or continuous range of values that characterize the target in the considered state, and A set of actual features (AFi●k,3={fa1,…,faa}i●k,3) with a discrete or continuous range of values that represents the actual constellation of the state being considered It is represented by a metamodel, which is a set of partial states (zi●k,p) that use different levels of data abstraction according to How to generate digital twin objects.
2. The method for generating a digital twin object as described in claim 1, wherein the at least one meta object entity references a representation entity that specifies at least one representation object (MO●R) that represents a set of descriptive features (D●={d1●, ..., do●}) of a meta object type (MO●).
3. A method for generating a digital twin object as described in claim 1 or 2, wherein the at least one meta object type (MO●) is perceived under different perspectives in the meta object type (MO●) described as a set of perspectives (P●={p1●, ..., pv●}) in the at least one meta object type (MO●).
4. A method for generating a digital twin object as described in any one of claims 1 to 3, comprising a functional entity representing a state transition from a source state (zi●a) to a target state (zi●t) in the at least one state model (Σi●) by a functional model (Φi●at:Zi●×Xi●→Zi●) representing a data flow model according to meta features, target features, and / or actual features.
5. The method for generating a digital twin object as described in claim 4, wherein the functional entities represent the data flow model as control flows operating on metadata and data flows operating on data reflecting target features and / or actual features.
6. 6. The method for generating a digital twin object as claimed in claim 4 or 5, comprising an input vector entity representing a first input to the functional model (Φ(ex,in)i●at) as at least one state vector (Θex,in),i●at,l)T) summarizing an identification of a subsystem and at least one tuple of states in which the identified subsystem prevails, and / or a second input to the functional model (Φ(ex,in),i●at) as a vector summarizing at least one condition (Δ(ex,in),i●a) that must be satisfied before a state transition from a source state (zi●a) to a target state (zi●t), wherein the input vector entity represents the at least one condition as data reflecting at least one target feature and / or at least one actual feature.
7. The method for generating a digital twin object as described in claim 6, including a context entity representing at least one potential relationship between two twin objects that represents a digital instantiation of a meta object type (MO●) as a set of contexts (C={con_ID1, ..., con_IDk}).
8. The functional entity represents the functional model as a metadata flow Φex,ini●at; z i ● a ∈ Z i ● x is the source state selected from the set Z i ● of all states of the at least one state model (Σ i ● i = 1, ..., s) referenced by the meta object type (MO ●); z i ● t ∈ Z i ● x is the target state selected from the set Z i ● of all states of the at least one state model (Σ i ● i ∈ {1, ..., s}) referenced by the meta object type (MO ●); Π(ex,in)i●a is the set of external or internal state vectors that trigger the state transition from the source state z●a to the target state z●t; Δ(ex,in)i a is the vector of conditions that trigger the state transition from the source state z i a to the target state z i t , con_IDa is the context identification of the context that prevails for the subsystem modeled by the meta object type (MO●) prior to the state transition from the source state zi●a to the target state zi●t; con_IDt is the context identification of the context that prevails for the subsystem modeled by the meta object type (MO●) after the state transition from the source state zi●a to the target state zi●t; MFi●a,1×TFi●a,2×AFi●a,3 is a representation of the values of the meta features, target features, and actual features at the source state zi●a before the state transition to the target state zi●t; MFi●t,1×TFi●t,2×AFi●t,3 is a representation of the values of the meta features, target features, and actual features at the target state zi●t after a state transition to the target state zi●t; The data flow of the metamodel is: Φ(ex,in)i●at: zi●a∈Zi●x Πex,i●a×Δex,i●a×con_IDa x MFi●a, 1×TFi●a, 2×AFi●a, 3→ zi●t∈Zi●×con_IDt x MFi●t, 1×TFi●t, 2×AFi●t, 3 is defined according to A method for generating a digital twin object as described in claim 7.
9. A method for generating a metamodel representation of at least one subsystem of a distributed event discrete system, comprising: the modeling engine selecting a meta object type (MO●) for modeling the distributed event discrete system, the meta object type (MO●) referencing at least one state model (Σi●i∈{1,...,s}) for modeling the at least one subsystem of the distributed event discrete system; said modeling engine selecting at least one state model (Σi●i∈{1,...,s}) referenced by said meta object type (MO●) for actual use during modeling of said at least one subsystem; The modeling engine, a set of metafeatures (MFi●k,1={fc1,…,fcc}i●k,1) that characterize states in the metadescription domain; A set of target features (TFi●k,2={ft1,…,ftt}i●k,2) with a discrete or continuous range of values that characterize the target in the considered state, and A set of actual features (AFi●k,3={fa1,…,faa}i●k,3) with a discrete or continuous range of values that characterize the actual constellation of the state under consideration describing at least one state (zi●k) in said at least one selected state model (Σi●i∈{1,...,s}) with a metamodel that is a set (zi●k,p) of partial states using different levels of data abstraction according to The method includes:
10. modelling a representation object (MO●R) representing a set of descriptive features (D●={d1●,...,do●}) of said at least one modelled subsystem; modeling different perspectives in said at least one modeled subsystem by selecting at least one perspective from a set of perspectives (P={p1,...,pv}) available from said meta object type (MO); - modeling state transitions from source states (zi●a) to target states (zi●t) in said at least one state model (Σi●) by a functional model (Φ(ex,in)i●at:Zi●×Xi●→Zi●) representing a dataflow model according to metafeatures, target features and / or actual features, said dataflow model describing a control flow operating on metadata and a dataflow operating on data reflecting target or actual features; modeling a first input to said functional model (Φ(ex,in),i●at) as at least one state vector (Θ(ex,in),i●at,l)T) summarizing at least one tuple of subsystem identifications and corresponding states dominated by said identified subsystems; modeling a second input to the functional model (Φ(ex,in),i●at) as a vector summarizing at least one condition (Δ(ex v in),i●a) that must be satisfied before a state transition from the source state (zi●a) to the target state (zi●t), where the at least one condition is represented as data reflecting at least one target feature and / or at least one actual feature; modelling at least potential relationships between at least two twin objects, representing digital instantiations of a meta object type (MO●) by a set of contexts C={con_ID1,...,con_IDk}; 10. The method of claim 9, further comprising the modeling engine performing at least one step of modeling selected from the group consisting of:
11. The method of claim 10, further comprising the step of: modeling the functional model Φ(ex,in),i●at as a meta-model data flow, z i ● a ∈ Z i ● x is the source state selected from the set of all states Z i ● of the at least one state model (Σ i ● i ∈ {1, ..., s}) that models the at least one subsystem; z i t ∈ Z i x is the target state selected from the set of all states Z i of the at least one state model (Σ i ∈ {1, ..., s}) that models the at least one subsystem; Π(ex,in)i●a is the set of external or internal state vectors that trigger the state transition from the source state z●a to the target state z●t; Δ(ex,in)i a is the vector of conditions that trigger the state transition from the source state z i a to the target state z i t , con_IDa is a context identification of the context that prevails for the at least one modeled subsystem prior to the state transition from the source state zi●a to the target state zi●t; con_IDt is a context identification of the context that prevails for the at least one modeled subsystem after the state transition from the source state zi●a to the target state zi●t; MFi●a,1×TFi●a,2×AFi●a,3 is a representation of the values of the meta features, target features, and actual features at the source state zi●a before the state transition to the target state zi●t; MFi●t,1×TFi●t,2×AFi●t,3 is a representation of the values of the meta features, target features, and actual features at the target state zi●t after a state transition to the target state zi●t; The data flow of the metamodel is: Φ(ex,in)i●at: zi●a∈Zi●x Π(ex,in)i●a×Δ(ex,in)i●a×con_IDa x MFi●a, 1×TFi●a, 2×AFi●a, 3→ zi●t∈Zi●×con_IDt x MFi●t, 1×TFi●t, 2×AFi●t, 3 is defined according to The method of claim 10.
12. A method for deriving a usage-level model of a distributed event-discrete system including at least two subsystems, the metamodeling of which is generated by a method according to any one of claims 9 to 11, comprising: said service engine dividing said distributed event discrete system into at least two subsystem clusters, each including at least one subsystem of said distributed event discrete system, where all subsystems assigned to a particular subsystem cluster (MOC i ∈ MOC) are modeled with the same meta object type (MO ● ); The service engine defines a routing topology for exchanging streaming messages between subsystem clusters (MOC i ∈ MOC); The method includes:
13. The method described in claim 12, further comprising a step in which the service engine models at least one subsystem usage cluster (MOUCi = {MOUC1, ..., MOUCu}i) for at least one subsystem assigned to a subsystem cluster of the distributed event discrete system.
14. The method according to claim 12 or 13, wherein the step of defining a routing topology is achieved by defining for each subsystem cluster (MOCi) at least one external subsystem cluster from which streaming messages are received and at least one external subsystem cluster to which streaming messages are sent.
15. The method of claim 1, further comprising: configuring software such that the service engine converts the usage-level model of at least one subsystem into at least one executable modeling software kernel that can be executed in a digital twin engine for real-time control of a distributed discrete system, the step of configuring software comprising: configuring said at least one executable modeling software kernel for each system cluster (MOCi) via parameterization of executable software available from a software library, the at least one executable modeling software kernel is configured to execute at least one subsystem usage level model regarding the usage of all subsystems of the subsystem cluster (MOCi); the at least one executable modeling software kernel is configured to execute an input interface and an output interface for exchanging message streams having a meta-level message format with the at least one executable modeling software kernel; 15. The method according to any one of claims 12 to 14.
16. The method described in claim 15, comprising a step in which the service engine configures a routing topology between at least two executable modeling software kernels by connecting associated input interfaces and output interfaces via at least one metastream communication channel.
17. A method as described in claim 15 or 16, comprising a step in which the service engine loads the at least one executable modeling software kernel into the digital twin engine for controlling a distributed event discrete system in real time.
18. 1. A modeling engine for generating a metamodel of at least one subsystem of a distributed event discrete system, comprising: a meta object type usage module adapted to select a meta object type (MO●) for modeling the at least one subsystem of the distributed event discrete system, the meta object type (MO●) referring to at least one state model (Σi●i∈{1,...,s}) for modeling the at least one subsystem of the distributed event discrete system; a state space model usage module adapted to model the at least one state model (Σi●i∈{1,...,s}) referenced by the selected meta object type (MO●), The state space model usage module uses at least one state (zi●k) in the selected at least one state model (Σi●i∈{1,...,s}) as a set of metafeatures (MFi●k,1={fc1,…,fcc}i●k,1) that characterize states in the metadescription domain; A set of target features (TFi●k,2={ft1,…,ftt}i●k,2) with a discrete or continuous range of values that characterize the target in the considered state, and A set of actual features (AFi●k,3={fa1,…,faa}i●k,3) with a discrete or continuous range of values that characterize the actual constellation of the state under consideration According to the above, a state-space model using module is adapted to describe the state space in a metamodel, which is a set of partial states (zi●k,p) using different levels of data abstraction. A modeling engine including
19. The modeling engine of claim 18, comprising a representation module adapted to model a representation object (MO●R) representing a set of descriptive features (D●={d1●, ..., do●}) of the at least one modeled subsystem.
20. A modeling engine as claimed in claim 18 or 19, wherein the state space model usage module is adapted to model different perspectives in the modeled at least one subsystem by selecting at least one perspective from a set of perspectives (P●={p1●, ..., pv●}) available from the meta object type (MO●).
21. A modeling engine as claimed in any one of claims 18 to 20, comprising a function usage module adapted to model state transitions from source states (zi●a) to target states (zi●t) in the at least one state model (Σi●) by a function model (Φ(ex,in)i●at:Zi●×Xi●→Zi●) representing a data flow model according to meta features, target features and / or actual features.
22. 22. The modeling engine of claim 21, wherein the function usage module is adapted to model control flows that operate on metadata and data flows that operate on data reflecting target or actual features.
23. 23. The modeling engine of claim 21 or 22, further comprising an input vector usage module adapted to model a first input to the functional model (Φ(ex,in)i●at) as at least one state vector (Θex,in),i●at,l)T) summarizing at least one tuple of an identification of a subsystem and a corresponding state in which the identified subsystem prevails, and / or adapted to model a second input to the functional model (Φ(ex,in),i●at) as a vector summarizing at least one condition (Δ(ex,in),i●a) that needs to be satisfied before a state transition from the source state (zi●a) to the target state (zi●t), wherein the input vector usage module is adapted to model the at least one condition as data reflecting at least one target feature and / or at least one actual feature.
24. The modeling engine of claim 23, further comprising a function usage module adapted to model at least potential relationships between at least two twin objects representing a digital instantiation of a meta object type (MO●) by a set of contexts (C={con_ID1, ..., con_IDk}).
25. the function usage module is adapted to model the function model Φ(ex,in),i●at as a metamodel data flow; z i a ∈ Z i x is the source state selected from the set of all states Z i of the at least one state model (Σ i i = 1, ..., s) modeling the at least one subsystem; zi●t∈Zi●x is the target state selected from the set of all states Zi● of the at least one state model (Σi●i=1,...,s) modeling the at least one subsystem; Π(ex,in)i●a is the set of external or internal state vectors that trigger the state transition from the source state z●a to the target state z●t; Δ(ex,in)i a is the vector of conditions that trigger the state transition from the source state z i a to the target state z i t , con_IDa is a context identification of the context that prevails for the at least one modeled subsystem prior to the state transition from the source state zi●a to the target state zi●t; con_IDt is a context identification of the context that prevails for the at least one modeled subsystem after the state transition from the source state zi●a to the target state zi●t; MFi●a,1×TFi●a,2×AFi●a,3 is a representation of the values of the meta features, target features, and actual features at the source state zi●a before the state transition to the target state zi●t; MFi●t,1×TFi●t,2×AFi●t,3 is a representation of the values of the meta features, target features, and actual features at the target state zi●t after a state transition to the target state zi●t; The data flow of the metamodel is: Φ(ex,in)i●at: zi●a∈Zi●x Π(ex,in)i●a×Δ(ex,in)i●a×con_IDa x MFi●a, 1×TFi●a, 2×AFi●a, 3→ zi●t∈Zi●×con_IDt x MFi●t, 1×TFi●t, 2×AFi●t, 3 is defined according to 25. The modeling engine of claim 24.
26. A service engine for generating a usage level model of a distributed event discrete system including at least two subsystems having a metamodeling generated by the method according to any one of claims 9 to 11, said method comprising the steps of: a partitioning module adapted to partition the distributed event discrete system into at least two subsystem clusters, each cluster including at least one subsystem of the distributed event discrete system, where all subsystems assigned to a particular subsystem cluster (MOC i ∈ MOC) are modeled with the same meta object type (MO ● ); a routing module adapted to define a routing topology for exchanging streaming messages between subsystem clusters (MOCi∈MOC); Includes service engine.
27. 27. The service engine of claim 26, comprising a usage cluster module adapted to model, for every subsystem assigned to a subsystem cluster of the distributed event discrete system, a different subsystem usage cluster (MOUCi={MOUC1, ...,MOUCu}i).
28. 28. A service engine according to claim 26 or 27, wherein the routing module is adapted to define the routing topology by defining for each subsystem cluster (MOCi) at least one external subsystem cluster from which streaming messages are received and at least one external subsystem cluster to which streaming messages are sent.
29. and a software configuration module adapted to convert the usage level model of at least one subsystem of a distributed event discrete system into at least one executable modeling software kernel that can be executed in a digital twin engine for real-time control of the distributed event discrete system, the software configuration module comprising: adapted to configure said at least one executable modeling software kernel for each system cluster (MOCi) via parameterization of executable software available from a software library, the at least one executable modeling software kernel is configured to execute at least one subsystem usage level model regarding the usage of all subsystems of the subsystem cluster (MOCi); the at least one executable modeling software kernel is configured to execute an input interface and an output interface for exchanging message streams having a meta-level message format with the at least one executable modeling software kernel; A service engine according to any one of claims 26 to 28.
30. 30. The service engine of claim 29, wherein the software configuration module is adapted to configure a routing topology between at least two executable modeling software kernels by connecting associated input interfaces and output interfaces via at least one metastream communication channel.
31. 31. The service engine of claim 29 or 30, wherein the software configuration module is adapted to load the at least one executable modeling software kernel into the digital twin engine for controlling a distributed event discrete system in real time.
Citation Information
Patent Citations
Processing at least one device of a technical system
EP2565740A1
Control method for composite device having plurality of multi-spindle handling devices arranged in series and / or parallel, data storage medium, control system, and composite device
JP2010036334A
Digital twins for energy efficient asset maintenance
US20160247129A1
Automated dynamical control of operations and design of physical systems through time
US20180039249A1
