Changes for page eMagiz State Generation
Last modified by Erik Bakker on 2024/08/13 12:05
From version 8.1
edited by Carlijn Kokkeler
on 2023/07/07 13:42
on 2023/07/07 13:42
Change comment:
There is no comment for this version
To version 9.1
edited by Carlijn Kokkeler
on 2023/07/07 13:44
on 2023/07/07 13:44
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -24,6 +24,18 @@ 24 24 Stateful data can be generated through four main operations. First of all, through enriching data. This means that information should be added to the data, so that it has more meaning. This can be achieved by storing states in a database. For example, when it is known that, if a person works from home, this is stored as A, and if a person works in the office, this is stored as B, the data can be enriched with ‘Home’ and ‘Office’. To ensure this, a database should be present storing the connection between A and Home, and B and Office. 25 25 26 26 [[image:Main.Images.Fundamental.WebHome@fundamental-stategeneration-example-enrich.png]] 27 + 28 +Secondly, stateful data can be obtained through aggregating data. Aggregation concerns a computation over a certain range of time, such as an average, minimum or maximum. For example, when the number of people working from home, or working at the office is stored, the average number of people working at home or at the office during the past 30 minutes can be determined. 29 + 30 +[[image:Main.Images.Fundamental.WebHome@fundamental-stategeneration-example-aggregation.png]] 31 + 32 +Thirdly, change detection can be applied. This means that a change in the data can be detected. For example, when the temperature at home rises to more than 30 degrees, this can be detected. It can then be defined that, when the temperature at home is more than 30 degrees and the heating is on, the heating should be turned off. In this example, the data is enriched with the last state of the air conditioning. 33 + 34 +[[image:Main.Images.Fundamental.WebHome@fundamental-stategeneration-example-change-detection.png]] 35 + 36 +Lastly, duplicate detection can be applied, meaning that duplicate data can be detected. For example, if the number of people working from home is recorded twice at a certain moment, this can be detected, and the data can be adapted accordingly. 37 + 38 +[[image:Main.Images.Fundamental.WebHome@fundamental-stategeneration-example-duplicate-detection.png]] 27 27 ==== 3.2 State Operations ==== 28 28 29 29 Once the state store is defined, one needs different operations in order to update the state effectively.