Smart P&ID Example: Mapping Equipment Classes to Publish Process Data - Intergraph Smart P&ID - Administration & Configuration - Hexagon PPM

SmartPlant Enterprise SmartPlant Adapter for Smart P&ID (2019)

Language
English
Product
Intergraph Smart P&ID
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10
Smart P&ID Version
9 (2019)

The following mapping example describes how to map process data for the four Equipment classes – Equipment Other, Exchanger, Mechanical, and Vessel. The following example explains how to map process data for the Vessel class; however, a similar procedure applies to all the Equipment classes listed above.

The following must exist in the PIDComponent schema:

  • IProcessPoint and IProcessDataCaseComposition are realized by PIDProcessVessel, PIDMechanicalEquipment, PIDProcessEquipment, and PIDHeatTransferEquipment.

  • IProcessDataCaseComposition is implied by IPIDMechanicalEquipmentOcc, IPIDProcessVesselOcc, IPIDHeatTransferEquipmentOcc, and IEquipmentOcc.

  • PIDProcessVessel, PIDMechanicalEquipment, PIDProcessEquipment, and PIDHeatTransferEquipment must realize the interface that exposes the SmartPlant property definitions to which you want to map. For example, in this topic, you will map ProcessOperatingMaxTemperature to PhaseTemperatureMax, which is exposed by IBulkMaxProcessPoint. To map a ProcessOperatingMaxTemperature property to PhaseTemperatureMin, the class definition should realize IBulkMinProcessPoint.

Before You Extend the Smart P&ID Database

  1. Make a backup of the SmartPlant Foundation site database and any vaults for the site.

  2. Create a backup of Smart P&ID, including a database backup from the plant level with reference data, an application-level data dictionary template (DDT), and a backup of the SPPIDDataMap.xml file located in the SmartPlant resources directory.

Launch the Schema Editor and Load the Smart P&ID Tool Map Schema

  1. In the Desktop Client, set your scope for the applicable plant, and then find the CMF file.

  2. Right-click the CMF file, and select Launch Schema Editor.

  3. On the Set Active Configuration dialog box, select the version of the schema that you want to view.

  4. Click OK to set the configuration, and open the Schema Editor.

  5. In the Schema Editor, click File > SmartPlant > Edit Engineering Tool Options, and select SMARTPLANTPID from the list of authoring tools to load the Smart P&ID tool map schema.

  6. In each row in the Synchronize dialog box, the values in the tool database and tool map schema columns indicate actions to correct inconsistencies between the tool metadata and tool map schema. Select the appropriate action in each row, and then click OK.

    • Each row represents a discrepancy between the tool database and the tool map schema.

    • Default actions are blue when the Synchronize dialog box appears. However, if you select a different option, it will become blue instead.

    • In many cases, only one operation is supported to synchronize the tool database and tool map schema. For example, if a new property was found in the database, the metadata adapter can add the property to the tool map schema, but it cannot remove the property from the tool database.

Create and Map the MapProperty

  1. In the Map Environment, expand SMARTPLANTPID > Loaded Map Schemas > SmartPlant P&ID Tool Schema.

  2. Expand the Vessel node, and right-click MapProperties.

  3. Select Create SPMapPropertyDef to create a new tool property and associate it to the Vessel class.

  4. Define the property, for example, ProcessOperatingMaxPressure, in the Edit Map Property Definition dialog box.

  5. Type %ProcessPoint in the Select criteria field, and then click OK.

  6. Right-click the Vessel node, and select Edit Vessel.

  7. On the Advanced tab, edit the value in the Process criteria box to EFAdapter.EqDataExchanger,True,1.

    The Process criteria box is automatically filled with the value set to False. By setting the Process criteria value to True, the Smart P&ID adapter finds the extended properties that contain the process properties for equipment.

  8. Click the Publish tab.

  9. In the Unmapped application properties table, select the ProcessOperatingMaxTemperature property you created.

  10. In the Unmapped SmartPlant properties table, select the PhaseTemperatureMax property.

  11. On the toolbar, click Map .

    • The mapping you defined appears in the mapped objects table at the bottom of the dialog box.

    • The ProcessOperatingMinTemperature map property can be mapped to PhaseTemperatureMin using the same process.

  12. Click OK.

Save the Tool Map Schema

  • Click File > Save All Modified Files to save the changes to the tool map schema.

Because you did not change the SmartPlant schema, you do not need to save the CMF file.

When you close the Schema Editor, the software offers to save your connection information, user interface options, and loaded tool map schemas to a session file. Click Yes in the message box to save the session files so that you can use it to return to this working environment. However, you should not open a session file after launching the CMF file from the Desktop Client.

Test the Publish Mapping Relationship

  • Test your mapping by publishing equipment with process data related to it.

    Below is an example of how the published data should appear.