Networks
Functions introduced:
A pipeline is a collection of piping features and components that are connected together. A pipeline feature is a single feature that unites all the features and components in a pipeline. All the features and components that belong to one pipeline reference the pipeline feature.
A network is a temporary data structure which is the result of analyzing the connectivity and topology of the features and components in a pipeline. The functions in this section allow a application to create and analyze the network for a pipeline, which would be the first step in, for example, an analysis of the fluid flow down the pipeline.
The network is a hierarchical data structure whose branches describe the various logical subdivisions into which the features and components of a pipeline divide themselves according to their connectivity.
A network is described by the opaque pointer ProPnetwork. The function
ProPipelineNetworkEval() analyzes the features and components that belong to a pipeline (specified by its pipeline feature, belongs to the top model) and builds a network data structure.
The function
ProPipelineNetworkEvaluate() analyzes the features and components that belong to a pipeline (specified by its pipeline feature and path) in the top level assembly or its sub assemblies and builds a network data structure. The input arguments are:
• p_comp_path —Specify the path from the top model to the pipeline's model by usingProAsmcomppath.
• pipeline —The feature handle to the pipeline feature.
The output argument network is a handle to the network structure. It is an opaque pointer to a structure that is accessed by functions starting with ProPnetwork.
After the structure has been analyzed it should be freed using
ProPnetworkFree().
The functions
ProPnetworkLabelGet(),
ProPnetworkSizeGet(), and
ProPnetworkSpecGet() get information about the pipeline described by a specified network.