PlantWise Help

Free Space Routing

The AutoRouter routes free space pipes and segments before routing pipeway pipes and segments.

The Free Space Router routes pipes that go:
  • directly from a nozzle or tee to another nozzle or tee, or
  • from a nozzle or tee to the pipeway.
In free space, the router searches for a path that minimizes pipe length and the number of bends. In order to choose from among a set of potential routes, the Free Space Router assigns a “cost” to the length of the route and a “cost” to each bend along the route and chooses the route with the lowest total “cost.” The router is “greedy,” which means that a routed pipe occupies the best space available without regard for subsequent pipes. Vicinity routing rules can be used to offset the greedy nature of the router.

If the pipe is a non-pocketing pipeline, the pipe is routed without high or low pockets. If a non-pocketing route can not be found, then the pipeline is routed without concern for pockets and flagged as an exception line.

Routing Order

  • Header pipes are always routed first (for nested headers, those closest to the nozzles are routed first).
  • Direct lines and to-pipeway segments of pipeway lines are routed second.
The router selects which pipe to route by performing the following cycle:
  • First, the Router decides which pipelines and segments are routable.
    • All pipelines that have both ends connected either to a placed nozzle or a placed tee are routable.
    • All pipelines that have one end connected to a placed nozzle or a placed tee and the other end connected either to a tee that has been determined to be on a pipeway or to a boundary component are also routable.
    • All pipeline segments that have one end connected to a placed nozzle or a placed tee and are determined to go to a pipeway drop zone are also routable.
  • Next, the router selects the routable pipe with the highest priority. See "Priorities" section, next. ).
  • Then, the router decides whether the pipe should route directly or to a pipeway. See "Routing to a Pipeway" section, next.).
    • If the pipe routes to a pipeway, the router decides which pipeway(s) to use.
  • Finally, the router routes the pipe.
All free space routing (direct lines, to pipeway segments, and from pipeway segments) is completed before pipeways are routed.

Priorities

Pipelines are routed in free space in priority order. A pipeline with a higher priority number is routed before a pipeline with a lower priority number. By default, all pipelines are given a priority of 50. The value can be changed in the Pipeline Editor dialog. If the priority is the same, the following priority ordering is used:
  • large diameter expensive material pipelines,
  • large diameter not expensive material pipelines,
  • medium diameter expensive material pipelines,
  • medium diameter not expensive material pipelines,
  • Remaining expensive material pipelines,
  • Remaining not expensive material pipelines.
Large and Medium diameters are defined in the Project Setup (see Setup Variable) while material expense is defined in the pipe-material-expense data table discussed in Appendix A - Default Data Tables.

Routing to a Pipeway

A pipe is routed to the pipeway if one or both of its endpoints is in the pipeway. For all other cases, the router looks at the horizontal and vertical distances:
  • between the two nozzles,
  • from the originating nozzle to the pipeway, and
  • from the terminating nozzle to the pipeway.

If the first distance is less than either of the other two, the pipe will route directly. You can override a pipe’s category (direct or pipeway) in the Pipeline Editor dialog.

If an endpoint is a tee, it will be placed on a pipeway if:
  1. the main pipeline is routed only on pipeways, or
  2. the manhattan distance from the off-pipeway endpoint to the pipeway is less than the manhattan distance from the nearest, off-pipeway tee location to the off-pipeway endpoint.

When determining whether a pipeline should route to a pipeway, the router also decides which pipeway(s) to use.

When equipment is located such that a nozzle is within the column lines of the pipeway and less than the approximate unsupported length for the connected pipe’s nominal diameter the pipe will route directly to the pipeway as shown.

Routing to the end of a pipeway.

When the length exceeds the approximate unsupported length for the connected pipe’s nominal diameter the pipe will route to enter the pipeway from the side.

Routing Rules

Pipeline routing relies significantly on basic pipe-routing rules – piper practices – and produces reasonable routes that emulate those a piper might produce. These routes are not necessarily the shortest routes.

In free space, pipes are routed in the shortest possible path that the router can find. You can influence to what extent that the router will search for a free space route. From the AutoRouter Control dialog, you can slide the bar on the lower right hand corner of the dialog to select a percentage of how much time the AutoRouter will spend searching for a path.

Routing is, in general, orthogonal. Exceptions are made at pipeline starts and ends where routing is in the direction of the connected nozzle. In addition, large pipes may be routed with 45° elbows to change elevation when an orthogonal route is not possible.

Another exception to the orthogonal routing rule takes place in the short router. For the limit of an allowable unsupported pipe span, the short router can skew a pipe route to minimize the length of a route.

Pipelines are routed to avoid obstacles. Each piece of equipment, each structure, each access and maintenance area and each routed pipeline is an obstacle for subsequently routed pipelines. Only pipelines that go to nozzles on equipment objects may penetrate that equipment’s obstacle space without generating an exception.

Pipelines are placed to take two spacing variables into account. Those variables are the minimum centerline spacing and the bottom-of-pipe offset for insulated pipes. The calculations of these values is discussed in "Pipeline Spacing". If a line cannot meet these two criteria, an exception is generated.

Horizontal pipeline segments approaching the pipeway are routed so that the bottom of the segment – or the bottom of the insulation shoe of an insulated segment – lies on a routing plane. The free space router stops the to-pipeway segments at the centerline of the pipeway column or at the edge of the pipeway space if there are no columns.

Pipelines are routed through various regions, where each region may have different routing rules. Specialized free space regions are:
  • the vicinity of equipment,
  • short distances, and
  • equipment set headers.