The consolidate process is split into two parts:
-
Mapping
-
Loading
The input published file and instructions attached to the published document are provided by the tool adapter. The tool data and tombstone files are rearranged into tagged items, which are groups of tags and instructions that can be logically grouped together and committed to the database. These tagged items are then transformed, based on the mapping. Specific mapping is used by the interpreter to relate the SmartPlant schema to the CDW schema. The interpreter uses that mapping to create a data file in the CDW format that is used to load the data into SmartPlant Foundation using the internal SmartPlant Foundation loader. The mapping function consists of an input adapter, output adapter, mapping class, and an interpreter. The role of the interpreter is to ask the input adapter to read the input schema, decide what relevant mapping is required, and send it to the output adapter.
For more information, see the section CDW customization, which describes the customization possibilities in more detail, including suggestions on how to establish precedence. For example, PID data takes precedence over the PFD data for the instruments or for particular properties on the instrument.