To Obtain Arc Length for Pipe Bends in OpenPlant Modeler


Applies To 
Product(s):OpenPlant Modeler
Version(s):08.11.11.XXX (SS6)
Environment: Windows 7/8.1/10 (64 bit) & Others
Area: Properties
Subarea: Pipe Bend - Arc Length
Original Author:Rahul Kumar, Bentley Product Advantage Group

Overview

To Define Arc length for Pipe Bends in OpenPlant Modeler. 

Problem Description

In OpenPlant Modeler, it has been observed that Length Property for pipe bend calculation displays as twice the arm length of bend, i.e. Length = 2 * Pipe Bend radius along with clamp length (Length to Bend Point, Length after Bend Point).

See image below for default calculation in OpenPlant Modeler.

Length = Length to Bend Point + 2 * Pipe Bend radius + Length After Bend Point.

Where,
Length to Bend Point = 100 mm
Length after Bend Point = 100 mm
Pipe Bend radius = 150 mm

Length = 100 + 2*150 + 100 = 500 mm

Actual calculation should be,

where,

Note –In OpenPlant Modeler unit conversion 1” = 25.4mm

hence desired value would be,

Considering Length to Bend Point = 100 mm & Length after Bend Point = 100 mm,

Updated length would be = 100 + 235.619 + 100 = 435.619 mm

See below steps to overcome this situation by defining a new property in schema through class editor and applying the mathematical expression in EC expression. 

Steps to Resolve

  1. Launch OpenPlant Project Administrator.
  2. Select project unit of working.
  3. From Tools ->Select Class Editor to launch. 



  4. Open OpenPlant_3D.01.07.ecschema and supplement it with below schema.
    OpenPlant_3D_Supplemental_Modeling.01.07.ecschema
    For More information on supplementing schema Click Here>>>>
  5. Navigate to class PIPE_BEND.
  6. Under property tab, use LENGTH Property.
  7. Copy LENGTH Property & paste it on same window to create a new property.

    1. Right click on LENGTH property. See image.



    2. Move to below in property list, right click on it to Paste. See image below.



    3. Rename it to ARC_LENGTH and other fields as per below image shown. 

        

       Note –
      Set the TypeName to string. 

  8. On ARC_LENGTH property, click on Custom Attributes->Add/remove



  9. Check for custom attribute (CA) Caculated ECProperty Specification, pull it down in second dialog and set the location as shown in below image.



  10. Set the expression as shown in below image. 

    LENGTH_TO_BEND+System.Math.PI*NOMINAL_DIAMETER*BEND_POINT_RADIUS*ANGLE/180+LENGTH_AFTER_BEND





  11. Save & Close the schema.
  12. Launch OpenPlant Modeler.
  13. Place a pipe bend with same value shown above to verify results.  

Still A Problem?

If above problem still persist, then please create a Service Request and contact Bentley Product Advantage group along with the list of all relevant details to get in depth analysis and for possible solution or workarounds. 

See Also

communities.bentley.com/.../properties-openplant-modeler

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!