Pide 2015P

download Pide 2015P

of 69

Transcript of Pide 2015P

  • 7/26/2019 Pide 2015P

    1/69

    EPLANT 2015

    EPLANT-P&ID

    Process and Instrumentation Diagrams

    Reports and Data Sheet generationUser Manual

    Version 2015.0 - July 11, 2015

    RELSOFT S.A.________________________________________Corrientes 1455 piso 3?of. 13

    C1042AAA Buenos Aires - ARGENTINA

    Telefax (5411) 4786 3923

    Web site: www.e-eplant.com

    EPLANT-P&ID is not anAutodesknor a ZWSOFT product and is neither guaranteed byAutodesk

    nor by ZWSOFT

  • 7/26/2019 Pide 2015P

    2/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    2

    INDEX

    1. INTRODUCTION 41.1 SYSTEM DESCRIPTION 41.2 CONVENTIONS 42. INSTALLATION 52.1 HARDWARE REQUIREMENTS 52.2 SOFTWARE REQUIREMENT 52.3 INSTALLATION FROM CD 62.4 INSTALLATION FROM INTERNET 62.5 LICENSE SETUP 62.6 NETWORK INSTALLATION 72.7 INSTALLATION ERRORS 72.7.1 HARD-LOCK MISSING 72.7.2 AUTHORIZATION CODES 82.7.3 INVALID EPLANT COMMANDS 8

    2.8 PROJECTS OF PREVIUOS VERSIONS 82.9 ICON LOSS IN MENU 102.10 COMPATIBILITY WITH EPLANT-Piping 103. WORKING METHODOLOGY 113.1 GENERAL CRITERIA 113.2 PROJECT 113.3 PROJECT SETUP 113.4 PROJECT SYMBOLOGY 123.5 PROJECT DATA SHEET TEMPLATES 124. GRAPHIC MODULE 134.1 BASIC CONCEPTS 134.2 DRAWING FILE STRUCTURE 134.3 P&ID GRAPHIC COMMANDS 16

    4.3.1 Lines 164.3.2 Equipments 174.3.3 Symbols 184.3.4 Other Commands in PID menu 194.4 P&ID UTILITIES 214.5 EXTERNAL FILES AND DATA BASE QUERY 264.6 P&ID USING CRITERIA 264.7 FLOW COMPOSITION TABLES 285. DATA BASE MODULE 305.1 INTRODUCTION 305.2 OPEN DATABASE MODULE 305.3 FILE 315.4 PROJECT SETUP 325.5 DIAGRAMS 415.6 COMPONENTS 445.7 P&ID TRANSFER TO DATA BASE 465.8 DATA SHEETS 505.9 UTILITIES 536 CHANGES WITH RESPECT TO LAST PREVIOUS VERSIONS 576.1 Current version 2015.0 576.1.1 Compatibility with projects of previous versions 57

    Appendix A: Default ISA Symbology

  • 7/26/2019 Pide 2015P

    3/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    3

    Autodesk and AutoCAD registered trademark of Autodesk Inc.

    Windows and Visual Fox registered trademark of Microsoft Co.ZWCAD is registered trade mark of ZWCAD Software Co., Ltd.EPLANT is registered trademark.

    Copyright ? All rights reserved.

    Although the EPLANT system has been thorougly tested, in no event the author can be liable of anyconsequence generated by the use of this system. See the License Agreement for full details.

  • 7/26/2019 Pide 2015P

    4/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    4

    1. INTRODUCTION

    This manual gives information about how to install and use the EPLANT-P&ID system.

    Other valuable source of information is the Multimedia Tutorial available in the same directory as thesemanuals, where a simple project is developed.

    1.1 SYSTEM DESCRIPTION

    EPLANT-P&ID is a computer aided design system for the generation of Process and InstrumentationDiagrams, Flow Diagrams and to automatically obtain lines, equipments, instruments, valves and fittingsreports from data loaded in the diagrams.

    The system is made by a graphic application running on AutoCAD 2004 up to 2016, ZWCAD+ 2012,ZWCAD+ 2014 SP1, ZWCAD+ 2015 SP2 and a database module in VisualFox.

    EPLANT-P&ID allows to easily generating any type of diagrams using a predefined symbol library anddrawing commands. Data loaded into the diagrams are automatically sent to a database module togenerate reports and data sheets. Any graphic modification is automatically transferred to the databasemodule.

    EPLANT-P&ID attains a high degree of consistency in report generation through the project development,due to the system architecture based on storing the information in one place and referencing it in differentdocuments.

    The system installs a symbol library ready for use. See it in the Appendix A. In any case, the user can

    easily change and add new symbols and also transform an existing P&ID drawing into the EPLANT-P&IDformat.

    1.2 CONVENTIONS

    Conventions used in this manual:

    Indication of command selection from the AutoCAD popup menu:

    [Menu 1] / [Option 1] / [Option 2] / [Command] command syntax (when indicated)

    This format is interpreted in the following way:[Menu 1] is the popup menu bar name, it can be [PID] [Util. PID/FD] [Flow D.]. It is the first level ofselection.[Option 1]is the selection among the menu options. It could be, for example:

    [Control Valves]in the [PID] menu.

    Some commands are executed in this way. Other may require one more level.

  • 7/26/2019 Pide 2015P

    5/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    5

    2. INSTALLATION

    2.1 HARDWARE REQUIREMENTS

    The same to install AutoCAD 2004 up to 2016.

    The EPLANT-P&ID graphic application uses about 2 Mbytes. Most of the EPLANT-P&ID requires verylittle additional memory. Memory requirement directly depends of the size of the AutoCAD drawing files.

    Two different License types are supported: hard-lock based License without expiration date and WebLicense with Expiration date (internet connection required).

    There are currently three different models of hard-lock supported: Sentinel connected locally, HARDkeyconnected locally or in a server. For the Sentinel model alone, the license requires also an Authorization

    Code stored in the PID_LIC.DAT license file, located in the main system installation directory.

    The selection of the protection mode is done in the System Setup from the Data Base Module.

    EPLANT-P&ID is a system continually evolving. To verify the currently installed version:[PID Utilities] / [EPLANT-P&ID Version]

    2.2 SOFTWARE REQUIREMENT

    Any of the following combinations:AutoCAD 2004 with Windows 2000 or Windows XP.

    AutoCAD 2005 with Windows 2000 or Windows XP.AutoCAD 2006 with Windows 2000 or Windows XP.AutoCAD 2007 with Windows XP.AutoCAD 2008 on Windows Vista.AutoCAD 2009 on Windows Vista.AutoCAD 2010 32 bits / 64 bits with Windows Vista 32 / 64 or Windows 7 32 / 64.AutoCAD 2011 32 bits / 64 bits with W indows Vista 32 / 64 or Windows 7 32 / 64.AutoCAD 2012 32 bits / 64 bits with Windows 7 32 / 64.AutoCAD 2013 32 bits / 64 bits with Windows 7 32 / 64.AutoCAD 2014 32 bits / 64 bits with W indows 7/8 32 / 64.AutoCAD 2015 32 bits / 64 bits with Windows 7/8 32 / 64.AutoCAD 2016 32 bits / 64 bits with W indows 7/8 32 / 64.ZWCAD+ 2012 on Windows XP / or Windows 7 32 / 64.ZWCAD+ 2014 SP1 on Windows XP / or Windows 7/8 32 / 64.ZWCAD+ 2015 SP2 on Windows XP / or Windows 7/8 32 / 64.

  • 7/26/2019 Pide 2015P

    6/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    6

    2.3 INSTALLATION FROM CD

    To start the installation: place the CD identified as EPLANT Demo / Installation in a CDRom driver. Fromthe Explorer, select the program Setup.exe.

    After selecting the installation language, select from the EPLANT-P&ID menu bar, the Install V 2015.0option. Follow the indications of the install program. Once the program has been installed, in case this isthe first time EPLANT-P&ID is installed and only if the hard-lock type is Sentinel, the corresponding driverneeds to be installed also. Select from the GENERAL DATA bar the option: Install Driver Sentinel andfollow the instructions.

    The EPLANT-P&ID installer copies files to the installation directory and generates shortcuts in the\Start\Programs\EPLANT-P&ID menu for the Data Base module, the graphic module and for thedocumentation. It installs also the tutorial project already done in the \TEST directory nested in the maininstallation directory.

    2.4 INSTALLATION FROM INTERNET

    In this case, the installation is done after downloading the pide_2015.exe file and executing it. Theinstallation is the same as from the CD.

    2.5 LICENSE SETUP

    There are three different Protection modes to enabling an EPLANT-P&ID license. They are setup from the

    Data Base module: System Setup and refer to the Hard-lock type used:

    In the case the License Type is set to Local Sentinel, the license file PID_LIC.DAT must be placed in themain system installation folder. If there are network licenses, this file must contain as many lines as thenumber of users. Each line will have each hard-lock serial number and the corresponding AuthorizationCode. Every computer used to run EPLANT-P&ID would have the hard-lock attached to it and will need toinstall the Sentinel Driver as stated in 2.3.

  • 7/26/2019 Pide 2015P

    7/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    7

    In the case the License Type is set to Local HARDkey, the hard-lock must be connected to the computerwhere the system is used. Each hard-lock will enable one license to be used in the local machine.

    In the case the License Type is set to Net HARDkey, the hard-lock must be connected to the computeracting as server and where the system is installed. In this machine the Network License Manager needs tobe running. It is the hkservidor.exe program that can be found in the main system installation flder. In thiscase, the number of licenses enabled is stored directly in the hard-lock.

    In the case the License Type is set to Web License, the License must be Activated in the computer whereit will be used. With the EPLANT Web License Manager (ep_web.exe in the main installation folder) aWeb License Serial Number must be Registered in the user computer, selecting the License SerialNumber file that must be requested to an EPLANT Distributor or directly to: [email protected] file is modified during the Registration process and must be sent back to the same EPLANTDistributor (or to us if a Distributor is not available in your country) for its activation.

    The Web License requires an internet connection to work and can be moved to another computer simply

    by repeating the registration and sending the file. Moving the license to another machine automaticallydisables it in the previously registered one.

    2.6 NETWORK INSTALLATION

    If the EPLANT-P&ID system is to be used in a network, the easiest option is to install it in a serverdirectory. This simplifies any system update.

    In every computer used to run EPLANT-P&ID the installation directory must be mapped using a letter.The ep_client.exeprogram must be run in order to register the server installation directory on each localmachine also. This program can also be used in the case of any change of the main installation directory

    (physical or because of a different disk mapping). This program allows to locally change the License Typealso, but limited to the machine running it.

    In case of use of the Sentinel model hard-lock, the license file PID_LIC.DAT must be placed in the mainsystem installation folder and must contain as many lines as the number of users. Each line will have eachhard-lock serial number and the corresponding Authorization Code.

    It is convenient to locate project directories in a server disk: different users can be working at the sametime on the same project. In any case, project directories can also be located in a local disk.

    2.7 INSTALLATION ERRORS

    2.7.1 HARD-LOCK MISSING

    If executing the data base or the graphic module the following message appears:

    **ERROR: hard-lock missing

    depending of the Protection Mode selected, one of the following cases applies:

    Local Sentinel Hard-lock

  • 7/26/2019 Pide 2015P

    8/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    8

    The Sentinel Driver is not installed. See 2.3.The hard-lock is not connected to the computer where the system is being used.

    Local HARDkey Hard-lockThe hard-lock is not connected to the computer where the system is being used.

    Net HARDkey Hard-lockThe hard-lock is not connected to the computer where the system is installed and that is working asserver.The License Manager is not running in the computer where the system is installed, it is thehkservidor.exe program.

    Web Leasing LicenseThe License has not been Activated yet: use the EPLANT Web License Manager to check its status.The License has Expired: a new Web License is needed.

    2.7.2 AUTHORIZATION CODES

    If executing the data base or the graphic module the following message appears:

    **ERROR: Authorization Code file is missing:

    means that the the Protection Mode is setup to Local Sentinel and the \eplant\pid\pid_lic.dat file is missing

    This file mut be contain the authorization code corresponding to the connect hard-lock. In case of networkinstallation, this file mut contained all codes corresponding to all license.

    Otherwise, if the following error appears:

    Authorization code invalid

    Means that the code stored in the pid_lic.dat file is from antoher version or for another serial number, thatis, another hard-lock.

    2.7.3 INVALID EPLANT COMMANDS

    If selecting a command from the EPLANT-P&ID menu, the command is not recognized by AutoCAD, itmeans that the graphic application is not currently loaded in the AutoCAD environment. To achieve this,the dwg drawing file must be opened from the Windows Explorer, after closing any previous AutoCADsession if any.

    2.8 PROJECTS OF PREVIOUS VERSIONS

    In case of opening a drawing file belonging to a project generated with a prevoius EPLANT version, adialog box will appear warning that the project is of a previous version. In this condition the graphicapplication cannot work and the project must be opened at least once with the data base module in order

  • 7/26/2019 Pide 2015P

    9/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    9

    to update the required project files. No current settings will be modified and there is not loss of informationwhatsoever.

  • 7/26/2019 Pide 2015P

    10/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    10

    2.9 ICON LOSS IN MENU

    It may happen if the EPLANT menu files are changed from the Read Only status in which they are setduring the installation.

    If the icons included in the EPLANT toolbars menus disappear at once, it means that AutoCADrecompiled the EPLANT menu. To solve this problems there are two ways:

    - From an AutoCAD session add the following path the Support Files Searching Path: \eplant\pid\bmpthat is where the icons images are stored.Delete all EPLANT menu files located in the \eplant\pd folder and having the NMS, NMR, NMC andCUI extension. Do not delete those with MNU extension.Open a drawing file on an EPLANT project. This will recomplie the EPLANT menu with its icons.

    2.10 COMPATIBILITY WITH EPLANT-Piping

    EPLANT-P&ID V2015.0 is compatible with the EPLANT-Piping V2015.0. Data extracted from P&IDs canbe directly checked for consistency from the EPLANT-Piping module. The EPLANT-Piping module canalso import P&ID Line definitions.

  • 7/26/2019 Pide 2015P

    11/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    11

    3. WORKING METHODOLOGY

    3.1 GENERAL CRITERIA

    EPLANT-P&ID is software designed to increase the process engineering quality and productivity.

    It can do lot of useful things, but for its proficient use, some basic concepts and where the user must takecare are needed to guarantee information consistency.

    Being an open system, it allows the user to work with predefined information that can always be modified.Symbology and other parameters used by the system are easily modified.

    In the following chapters, the system basic schema is described.

    3.2 PROJECT

    EPLANT-P&ID works in files organized in "Projects". A project is a functional unit that allows to associatethe same configuration to a set of diagrams and to automatically integrating the information of allseparated diagrams.

    Physically, a project is a directory on any level, with the following structure:

    [disk]:\...\[project]\PID The *.DWG files in the PID project directory are considered Process andInstrumentation Diagrams.

    [disk]:\...\[project]\FD In this directory are stored the Flow Composition Tables in XLS format.

    [disk]:\...\[project]\DBF_D In this directory the project database files are stored.

    [disk]:\...\[project]\DATA_SH In this directory the data sheet files are generated.

    [disk]:\...\[project]\LINK In this directory the external files linked to project diagrams are stored.

    The PID directory need a copy of the \PID\ACAD.LSP system file to automatically load the EPLANT-P&IDevery time a drawing is open in case AutoCAD is used or a copy of \PID\ZWCAD.LSP in case ZWCAD isused.

    The DBF_D project directory contains files with DBF, FPT and IDX extensions: project files have theproject name as prefix. Only DBF and FPT files contain project information, IDX files are automaticallyrebuilt if missing.

    3.3 PROJECT SETUP

    On starting a new project, four configuration files, located in the DBF_D project directory, contain defaultsettings. To modify this data, the Project Setup option in the Data Base module can be used. See 5.3 formore details.

  • 7/26/2019 Pide 2015P

    12/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    12

    3.4 PROJECT SYMBOLOGY

    The symbols used by the project are blocks located in the Project Symbology Directory set in the projectsetup. These blocks must have a definition according the rules detailed in the 5.3 chapter. Defaultsymbology installed by the system is shown in Apendix A.

    The user can redefine and also define new symbols. In this case, the *.SLD slide files associated to eachsymbol must be rebuit.

    There is a block used for document referencing placed in the symbolgy directory also. It has the followingstructure:

    BLOCK ATTRIBUTE PROMPT VISIBLE WIDTH USE

    PID_DO

    C

    NDOC

    FLOW_TABLE

    Document Number

    Flow CompositionXLS file

    YES

    NO

    25

    25

    P&ID document number

    This file is read by the database module to complete theLine List

    The PID_DOC block is inserted in P&ID header with a command in the Utilities menu.Other special blocks are:BOX UNF circular box to mark valve tagsCAR VAL rectangular box to mark valve tags

    3.5 PROJECT DATA SHEET TEMPLATES

    To generate Data Sheets the system uses the Excel templates stored in the Project Template Directoryset in the project setup. See 5.8 for more details.

  • 7/26/2019 Pide 2015P

    13/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    13

    4. GRAPHIC MODULE

    4.1 BASIC CONCEPTS

    Opening AutoCAD from a drawing file placed in the \PID project directory, the EPLANT-P&ID graphicmodule is automatically loaded with messages about the system environment being set. The standardAutoCAD menu is modified adding two new bars: PID and PID Utilities.

    To enable this automatic loading, a copy of the system ACAD.LSP file must be present in the \PID projectdirectory in case using AutoCAD or a copy of the system ZWCAD.LSP in case using ZWCAD. The database module makes provision for that every time it is run.

    It is convenient to to create a new drawing file from the prototype drawing \PID\PID.DWG located in themain system directory.

    In P&ID drawings, each symbol has attributes for its identification in the drawing and to allow dataextraction to the data base module. Other data, typically those related to associativity and conectivity (linenumber of an instrument, line ends, etc.) are also stored in the drawing file, but they can only beinterpreted by the EPLANT-P&ID system.

    4.2 DRAWING FILE STRUCTURE

    Drawing containing P&IDs must be placed in the \[project]\PID directory.

    It is advisable to know the data structure used by this module, to be able to use the system better. In any

    case you can skip these details going to 4.3.

    P&ID module recognizes five different data structures: Each structure joins elements according a commonlayer and/or blocks having codified names. There are codified layers for piping lines and equipments: eachpiping line is on a layer with name LL[n], where n is an integer number; each equipment is on a layer withname EE[n], where n is an integer number. These layers are automatically generated and it is better not touse them for other purposes.Each data structure is made by blocks. The project setup specifies the first part of the block names (it isthe BLOCK field in the [project]ATR.DBF, see 2.5). Here below each data structure is described in detail.

    LINESLayer LLn. The following elements are drawn in that layer:

    - The graphic representation of the linea (AutoCAD LINE elements or any other element).- To load the linea number. Only one block for each line is allowed. This block needs the attribute LINE.- Valve blocks placed on piping lines, with names beginning with VLC, VLR, VLG.- Fitting blocks placed on piping lines, with names beginning with FIT.- Instrument blocks placed on piping lines, with names beginning with INS.- Tie-Ins blocks placed on piping lines, with names beginning with TIE.- Blocks placed on piping lines, with names beginning with IN TR indicating that the line is insulated

    and/or has tracing. These blocks have two attributes, with name INS and TRA that are loaded with theisnulation and tracing codes. Only one block of this kind is needed from the line. If the line is notinsulated its use is not necessary.

  • 7/26/2019 Pide 2015P

    14/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    14

    EQUIPMENTS

    Layer EEn. The following elements are drawn in that layer:

    - Schematic Equipment drawing. It can be any kind of graphic element.- EQUIP block, with the EQUIP attribute, to load the Equipment Number. There must be only one EQUIP

    block for each equipment.- Nozzle blocks placed on equipments, with names beginning with NOZ.- Instrument blocks placed on equipments, with names beginning with INS.- Valve blocks directly connected to equipments, with names beginning with VLC, VLR, VLG.- Fitting blocks directly connected to equipments, with names beginning with FIT.Equipments can be associated with another block (named DES_EQU) to store additional parameters andplaced in any position in the drawing.

    EQUIPMENT NOZZLESBlocks with names beginning with NOZ. They have the attribute NOZZLE to load the nozzle name and theDIAM attribute, to load its nominal diameter. Nozzles must be placed on one equipment layer to be linkedwith it.

    VALVESThree different valve types are discriminated: control (block name beginning with VLC), relief (VLR),generic (VLG).Vaves have the TAG attribute to load tag number, the DIAM attribute to load the diameter (in case it isdifferent from the nominal diameter of the corresponding piping line). Relief valves have the DIAM2attribute also, to load the secundary diameter.There are two different cases:

    - The valve is placed over a piping line or Equipment: it has the same line or equipment layer. It couldhave been created directly on the line or equipment, taking automatically its layer or being moved withthe Add Elements to Line or Equipment command.

    - The valve is a piping line end: it must be on a different layer with respect to the line layer. The mostconvenient way is to place it on layer 0.

    FITTINGSBlocks with names beginning with FIT, with the TAG attribute to load tag number, the DIAM and DIAM2attributes to load main and secundary diameter. The same considerations as in the case of valves apply.

    INSTRUMENTSBlocks with names beginning with INS. They have three attributes: UNI, NUM, FUN. The sameconsiderations as in the case of valves apply. The tag results concatenating the three attributes, that areloaded both separated and concatenated in the data base instrument table.

    TIE-INSBlocks with names beginning with TIE. They have the TAG attribute. The symbol must be on the samelayer as that of an existing line. The new line can be loaded in the data base module.O Tie-In ser geralmente uno das extremidades da linha nova.

  • 7/26/2019 Pide 2015P

    15/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    15

    GENERIC LINE ENDSThey are signs used as piping line ends in case of a generic end with no particular associated drawing.They are blocks with names beginning with BOX, with the END attribute, where the line end is loaded.

    They must be on layer 0 or different that LL* and EE*.

    LINE CONTINUATIONThey are signs used as piping line ends in case the line continues in another diagram, placed in anotherdrawing file.They are blocks with names beginning with END, with the END attribute, where the final line end is loadedand the DOC attribute where the continuation diagram number is loaded. It must be placed in layer 0 ordifferent that LL* and EE*.All segments of the same line drawn in different diagrams must have the same ends: there must be onlyone true (which is not a line continuation) FROM end and one true TO end. All intermediate ends must beline continuation blocks. The system verifies the end consistency and shows found errors in the line errortable.

    GENERIC SYMBOLSThey are symbology blocks, for example arrows, with names beginning with SYM.

    TYPICAL ASSEMBLIESThey are symbology blocks with some repetitive set of symbols inside them, with names beginning withTIP. After inserting them they must be exploded, to allow the system to recognize them.

    The system uses the NDOC and FLOW_TABLE attributes of the PID DOC block, that contain the P&IDdocument number and the related Flow Compostion table file name (if any). See 3.4.

  • 7/26/2019 Pide 2015P

    16/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    16

    4.3 P&ID GRAPHIC COMMANDS

    The Process and Instrumentation Diagrams drawing is generated using the commands found in the [PID]menu bar. The most used commands are also available from several toolbars menues. A detaileddescription of each available command is shown below. For details on the drawing file structure seeAppendix A.

    4.3.1 Lines

    Selecting [P I D]./ [LINES] the following menu opens:

    Define New Line NameUsing a dialog box allows to generate a new piping line. It generates a new line codified layer LLn, wheren is an integer number. Inserts the LINE block in this layer and loads its LINE attribute with the linenumber.

  • 7/26/2019 Pide 2015P

    17/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    17

    Name ChangePrompts to select a line element and allows to modify the number of the selected line.

    Draw LinePrompts to select a line type from a menu. An AutoCAD color is associated to each line type. Colorasignation can be modified from the project setup. Once the line type is selected the LINE command isactivated to allow drawing the line. This command can be called any time.

    Append ElementsPrompts to select an element belonging to the line to which new elements are to be added. Then promptsto select those elements.

    From ToAsigns ends to a piping line. In this way the data base module knows the line ends.Each end can be: a line, an equipment, a valve, a fitting, an instrument, a line end sign.The command prompts to select the line and then in succession one element of each end. In case of

    selection of a block, if it is on a line or equipment layer, the corresponding end is asigned to the line orequipment name. If it is on a layer different from LLn and EEn, the end is asigned to the tag attribute of theselected block.

    Cut LinePrompts to select two crossing lines and the one with less hierarchy it is cut. Hierarchy is defined by thecolor associated to each line with respect to the definitionnof colors by function.

    Rejoin LineAllows to reconnect two line segments of a line. It is used to reconstruct a line from two segmentsproduced by inserting and deleting a symbol.

    4.3.2 Equipments

    Selecting [P I D]./ [EQUIPMENTS] the following menu opens:

    Define New EquipmentUsing a dialog box allows to generate a new equipment. It generates a new equipment codified layer EEn,where n is an integer number. Allows to select an equipment symbol from a menu, inserts this symbol andloads its EQUIP attribute with the equipment name.In case of drawing a new equipment from scrap, select the first icon that is associated to the EQUIP block.In this case, the equipment will be initially defined only by the name block. To complete the equipmentdefinition, the [Append Elements] command will be used.If there are stand by equipments, the letter or number that identifies them uniquenessly must be separatedby a blank space from the name (example: TK-01 A).

  • 7/26/2019 Pide 2015P

    18/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    18

    Name Change

    Prompts to select an equipment element and allows to modify the name of the selected equipment.

    Append ElementsPrompts to select an element belonging to the equipment to which new elements are to be added. Thenprompts to select those elements.

    Parametric SymbolsThe same as the first command, but with the possibility to interactivelly define the insertion scales of thesymbol being selected.

    Equipment NozzlesAllows to place an equipment nozzle associated with an existing equipment.

    4.3.3 Symbols

    Control Valves / Relief Valves / Generic ValvesInserts a block with the valve symbology. Symbols are selected from an icon menu and, if the block isinserted over a line, the line is cut by the symbol length and the symbol is oriented as the line and placedin the same layer.New symbols can be defined and added to the menu, generating the corresponding slide. To allow the linecut, in the symbol definition a line segment on the layer EPLANT-LINSERT (that will be kept off) must beincluded. The line cut will be made using this line as reference. If this line is not found, the commandprompts to type the cut distance.

    FittingsThe same as valves.

    InstrumentsInserts a block with the valve symbology. Symbols are selected from an icon menu.

    Tie-InsThe same as instruments.

    SymbolsThe same as valves.

    Generic Line EndThe same as instruments.

    Line ContinuationThe same as instruments.

    Insulation / TracingThe same as instruments.

    Typical AssembliesThe same as instruments. Typics are blocks that joint together repetitive elements. After inserting them,they must be exploded and the resulting elements are to be joined to a line or equipment.

  • 7/26/2019 Pide 2015P

    19/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    19

    4.3.4 Other Commands in PID menu

    Line / Equipment CharacteristicsHighlights a line or equipment. Selecting any element of a line it highlights all elements associated to it,and then highlights both associated ends, if any, displaying the line and ends names. In case of anequipment, highlights its elements and displays its name. In both cases allows to open any ExternalDocument linked with the selected Line or Equipment if any and perform a query to an External Table ifthis option is set on in the Project Setup.

    Highlight: ListAllows to select the object to display from a sorted list in a dialog box. The list includes only objects drawnin the current drawing file. Selecting the Accept button, the object is highlighted and a cross is drawn overit, as a help to locate it. As in the case of Lines and Equipments, it allows to open any External Documentlinked with the selected component, if any, and perform a query to an External Table if this option is set onin the Project Setup. Avaliable objects to list are the following:

    Component CharacteristicsIs similar to the previous commnand, but allows to graphically select the object to query. After theselection, the object is highlighted. It allows to open any External Document linked with the selectedcomponent, if any, and perform a query to an External Table if this option is set on in the Project Setup.

    Report to Data BaseExtracts information stored in the current drawing file to send it to the data base module. This option hasto be selected any time the data base needs to be syncronized with the graphic data. Generation of thesereports can be disabled from the project setup.It generates two text files with the same name as the current drawing and extension PID and ERR. Thefirst contains data to be read for the data base module and is placed in the DBF_D project directory. Thesecond is generated in the project directory and contains all formal errors found in the current drawing, thesame errors that are displayed in the command line.

  • 7/26/2019 Pide 2015P

    20/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    20

    These errors are called formal because they do not tell of a diagram error, but of a lack of informationneeded by the system and not very noticeable (end line definition missing, valves not placed over a lineand the like). These errors must be corrected on the graphic.

    New Lines / EquipmentsThis command checks line and equipment definitions in the whole drawing file. If more than a LINE /EQUIP blocks are found in the same layer, automatically generates a new LL* / EE* codified layer foreach additional block and changes to that layer the corresponding blocks.It is useful to copy lines and equipments (using the AutoCAD COPY command) and next to define a newline or equipment.The remaining graphic elements, for example the line elements, are to be manually assigned to thecorresponding line using the [Add] command.

  • 7/26/2019 Pide 2015P

    21/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    21

    4.4 P&ID UTILITIES

    The [PID Utilities] menu has general commands useful to manipulate text, attributes, line tipes, etc. Themenu structure and a detailed description of each available command is given below.

    Define New SymbolAllows to create a new symbol and easily verify the existing names already in use.

    Attribute EditingSelecting a symbol with attributes opens a dialog box to allow editing the attributes recognized by thesystem. The same dialog box is used to automatically request attribute input whenever a new symbol isinserted.

    Box over AttributesSelecting a symbol with attributes (which in the project setup has enabled attribute box) it inserts thespecified box centered with respect the center attribute. These boxes must contain only one element andof closed type (circle, polyline, elipse, etc.). This block is automatically inserted after the insertion of asymbol defined having a box attribute.

    Move Box with AttributesSelecting a box element allows to move the box along with the symbol linked attributes as well as therefference line.

    Insert new Description BlockSelecting a block which enable the use of Description Blocks (equipment by default) promts to select theinsertion point and allows to load ist attributes.

    Link existing Description BlockIn case of a link failure between an object and its linked description block the correct link can be fixedusing this command.

    Generic AttributesAllows to access to commands that simplifies working with many attributes at a time. Opens the followingmenu:

  • 7/26/2019 Pide 2015P

    22/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    22

    Load/ModificationCalls the DDATTE command to load or modify attributes.Copy All

    Copies all attributes values from a source block to other blocks that are selected. Copies all attributes withmatching TAG names.Copia SelectAllows to select attributes to copy. Source attributes can be selected from different blocks. Copiesattributes with matching TAG names.Load ValueSelecting an attribute, highlights it and reads its TAG. Prompts for a text to load in that attribute of aselected group of blocks.Change ValueSelecting an attribute, highlights it and reads its TAG. Substitutes and existing text with a new one in allattributes with that tag in a selected group of blocks.Add ValueSimilar to the previous one, but adding a text to the right to each existing attribute value. Make sure thatthe attribute shows up with a highlight. If the command shows nothing and goes on, an invisible attribute

    was selected. For this reason is advisable to set all attribute to visible, using the ALL ON option in thisvery menu.Normal VisionIs the command ATTDISP NORMALAll ONIs the command ATTDISP ONAll OFFIs the command ATTDISP OFFPosition ModificationIdentifing an attribute, prompts a new inserton point.Angle ModificationIdentifing an attribute, prompts a new inserton angle.

  • 7/26/2019 Pide 2015P

    23/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    23

    GeneralGroups commands of general use.

    Blocks/Attributes DefinitionsDisplays all block and attribute names recognized by the system. These names must be equal to thosethe system is actually using. To modify them use the data base module. See 5.3.

    Automatic Slides GenerationAutomatically generates slides for blocks in the Project Symbology library.

    Automatic Symbol PlacementInserts in the current drawing the current Symbology block for library documentation.

    ConversionGroups commands for automatic and semi-automatic conversion from plain P&ID drawingsto EPLANT-P&ID format. Allows to automatically convert EPLANT-P&ID diagrams from versions olderthan V2009.

  • 7/26/2019 Pide 2015P

    24/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    24

    Convert Text->LineThis command allows to convert a TEXT element into a Line definition. It is used to convert a P&ID drawnwith AutoCAD alone. Selecting a text, reads its value, generate a new line definition with the same name

    and delete the original text element.

    Convert Text->EquipmentThis command allows to convert a TEXT element into an Equipment definition. It is used to convert aP&ID drawn with AutoCAD alone. Selecting a text, reads its value, generate a new equipment definitionwith the same name and delete the original text element.

    Copy Text->AttributeThis command allows to load a text value into an attribute selecting both in succession. It is used toconvert a P&ID drawn with AutoCAD alone.

    Block ConversionThis command allows to convert an existing P&ID in the same diagram but with the structure required by

    the EPLANT-P&ID system. If the diagram was generated with an EPLANT-P&ID with a version older than2.0 it automatically rebuilds line ends also.This command uses the file \PID\PID_CONV.DBF that contains the name block equivalence, toautomatically change block names to comply with the classification criteria set in the current EPLANT-P&ID project.

    This file has two fields:OLD_NAME contains the current block nameNEW_NAME contains the new block name to assign

    Any error detected during the conversion is written in the file .CER with the same drawing name andplaced in the project directory. After the conversion is advisable to PURGE the drawing file, to deleteunreferenced layers.

    Convert P&ID older than V2009Allows to automatically convert EPLANT-P&ID diagrams from versions older than V2009 with no dataloss.

    Layer VisibilityContros layers visibility. There are the following options:

    All ONSet ON all layers.ALL Lines ONSet ON all line layers.ALL Equipments ONSet ON all equipment layers.One Line ON

    Set ON one line, typing its name.One Equipment ONSet ON one equipment, typing its name.ALL Lines OFFSet OFF all line layers.ALL Equipments OFFSet OFF all equipment layers.One Line OFFSet OFF one line, selecting it.One Equipment OFFSet OFF one equipment, selecting it.

  • 7/26/2019 Pide 2015P

    25/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    25

    Inserts P&ID Diagram Number

    Inserts the PID DOC block to load the P&ID document number and the associated Flow Current table filename, if any.

    EPLANT P&ID VersionDisplays the current running system version.

  • 7/26/2019 Pide 2015P

    26/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    26

    4.5 EXTERNAL FILES AND DATA BASE QUERY

    Process and Instrumentation Diagram, can be linked with external files. Available elements in the modelsthat can be linked and the corresponding link parameters are as follows:

    - Equipments: by Equipment Name.- Piping Lines: by Line Number.- Any piping Component with a Tag attribute: the Tag value.

    Depending on the project setup, the association can be established in two alternate ways:

    By TableA table allows to link each element in EPLANT models with one or more documents contained in externalfiles. If the file name only is specified, the file is searched in the LINK project directory, otherwise the fullpath (it can be any) is used instead. To load this table use the Documents Link Table option in the Utilities

    menu in the data base module. In this case the EPLANT-P&ID specific table can be used or the EPLANT-Piping table for the same project can be shared instead.

    DirectThe link between the 3D model and external files is automatically established placing those files in theLINK project directory and naming the files with the link parameter value corresponding to the elementtype.For example, the TK-001 equipment is automatically linked with the files named TK-001.JPG, TK-001.XLS, etc. File format and the number of different files related to a specific object can be any. Therelation can be strictly enforced (file names must be equal to the parameter value) or the parameter valuecan be interpreted as the file name prefix, depending on project setup.

    To open those files, any of the available query commands can be used, depending on the element

    involved: Component Characteristics and Line or Equipment Highlight.Upon opening the window with the required characteristics, if there is at least one external file linked to theselected element, the External Data button will be enabled. Pressing it, if there is only one external file,that very file will be automatically opened, otherwise a window with the list of all found files will allow toselect the one to open.

    From the Process and Instrumentation Diagrams it is also possible to query the information stored in theEPLANT-P&ID data base module with respect to elements drawn in the diagrams themselves. The PIDData button is always enabled in the windows showing element characteristics resulting from the samequery commands described in the last chapter: Component Characteristics and Line or EquipmentHighlight.

    4.6 P&ID USING CRITERIA

    P&ID can be drawn working in any layer. Only blocks beginning with LINE and EQU are automaticallygenerated on codified layers. See 4.2.1 for details.The Add command can be used any time to add elements to a line or equipment.It is advisable to insert valves, symbols and fittings on lines already placed in a codified layer, to allow toautomatically inherit that layer.The Highlight of a line is used to verify the proper asignmet of their elements and to check the line ends.The same command selecting from a list allows to identify a line inside a diagram.

  • 7/26/2019 Pide 2015P

    27/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    27

    Each time a drawing is modified, the Report to DB command must be selected if the some report isneeded from the database module. Always check the ERR file for errors that must be corrected in thedrawing.

    It is not advisable to merge two different P&ID drawings, originally drawn in separated files, in the samedrawing file, because this force to modify all the layers of one drawing to avoid layers superpositions.

    The AutoCAD handle have not to be disabled, because is used in the syncronization mechanism withthe data base module.Use the WBLOCK command with discretion.

    If a line has a diameter change, but its name continues to be the same, all objects placed on the changeddiameter are always associated to the diameter found in the line definition. To allow to import a differentdiameter, this value must be loaded in the DIAM attribute of each block. If this attribute is left void, thediameter asigned to the component is by default the line diameter.

  • 7/26/2019 Pide 2015P

    28/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    28

    4.7 FLOW COMPOSITION TABLES

    For the system to read and process the Flow Composition Tables, this option must be enabled in theproject setup:

    The block used to load the document number in each diagram has an additional attribute to specify thename of the XLS file that contain the flow composition table associated to the diagram. Each diagram canbe linked to a different flow table, all of them placed in the FD project folder.

    Although the table format can be any, it must honour the following minimum criteria:

    1) The table proper must be created in a sheet named table and the data related to each flor must beplaced as columns, like the following example:

  • 7/26/2019 Pide 2015P

    29/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    29

    2) The mapping between the reading cells in the table sheet and the corresponding writing field in theDBF table of the data base module where the Line List is stored is done in the database_map sheet:

    In the first column (DBF_Field) the writing field name is identified, in the second (Column) the first columnthat correspond to a flow (in the table sheet) and in the second (Row) the line which corresponds to eachfield.

    During the data base automatic update, these tables are processed and their data transferred to the LineList.

  • 7/26/2019 Pide 2015P

    30/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    30

    5. DATA BASE MODULE

    5.1 INTRODUCTION

    The EPLANT-P&ID database module automatically integrates data coming from all project diagrams,loading it into seven different tables. The system generates all the needed files in the project DBF_Ddirectory. It does not require a License.

    5.2 OPEN DATABASE MODULE

    From the Start button select the EPLANT-P&ID Data Base option.

    Executing the Data Base module, the following menu will appear:

    Only few general options are enabled, not referring to any specific project.

    After the system installation, and also after a version upgrade, the Protection Type selection must beverified. To open the System Setupselect:

    and from the main men select the License Typebutton:

  • 7/26/2019 Pide 2015P

    31/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    31

    See chapter 2.5 for details. To enter to the System Setup the license is not required, as well as for using

    general options in the UTILITIES menu bar.For all other options a valid license is required.

    5.3 FILE

    The bar File opens the following options:

    Open ProjectAllows to select a directory (any level, with a name no more than five characters long) that will beregarded as the Project directory. The first time a project is opened with EPLANT-P&ID, the command willprompt if the user wants to transform it in an EPLANT-P&ID project.This option automatically generates some nested directories and copies reference files. It enables alsomost of the options in the menu bars, verifies project files existence (if they are missing they areautomatically copied from system seeds) and performs the searching of the *.PID in the \DBF_D projectdirectory. These files are generated from the graphic module with the [Report to Data Base] command andcontain information corresponding to P&IDs that are automatically loaded into the database module.During this updating process, any detected error is displayed into the screen and written in the\[project_code]\DB_PID.ERR file that can be opened with the last option of the Utilities bar menu.

    The project working graphic directory is nested into the project directory and have the PID name. Do notopen this directory as project.

    The system can detect the following errors during the updating process:

    - Line Blocks placed in layers different than LLn.- Equipment Blocks placed in layers different than EEn.- Undefined Line ends.- Control and Relief valves and instrumnents that are defined as Line Ends placed on layers LLn o EEn.

    If they are Line ends they must be in a layer different than LLn and EEn.- Generic valves and fittings not in LLn layers.

  • 7/26/2019 Pide 2015P

    32/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    32

    System SetupAllows modifying system settings that are used to generate default setting for new projects. It is also used

    to change the interface language and to Enable/Disable automatic version checking.

    Project SetupAllows modifying Project settings for example the report language.

    5.4 PROJECT SETUP

    Selecting the Project Setup options the following dialog box opens:

    Exiting with the Accept button all modifications are stored on disk. The project setup is contained in the

    following files:\[project_code]\DBD_D\[project_code]SET.DBF\[project_code]\DBD_D\[project_code]ATR.DBF

    When a new project is generated, those files contain default values copied from the system setup files,which can also be modified with the corresponding option in the File menu.

    Each button in this dialog box allows having access to sets of related parameters to modify them. Let'sdetail each option. Use the Help button to understand the meaning of each parameter.

  • 7/26/2019 Pide 2015P

    33/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    33

    Selecting the General Settingsthe following dialog box will opens:

    The Symbology Directorydefines the directory used to store all symbols used by the graphic module.The default ISA directory contains predefined symbols according to ISA standard. The user can modify

    them and also generate other symbology directories, if different standards are used in different projects.The Data Sheet Template Directory defines the directory used to store all templates for data sheets.The language refers to the language used in the report generation.Enable Graphic Reports: allows to disable this options for read'only projects.The project name is associated to a global variable named PRJ_NAME, that can be referenced in allreport definitions.Verify Registered Applications checks for the presence of other registered applications in the graphicfile, apart from EPLANT-P&ID and AutoCAD which generally are associated with corrupted objectswithin the drawing file.Lines/Equipments/Tags unique on the whole project. The names of Lines, Equipments and Tags areverified unique inside each P&ID drawing file. If this option is checked the verification of uniqueness isextended to the whole Project.Loads Flow Table into Line List. This options enables to read flow compositions from XLS files and toloads its content in the corresponding lines, matchint the flow number specified in P&IDS for each linedefinition.Search for new Updates / Versions. This options only appears in the System Setup and allows toautomatically verify is a newer version of EPLANT-Piping is available to download.

  • 7/26/2019 Pide 2015P

    34/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    34

    Selecting the General Parametersoption in the main setup dialog box, the following window opens:

    All but the last three parameters are used in the graphic module. Checked the Help button to get moreinformation about each parameter.

    Selecting the Block Attributesoption in the main setup dialog box, the following window opens:

  • 7/26/2019 Pide 2015P

    35/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    35

    This option allows to access the file [project]ATR.DBF to modify block names, attributes and fieldsautomatically loaded and associated to each object recognized by the system. For each object thefollowing fields are specified:

    OBJECTComponent type: Line number, Equipment name, Valve name (separated in control, relief and generic),piping fittings, instruments, line continuation symbol, insulation and tracing symbol.

    BLOCK PREFIXBlock name first part used to identify the component type.

    ATR1, ATR2, ATR3, ATR4, ATR5, ATR6Names of up to six attributes associated to each block. The values of these attributes are automaticallyextracted.

    FIELD1, FIELD2, FIELD3, FIELD4, FIELD5, FIELD6

    Names of up to six field names in the data bases, automatically loaded with data coming from attributes.The name in the FIELDi field is interpreted as the field name that is loaded with the value of the ATRiattribute.

    CONC1, CONC2, CONC3, CONC4, CONC5, CONC6Names of up to six of the attributes identified in the ATR1/2/3/4/5/6 fields. The tag number associated toall blocks, excluded those for line and equipments, is automatically built concatenating the attributes ofthese fields, separating each value with the character specified in the CONC_SYM field. This tag numberis automatically loaded in each table into the TAG field. In case of lines, the LINE field is loaded with theline name or equipment associated to each object.The following general rules applies:

    - Lines: the line number is loaded in the fixed name field LINE, in the line table. The writing field does

    not to be specified in the project setup. The line number is disassembled into its components, using theproject line format. Those components are stored into the following fixed name fields:- LINE_N line number- FLOW_N flow number- FLUID fluid- DIAM nominal diameter- PCLA piping material class- ICLA insulation class- UNIT unit- AREA area

    Line ends are automatically loaded in the fields specified by the FIELD1 and FIELD2 field contents. Incase of continuation ends, the document numbers are loaded into the DOC1 and DOC2 fields.

    - Equipments: the equipment name is loaded into the field specified in the FIELD1 field. The equipment

    definition block can contain more attributes that can be stored in the FIELD2 and upper.Additionally, if the equipment is linked to a Description Block, the values of its attributes D_i andDES_EQU are loaded into the D_i and DES_EQU fields of the equipment table, the content of theDESCRIPT field is loaded with the composition between pairs of the T_i and D_i attributes.

    - Equipment Nozzles: the nozzle name and the diameter are loaded in the FIELD1 and FIELD2 fields.The name of the corresponding equipment is automatically loaded in the EQUIP field in the nozzletable. It is not necessary to explicity set the equipment field.

    - Valves, Fittings, Instruments, Tie-Ins: the line number or the equipment number associated to eachcomponent is automatically loaded into the fixed name LINE field in the corresponding table. The

  • 7/26/2019 Pide 2015P

    36/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    36

    writing field does not to be specified in the project setup. In case of line, the line number isautomatically disassembled into its components, using the project line format. Those components arestored into the same fields as in the case of the line table.

    The tag and other parameters are loaded into the fields associated to these components. The tag isalways loaded in the corresponding table in the fixed name TAG field. The attribute that is loaded astag is specified with the CONC1/2/3/4/5 fields.If a field is loaded with information extracted from the line number and also by an attribute, this onetakes precedence over line definition.

    Default system setup values are consistent with blocks, attribute and field names of the system databases. This default configuration is detailed below. It may be changed, respecting the rules stated above.

    With this definition, for example, all blocks beginning with VLC are Control Valves. In the correspondingdata base table the following fields will be automatically loaded:TAG with the valve tag (concatenating the values corresponding to the UNI, FUN, NUM valve attributes)

    loaded in the TAG attributeDIAM with the value loaded in the DIAM attribute, in case it contains any valueLINE with the line or equipment name and in case of a line, also with the fields LINE_N, FLUID, DIAM,PCLA, UNIT, AREA will be loaded. The TAG and LINE fields are always loaded, they never need to bespecified.Those names are used all around the manual to identify system blocks and attributes.

    Selecting the Attribute Load and Boxes option in the main setup dialog box, the following window opens:

    This option allows to access the file [project]ATR.DBF to enable attribute loading during symbol insertionand define boxes on attributes. For each object the following fields are specified:

    OBJECTComponent type: Line number, Equipment name, Valve name (separated in control, relief and generic),piping fittings, instruments, line continuation symbol, insulation and tracing symbol.

    LOAD ATTRIBUTES ON INSERTIf this field contains the number one, after inserting a symbol, the Attribute Edit window will open allowingto input attribute values. The same Attribute Edit window can be called anytime after the symbol insertion.

  • 7/26/2019 Pide 2015P

    37/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    37

    BOX ON ATTRIBUTEIf this field contains the number one, after inserting a symbol the command also inserts a block (that will

    be automatically exploded) with the name referenced in the next field and centered with respect theattribute name stated in this field. A reference line between the box and the symbol is also drawn.The box attribute name can be any (avoid interference with other prefixes) but it must contain only onegraphic element (a closed type element such as CIRCLE, POLYLINE, ELIPSE, etc). This block must beplaced in the project symbology directory.

    CENTERED ATTRIBUTEIt is the attribute used to center the Attribute Box.

    LISTS OF ATTRIBUTES LINKED WITH THE BOXContains the list of the attributes (separeted by a blank space) that are linked with the box and are movedalong the box by the Move Box with Attributes command. At least it will contain the cenetered attribute.

    Default system setup values are consistent with blocks, attribute and field names of the system databases. It may be changed, respecting the rules stated above.

    Selecting the Line Types and Colorsoption in the main setup dialog box, the following window opens:

    This window allows to assign an AutoCAD Color and Linetype to each type of lines, identified by theirfunction. The top-down order in this table is also the hierachy to decide which line to cut with thecorresponding command used in line intersections.

  • 7/26/2019 Pide 2015P

    38/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    38

    Selecting the Object Layers and Colorsoption in the main setup dialog box, the following window opens:

    Due to the fact that all symbols take the layer of the line or equipment where they are placed, theelements used in block definitions are placed on fixed name layers and the colors associated to theselayers are set in this window. In this way it is very easy to change colors to a whole simbology library, bymeans of redefining this table only.

    Selecting the External Data Linkoption in the main setup dialog box, the following window opens:

    This dialog box allows to set the link pattern between P&ID diagrams and any external file that can be

    opened from the diagrams.

  • 7/26/2019 Pide 2015P

    39/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    39

    Selecting the External Table Connection option in the main setup dialog box, the following windowopens:

    Checking the option: External Table Connection Enabled, it is possible to automatically relate a DBFformat file outside the EPLANT-P&ID system to any of the internal EPLANT-P&ID tables. From the menuUtilities main menu option, the External Table Connection option allows to perform consistency checkings.See 5.7. In the case of using two keys to relate tables, the first one must always be the drawing file.If the Query from Diagrams is checked, it is possible to perform a query to the external table from thedialog box displaying the characteristics of any Component, Line and Equipment inside P&IDs.

    Selecting the Line number format option in the main setup dialog box, the following window opens:

    Allows to modify the Line Number Format used in the current project. The information in the window isinterpreted in the following way:

    Complete format: represents the format associating a number to each parameter, separating each numberfor the same character used as separator in the line number.Parameters are defined based in the correspondence with the complete format definition.

  • 7/26/2019 Pide 2015P

    40/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    40

    Each parameter can have a different length in each line. Up to nine different parameters are supportedand only successive numbers beginning from 1 can be used.The displayed values are consistent with the following example:

    Line number: 6"-GO-600-001-A1.1-B1. The system will classified the line number in the following way:Complete Line Number (as loaded in the LINE field of the line table and in all others, excludingequipments) = 6"-GO-600-001-A1.1-B1.Line Number (as loaded in the LINE_N field of the line table and in all others, excluding equipments) =001.Fluid = GO.Diameter = 6"Piping Class = A1.1.Insulation Class = B1Unit = not specifiedArea = 600

    Selecting the DATA SHEETSbutton, the following windows appears:

    It allows to setup the rules used to create the data sheet file name and where to generate data sheet files.

  • 7/26/2019 Pide 2015P

    41/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    41

    5.5 DIAGRAMS

    The first option allows displaying information about project drawing files and their reporting updating statusin the database module. From this bar the following menu opens:

    The Browseoption opens a window of the kind shown below:

    The left most field displays all files with DWG extension in the project graphic directory PID, with their lastmodification date and time. In the Report Status field, the current graphic report status is shown for eachdiagram. Four different cases can happen:

    Report OKThe graphic report is updated with respect the last revision of the diagram.

    Update Graphic ReportThe Report to DB must be executed again in the drawing file because of possible changes in thecorresponding drawing.

    Never ComputedThe Report to DB must be executed in the drawing, because it was never executed. No information fromthis diagram in currently loaded in the database module.

    Graphic file no longer exists In this case, in some time in the past, a Graphic Report was executed from adiagram that no longer exist now. May be the original drawing file was deleted or renamed. In any case, ifthe report contains information that we don't want to compute now, the corresponding PID or FDR file inthe project DBF_S directory must be deleted and the project open again to delete all informationassociated to it.

    The Reportsshows the following menu, common across the whole program:

  • 7/26/2019 Pide 2015P

    42/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    42

    The Text File and XLS File options in any Report option generates the report in a text file using aninternal text file report generator. All report formats to text files are stored in the following files:

    \[project]\DBF_D\[project]RTH.DBF/FPT\[project]\DBF_D\[project]RTF.DBF

    Selecting the Text Fileoption the following menu opens:

    Selecting the Generatebutton prompts for the Output File Name and the report is generated.

    Selecting the Modify Formatbutton, the following window opens:

    Modify Header. A window will open on the header definition that is basically a text file with the headerfixed parts in it. Any variable text can be placed on it during the report generation, assigning the H code toit. With the Easy Header option checked, the Header of each column is defined as the Header Columnthat appears in the Modify Definition option.Modify Format. A window will open displaying the current report format. Each record corresponds to avariable to be written in the report body or header. Follows a description of the meaning of each field.- Field Definition: contains the information to report. Place the field name to list. Any open table can be

    referenced. Accepts the Visual Fox 6.0 syntax.- X Pos: is the position of writing, in characters units, from the left margin starting with 1- Y Pos: is the position of writing, in lines units, from the upper margin starting with 1. For fields in the

    report body, this line is the current line: the 1 is the current one, the 2 are the following one, etc.

  • 7/26/2019 Pide 2015P

    43/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    43

    - Width: it is the number of characters written from this field. It overwrites anything below. Fields arewritten in the order that appear in this window.

    - Memo: logic field: if T (true) the corresponding field contains a reference to a memo field, whose

    content is formatted using the specified width and generating as many lines needed to write the wholememo text. If left blank, only one line is used to write the field content. Only one Memo field can bedefined for a report.

    - Code: G/H. It can have three possible values:Void: for fields to be written in the report body. There can be an arbitrary number of these fields.H: it is a header field. There can be an arbitrary number of these fields.G: it is the definition of a Group: when its value changes a new header is written. Only one Group fieldcan be defined for a report. In this case, the table to list must be sorted with this field.

    Add Field. The window of the previous option will open with a void new record to fill with the new field.

    Copyallows to copy and renamed an already defined format.

    Format Importallows to import a Format Definition from another project.

    Format Deleteallows to delete am existing format.

    Select Active. In case more than one format is defined for the current report option, it allows to select adifferent format.

    Preview. It generates a preview window.

    The Document Number and the Revision Number are associated to the NDOC and NREV global variablesthat can be placed in any report definition.

    Selecting the XLS Fileoption, the following menu opens:

    The Generatebutton will generate the report in an Excel file, while the Modify Format will open a windowsimilar to the Text File Modify Report in which, instead of X and Y coordinate position to place each reportfield, we have the Cell position and instead of a Header an Excel Template file is used.

  • 7/26/2019 Pide 2015P

    44/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    44

    5.6 COMPONENTS

    When one of the following options of the main bar menu is activated:

    the following menu opens:

    The Browse Data option allows to access all objects of the type selected from the main menu, in thiscase, to the Line List. Information coming from the project P&IDs cannot be modified from the data basemodule, but more information can be loaded, either as new lines or loading descriptions fields. Datacoming from diagrams can only be modified in the graphic module.In the special case of lines, if the same line is defined in more than one diagram and the line continuationis respected in every diagram, all different segments are condensed in only one reference, with its truefrom and to ends. If any error is found it could be accessed throu the last menu option Errors.Selecting this option, the Filter windows opens to allow to select objects based on locical conditions. Seethe Help button for details. The same filter will be available in all the Report options:

  • 7/26/2019 Pide 2015P

    45/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    45

    Selecting the Add itemsoption a new object can be added. In this case all fields are input from the database and can be always be modified or deleted. This option is used if there are objects that do not showup in the drawn diagrams.

    Selecting the Delete itemsonly manually loaded objects can be deleted.

    The Modify manual loaded dataopens a window on those lines that were manually loaded in the database module only. Any characteristic can be modified. Records can be marked for deletion selecting withthe mouse the small rectangular box at the very left of the first field value (it will be marked as a blackbox). New lines can be added with the options Browse and Append in the menu bar. In any case, to addnew objects it is advisable to select the Add Items option.

    Selecting the Reportsoption, the same options detailed in 5.5 are available.

    Selecting the Errors option, from the menu in the main bar menu, displays the errors found during theloading of data coming from graphic diagrams, if any.

    In case of lines, the following errors are detected: line number duplicated in the same drawing, missingline end, both line ends equal to each other, continuity error between different segment of the same lineplaced in different diagrams.In case of Equipments the errors warned are different equipments with the same name.In case of any other object the errors the errors warned are different objects with the same tag number.For all objects, the Errors options opens a menu with the Browse and Listing options. The first option allowto access the error table, the other one to report it.

  • 7/26/2019 Pide 2015P

    46/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    46

    5.7 P&ID TRANSFER TO DATA BASE

    The parameters processed by the systema and the corresponding data flow are detailed below. Defaultconfiguration is assumed. Table structure can be modified, but system fields cannot be changed nordeleted.

    LINESThe Line table gets from the P&IDs the following fields:- FILE Dwg file name where the line is defined- LINE Complete Line Name- FLOW_N Flow number (loaded in the line definition block), if any.- END1 From End- END2 To End- NDOC Document Number associated to the P&ID- FLOW_TABLE Name of the XLS file with Flow Composition associated to the P&ID.

    - BLOCK Name of the Line definition block.Interpreting the line number format, the following fields are automatically loaded:- LINE_N Line number- FLUID fluid- DIAM nominal diameter- PCLA piping class- ICLA insulation class- AREA area- UNIT unit

    The remaining fields can either be manually loaded or being automatically completed with data comingfrom the Flow Composition table associated to the P&ID using two fields: Flow_Table + Flow_N

    EQUIPMENTSThe Equipment table gets from the P&IDs the following fields:- FILE Dwg file name where the equipment is defined- EQUIP Equipment Tag- NDOC Document Number associated to the P&ID- BLOCK Name of the Equipment definition block.

    From the table PID_DES.DBF corresponding to the used block, gets the fields:- OBJ_TYP Equipment Type Code (used as default name for Data Sheet Template)- DES_EQU Equipment Description (field DES_language-code)- D_i Parameters loaded into the attributes D_i of the Description block (if there is one

    linked to the equipment)- DESCRIPT Composition of the attributes T_i (titles) and attributes D_i (values) of the

    Description block (if there is one linked to the equipment)

    The remaining fields can be manually loaded.

    VALVES, INSTRUMENTS, FITTINGS, TIE-INSThe corresponding table gets from the P&IDs the following fields:- FILE Dwg file name where the equipment is defined- TAG Component Tag- LINE Complete Line Name or Equipment Tag connected- NDOC Document Number associated to the P&ID

  • 7/26/2019 Pide 2015P

    47/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    47

    - BLOCK Name of the component definition block

    If the component is connected to a line, interpreting the line number format, the following fields are

    automatically loaded:- LINE_N Line number- FLUID fluid- DIAM nominal diameter- PCLA piping class- ICLA insulation class- AREA area- UNIT unit

    From the PID_DES.DBF tablec corresponding to the used component, the following fields areautomatically loaded:- OBJ_TYP Equipment Type Code (used as default name for Data Sheet Template)- DES_VLC Control Valve Description. The name of this field follows from the component code:

    VLC, VLR, VLG, INS, FIT, TIE.

    If the LINE field contains a Line Number, all fields that are common in the line and component tables areautomatically copied. For example, if the TEMP_NORM field of the line table is also defined in theInstrument table, the value loaded in the line table is automatically copied to the other one. Example:

    If the LINE field has an Equipment Tag, apart from this very mechanism (copy from the Equipment tablefor equal field names) another procedure will be activated to transfer attributes values stored inDescription blocks linked to Equipments. In this case, the table DES_ATR.DBF in the Symbology flder isanalyzed looking for all registers with the same OBJ_TYP of the equipment. In our example, the OBJ_TYPis the EQUT code:

  • 7/26/2019 Pide 2015P

    48/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    48

    The values in the D_1, D_2, D_3 and DESCRIPT come from the Description block linked to thisequipment in the P&ID, in our case:

    Analyzing the table DES_ATR.DBF:

  • 7/26/2019 Pide 2015P

    49/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    49

    we can see that attributes T_2 and T_3 of the description block for this OBJ_TYP correspond to theSERVICE and FLUID fields in the copy table. The result in the Instrument table is the following:

  • 7/26/2019 Pide 2015P

    50/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    50

    5.8 DATA SHEETS

    In the Equipments, Control Valves, Relief Valves, Generic Valves, Fittings and Instruments menu barthere are an additional option to generate Data Sheetsthat will contain information from:

    Information extracted from diagrams and automatically loaded into the data base.Manually loaded information into the data base.Information extracted from the Project XLS Referente File:

    Selecting this option the following window opens:

    If the revision is not set, the name of the data sheet files that will be created is formed with the Data Sheet

    Template name corresponding to each object and loaded in the OBJ_TYP field of the Block DescriptionTable or to the composition of both the FAB_CODE (fabrication code) and FAB_MODEL (model) that canbe manually loaded. This first part will be followed by the object Tag. The opposite order can be set in theproject setup.

    To modify the generation in separate folders open the Data Sheet section in the Project Setup.

    If the revision is set, the data sheet name can contain the revision name appended at the end.

    Data Sheet Templates must be Excel templates (XLT extension) and placed in the Project TemplateDirectory, as defined in the Project setup.

  • 7/26/2019 Pide 2015P

    51/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    51

    Each template can have an arbitrary disposition of the data, must be conform to the following rules:

    1) The Data Sheet itself must be defined in the sheet named Data_Sheet, as shown in the example

    below:

    2) The writing positions in the data sheet and the reading source must be specified in the sheet nameddatabase_map:

    Where in the first column named DBF_File/XLS_File the reading source is specified. It can be any of thefollowing:

    - The Alias name of the corresponding data base table (i.e.: VLC = Control Valves)- REF.Project_ref: the content of a cell in the sheet named Project_ref of the XLS Project Reference file

    (it can be oponed from the data sheet generation window) and used to store reference project data, notdepending on revision.

    - rev: the content of a cell in the sheet named rev_revision of the XLS Project Reference file and used tostore data of that very revision (i.e. sheet rev_A for revision A, as specified in the data sheet generationwindow). The writing position is fixed.

    - rev.+: the same as above, but the writing position is honoured only if the cell is void. If this is not thecase, a new position is checked in the following line.

    - rev.-: the same as above, but the writing position is honoured only if the cell is void. If this is not thecase, a new position is checked in the previous line.

  • 7/26/2019 Pide 2015P

    52/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    52

    In the second column named DBF_Field/XLS_Cell the reading field name is specified (if from a DBF table)

    or the reading cell name (if from a XLS file

    In the two following columns the writing column and row in the data sheet are specified.

    Generating a new revision, the previous one can be used as the new template.

  • 7/26/2019 Pide 2015P

    53/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    53

    5.9 UTILITIES

    The Utilities option in the main menu opens the following menu:

    The Reload Data option updates the material project database directly from the graphic report files(\[project]\DBF_D\*.PID). Generally there is no need to update the database in this way, because when aproject is opened, an automatic update takes place. In any case, selecting this option, the followingprompts appears:

    With the first option the update is performed taking into account only those graphic reports that have beenchanged since the last project opening. This option can be used when the project is already open, somediagrams are modified and we need to update the reports.The second option updates all graphic reports, disregarding their generation and loading status. In eithercases, manually added information are not changed.

    The Text Editoroption allows editing text files.

    The DBF Editorallows opening for edit a DBF file, with or without an index file. Don't use this option toedit system tables that can always be edited directly from other menu options.

    The Create New DBFoption allows generating a new DBF table, defining its structure.

    The Modify DBF Structureoption allows modifying the structure of an existing DBF table.

  • 7/26/2019 Pide 2015P

    54/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    54

    The Export DBF to XLSoption allows to export a DBF table to an XLS format file. Do not use this optionif the exported file has to be reimported into EPLANT. For this purpose, use the Export DBF to CSV

    instead.

    The Export DBF to CSVoption allows to convert a DBF table into a text file with the CSV format. Use thiscommand when the DBF table is to be edited in Excel outside EPLANT. This very file will be imported intothe same DBF table using the Import DBF from CSV option. See Project Setup / General Parameters toset separator character for columns and decimal places.

    The Import DBF from CSV option allows to import a file in CSV format into a DBF table. Only thosecolumns with the same name in both files will be imported. For better results, always work on a CSV fileexported with the option above.

    Simbol's Descriptionsallows to assign a description to each symbol available in a given standard. Thisdescription will appear associated to each icons in the menu used to place the symbols. The description is

    loaded in a table with the fixed name PID_DES.DBF placed in the directory of the corresponding standard.Selecting this options the following window opens:

    With the Browse / Modifybutton the descriptions are loaded. Block Uopdate automatically syncronizesthe directory and the table content.

    Description Blocks allows to automatically preload a text in each attribute of the Description Blocks(used for equipments) when inserted in the diagram. These texts are associated to the Data Sheet namecorresponding to each equipment. Selecting this options the following window opens: The System

    With the Browse / Modifynew texts can be added.

  • 7/26/2019 Pide 2015P

    55/69

    EPLANT-P&IDProcess and Instrumentation Diagrams and Reports

    User Manual___________________________________________________________________________________

    55

    Import Setup from Another Project This command allows to import the structure of all project tablesfrom another project. The Project Setup can be imported as well.

    MTO for Piping allows the automatic generation of piping materials associated to all P&IDs. Thegenerartion process works in this way:

    - Each valve, fitting or instrument block is translated to the equivalent EPLANT-Piping Generic Code,using an equivalence table. The component is generated with the unit quantity and the line name,piping class, main and secundary diameters are obtained from the diagram.

    - For each piping line a component with the PIP (pipe) code is generated with the main diameter, pipingclass and line number. The quantity (its length) is set to zero, to be manually modified later on directlyin the EPLANT-Piping module.

    - Each generated component is searched in the corresponding project piping class. If the component isfound, the remaining characteristics (end codes, rating, schedule, material code, additional code) arecompleted, otherwise it is stored in a separated error table to allow analizing the error later.

    - Each valve having flanged ends automatically generates two corresponding flanges. The flange issearched for in the valve piping class as welding neck type (WNF code). If not found it is searchedagain as slip on type (SLI flange). The first one found is generated, otherwise the error is stored in theerror table.

    - Each PIP component activates the generation of an elbow, in the same fashion of the flangegenerat