You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each of this core components has the following main characteristics:
260
260
261
-
-**WLDT Engine**: Defines the multi-thread engine of the library allowing the execution and monitoring of
262
-
multiple workers simultaneously. Therefore, the it is also responsible for orchestrating
263
-
the different internal modules of the architecture while keeping track of each one, and it can be
264
-
considered the core of the DT itself
265
-
-**WLDT Event Bus**: Represents the internal Event Bus, designed to support communication between
266
-
the different components of the DT's instance. It allows defining customized events to model
267
-
both physical and digital input and outputs. Each WLDT's component can publish on the shared Event Bus and define
268
-
an Event Filter to specify which types of events it is interested in managing,
261
+
-**Metrics Manager**: Provides the functionalities for managing and tracking various metrics
262
+
within DT instances combining both internal and custom metrics through a flexible and extensible approach.
263
+
-**Logger**: Is designed to facilitate efficient and customizable logging within implemented and deployed DTs with
264
+
configurable log levels and versatile output options.
265
+
-**Utils & Commons**: Hold a collection of utility classes and common functionalities that can be readily employed
266
+
across DT implementations ranging from handling common data structures to providing helpful tools for string manipulation.
267
+
-**Event Communication Bus**: Represents the internal Event Bus, designed to support communication between
268
+
the different components of the DT's instance. It allows defining customized events to model
269
+
both physical and digital input and outputs. Each WLDT's component can publish on the shared Event Bus and define
270
+
an Event Filter to specify which types of events it is interested in managing,
269
271
associating a specific callback to each one to process the different messages.
270
-
-**WLDT Workers**: Models the basic internal component and actually constitutes
271
-
the single executable element by the WLDT Engine.
272
-
Except for the Digital Twin State, each of the modules described later defines a specific implementation of a WLDT Worker.
273
-
-**Digital Twin State**: It structures the state of the DT by defining the list of properties, events, and actions.
272
+
-**Digital Twin Engine**: Defines the multi-thread engine of the library allowing the execution and monitoring of
273
+
multiple DTs (and their core components) simultaneously. Therefore, it is also responsible for orchestrating
274
+
the different internal modules of the architecture while keeping track of each one, and it can be
275
+
considered the core of the platform itself allowing the execution and control of the deployed DTs. Currently, it supports
276
+
the execution of twins on the same Java process, however the same engine abstraction might be used to extend the framework to
277
+
support distributed execution for example through different processes or microservices.
278
+
-**Digital Twin**: Models a modular DT structure built through the combination of core functionalities together with physical
279
+
and digital adapter capabilities. This Layer includes the `Digital Twin State` responsible to structure the state of the DT by defining the list of properties, events, and actions.
274
280
The different instances included in the lists can correspond directly to elements of the physical asset
275
-
or can derive from their combination, in any case, it is the Shadowing Model Function (SMF) that defines
281
+
or can derive from their combination, in any case, it is the `Shadowing Function (SF)` that defines
276
282
the mapping, following the model defined by the designer.
277
-
This component also exposes a set of methods to allow SMF manipulation.
283
+
This component also exposes a set of methods to allow SF manipulation.
278
284
Every time the Digital Twin State is modified, the latter generates the corresponding DT's event to notify all the components
279
285
about the variation.
280
-
-**Shadowing Model Function**: It is the library component responsible for defining the behavior of
286
+
-**Shadowing Function**: It is the library component responsible for defining the behavior of
281
287
the Digital Twin by interacting with the Digital Twin State.
282
288
Specifically, it implements the shadowing process that allows keeping the
283
289
DT synchronized with its physical entity.
@@ -293,19 +299,19 @@ have completed the binding procedure with the physical asset. This component als
293
299
related to specific protocols, must implement.
294
300
As provided by the DT definition, a DT can be equipped with multiple Physical Adapters
295
301
in order to manage communication with the corresponding physical entity.
296
-
Each will produce a Physical Asset Description (PAD),
302
+
Each will produce a `Physical Asset Description (PAD)`,
297
303
i.e., a description of the properties, events, actions, and relationships
298
304
that the physical asset exposes through the specific protocol.
299
305
The DT transitions from the Unbound to the Bound state when all its Physical Adapters
300
306
have produced their respective PADs.
301
-
The Shadowing Model Function, following the DT model,
307
+
The Shadowing Function, following the DT model,
302
308
selects the components of the various PADs that it is interested in managing.
303
309
-**Digital Adapter**: It provides the set of callbacks that each specific implementation can use
304
310
to be notified of changes in the DT state.
305
311
Symmetrically to what happens with Physical Adapters, a Digital Twin can define
306
312
multiple Digital Adapters to expose its state and functionality through different protocols.
307
313
308
-
Therefore, to create a Digital Twin using WLDT, it is necessary to define a Shadowing Model Function and
314
+
Therefore, to create a Digital Twin using WLDT, it is necessary to define and instantiate a DT with its Shadowing Function and
309
315
at least one Physical Adapter and one Digital Adapter, in order to enable connection with the physical
310
316
entity and allow the DT to be used by external applications. Once the 3 components are defined,
311
317
it is possible to instantiate the WLDT Engine and, subsequently, start the lifecycle of the DT.
@@ -319,7 +325,8 @@ The steps that we have to follow in order to create our first (and super simple)
0 commit comments