Intermediate asset model
- Last UpdatedAug 23, 2024
- 2 minute read
The intermediate asset model leverages both Tagname Dictionary (Historian API) and MES Efficiency (MES API) parts and their capabilities of configuring and hosting asset model information.
For more information, see the Manage the efficiency model section in the AVEVA Insight Online Help.
Scenario
Scope of this scenario is to define 3 dimensions and 1 measure calculation such as:
-
The asset dimension reflects all Assets and Plants available as part of the Equipment Efficiency Model.
-
Batch dimension as a type of Time Defining Dimension reflects all batches that have been operated against existing assets. This dimension returns all batches (batch ID, Start Time, and End Time) per the key fields Asset and Plant.
-
UtilizationEvent dimension as a type of Time Defining Dimension reflects all utilization event and their reason that assets have been exposed to. This dimension returns all utilization events (Event ID, Start Time,and End Time) per the key fields Asset and Plant.
-
Power measure’s calculation computes the energy spent by the context of Asset, Plant, Batch, and UtilizationEvent.
The Asset dimension is populated by retrieving all equipment and location (hierarchy) from the Equipment Efficiency Model (MES API).
The Batch dimension retrieves all tagnames matching the criteria BIGateway_Dimension eq ‘Batch’ and subsequently returns all historical events associated to.
The UtilizationEvent dimension retrieves all utilization event (MES API)
The Power calculation retrieves all tagnames matching the criteria BIGateway_MeasureCalculation eq ‘Power’ and subsequently returns aggregated historical data associated to per requested time slice.
Configure Tagname Extended Property
Here is an example of JSON file for creating Tagname Extended Properties leveraging Intermediate asset model concept.
Sample:
{
"metadata": [
{
"TagName": "Asset0001.Batch",
"BIGateway_Asset": {"DataType":"String", "Value":"Asset0001"},
"BIGateway_Dimension": {"DataType":"String", "Value":"Batch"},
"BIGateway_MeasureCalculation": {"DataType":"String", "Value":""}
},
{
"TagName": "Asset0001.Power",
"BIGateway_Asset": {"DataType":"String", "Value":"Asset0001"},
"BIGateway_Dimension": {"DataType":"String", "Value":""},
"BIGateway_MeasureCalculation": {"DataType":"String", "Value":"Power"}
}
]
}
For more information about defining extended tag properties, see the Define extended tag properties section in the AVEVA Insight Online Help.