PlantWise Help

Language Specification

<nozzle takeoff rule set> ::=
	(FROM <equipment class> <nozzle takeoff rule>* )
  • The ordered list of rules for an equipment class. The nozzles are matched in order, taking the first match; therefore, more specific rules should precede more general rules.
  • There need not be any rules--the default rule is to just use the minimum distance.
<nozzle takeoff rule> ::=
	[WHEN <expression>][ALWAYS] <segment> [AND <segment>]*
  • ALWAYS indicates that the vicinity clause should be obeyed, even if it will result in a routing interference.
<segment> ::= GO <distance direction> <distance> |
	GO <location direction> TO <level> |
	GO TO CHANNEL |
	GO TO VERTICAL-CHANNEL
  • The first choice indicates that the pipe should route in the specified <distance> in the specified <direction>.
  • The second choice indicates that the pipe should route in the specified <direction> to the specified routing level, absolute elevation, etc.
  • The third choice indicates that the pipe should route to the equipment-specific horizontal channel corresponding to this nozzle.
  • The fourth choice means go to the equipment-specific vertical channel corresponding to this nozzle.
<distance direction> ::= left | right | back | front |
	up | down | north | south | east | west |
	nozzle-direction | to-pipeway | perpendicular-to-nozzle
  • Right, left, front, and back are interpreted relative to the equipment axis.
  • Perpendicular-to-nozzle is primarily used for equipment header lines with inline nozzles (including diverging and converging) to get outside the equipment space.
  • The chosen direction is toward the other end of the connected pipe along one of the axes.
<location direction> ::= up | down | vertically

<distance> ::= <expression> | minimum-length
	<minimum-length> ::= the length of two elbows

<level> ::= <expression> | any-level | parallel-to-pipeway-level |
	perpendicular-to-pipeway-level |
	nozzle-direction | perpendicular-to-nozzle |left |
	right | left-right | back | front | front-back |north |
	south | north-south | east | west | east-west
  • Level defines a pipeway level with routing parallel to the given direction.
  • Any-level means the first routing level in that direction.