Escolar Documentos
Profissional Documentos
Cultura Documentos
Copyright
Copyright 1984-2011 Intergraph Corporation. All Rights Reserved.
Including software, file formats, and audiovisual displays; may be used pursuant to applicable software license agreement;
contains confidential and proprietary information of Intergraph and/or third parties which is protected by copyright law, trade
secret law, and international treaty, and may not be provided or otherwise made available without proper authorization from
Intergraph Corporation.
Terms of Use
Use of this software product is subject to the End User License Agreement ("EULA") delivered with this software product unless
the licensee has a valid signed license for this software product with Intergraph Corporation. If the licensee has a valid signed
license for this software product with Intergraph Corporation, the valid signed license shall take precedence and govern the use
of this software product. Subject to the terms contained within the applicable license agreement, Intergraph Corporation gives
licensee permission to print a reasonable number of copies of the documentation as defined in the applicable license agreement
and delivered with the software product for licensee's internal, non-commercial use. The documentation may not be printed for
resale or redistribution.
Trademarks
Intergraph, the Intergraph logo, PDS, SmartPlant, FrameWorks, I-Convert, I-Export, I-Sketch, SmartMarine, IntelliShip, INtools,
ISOGEN, MARIAN, SmartSketch, SPOOLGEN, SupportManager, and SupportModeler are trademarks or registered trademarks
of Intergraph Corporation or its subsidiaries in the United States and other countries. Microsoft and Windows are registered
trademarks of Microsoft Corporation. Oracle, JD Edwards, PeopleSoft, and Retek are registered trademarks of Oracle
Corporation and/or its affiliates. MicroStation is a registered trademark of Bentley Systems Inc, all rights reserved. Other brands
and product names are trademarks of their respective owners.
Contents
Preface PDS ................................................................................................................................................. 5
Piping Model Builder (PD_Model) Overview ............................................................................................. 7
Alphanumeric Piping Language ................................................................................................................ 9
Alphanumeric Piping Language Requirements ...................................................................................... 9
The Language File ................................................................................................................................ 10
Header Line .................................................................................................................................... 11
Synonym Line ................................................................................................................................. 11
Command Lines ............................................................................................................................. 13
Default Keywords ........................................................................................................................... 23
Sample Alphanumeric Piping Language Files ............................................................................... 25
Piping Model Builder ................................................................................................................................. 31
Index ........................................................................................................................................................... 35
Contents
Preface PDS
This document provides command reference information and procedural instructions for the
Plant Design System (PDS) Piping Model Builder (PD_Model) task.
Preface PDS
SECTION 1
SECTION 2
See Also
Alphanumeric Piping Language Requirements (on page 9)
The Language File (on page 10)
Piping Model Builder (on page 31)
10
See Also
Default Keywords (on page 23)
Sample Alphanumeric Piping Language Files (on page 25)
Header Line
This line is defined once and must appear before any command lines. It defines the Project and
Model to be used for alphanumeric processing and may optionally include a unique piping
segment identifier and a revision date.
FILE= *, PRO= * [,ID=identifier] ,DATE=date [,AUTOFF]
filename -- This argument is no longer used. The name of the Piping Model to be used for
processing is specified at compilation. The system places all the modeling performed by the
language into the identified piping model.
project_name -- This argument is no longer used.
identifier (optional) -- This is a 12 character code used to identify the created pipeline(s) in
attribute 71 of the piping segment data. The identifier is assigned to all the segments placed
by the language. The system also uses the identifier to delete all existing segments in the
piping model that have the same value. It is very important that the identifier be unique, as
all segments and items on those segments will be deleted before the modeling instructions
are executed.
If the identifier is blank or the ID keyword is not present, no deletions will occur and all
segments will have a blank entry in the associated attribute.
date -- Defines a 30-character revision date. This value is not used by the system.
AUTOFF (optional) -- Turns off Automatic Placement. By default, Automated Placement is
initiated at the conclusion of the model building process. This automatic placement will only
execute on the last pipeline placed by the language.
The ID keyword is useful in developing the language file since it assigns a unique ID
to all lines placed by the language. This enables you to delete the elements associated with
old versions of the language file before placing the new versions.
Synonym Line
Synonym lines can be placed anywhere in the language file to define how the system will
interpret certain strings of characters within the file.
$synonym$synonym_definition
11
Example 1
$FLANGE$PLACE, PF=6Q2C01
FLANGE, CP = 2
FLANGE
The two command lines below the synonym would be translated by the system as follows:
PLACE, PF=6Q2C01, CP = 2
PLACE, PF=6Q2C01
Example 2
This example shows a possible error which results from using a non- unique character string as
the synonym:
$FLANGE$PLACE, PF=6Q2C01
$FLANGE2$PLACE, PF =6Q2C01, CP= 2
FLANGE2
FLANGE
The two command lines below the synonym would be translated by the system as follows:
PLACE, PF=6Q2C012
PLACE, PF=6Q2C01
This garbled translation was caused by the first synonym being translated and then being used
by the second synonym. The system used the first synonym to replace all occurrences of
FLANGE with the synonym definition, including the characters in FLANGE2. The second
synonym never gets translated because no occurrence of FLANGE2 is left in the translated
lines. You can solve this problem by making the first synonym (FLANGE) unique (such as
enclosing it in quotes or parentheses), or reorder the synonyms so that the second synonym
(which contains the first synonym as a substring) is defined first.
$"FLANGE"$PLACE, PF=6Q2C01
$FLANGE2$PLACE, PF =6Q2C01, CP= 2
FLANGE2
"FLANGE"
or
$FLANGE2$PLACE, PF =6Q2C01, CP= 2
$FLANGE$PLACE, PF=6Q2C01
FLANGE2
FLANGE
12
Command Lines
The command line contains the modeling instructions to be performed. Each Command Line
contains one complete instruction including any options associated with the command. There
are two types of command lines:
Movement Commands: FR, SHIFT, JOIN, and MOVE (with optional data options).
Placement Commands: PLACE (with optional data options).
See Also
FR (on page 13)
SHIFT (on page 16)
JOIN (on page 16)
MOVE (on page 16)
Data Options for Movement Commands (on page 16)
PLACE (on page 17)
Placement Data Options (on page 19)
Coordinate Values (on page 22)
Default Units (on page 22)
FR
The FR command (from) is similar to the CONNECT TO DESIGN and POINT IN SPACE graphic
commands. It specifies the location of the active place point.
Syntax
FR, movement option [& movement option] [,data option]
The movement option is one of the following:
EQ=equipment id/nozzle id
This option updates the active point from its current position to the nozzle connect point location.
The equipment item and nozzle must exist in a reference file attached to the specified model
with the locate option ON.
NA=previously named point.
This option requires that a named point be defined by a previous command line. It updates the
active point from its current position to the location of the named point.
vector/movement_type
where vector is
13
14
Examples
FR, EQ=P-300B/N1 & E/DC=2FT 3 1/2IN
This example moves the active point to the equipment nozzle P- 300B/N1 and then moves east
2' 3 1/2" inches from that point to define the final active point.
FR, U_NAM/REF2=olet01, SC_AREA=pdarea1, SC_PIPING
This example connects to connect point two of a piping component named olet01 in piping
design area pdarea1.
FR, U_NAM/REF3=in05a1, SC_MODEL=pipe01, SC_INSTR
This example connects to connect point three of an instrument component named in05a1 in
piping model pipe01.
Tap placement is a special case. The supported movement options are marked by *.
Taps use the vector- angle-vector value to determine the offset from the reference connect
point. Taps use the DC= delta value to determine the offset from the reference connect point.
Refer to the discussion of placement options for more information on taps.
15
SHIFT
The SHIFT command is used to save the location of the active point and then move the active
point to a specified new location. The saved point can be used with a subsequent JOIN
command to sketch a segment back to that point.
Syntax
SHIFT, movement option [& movement option] [,data option]
The available movement options are the same as those discussed for FR.
JOIN
The JOIN command is used in conjunction with the SHIFT command. It sketches a segment
back to the coordinate point saved by the last SHIFT command. There are no options for this
command.
Syntax
JOIN
MOVE
The MOVE command sketches a segment from the active point to a specified location.
Syntax
MOVE, movement option [& movement option] [,data option]
The available movement options are the same as those discussed for FR. You can specify
active segment data for the purpose of creating an attribute break, using the data options.
16
PLACE
The PLACE command is similar to the Place Component graphics command. It enables you to
place piping, components, instruments, engineered items, and taps.
Syntax
PLACE, placement option [data option]
Options
PP, L=length -- place pipe of specified length
PC=item_name -- place component by item name
PI=tag_number
PI=instrument_name -- place instrument by tag number or by name (if the tag number is not
found)
PS=tag_number
PS=specialty_item_name -- place specialty by tag number or by name (if the tag number is not
found)
Instruments or specialty items that are placed by user-defined (out of spec) data require
the name instead of the tag number. The data options used will determine if an item is
user-defined.
PPS=pipe_support_model_code -- place pipe support by model code. For logical pipe
supports use PSL as the model code.
PF=flange_item_name -- place flange by item name. This option allows correct option code
selection to mate to a previously placed component, as in graphics)
PB=angle -- place branch by accessing the branch table (where angle indicates the branch
table: 90, 45, ...)
PIB -- place an isometric limit break. This symbol is placed last after automated placement. The
system places an isometric limit break in both items at the connection. If the break is placed at
the end of line, the system reports an error in placing the second break. This error can be
disregarded.
17
Unique Name
You can create a unique name when placing a piping component, pipe, piping specialty, or
instrument in a piping model. The unique name is added to the appropriate relational database
table in the Piping Design Database when the component is placed. The length of the unique
name attribute is defined when you create a project. The default length is 12 characters and it
can be increased to a maximum length of 20. Refer to the Project Administrator Reference
Guide for more information on setting the length of this attribute.
The unique name is considered to be unique within a piping model for the particular type of
component (piping component, pipe, or instrument component) although you may choose to
have it be unique within the project. The latter situation requires care to assign the unique
names such that there are no duplicates from one piping model to the next.
The following is an example of the default keyword for specifying the unique name in a
placement command.
PLACE, PB=90, U_NAM=unique_name, SS=0.75, INT=R, OUT=B, S1=E
After you provide a unique name for a component, it can be used as a connector for the
continuation of that piping network in the following situations.
in the same piping model, using the same Model Builder description
in the same piping model, using a different Model Builder description
in a different piping model within the same project, using a different Model Builder
description
For example, you can uniquely name a branch component, where the branch line is to be
modeled in a different piping model or using a different Model Builder description.
The Piping Model Builder verifies that the unique name is unique within that Model Builder
description for the type of component being placed. Before creating any piping in the model, the
system verifies that the unique name is unique within that specific piping model on the basis of
the type of component being placed. If the unique name is not unique, the system will not place
the component and will terminate with an appropriate error message.
You can change the unique name in the piping model by using the Revise Attributes
command. However, that command will not verify the unique name within the active model or
any other piping model.
18
19
Specialty Options
The following keywords are used to place instruments and specialty items when the
corresponding data is not to be extracted from the PJS.
TAG=tag_number
This option defines the tag number for user-defined instruments and specialty items.
TUT=tutorial_name
This option defines the name of the tutorial or form used to place a user-defined instrument or
specialty item. This option is required to make the item reconstructable. The actual form fields
(such as dimensions and parameters) are defined by the following keywords.
FEP=first_end_preparation *
SEP=second_end_preparation *
FPR=first_pressure_rating
SPR=second_pressure_rating
FSCH=first_schedule_thickness
SSCH=second_schedule_thickness
20
Example
The following is an example for the placement of a physical pipe support requiring the input of
three dimensions.
21
Coordinate Values
All coordinates are defined in the Plant Coordinate System. The following operators are allowed
when specifying absolute or delta coordinates:
+ addition
- subtraction
* multiplication
/ division
( open parenthesis
) closed parenthesis
Named points can also be used in the equation as in the following:
MOVE, E/NA=B3 - 2FT
where B3 is a named point. This would move east to the east coordinate of B3 minus 2 feet.
The following keywords can be used in an equation, to facilitate bottom of pipe routing:
POD (for 1/2 pipe OD), FOD (for 1/2 flange OD), ITK (for insulation thickness)
MOVE, U/DC=30FT 9 3/4IN - (POD + ITK)
Negative numbers used in coordinate values must be enclosed in parentheses as in the
following examples:
FR, AFC/DC=(-3FT)
FR, E/DC=B1 - (-B2)
Default Units
FT or M for master units (defined in keywords)
IN or MM for sub units (defined in keywords)
: to separate master and sub units
The following are examples of the different coordinate forms that are allowed by the language:
22
1 5/16
3:
5:6
5 1/2:6 3/4
2IN
3FT
4MM
5M
5M 300MM
Units can be mixed in equations but not mixed within an individual value.
Default Keywords
$
synonym delimiter
A#
Attribute number
AC
Absolute Coordinate
AFC
ANG
angle
AREA
Branch of branch
CP
Connect Point
Down vector
DATE
DC
Delta Coordinate
DE
DEB
DESC
material description
DIMn
DRYW
East vector
E#
Entity number
EQ
Equipment location
FAB
fabrication category
FEP
FILE
FLO
FLOw direction
FOD
FPR
FR
FRom command
FS
First Size
FSCH
FSUF
FT
23
24
HOR
ID
IN
INT
INTo branch
ITK
Insulation ThicKness
JOIN
JOIN command
Length of pipe
MM
MOVE
MOVE command
North vector
NA
NAme location
OPER
operator type
OPT
OPTion Code
OUT
OUT of branch
Plane intersect
P1
P2
PB
Place Branch
PC
Place Component
PF
Place Flange
PFW
PI
Place Instrument
PIB
PID
P & ID Transfer
PLACE
PLACE command
POD
PP
Place Pipe
PPS
PRO
PROject name
PS
PSL
PT
Place Tap
Run of branch
REF
REFerence Point
South vector
S1
S2
SC_AREA
SC_ALL
SC_INSTR
SC_MODEL
SC_PIPE
SC_PIPING
SEP
SHIFT
SHIFT command
SPR
SS
Second Size
SSCH
SSUF
TAG
tag number
TUT
tutorial/form name
Up vector
U_NAM
unique name
VER_E
VER_N
West vector
WETW
25
26
27
28
sample_b
FILE = *, PRO = *, ID = INPIPE2, DATE= 8-NOV-1991
FR, U_NAM/REF2 = B8_EXT, SC_PIPING, SC_MODEL=perry
! other search options SC_AREA=<area_name> or SC_MODEL=<model_name> and/or
SC_(ALL,PIPE,INST)
MOVE, U30W60N/DC = 3ft
MOVE, U/DC = 3FT, NA/REFX= TOP
FR, U_NAM/REF2 = A14_EXT
PLACE, PF=6Q2C01
MOVE, U/DC = 10Ft
MOVE, N/U_NAM/REF0=B8_EXT
MOVE, U/NA=TOP
SHIFT, NA=TOP
JOIN
29
30
SECTION 3
Additional Information
Refer to the article on the Alphanumeric Piping Language (on page 9) for more information on
the files processed by the Piping Model Builder.
If the executable is stopped while the file is opened, the terminal FB subprocess must
be stopped by logging out or stopping the subprocess.
Add -- Adds a row in the List of Model Builder Jobs and copies the active model number into
the new row. Edit is automatically activated so that you can edit the new entry.
Edit -- Places the highlighted field from the List of Model Builder Jobs into the fields on the left
to allow you to edit them. Your changes are automatically updated when you press <Return>.
Delete -- Allows you to specify the field in the List of Model Builder Jobs to delete.
Reorder -- Allows you to reorder the file names in the list file. You select the entry that you want
to move and place a data point over the field where you want the entry to be placed.
31
Write List File -- Allows you to write the displayed list to a file. Also, when you have selected
the Read List File option and want to return to the main form without reading a new file, use this
option.
Submit Batch Immediately / Delayed Batch Submit Time -- Allows you to submit the job
immediately or delay it by specifying a later time. Set the time of day to submit the batch job.
Model Builder File Name -- Key in the name of the language file to be processed. If you are
generating a list of files and model numbers, select the Add command, and the system will add
the file name and the active model number to the list of model builder jobs.
Directory Path -- Key in the file path and node name for the location of the model builder
language file.
Node Name -- Key in the node name where the model builder file resides.
32
33
34
Index
A
C
Command Lines 13
Coordinate Values 22
D
Data Options for Movement Commands
16
Default Keywords 23
Default Units 22
F
FR 13
H
Header Line 11
J
JOIN 16
M
MOVE 16
P
Piping Model Builder 31
Piping Model Builder (PD_Model) Overview
7
PLACE 17
Placement Data Options 19
Preface PDS 5
S
Sample Alphanumeric Piping Language
Files 25
SHIFT 16
Synonym Line 11
35