How to Add PIPELINE_NUMBER in Valve Tag in OpenPlant PID


Applies To
Product(s):OpenPlant PID
Version(s):08.11.10.XXX (SS5) | 08.11.11.XXX (SS6)
Environment:Windows 7/8.1/10 (64 bit)
Area:Customization
Subarea:
Original Author:Jaya Tiwari, Bentley Product Advantage Group

Background

This article will cover how user can bring pipeline number on a valve class and use that in Valve Tag. For this example we will create a property PIPELINE_NUMBER for example.

Steps to Accomplish:

  1. Launch Bentley Class Editor.

  2. Open OpenPlant.01.07schema.

    Path: C:\ProgramData\Bentley\OpenPlantPID(SS6)\WorkSpace\OPPID\Schemas



  3. Supplement OpenPlant.01.07 schema with OpenPlant_Supplemental_Tagging.01.07 Schema.



  4. Expand Piping component class, navigate to Fluid Regulator. Add new property as ‘PIPELINE_NUMBER’ and fill details as below.



  5. Add ‘Category’ custom Attribute to PIPELINE_NUMBER property.





  6. Enter details in Category as shown below.



  7. Switch to Properties tab and select Add/Remove to add Custom Attribute on NAME property as shown below.



  8. Add “Calculated ECProperty Specification” custom attribute on NAME Property.



  9. Change the Expressions as given below.

    ECExpression :    this. DEVICE_TYPE_CODE & “-“ & this.PIPELINE_NUMBER & “-“ & this.NUMBER

    Parser regular expression : ^(?<DEVICE_TYPE_CODE>.*)-(?<PIPELINE_NUMBER>.*)-(?<NUMBER>.*)|(?<NUMBER>.*)



  10. Close OpenPlant schema

  11. Open OpenPlant_PID.01.07 of desired project, say here Metric.



  12. Supplement it with OpenPlant_PID_Supplemental_Imperial.01.07 schema as shown below.



  13. Navigate to Pipeline Class and select NUMBER property.

  14. Right Click the NUMBER property. Select Custom Attribute> Add/Remove.



  15. Add Notify Related Component of Property Value Change on NUMBER property as shown below.



  16. Key-in the values in respective fields as shown below



  17. Switch to PIPE RUN class and Add PIPELINE_NUMBER property



  18. Add Notify Related Component of Property Value Change” custom attribute to PIPELINE_NUMBER property





  19. Key-in the values in respective fields as shown below.



  20. Save all the settings and check result.

See Also

communities.bentley.com/.../how-to-update-spec-data-in-existing-valves-in-openplant-pid  

Comments or Corrections?

Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?" section. THANK YOU!