The ‘Select Property Criteria’ field on the MapProperty object defines the mapping by interaction with hard-coded transformation code that transforms a retrieved object into a Smart P&ID object, for example – a stream (PFDPipingSystemConnector in Aspen Basic Engineering) to a piperun.
A stream has the following general structure in the PFD document:
…which needs to be transformed to a Piperun.
The Select Property Criteria defines a path where a retrieve of properties from Aspen Basic Engineering to Smart P&ID is determined. This path has two fields: RetrievePath%PublishPath%
-
Retrieve Path – consisting of two fields: <CaseSelector>.<PhaseSelector>.
Case Selector – Defines the case process data case type: Normal, Base, Min, Max.
Phase Selector – Defines the process phase: Vapor, Solid, Bulk, Liquid.
-
Publish Path – Defines where the property goes to.
Example: Min.Liquid%ProcessPoint%
Retrieving any process data property will be translated to the next steps (EFAdapter function PipeRunDataExchanger::CreateProcessDataProperties):
-
Going through the Aspen Basic Engineering PFDDocument seeking for the PipingSystemConnector.
-
Traversing to the PFDProcessData Class which holds the case (Min, Max…)
-
Traversing to the related Data Phase (Bulk, Liquid…)
-
Picking the properties and matching them to the Tool Map properties having the relevant select criteria.
-
Current cases which are treated hard-coded-wise: Bulk & Liquid. Any other configuration needs code intervention.