• No results found

Valves Configuration Category

In document aveva p&id (Page 142-156)

13. Close the utility by selecting the Exit button

2.3 AVEVA P&ID Project Administration Program

2.3.17 Valves Configuration Category

The Valves Configuration Category is divided into five sub-categories:

Settings Sub-Set

Labels Sub-Set

Validation Sub-Set

Automatic Tag Format Sub-Set

Patterns Sub-Set

Settings Sub-Set

The fields in this application pane are used to set up the configuration properties of valves.

The application pane is divided into five sections.

- Valve Settings Section

This section contains the following settings:

• If the labels of valve tags are to automatically be placed in a fixed position when valves are labelled, check the Valve Tag in Fixed Location checkbox.

• If valve tag labels are to be automatically rotated to match the orientation of the valves they are associated with, check the Rotate Valve Tag with Symbol checkbox.

• If valve labels are to inherit data from owning pipes the Inherit Item Labels from Owner Pipes checkbox must be checked. Note the Inherit Item Labels from Owner Pipes checkbox on Miscellaneous - Settings Configuration Category pane must also be checked, as this activates the pipe label inheritance feature for the project as a whole.

• The Valve Tag field is used to specify the pipe label fields to be inherited by the valve tag.

Note: If automatic valve tagging is to be used (see 6.10.25: Automatic Tagging), do not set up inheritance to the Tag field.

• The Browse button adjacent to the field is used to select the fields to be inherited from.

On selection of the button, the following dialog box is displayed:

The fields required are selected using the drop down lists. Following selection, press OK. The selected field numbers will then be displayed in the Valve Tag field.

- Valve Tag Offset from Symbol Location Section

This section contains the following settings to enable valve tag labels to be placed in a fixed position. This is undertaken by completing the X and Y Valve Tag offset from symbol location fields with the appropriate position coordinates.

The Use Valve code checkbox controls whether the valve Code field is present on the Valve Properties dialog.

- Values to Remember from Last Valve Edit Section

This section contains nine checkboxes - Tag, Size, Closure, Code, Specification, SPP Prefix, SPP Type, SPP Number and SPP Suffix.

A project can be configured so that a value entered in a field in a Properties dialog is

"remembered" by the same field when that Properties dialog is accessed again when labelling another, previously unlabelled, item of that type.

If, for example, the functionality is switched on for the valve Tag field, and a valve is labelled with a value of "V-0001". The next time a valve is labelled for the first time, when the Properties dialog for this item is opened, the Tag field will automatically be completed with the value "V-0001". This can be replaced by another value if required. This new value will then be the "remembered" value for the valve Tag field.

This functionality is switched on and off for individual Properties dialog fields by checking and unchecking the checkboxes in this section.

- Label Validation Across P&IDs Section

The project may be set to check that all valve labels in all P&IDs in a project are unique.

• Select the Prevent button if users are to be prevented from entering project duplicate valve labels. If this is attempted, an error message is displayed and the duplicate label may not be placed on the P&ID.

• Select the Warn button if users are to be warned if they enter project duplicate valve labels. The entry of duplicate labels is permitted in this case, but an error message will be displayed on the P&ID, and will accompany the valve label data when transferred to VPE Workbench.

• If no uniqueness validation of valve labels across P&IDs is required, select Ignore button. Duplicate valve labels may be entered in different P&IDs in this case.

Separate sets of buttons are provided for normal valves and for valves which are special pipe items.

Note that if the Prevent or Warn options are set, a connection to the VPE Workbench database must be established before labels can be edited. This is because in order to check the uniqueness of labels across a project, AVEVA P&ID refers to data that is extracted from the VPE Workbench database.

- Inheritance Section

This section contains the following settings:

• If item labels are to be inherited from owner pipes, the fields to be inherited from for each label are specified in the Tag, Prefix, Type, Number and Suffix fields.

Note: If automatic valve tagging is to be used (see 6.10.25: Automatic Tagging), do not set up inheritance to the Tag field.

• The Browse button adjacent to these fields is used to select the fields to be inherited from. On selection of the button, the following dialog box is displayed:

The fields required are selected using the drop down lists. Following selection, press OK. The selected fields will then be displayed in the Tag, Prefix, Type, Number and Suffix fields.

• The values of valve labels may be inherited from the sheet attributes entered on the Advanced Drawing Properties sheet. The values entered for these sheet attributes may be values that are common to many items on the drawing, for example the design area.

The inheritance facility enables all items to inherit these common values. The labels of items that do not share these common values may subsequently be edited manually using their properties sheets.

The Fields from Sheet Attribute fields are used to select which valve label fields are to inherit values from which sheet attributes. As required, select for each valve label field the sheet attribute field from which values are to be inherited.

Note that if a valve label field is already set to inherit from the owning pipe (see above), this Fields from Sheet Attribute field will not be accessible. Pipe label inheritance takes priority over sheet attribute inheritance.

Sheet attribute field names are set up using the Drawing Information - Settings Sub-Set.

Labels Sub-Set

The fields in this application pane are used to set up the label properties of valves.

The application pane is divided into three sections:

- Valve Labels Section

This section contains the following settings:

• If the valve code is to be automatically positioned on P&IDs, uncheck the Manual Placement checkbox.

• If port sizes for port valves are to be placed on the drawing by default, ensure that the Place Port Sizes checkbox is checked.

- Code Offset from Symbol Origins Section

To specify the position in which automatic placement of the valve code takes place, enter coordinates in the Code Offset from Symbol Origins X and Y fields. These coordinates represent the X and Y distances from the insert point of the valve.

- Dialog Box Field Labels Section

This section contains four fields, which are used to specify the boilerplate text to replace the defaults of Prefix, Tag, Number and Suffix in the Valve Properties dialog.

These fields are only completed if the valve is a Special Piping Item (SPP). The Miscellaneous - Validation Sub-Set is used to specify validation rules for entries into SPP properties fields of both valves and line fittings.

- Valve Label Symbol Section

This section contains the following settings:

• Valve Label Symbol. If this checkbox is checked a symbol will be placed with equipment labels. For example, a box may be placed around the labels.

• Symbol Name. This field is used to select the name of the symbol that will be placed with the valve labels.

• Symbol X Offset. The X offset to the equipment type letters label.

• Symbol Y Offset. The Y offset to the equipment type letters label.

Validation Sub-Set

This section is used to specify the permitted format of entries into the Tag field of valve labels.

In the fields provided, enter the following characters as required:

For example, if AaN is entered, when a user is completing Tag field in the Valves labelling Properties dialog, the first character must be an uppercase letter, the second a lower case letter, and the third a number.

Code Description

A Upper Case Alpha Character [A-Z]

a Lower Case Alpha Character [a-z]

M Mixed Case Alpha Character [A-Z, a-z]

F Upper Case Free Character [A-Z, 0-9, white space]

f Lower Case Free Character [a-z, 0-9, white space]

X Mixed Case Free Character [A-Z, a-z, 0-9, white space]

N Numeric Character [0-9]

The Advanced Format Options dialog is available from the button adjacent to the field.

To test how the validation will work in practice, make an entry in the Test Data field of the Test tab, and press the Test button. A message will be displayed indicating whether or not the test data would be a valid entry.

To directly edit the regular expression that comprises the validation entry, select the Advanced tab. The expression is displayed in the Regular Expression field and may be amended as required. For help on editing Regular Expressions, click on the help link displayed on this tab.

Automatic Tag Format Sub-Set

If valves are to be tagged automatically (see 6.10.25: Automatic Tagging), the format of valve tags is defined using this sub-category.

Note: Do not set up automatic valve tagging if inheritance to the valve tag field is to be used (see above).

If automatic tagging is to be used, check the Apply Project based Auto Tagging checkbox.

The format of automatic valve tags is defined in the Tag Expression field. A preview of a tag using the current definition is displayed in the Sample Tag Valve field.

1. In the Tag Expression field, enter any fixed values such as prefixes and delimiters (e.g.

V-).

2. If valve tags are to include valve properties, select the property from the list in the Available Data Properties field, then place the cursor where the property is to be located in the expression and select the Insert Property button. The list of properties is taken from the attributes of a DataSet defined for this purpose (see Defining Valve Tag Properties for Automatic Valve Tagging).

The selected property is added to the expression like so: [name of property].

3. If valve tags are to include owner pipe properties, select the property from the list in the Available Pipe Properties field, then place the cursor where the property is to be located in the expression and select the Insert Property button.

The selected property is added to the expression like so: [name of property].

4. If valve tags are to include an automatically incrementing number, place the cursor in the expression where this number is to be located, and select the Insert Counter button.

The counter is added to the expression like so: [Counter].

5. Enter the number that the counter is to be incremented by for each valve in the Increment By field. Select the length of the counter number from the list in the Format field.

6. To clear the Tag Expression field, select the Clear button.

If a counter is in use, it may be reset to 0 for the project by selecting the Reset Counter button.

Patterns Sub-Set

The Pattern application pane is used to edit the definitions of project valve patterns.

The application pane consists of two sections. The first section of the application pane is used to add, amend and delete pattern definitions.

- Existing Patterns Section

The first section contains a list of existing patterns and three tools for managing patterns - Add Pattern, Delete Pattern and Rename Pattern.

- Adding a New Pattern

If a new pattern is to be created, select the Add Pattern…. hyperlink. The following dialog box is then displayed:

Enter a unique value for the pattern name and press the OK button

The dialog box will be closed and the new value is displayed in the Existing Patterns list box.

- Deleting a Pattern

If a pattern is to be deleted, select the Deleted Pattern…. hyperlink. The following dialog box is then displayed:

To proceed with the deletion select Yes. If the value is not to be deleted select No.

If Yes is selected the dialog box will be closed and the pattern deleted from the Existing Patterns list box. All associated pattern property data is deleted.

- Renaming a Pattern

If a pattern is to be renamed, select the Rename Pattern…. hyperlink. The following dialog box is then displayed:

Enter a unique value for the pattern name and press the OK button

The dialog box will be closed and the amended name is displayed in the Existing Patterns list box.

- Patterns Components Section

The second section contains a grid, which is used to manage the components of a pattern.

Create a new row is created by selecting the button. The following dialog box is then displayed:

Enter the sequence number of the new row. The new row then is created at the bottom of the grid.

The first valve specified will be the substitute item. All other items will be component items.

Only a single valve can be specified. All other items must be line fittings.

Sequence No Field

Normally the item handle forms the unique identifier for an item exported to VPE Workbench. However, component pattern items do not posses such a handle. To overcome this lack, the handle of the substitute item is used together with an asterisk and the sequence number of the component item, e.g., AB*1, where AB is the substitute valve handle, and 1 is the sequence number of the component item.

If there are no sequence numbers in the file, an error will occur on output.

If pattern valve data has been loaded into VPE Workbench and the pattern is then changed on the P&ID, the existing sequence numbers should be maintained. For example, if the sequence was 1, 2, 3, and 2 was removed - the new sequence should be 1, 3, not 1, 2. This is to avoid inconsistencies which would occur if the pattern was reloaded into VPE Workbench.

Sequence numbers cannot be edited in the grid. The sequence number row must be deleted and re-entered with a new name.

Symbol Name Field

Substitute Item: Enter the symbol name of the valve that is to be the substitute item.

Only a single valve may be specified in a valve pattern.

Component Item: Enter the symbols names here for component line fitting items.

Symbol names can be identified using the Symbols Configuration Category of the AVEVA P&ID Project Administration program or from the item Properties dialogs.

P&ID Substitute Item Field

A pattern can consist of any number of component items, but only one substitute item is permitted. This is automatically the first valve defined. The substitute item is denoted by a "Yes" in this field.

Description Field

Enter a description of each item as required.

In document aveva p&id (Page 142-156)