SPPID Install Guide.pdf

130
SmartPlant P&ID Installation and Upgrade Guide Version 2009 (SP-P&ID 6.0 and SPEM 6.1) January 2009 DPID2-PE-200014O

Transcript of SPPID Install Guide.pdf

Page 1: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 1/130

SmartPlant P&ID

Installation and Upgrade Guide

Version 2009 (SP-P&ID 6.0 and SPEM 6.1) January 2009 DPID2-PE-200014O

Page 2: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 2/130

Copyright

Copyright © 1999-2009 Intergraph Corporation. All Rights Reserved.

Including software, file formats, and audiovisual displays; may be used pursuant to applicable software license agreement; containsconfidential and proprietary information of Intergraph and/or third parties which is protected by copyright law, trade secret law, andinternational treaty, and may not be provided or otherwise made available without proper authorization from Intergraph Corporation.

U.S. Government Restricted Rights Legend

Use, duplication, or disclosure by the government is subject to restrictions as set forth below. For civilian agencies: This was developed at private expense and is "restricted computer software" submitted with restricted rights in accordance with subparagraphs (a) through (d) of theCommercial Computer Software - Restricted Rights clause at 52.227-19 of the Federal Acquisition Regulations ("FAR") and its successors,and is unpublished and all rights are reserved under the copyright laws of the United States. For units of the Department of Defense ("DoD"):This is "commercial computer software" as defined at DFARS 252.227-7014 and the rights of the Government are as specified at DFARS227.7202-3.

Unpublished - rights reserved under the copyright laws of the United States.Intergraph CorporationP.O. Box 240000Huntsville, AL 35813Street address: 170 Graphics Drive, Madison, AL 35758

Terms of Use

Use of this software product is subject to the End User License Agreement and Limited Product Warranty ("EULA") delivered with thissoftware product unless the licensee has a valid signed license for this software product with Intergraph Corporation. If the licensee has a

valid signed license for this software product with Intergraph Corporation, the valid signed license shall take precedence and govern the use ofthis software product. Subject to the terms contained within the applicable license agreement, Intergraph Corporation gives licensee permission to print a reasonable number of copies of the documentation as defined in the applicable license agreement and delivered with thesoftware product for licensee's internal, non-commercial use. The documentation may not be printed for resale or redistribution.

Warranties and Liabilities

All warranties given by Intergraph Corporation about equipment or software are set forth in the EULA provided with the software orapplicable license for the software product signed by Intergraph Corporation, and nothing stated in, or implied by, this document or itscontents shall be considered or deemed a modification or amendment of such warranties. Intergraph believes the information in this

 publication is accurate as of its publication date.

The information and the software discussed in this document are subject to change without notice and are subject to applicable technical product descriptions. Intergraph Corporation is not responsible for any error that may appear in this document.

The software discussed in this document is furnished under a license and may be used or copied only in accordance with the terms of thislicense. No responsibility is assumed by Intergraph for the use or reliability of software on equipment that is not supplied by Intergraph or itsaffiliated companies. THE USER OF THE SOFTWARE IS EXPECTED TO MAKE THE FINAL EVALUATION AS TO THEUSEFULNESS OF THE SOFTWARE IN HIS OWN ENVIRONMENT.

Intergraph is not responsible for the accuracy of delivered data including, but not limited to, catalog, reference and symbol data. Users shouldverify for themselves that the data is accurate and suitable for their project work.

Trademarks

Intergraph, the Intergraph logo, PDS, SmartPlant, SmartMarine, FrameWorks, I-Convert, I-Export, I-Sketch, IntelliShip, INtools, ISOGEN,MARIAN, SmartSketch, SPOOLGEN, SupportManager, and SupportModeler are trademarks or registered trademarks of IntergraphCorporation or its subsidiaries in the United States and other countries. Microsoft and Windows are registered trademarks of MicrosoftCorporation. MicroStation is a registered trademark of Bentley Systems, Inc. Other brands and product names are trademarks of theirrespective owners.

Page 3: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 3/130

 

SmartPlant P&ID Installation and Upgrade Guide i

Contents

Welcome to SmartPlant ............................................................................................................................. 1 

Installation Checklist.............................................................................................................................. 1 

Introducing SmartPlant P&ID................................................................................................................ 1 

SmartPlant P&ID Program Group................................................................................................... 2 

SmartPlant Engineering Manager .......................................................................................................... 3 

SmartPlant Engineering Manager Program Group.......................................................................... 3 

Internationalization.................................................................................................................................... 5 

Hardware and Software Recommendations............................................................................................. 7 

SmartPlant P&ID Database Server ........................................................................................................ 7 

SmartPlant P&ID Workstation............................................................................................................... 8 

Installing the Software ............................................................................................................................. 11 

Setting up the Database............................................................................................................................ 11 

Oracle Installation and Configuration.................................................................................................... 12 

Configure Oracle Networking Components......................................................................................... 12 

Oracle Installation Workflow............................................................................................................... 13 

Installing Oracle Database Server ........................................................................................................ 13 

Install Oracle 10.2.0.4 Database Server......................................................................................... 13 

Create an Oracle Listener..................................................................................................................... 14 

Creating an Oracle Instance ................................................................................................................. 14 

Requirements for Oracle Instance Creation................................................................................... 15 

Create a New Oracle 10.2.0.4 Instance.......................................................................................... 15 

Installing Oracle Client ........................................................................................................................ 18 

Installing Oracle 10.2.0.4 Client Prerequisites .............................................................................. 19 

Install Oracle 10.2.0.4 Client......................................................................................................... 19 

Register DLLs with RegSrv32 ............................................................................................................. 19 

Oracle Tuning Recommendations........................................................................................................ 20 

Microsoft SQL Server Installation and Configuration ......................................................................... 21 

Modify Logon Information for SQL Server Services .......................................................................... 22 

SQL Server 2005 Database Server Installation.................................................................................... 23 

Configure SQL Server 2005 Database Server ............................................................................... 24 

Set Database Maintenance Options for SQL Server 2005............................................................. 25 

Run DBCC Utility Options for SQL Server 2005 ......................................................................... 26 

Update Statistics for SQL Server 2005.......................................................................................... 26 

Page 4: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 4/130

Contents

ii SmartPlant P&ID Installation and Upgrade Guide

Installing SQL Server Client................................................................................................................ 26 

Install SQL Server 2005 Client...................................................................................................... 27 

Loading SmartPlant P&ID Prerequisite Software ................................................................................ 31 

Install SmartPlant 3D Piping Specification Remote Access Client ..................................................... 31 

Installing the SmartPlant P&ID Software.............................................................................................. 31 

Grant Permissions to Write to a Registry Key ..................................................................................... 31 

Install SmartPlant Engineering Manager ............................................................................................. 32 

Install SmartPlant P&ID ...................................................................................................................... 33 

Uninstall a Previous Version of SmartPlant Engineering Manager ..................................................... 34 

Uninstall a Previous Version of SmartPlant P&ID .............................................................................. 35 

Install SmartPlant Reference Data ....................................................................................................... 35 

Configuring Reference Data for SmartPlant P&ID.............................................................................. 36 

Installing SmartPlant P&ID in Silent Mode......................................................................................... 36 

Install SmartPlant P&ID in Silent Mode.............................................................................................. 37 

Working in Thin Client Mode ................................................................................................................. 41 

Overview.............................................................................................................................................. 41 

Comparison of Thin Client Mode and SmartPlant P&ID Workshare.................................................. 41 

Tuning the Software for Use in Thin Client Mode .............................................................................. 42 

Publish the SmartPlant Application ..................................................................................................... 42 

Configure Citrix Presentation Server 4.5 ............................................................................................. 43 

Terminal Server Logon Sequence........................................................................................................ 43 

Upgrading to SmartPlant P&ID 2009..................................................................................................... 45 

Correcting Database Constraint Violations.......................................................................................... 45 

Generate a Database Constraint Exceptions Report ...................................................................... 46 

Using Constraint Utilities .............................................................................................................. 47 

Before Running the Upgrade Utility .................................................................................................... 50 

Back Up Your Data ....................................................................................................................... 50 

Share Paths to Site .INI Files......................................................................................................... 50 

Set Oracle Parameters.................................................................................................................... 50 

Memory Management Considerations........................................................................................... 51 

Using the SmartPlant Engineering Manager Upgrade Utility.............................................................. 53 

Upgrading a Site ............................................................................................................................ 54 

Upgrade a Plant ............................................................................................................................. 54 

Upgrade SmartPlant P&ID ............................................................................................................ 56 

Upgrade Utility Commands........................................................................................................... 59 

After Running the Upgrade Utility....................................................................................................... 61 

Backup Each Upgraded Plant ........................................................................................................ 61 

Use Oracle Analyzer Scripts.......................................................................................................... 61 

Preserve Software Customizations ................................................................................................ 61 

Making Manual Changes............................................................................................................... 62 

Upgrading Reference Data................................................................................................................... 62 

Upgrade Reference Data................................................................................................................ 63 

Page 5: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 5/130

  Contents

SmartPlant P&ID Installation and Upgrade Guide iii

Updating Drawings .............................................................................................................................. 64 

Update Command (File > Out-of-Date Drawings Menu).............................................................. 64 

Resolve Command (File > Out-of-Date Drawings > Update Drawings Menu)............................ 66 

Out-of-Date Drawing Criteria Command (Tools Menu)............................................................... 67 

Configuring SmartPlant Engineering Manager .................................................................................... 69 

Working with Database Schemas......................................................................................................... 69 

Understanding Default Database User Names .............................................................................. 70 

Working with Data Dictionaries.................................................................................................... 72 

Using Default Settings................................................................................................................... 75 

Creating Network Shares ..................................................................................................................... 81 

Site Administrator User Group ............................................................................................................ 82 

Create a User Group ...................................................................................................................... 82 

Add Users to the Administrators Group ........................................................................................ 84 

Grant Network Access Privileges.................................................................................................. 84 

 Novell Networking and User Groups ............................................................................................ 85 

Change the Site Administrator User Group................................................................................... 86 

 New Site Administrator Group Dialog Box .................................................................................. 87  New Site Server Wizard....................................................................................................................... 88 

 New Plant Structure Wizard................................................................................................................. 89 

Associate Applications Wizard ............................................................................................................ 89 

Create a New Role ............................................................................................................................... 90 

User Access................................................................................................................................................ 91 

Overview.............................................................................................................................................. 91 

SmartPlant Engineering Manager Rights............................................................................................. 92 

SmartPlant P&ID Access Rights.......................................................................................................... 94 

SmartPlant P&ID Access Rights Examples .................................................................................. 98 

Customizing Your Reference Data........................................................................................................ 103 

Customizing Reference Data Options................................................................................................ 103 

Working with Filters .......................................................................................................................... 103 

Working with Formats ....................................................................................................................... 103 

Working with Symbols and Labels .................................................................................................... 104 

Modifying Data Model Properties...................................................................................................... 104 

Synchronizing Reference Data........................................................................................................... 104 

Establishing Design Rules.................................................................................................................. 105 

Configuring Border Templates .......................................................................................................... 105 

SmartPlant P&ID Delivered Templates....................................................................................... 106 

Edit Delivered Templates ............................................................................................................ 107 

Create a Border Template............................................................................................................ 108 

Using SmartPlant P&ID in Production ................................................................................................ 109 

Start SmartPlant P&ID....................................................................................................................... 109 

Tips for Creating a P&ID Drawing.................................................................................................... 109 

Recreating Drawings.......................................................................................................................... 110 

Filtered Printing ................................................................................................................................. 111 

Page 6: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 6/130

Contents

iv SmartPlant P&ID Installation and Upgrade Guide

Working with SmartPlant Integration ................................................................................................. 113 

Overview............................................................................................................................................ 113 

Registering Tools ............................................................................................................................... 114 

Preparing the Integrated Environment ............................................................................................... 114 

Tool Requirements for Integrating SmartPlant P&ID........................................................................ 115 

General Integration Requirements............................................................................................... 115 

Working with SmartPlant Instrumentation.................................................................................. 116 

Working with SmartPlant 3D ...................................................................................................... 117 

Working with Zyqad.................................................................................................................... 117 

Using Workshare in an Integrated Environment ......................................................................... 117 

Using the Catalog Index in SmartPlant P&ID and SmartPlant Integration................................. 118 

Mapping for SmartPlant Integration .................................................................................................. 119 

Using Custom Hierarchies ................................................................................................................. 119 

Register Command (SmartPlant Menu) ............................................................................................. 120 

Index ........................................................................................................................................................ 121 

Page 7: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 7/130

 

S E C T I O N 1

Welcome to SmartPlant

The Intergraph SmartPlant family of process industry solutions is an open line ofdiscipline-specific software tools that provide an integrated solution for the entire plant lifecycle. Knowledge-based, intuitive, easy-to-use, accessible, flexible, and data-driven, SmartPlantsupports global workflows. The software enables users to create logical and physical definitionsof the plant model and enables access to plant data from conceptual design to decommissioning.

SmartPlant is the fulfillment of the Intergraph vision to speed and improve the creation ofinformation and to provide this data to multiple users at any moment in the appropriate form.Workflows are compressed, reducing production time, lowering costs, enhancing globalexecution, and extending the life and usability of plant information.

The successor to the Intergraph Plant Design System (PDS), SmartPlant includes expanded

functionality for front-end engineering and design (FEED), construction, operation, andmaintenance phases.

Installation Checklist

For the recommended installation workflow, see the SmartPlant P&ID Installation Checklist :

(SPPIDInstall_Checklist.xls), delivered during product setup to the \ProgramFiles\SmartPlant\P&ID Workstation\Program\resdlls\0009\ folder.

Introducing SmartPlant P&ID

SmartPlant P&ID creates intelligent P&IDs by populating the database with relevant plant data.This method provides valuable information throughout the plant life cycle. As a data-centric,rule-based solution for the P&ID life cycle, SmartPlant P&ID helps users improve designquality, data consistency, and standards compliance. With quick access to supportingengineering data, SmartPlant P&ID significantly cuts design and modification time and increasesaccuracy with its exclusive data-centric approach and use of design rules, automatic checks, anddrag-and-drop capabilities.

SmartPlant P&ID is vastly different from graphic-driven P&ID solutions of today. All data fromthe P&ID is stored in the plant database and adheres to plant standards. The graphicalrepresentation of the P&ID is a view or a report of the data. The strong data import and exportfacilities of SmartPlant P&ID allow users to populate the system with relevant plant data, such

as process data from process simulation databases based on Aspen Zyqad from AspenTechnologies, Inc. or equipment and line lists. You can then use this information in theSmartPlant P&ID Stockpile to design the P&ID.

SmartPlant P&ID Installation and Upgrade Guide 1

Page 8: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 8/130

Welcome to SmartPlant

2 SmartPlant P&ID Installation and Upgrade Guide

The rule-based and automation capabilities of SmartPlant P&ID also differentiate it from otherP&ID systems. SmartPlant P&ID features a comprehensive, user-definable rule-based systemthat assists the engineer during the design phase of the plant and subsequent life cycle phases.Data is entered directly into the database; rules are executed; and feedback is immediate. Thedesign rule-base confirms data consistency and compliance with plant and engineering

standards, allowing faster, more efficient design with less iteration.SmartPlant P&ID incorporates the latest Microsoft technologies, such as OLE automation, to provide integration with existing data and other systems. Running on various MicrosoftWindows operating system platforms, SmartPlant P&ID does not require a traditional, expensiveCAD engine for P&ID creation. The open architecture of SmartPlant P&ID permits integrationwith other systems, such as Intergraph PDS, SmartPlant Instrumentation, and Aspen Zyqad, allof which allow users to share data with third-party software.

SmartPlant P&ID Program Group

SmartPlant P&ID provides multiple views of a central, unified data structure that represents the plant model. A view is a visual presentation of the data in the plant model and can be a

schematic drawing or a table. The plant model is the computer representation of the conceptualdesign, including all plant components and their relationships. By manipulating model views,you can organize the information within the plant model to better understand and maintain thedata.

SmartPlant P&ID has several programs and utilities for running and managing your plant data.

SmartPlant P&ID provides the design environment for SmartPlantP&ID drawings.

SmartPlant P&ID Drawing Manager allows you to create anddelete drawings, manage drawing versions, and print multipledrawings. Drawing Manager also allows you to perform Workshareand project-specific commands.

SmartPlant P&ID Insulation Specification Manager allows you tocreate and modify lookup tables for insulation specifications andthicknesses.

SmartPlant P&ID Options Manager defines plant-wide graphicstandards for symbology, gapping, heat tracing, and formats.Options Manager also defines paths to SmartPlant P&ID files anddirectories.

SmartPlant P&ID Rule Manager defines rules for placement and property copying on placement.

SmartPlant Engineering Manager performs higher-level data management tasks, such asspecifying user permissions, designing plant hierarchies, and so forth. For more informationabout SmartPlant Engineering Manager, see the SmartPlant Engineering Manager User's Guideand the appropriate sections of this guide. 

Page 9: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 9/130

 

S E C T I O N 2

SmartPlant Engineering Manager

SmartPlant Engineering Manager provides all the tools you need to effectively set up andmanage your work with SmartPlant applications. SmartPlant Engineering Manager takesadvantage of a client/server design that greatly enhances performance and lowers the cost ofownership. Because it is built on few Microsoft dependencies and is not web-based, SmartPlantEngineering Manager requires no web server. The intuitive user interface design, with itsstreamlined layout, allows you to easily manage user access and to share plant data.

Supporting SmartPlant P&ID, SmartPlant Instrumentation, and SmartPlant Electrical,SmartPlant Engineering Manager manages the plant structures while the applications themselvesare responsible for manipulating the actual data (including creating, deleting, modifying,launching, and so forth). SmartPlant Engineering Manager allows you to view not only the datarelated to the whole site but also data related to individual plants and projects. You can createand maintain SmartPlant Engineering sites, plant structures and projects, in addition to adding

 plant group types, modifying plant attributes, creating and modifying hierarchies, andassociating SmartPlant applications.

SmartPlant Engineering Manager Program Group

The SmartPlant Engineering Manager program group provides several utilities for managingyour plant data.

SmartPlant Engineering Manager allows you to create theSmartPlant site and plants. You can create plant structures, plantgroups, hierarchy templates, as well as define the access to plantdata on many levels.

Catalog Manager allows you to create and modify symbols andlabels.

Data Dictionary Manager allows you to add properties toSmartPlant database tables, define external programs, viewrelationships, and create and modify select lists.

Data Dictionary Template Comparison Utility allows you todetermine the differences between two data dictionary template filesor between one data dictionary template file and the correspondingdata dictionary/schema from a plant.

Filter Manager allows you to create and modify filters to

discriminate on database data. Filters are used for displaying datain symbology, gapping, graphical views, reports, rules, and so forth.

Format Manager defines available formats for units of measure properties.

Refresh Site Roles Utility allows you to automatically refresh theroles in a site on a scheduled basis.

SmartPlant P&ID Installation and Upgrade Guide 3

Page 10: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 10/130

Welcome to SmartPlant

4 SmartPlant P&ID Installation and Upgrade Guide

Reference Data Synchronization Manager provides tools forcomparing, synchronizing, and managing reference data acrossmultiple plants. Used in conjunction with the Update Drawings functionality in Drawing Manager, this application is especiallyuseful when you need to maintain a central set of reference data for

all plants across a site without having a network or databaseconnection between plants.

Upgrade Utility guides you through upgrading your SmartPlantEngineering data.

Page 11: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 11/130

 

S E C T I O N 3

Internationalization

Supporting internationalization in a homogeneous environment is one of the enhancementsavailable in SmartPlant Enterprise. A homogeneous environment uses elements from only asingle locale. For example, a German customer running on a German operating system usingonly German characters and German cultural conventions is a fully supported homogeneousenvironment configuration.

Homogeneous Environments

When starting a new project, use extra care during installation and configuration to ensure the proper creation and maintenance of homogeneous environments:

All the computers (servers and clients) within an integrated SmartPlant Enterprise

implementation must have the same regional settings, and no one should change the regionalsettings after the project has started.

Do not cross the decimal locale boundary. This is the most common cause of numeric datacorruption and calculation errors. Having users with different regional settings (like with a period versus a comma for the decimal point) causes the software to interpret valuesunpredictably. For example, a pipe run with a pressure of 35.3 psi can be read by thesoftware as 353 psi to the user with different regional settings. A cable length defined as 39ft 11,21 inches has been interpreted as 121718910971323 meters when published to an XMLfile. These incorrect interpretations may be used in internal software calculations and can beimpossible to backtrack or correct. Do not change the decimal point character to try to solvean issue. Doing so will only corrupt values in the database or in text files.

Do not cross the character-set locale boundary. For example, the character set boundary between Western (Latin-based) and Eastern Europe (Cyrillic-based), or between EasternEurope and Japan.

Create Oracle databases using AL32UTF8 for the database character set and AL16UTF16for the NLS character set.

 Never modify the NLS_LANG registry entry on an Oracle client. Doing so causes thecharacter data not to convert to Unicode.

Create Microsoft SQL Server databases with locale-specific collation settings and ensurethat all databases have the same setting.

Heterogeneous Environments

In contrast, a heterogeneous environment using elements from different, or even multiplelocales, is not supported. Many customers are currently operating in unsupportedheterogeneous environments and are often not aware of that fact. Examples of heterogeneousenvironments:

Entering or viewing Japanese data on an US/English operating system

Using German Regional Settings (where the decimal point is a comma) on a US/Englishoperating system

SmartPlant P&ID Installation and Upgrade Guide 5

Page 12: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 12/130

Internationalization

6 SmartPlant P&ID Installation and Upgrade Guide

Using databases with different character encodings such as CL8MSWIN1251 or JA16SJIS

Using multiple languages in a project, especially when crossing language-group boundaries

Using an English server with different local language clients

International / Bi-lingual Projects

International bi-lingual projects are possible; however, great care must be used when configuringthese environments. Limitations exist and must be properly understood:

Oracle and MS SQL Server databases can reside on any language operating system, as longas the databases have been created and configured with proper Unicode and collationsettings.

All Microsoft operating systems (Japanese, Russian, German, and so forth) can enter Englishcharacters. The reverse, however, is not true in most cases.

Keyboard-locale can be changed as long as a character-set and code- page boundary is notcrossed. For example, English, German, French, and Spanish characters can all be used inthe same project because the same Windows code-page (1252) is used. However, Russian

characters (code-page 1251) cannot be used in a US/English environment. You must decide which language operating system will be the master for bi-lingual projects.

The following is an example of a Russian-based project:

Companies in the United States and the United Kingdom are working a project with a Russiancompany and the deliverables (drawings, reports, and so forth) must ultimately be provided inRussian. The companies in the U.S. and the U.K. are working the project using the "master"Russian operating systems (possibly using virtual Russian operating systems running onVMware Workstation). The U.S. and U.K. companies can install and use English MicrosoftOffice products on the Russian operating system because Office products are globally enabled. Ifa Russian interface exists for the SmartPlant Enterprise application, then Russian users can usethe Russian interface while the English-speaking users would continue to use the US/English

interface. English-speaking engineers can enter English characters. Russian-speaking engineerscan enter Russian characters.

However, because the Russian locale uses different decimal and character-set locales, everyone(English and Russian engineers) must use the Russian decimal symbol which is a comma. Forcustomization purposes, databases can be modified to accommodate new Russian-specificrequirements (fields, properties, and so forth.) Using filters, display sets, and other softwarefeatures, bi-lingual projects can be further customized. Graphic data, reports, and so forth can becreated in either or both languages.

Do not change regional settings to reflect a U.S. environment in order to resolve problems in a non-US/English homogeneous configuration. Doing this creates a heterogeneousconfiguration that will cause other possibly hidden problems that cannot be corrected. Everyone

working on a project must use the same regional settings and character set throughout the life ofthe project.

Questions and Assistance

Please contact your support representative for assistance.

Page 13: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 13/130

 

S E C T I O N 4

Hardware and Software

RecommendationsBefore beginning an installation of the SmartPlant software, verify that your servers meet thefollowing requirements. These requirements assume that the SmartPlant software is not installedon the database server. You can install the SmartPlant software on the database server if youwant to, but we do not recommend it.

SmartPlant Engineering Manager may be installed on its own workstation or it can run on thesame computer with other engineering applications, such as SmartPlant P&ID or SmartPlantElectrical.

The SmartPlant database management server installation was certified on 64-bit hardwarewith a 64-bit operating system (Windows Server 2003) and 64-bit database software. The clientmachine installation was certified on 64-bit hardware with a 64-bit operating system and 32-bitdatabase software.

SmartPlant P&ID Database Server

Hardware Recommendations

2.4 GHz Pentium processor

2 GB RAM (or more for a large database) For all installations, DVD drive access, either locally or through a network connection

Supported Operating Systems

Microsoft Windows Standard Server 2003 Service Pack 2 (32-bit and 64-bit)

Microsoft Windows Enterprise Server 2003 Service Pack 2 (32-bit and 64-bit)

SmartPlant P&ID Installation and Upgrade Guide 7

Page 14: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 14/130

Hardware and Software Recommendations

8 SmartPlant P&ID Installation and Upgrade Guide

Microsoft Windows Enterprise Server 2003 R2 Service Pack 2 (32-bit and 64-bit)

The operating system must be installed in the account where you have administrator privileges.

Supported Database Servers

Microsoft SQL Server 2005 Service Pack 2 (32-bit and 64-bit)

Oracle Database 10g Release 2 (10.2.0.4 — 32-bit and 64-bit)

Recommended Disk Space

Oracle 10g Software SQL Server 2005 Software SmartPlant Engineering ManagerSoftware

OracleServerinstallation

2 GB SQL Server2005installation

1 GB Initial SmartPlantEngineering Managerdatabase

250 MB

Initial Oracleinstance

500 MB SQL ServerTemporarydatabase

100 MB

Total: 2.5 GB  Total: 1.1 GB  Total: 0.25 GB 

Software Prerequisites

Adobe® Reader 8.0 (required to view the Software License Agreement and PrintableGuides).

Microsoft Data Access Components (MDAC) 2.8 Service Pack 1 (MDAC 2.8 is delivered as part of Microsoft Windows XP Service Pack 3).

Microsoft .NET Framework 2.0

SmartPlant P&ID Workstation

Hardware Recommendations

2 GHz Pentium IV processor or higher

2 GB RAM

DVD drive access, either locally or through a network connection

Windows supported printer access, either locally or through a network connection

Supported Operating Systems

Microsoft Windows XP Professional Service Pack 3 (32-bit)

Microsoft Vista Business Client 1.0 Service Pack 1 (32-bit)

Page 15: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 15/130

  Hardware and Software Recommendations

SmartPlant P&ID Installation and Upgrade Guide 9

Supported Database Clients

Microsoft SQL Server 2005 Service Pack 2

Oracle 10g Client Release 2 (10.2.0.4)

Do not use Oracle 'light client' as it does not include some of the required .dll files.

The client database software must be of the same version as the server database software.

Recommended Disk Space

Oracle 10g Software SQL Server 2005 Software SmartPlant Software

Oracle Clientinstallation

1 GB SQL Server2005 Clientinstallation

100 MB SmartPlant EngineeringManager 2009 (fullinstallation)

250 MB

SmartPlant P&ID 2009 (fullinstallation)

250 MB

SmartPlant SchemaComponent

25 MB

SmartPlant Client 30 MB

Total: 1 GB  Total: 0.1 GB  Total: 0.55 GB 

Software Prerequisites

Adobe® Reader 8.0 (required to view the Software License Agreement and PrintableGuides).

SmartPlant License Manager 2009 (10.00.05.00). The licensing is delivered on its own CDthat comes with your SmartPlant P&ID product CD.

Microsoft Internet Explorer 7.0 (required for viewing the online documentation deliveredwith the software)

Microsoft XML Core Services (MSXML) 6.0 Service Pack 1

Microsoft .NET Framework 2.0

Microsoft Data Access Components (MDAC) 2.8 Service Pack 1 (MDAC 2.8 is delivered as part of Microsoft Windows XP Service Pack 3).

Microsoft Office 2003 or 2007 (Microsoft Excel is required for working with reporttemplates and for viewing the Installation Checklist and various other files).

SmartPlant 3D Piping Specification Remote Access Client, Version 01.00. The PipingSpecification Client software is required for using SmartPlant 3D specifications in theSmartPlant P&ID Piping Specification Utility and is available on the SmartPlant P&ID product CD.

Page 16: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 16/130

Hardware and Software Recommendations

10 SmartPlant P&ID Installation and Upgrade Guide

Optional Software

Apart from SmartSketch, the following software programs are not Intergraphcorporation software and are owned by third parties. It is the responsibility of the customer toselect in its sole discretion the applicable third party software customer desires to use to generatereports and Intergraph makes no recommendation as to the choice of said third party software.

Customer is responsible for obtaining a valid license to use said third party software from theowner of said third party software and to pay any license fees to the owner of said third partysoftware for the use of said third party software. INTERGRAPH DISCLAIMS AND MAKES NO WARRANTY EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OFMERCHANTABILITY OR THE WARRANTIES OF FITNESS FOR A PARTICULARPURPOSE IN REGARDS TO SAID THIRD PARTY SOFTWARE.

For working in a Citrix environment, Citrix Presentation Server 4.5

SmartSketch 2007 (5.0) or similar graphical editor (used for editing border template files)

SmartSketch 2009 is not compatible with SmartPlant P&ID 2009. If you haveinstalled SmartSketch 2009 on the same machine as the SmartPlant P&ID 2009 installation andyou open a SmartPlant P&ID 2009 drawing file using SmartSketch 2009 (note that this is not a

recommended workflow, as you should open the file using SmartPlant P&ID instead), you mustsave the file as an earlier version of SmartSketch to be able to work with the file in SmartPlantP&ID.

In addition, if you create a symbol using SmartSketch 2009 (instead of Catalog Manager 2009),you must save the file as an earlier version of SmartSketch before importing the symbol file intoCatalog Manager.

Page 17: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 17/130

 

S E C T I O N 5

Installing the Software

This section describes how to set up your database and install SmartPlant Engineering Manager,SmartPlant P&ID and supporting software. Before you begin installing the software, verify thatthe computers on which the software components will be installed meet the requirementsdescribed in SmartPlant Engineering Manager Hardware and Software Recommendations (see"Hardware and Software Recommendations" on page 7).

The Open Database functionality, incorporated into all parts of the SmartPlant software, allowsyou to install pieces of the software on several different workstations. You do not have tomaintain a server for just SmartPlant Engineering Manager. For example, you can installSmartPlant Engineering Manager and its related managers on one workstation, SmartPlant P&IDand its related managers on another, and the reference data on yet another workstation or fileserver. You could install all of the SmartPlant software on one workstation, or you could install

SmartPlant Engineering Manager on one workstation, SmartPlant Catalog Manager on anotherworkstation, and the remaining SmartPlant software on another workstation.

Setting up the Database

Installing any database involves significant decisions regarding the size of the database, themaximum number of users, the frequency of automatic backups, and other important issues.Therefore, the following sections provide only suggestions for tuning your databaseconfiguration to work with SmartPlant software. The ultimate database creation andconfiguration depends on the policies and standards at your company.

SmartPlant Engineering Manager includes a number of deferrable database constraints, whichare rules used to ensure database integrity by checking values at the time the information iswritten to the database. If all of the information does not fall within these embedded constraints,the information is not written to the database, and the software rolls back the transaction.

These deferrable database constraints are applied only when you use an Oracle database;SQL Server does not support them.

SmartPlant P&ID Installation and Upgrade Guide 11

Page 18: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 18/130

Oracle Installation and Configuration

12 SmartPlant P&ID Installation and Upgrade Guide

Oracle Installation and Configuration

Because system configurations, database software, and individual company standards vary, use

this section as a checklist instead of step-by-step instructions. Please contact IntergraphCustomer Support  (http://support.intergraph.com) for specific configuration questions.

Oracle Instances

If one server hosts the databases of several products, Intergraph recommends that each product'sdatabase be a separate instance, each of which can host multiple plants.

The advantage of placing each product's database its own instance is that only the affectedapplication will be off-line during backup, performance tuning, and other database maintenanceactivities. Additionally, global tuning parameters that apply to one instance can be tailored to thespecific product requirements.

According to Oracle documentation, the only limit to the number of instances you can have onany machine is the availability of resources. However, the number of instances on one databaseserver should be minimized, because each additional instance puts additional load on the server.

Each instance adds redundant tablespaces, rollback segments, background processes, andmemory requirements for each SGA (System Global Area). For this reason, you should start by putting the database of one product for several plants into a single instance. Then, when thenumber of plants increases, or a plant becomes very large, consider separating the database intonew instances, adding server memory, or even adding database servers.

We recommend installing and configuring Oracle locally, not by remote desktop connection.

Oracle recommends that database activity on the database server consume no more than 50 percent of the available memory.

Configure Oracle Networking Components

Oracle Net combines configuration abilities with component control to provide an integratedenvironment for configuring and managing client connections to services via a net service name.SmartPlant Engineering Manager and P&ID use the Oracle Net service to establish and maintainnetwork sessions from client applications to the Oracle database server. After a network sessionis established, this utility acts as a data courier for the client application and the database server.

See the Oracle Net Services Administrator's Guide and the Oracle Net Services Reference Guide in your Oracle documentation for more information about using this utility and creating net

service name connections. If you follow the procedures provided to Install Oracle ServerSoftware (Basic Installation for Enterprise Edition) and Install Oracle Client Software, theOracle Networking Components should be configured correctly.

Page 19: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 19/130

  Oracle Installation and Configuration

SmartPlant P&ID Installation and Upgrade Guide 13

For SmartPlant P&ID to access the database, you must load and configure Oracle Net

Services on the database server and on each end-user SmartPlant workstation. If SmartPlantEngineering Manager is installed on the database server, you must load and configureOracle Net Services on that server, in addition to the Oracle TCP/IP Protocol Adapter.

If SmartPlant Engineering Manager is installed on a workstation other than the databaseserver, you must load the Net Services and the Oracle TCP/IP Protocol Adapter on theSmartPlant Engineering Manager computer. You must also load the Net Services and theOracle TCP/IP Protocol Adapter on the Oracle database server.

Net Manager is installed with the Net Services software and allows you to create a database Net Service Name, which SmartPlant uses to communicate with the database.

The version of Net Services must be the same on all computers.

Oracle Installation Workflow

The following workflow is necessary for installing Oracle for use with SmartPlant P&ID.

 Installing Oracle Database Server  (on page 13)

Create an Oracle Listener  (on page 14)

Creating an Oracle Instance (on page 14)

 Installing Oracle Client  (on page 18)

Installing Oracle Database Server

The following editions of Oracle Database Server are available:

Standard Edition (for minimum installation)

Enterprise Edition

You should refer to your Oracle Installation Guide for detailed instructions on installing Oracle.

Install Oracle 10.2.0.4 Database Server

1. Start Oracle 10.2.0.4 Setup.

2. On the Select Installation Method page, click Basic Installation, and from the Installation

Type list, select one of the following:

Standard Edition — If the operating system is Windows 2003 Server.

Enterprise Edition — If the operating system is Windows XP.3. Clear the Create Starter Database check box and then click Next.

4. On the Product-Specific Prerequisite Checks page, ignore the Checking Network

Configuration requirements warning and click Next.

5. On the Warning dialog box, click Yes.

Page 20: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 20/130

Oracle Installation and Configuration

14 SmartPlant P&ID Installation and Upgrade Guide

6. If the OUI-10030 warning message appears, if the disk of the target folder has enoughspace, click Yes.

7. On the Summary page, click Install.

8. Complete the installation and then click Exit.

9. Restart the server machine.

Create an Oracle Listener

1. On the Start menu, click All Programs > Oracle – OraDb10g_home1 > Configuration

and Migration Tools > Net Configuration Assistant.

2. In the Oracle New Configuration Assistant Wizard, click Next until you reach the pageListener Configuration, Listener Name.

3. Define the listener name, for example, LISTENER  and click Next.

4. On the Listener Configuration, Select Protocols page, select TCP and click Next.

5. On the remaining Wizard pages, click Next and then click Finish to complete the listenercreation.

Creating an Oracle Instance

The Oracle instance is a workspace on the Oracle database server where Oracle keeps a singledatabase. You can create as many instances as required and, this way, append as many databasesas you need on a single database server. However, note that appending instances on your Oracledatabase server can slow down your work in the P&ID database located on that server.

You need to create a new instance in Oracle if you have an existing Oracle database serverwhose parameters do not comply with the parameters required to use P&ID on Oracle. This wayyou can append the P&ID database to existing Oracle databases on your Oracle database serverwithout losing your existing Oracle database information.

The instance creation process contains the following major steps:

1. Creating a new instance initialization file from an existing initialization file.

2. Modifying the database parameters in the new instance initialization file.

3. Modifying the Listener.ora file which Oracle will run when carrying out the instancecreation process.

4. Creating a new instance using the Database Configuration Assistant.

When creating an instance, Oracle takes-up some disk space. Therefore, you must have enoughfree disk space on the hard disk where the Oracle database is located to be able to create the newinstance. The disk usage is as follows:

Oracle instance environment — 50 MB recommended

Oracle instance after running Oracle DB Setup — 80 MB recommended

Oracle instance after initializing a domain — 150 MB recommended

See your Oracle User Guide for additional information about limitations on creation of instances.

Page 21: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 21/130

  Oracle Installation and Configuration

SmartPlant P&ID Installation and Upgrade Guide 15

Requirements for Oracle Instance Creation

Before creating an Oracle instance, make sure that you have Administrator's access rights in

 both your Oracle server database and the operating system installed on the server machine.If you still need to create an instance from the account in which you do not haveAdministrator's rights, and if your company's policy allows you to change the Oraclesecurity, you can do the following: in the Sqlnet.ora file, add the # symbol before theSqlnet.Authentication_Services = (NTS) parameter to comment it out. The defaultlocation of the Sqlnet.ora file will look similar to the following path:

\\<Oracle home folder>\Product\<Version*>\db_1\Network\Admin\(* An example of the 7.x folder name is 10.2.0)

Before starting an Oracle database you need to ensure that the RAM that this database occupiesdoes not exceed the available RAM on your server. You can calculate the amount of RAMneeded for the database by using the following Oracle parameters:

SHARED_POOL_SIZE (at least 10 MB)

DB_BLOCK_SIZE

LOG_BUFFER

SORT_AREA_SIZE

JAVA_POOL_SIZE and LARGE_POOL_SIZE are additional parameters that affect theRAM that the Oracle database occupies. These parameters appear if you select certain optionswhen running the Oracle Database Configuration Assistant using a custom installation type.

For the DB_BLOCK_SIZE parameter, make sure that the value is at least 8192.

As an alternative to the above calculation, you can use the following target parameters todetermine the maximum amount of RAM:

sga_target (at least 100 MB is recommended)

 pga_aggregate_target (at least 20 MB is recommended)

Create a New Oracle 10.2.0.4 Instance

Make sure that all passwords, user names, folders, and files of the new instance are differentfrom those of any existing instance.

All user names and passwords must use ASCII / English characters. Oracle does not supportnon-ASCII / English characters in user names or passwords and will not work. Thislimitation is an Oracle limitation, not Intergraph's.

1. On the Start menu, click All Programs > Oracle – OraDb10g_home1 > Configuration

and Migration Tools > Database Configuration Assistant.

2. On the Welcome page, click Next.

3. In the Database Configuration Assistant Wizard, click Next until you reach the page Step

2 of 12: Database Templates.

Page 22: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 22/130

Oracle Installation and Configuration

16 SmartPlant P&ID Installation and Upgrade Guide

4. Select Custom Database and click Next.

5. On the page Step 3 of 12: Database Identification, do the following:

a. In the Global Database Name box, define the database name, for example, PID10gdb.

 b. In the SID box, accept or modify the instance name that the software entersautomatically as you type the database name.

The database name and the instance name do not have to be the same.

c. On the page Step 4 of 12: Management Options, clear Configure the Database with

Enterprise Manager, and then, click Next.

6. On the page Step 5 of 12: Database Credentials, in the Password and Confirm Password  boxes, type the password, for example, Oracle.

The following terms are reserved and cannot be used as passwords: manager (reservedfor the SYSTEM user) and change_on_install (reserved for the SYS user).

7. Click Next until you reach the page Step 7 of 12: Database File Locations, and then do thefollowing:

a. Select Use Common Location for All Database Files. b. Specify the path and folder, for example, D:\oracle\.

c. Click Next.

8. On the page Step 8 of 12: Recovery Configuration, clear Specify Flash Recovery Data and click Next.

9. On the page Step 9 of 12: Database Content, do the following:

a. On the Database Components tab, clear all the check boxes.

 b. Click Standard Database Components, and then, on the Standard Database

Components dialog box, clear all the check boxes and click OK .

c. If prompted you to disable local database management, click Yes.d. On the Custom Scripts tab, click No scripts to run.

e. Click Next.

10. On the page Step 10 of 12: Initialization Parameters, on the Memory tab, do thefollowing:

a. Select Custom.

 b. Beside Shared Memory Management, select Automatic.

c. In the SGA Size box, enter 160 M Bytes.

d. In the PGA Size box, enter 60 M Bytes.

Page 23: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 23/130

  Oracle Installation and Configuration

SmartPlant P&ID Installation and Upgrade Guide 17

The recommended total memory for one Oracle 10g instance is 260 M Bytes.

e. Click the Character Sets tab and do the following:

i. Under Database Character Set, select Use Unicode (AL32UTF8).

ii. Under National Character Set, select AL16UTF16 (the default)

The same database character set and national character set values should also be

defined on your server. The Default Language and Default Date Format values will reflect locale-specific

information.

f. Accept the settings on the other tabs and click Next.

Page 24: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 24/130

Oracle Installation and Configuration

18 SmartPlant P&ID Installation and Upgrade Guide

11. On the page Step 11 of 12: Database Storage, if you intend to create a SmartPlantElectrical or SmartPlant P&ID database in the current Oracle database, change the data filesize of the TEMP and USERS tablespaces to 100 MB.

To change the size, double-click the field under Size.

12. Click Next.

13. On the page Step 12 of 12: Creation Options, click Finish.

14. On the Confirmation dialog box, click OK .

15. Restart the server machine.

Installing Oracle Client

The Oracle client provides P&ID with the means to interface with the Oracle database server.You install the Oracle client after you have completed the Oracle database server installation.You can install the Oracle client either on a file server or on the local station. If you install theOracle client on a station, make sure you have the appropriate access rights to the Oracledatabase server.

After the Oracle client installation process is complete, you proceed by installing P&ID. Beforeyou start the installation process, make sure that the machine (file server or local station) hasaccess to a CD-ROM drive. If your machine does not have access to a CD-ROM drive, youneed to copy all the installation files from the installation CD to your local hard disk.

Page 25: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 25/130

  Oracle Installation and Configuration

SmartPlant P&ID Installation and Upgrade Guide 19

Installing Oracle 10.2.0.4 Client Prerequisites

Make sure that your Oracle server version is 10.2.0.4.

Uninstall previous versions of Oracle client from the client machine where you want toinstall Oracle Client 10.2.0.4.

Set up your client Windows regional and language options as you require. You can only setup these options before the client installation. If you want to change the regional andlanguage options after the installation, you will have to reinstall the Oracle client for thechanges to take effect

After the client installation, you must not change any of the default values of the NLS_LANG parameter on the client.

Install Oracle 10.2.0.4 Client

1. Start the Oracle Universal Installer for Oracle client.

2. On the Select Installation Type page, from the list, select one of the following:

Administrator — For users who need Administrator functions, such as the ability tocreate tablespaces.

Runtime — For all other users.

3. On the Specify Home Details page, enter the name of the folder that will appear in the Start menu and the folder path for the installation.

The Start menu folder name is also the name given to the Oracle Home folder in theRegistry.

4. Clear the Create Starter Database check box and then click Next.

5. On the Product-Specific Prerequisite Checks page, click Next.

6. On the Summary page, click Install.7. On completion of the installation, when the Oracle Net Configuration Assistant opens, select

the Perform typical configuration check box.

8. On the Welcome page, click Next.

9. On the Oracle Net Configuration Assistant: Done page, click Finish.

10. Complete the installation and then click Exit.

11. Restart the client machine.

12. Create an alias to the Oracle database on the client machine using Oracle Net Manager.

The alias name can contain any alphanumeric characters without spaces.

Register DLLs with RegSrv32If you install Oracle Client on your SmartPlant workstation after installing SmartPlantEngineering Manager or P&ID software, the setup process will not register theigrOraspconnect.dll file. To rectify this, after you install Oracle Client, do the following:

1. From the Windows Control Panel, select Add/Remove Programs.

Page 26: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 26/130

Oracle Installation and Configuration

20 SmartPlant P&ID Installation and Upgrade Guide

2. From the list of programs on your computer, select Intergraph P&ID.

3. Click Change/Remove.

4. On the Setup Type page, select Add/Remove install components (in SmartPlant P&IDonly).

5. Select Repair.

Oracle Tuning Recommendations

We recommend using the following Oracle tools for optimizing your database performance withthe SmartPlant products.

OPTIMIZER_MODE Initialization Parameter

The OPTIMIZER_MODE initialization parameter establishes the default behavior forchoosing an optimization approach for the instance. This parameter can be set in theinitSIDname.ora or init.ora file to one of the following four values. For more information, seethe Oracle performance tuning documentation athttp://pbscrm.intergraph.com/pbs/sppid/Freeware/OracleAnalyzer.zip (http://pbscrm.intergraph.com/pbs/sppid/Freeware/OracleAnalyzer.zip).

CHOOSE — The optimizer chooses between a cost-based approach and a rule-based approach based on whether statistics are available for the CBO. If the data dictionary contains statistics forat least one of the accessed tables, then the optimizer uses a cost-based approach and optimizeswith a goal of best throughput. If the data dictionary contains no statistics for any of the accessedtables, then the optimizer uses a rule-based approach. This is the default value for the parameter.

ALL_ROWS — The optimizer uses a cost-based approach for all SQL statements in the sessionregardless of the presence of statistics and optimizes with a goal of best throughput (minimumresource use to complete the entire statement). If you are not gathering statistics on yourdatabase, we do not recommend using this setting.

FIRST_ROWS — The optimizer uses a cost-based approach for all SQL statements in thesession regardless of the presence of statistics and optimizes with a goal of best response time(minimum resource use to return the first row of the result set). If you are not gathering statisticson your database, we do not recommend using this setting.

RULE — The optimizer chooses a rule-based approach for all SQL statements regardless of the presence of statistics. If you are not gathering statistics on your database, we do not recommendusing this setting.

Oracle Cost Based Optimizer (CBO)

We recommend using the Oracle Cost Based Optimizer (CBO) on Online Transaction

Processing (OLTP) systems. Use the following settings to encourage the CBO to use indexesinstead of full table scans.

OPTIMIZER_INDEX_CACHING  = 90

OPTIMIZER_INDEX_COST_ADJ= 35

Page 27: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 27/130

  Microsoft SQL Server Installation and Configuration

SmartPlant P&ID Installation and Upgrade Guide 21

Before you can use the CBO, you must set the OPTIMIZER_MODE initialization parameter to CHOOSE.

ARCHIVELOG Mode

We also recommend running Oracle in ARCHIVELOG mode, which copies filled online redo

logs to disk. You must specify the mode at database creation or by using the ALTERDATABASE statement. You can enable automatic archiving either dynamically using theALTER SYSTEM statement or by setting the initialization parameter LOG_ARCHIVE_STARTto TRUE.

Running the database in ARCHIVELOG mode has several advantages over NOARCHIVELOGmode. You can:

Back up the database while it is open and being accessed by users.

Recover the database to any desired point in time.

To protect the ARCHIVELOG mode database in case of failure, back up the archived logs.

For more information, please see the SQL*Plus Backup and Recovery Concepts document in

your Oracle documentation.

Other Recommendations

Some users have found using the following settings beneficial.

System Tablespace Max_Extents = UNLIMITED (If you choose to set this parameter to505, the database monitoring system will warn you if the system tablespace is growingheavily. This setting has no impact on performance.)

Tablespace System / initial und next set to 64KB (Setting the pctincrease parameter to 50allows you to take advantage of the dynamic growth provided by Oracle, leading to largerextents in a large database.)

RollBackSegment und Temp-Tablespace create rollback segment <name> tablespacerbs storage (optimal 10MB)

begin dbms_stats.gather_database_stats (cascate => TRUE); end;/ (Gathers statistics onthe schemas. Use with the OPTIMIZER_MODE variable set to ALL_ROWS.)

Microsoft SQL Server Installation andConfiguration

The installation and configuration procedures described in this guide include only the stepsrequired to install and use SmartPlant software in the Microsoft SQL Server environment.Therefore, it is recommended that you refer to your Microsoft SQL Server User's Guide foradditional information about Microsoft SQL Server.

Page 28: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 28/130

Microsoft SQL Server Installation and Configuration

22 SmartPlant P&ID Installation and Upgrade Guide

If you intend to use the SmartPlant P&ID Connected Workshare functionality, you mustuse an Oracle database rather than SQL Server. Connected Workshare does not support SQLServer; however, Standalone Workshare does support SQL Server.

Because system configurations, database software, and individual company standards vary, usethis section as a checklist instead of step-by-step instructions. Please contact Intergraph

Customer Support  (CustomerSupport.htm) for specific configuration questions.

1. Using the Typical installation, load the Microsoft SQL Server software on your databaseserver.

2. Configure SQL Server to create your custom database. You will need to provide thedatabase node name, Administrator user name, and Administrator password when performing the configuration.

SQL Server Client is required on any SmartPlant computer on which you intend to createsites, plants, or projects, or on any computer that performs backup or restore operations.

When creating and configuring your databases, keep in mind that plant structures must be

created in a SQL Server database separate from the site server database and that each plantmust be in its own database.

If the backup location for your SQL site is located on a separate computer from yourdatabase, you must modify the logon information for the SQL Server services using the procedure that follows.

Modify Logon Information for SQL Server Services

1. From the Windows Control Panel, select Administrative Tools > Services.

2. In the Services list, double-click SQLServer (MSSQLServer) to open the SQLServer

(MSSQLServer) Properties dialog box.

The default instance for SQL Server 2005 is SQLServer (MSSQLServer).

In place of the default instance, you can use a named instance, for example: SQLServer(SPPID).

3. Click the Log On tab.

4. Select This account and type the user name and password for the domain user who will bestarting the MSSQLSERVER service.

5. Save your changes.

6. If the user defined in This account does not already have permissions to the share where backups are stored, grant the user read/write permissions to that share.

For more information about MSSQLServer properties and granting permissions to domain users,refer to your SQL Server and Windows documentation.

Page 29: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 29/130

  Microsoft SQL Server Installation and Configuration

SmartPlant P&ID Installation and Upgrade Guide 23

SQL Server 2005 Database Server Installation

Create Microsoft SQL Server databases with locale-specific collation settings andensure that all interacting databases have the same collation settings.

1. Start SQL Server 2005 Setup.

2. On the Microsoft SQL Server 2005 Setup wizard, click Next until you reach theComponents to Install page.

3. On the Components to Install page, do the following:

a. Select SQL Server Database Services.

 b. Select Workstation components, Books Online and development tools and then clickNext.

4. On the Instance Name page, select Default instance and click Next.

5. On the Existing Components page (if displayed), click Next.

6. On the Service Account page, do the following:

a. Select Use the built-in System account and then select Local system.

 b. Under Start services at the end of setup, select SQL Server and click Next.

On the Service Account page, you must only select the SQL Server service. The othertwo services (SQL Server Agent and SQL Browser) are not needed for any SmartPlantsoftware product. After the database server setup, the SQL Server service is created withthe Automatic startup type, the SQL Server Agent service is created with the Manual startup type, and the SQL Browser service is not created.

7. On the Authentication Mode page, do the following:

a. Select Mixed Mode.

 b. Define the System Administrator password as you desire and click Next.8. On the Collation Settings page, ensure that Collation designator and sort order is

selected, and from the list, select the appropriate designator corresponding to the nationalenvironment defined for the operating system on the client machines. For example, if theclient environment is Russian, select Cyrillic_General as the collation designator.

If the national environment of the client machines is identical with the nationalenvironment defined for the server, just accept the default values on this page.

Ensure that the Case sensitive check box is cleared.

9. Click Next and complete the remaining steps.

10. After clicking Finish, restart the server machine.

Page 30: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 30/130

Microsoft SQL Server Installation and Configuration

24 SmartPlant P&ID Installation and Upgrade Guide

Configure SQL Server 2005 Database Server

This procedure explains how to configure the server to avoid running out of memory.

By default, the server is configured to use unlimited memory.

As a quick alternative to this procedure, you can stop and then restart the server.

To implement this procedure, you must have DBA permissions.

1. Click Start > Programs > Microsoft SQL Server 2005 Setup > SQL Server

Management Studio.

2. On the Connect to Server dialog box, enter the required information as shown.

3. Beside Server type, select Database Engine.

4. Beside Server name, select the name of your server or instance.

5. Beside Authentication, select SQL Server Authentication.

6. Type a login name.

7. Type a strong password of a least 6 characters; this is a password that must include upper-and lower-case characters, numeric and non-alphanumeric characters.

8. Click Connect.

Page 31: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 31/130

  Microsoft SQL Server Installation and Configuration

SmartPlant P&ID Installation and Upgrade Guide 25

9. In the Microsoft SQL Server Management Studio window, under the Object Explorer,select the server (top-level node), right-click, and on the shortcut menu, click Properties.

10. Select the Memory page and do the following:

a. Select Use AWE to allocate memory.

 b. Under Maximum server memory (in MB), set a suitable value.

If it is likely that a large number of users will connect to the database concurrently, setthe maximum memory to a higher value to avoid poor performance.

11. Select the Database Settings page and change the value of Default index fill factor to 80.

Set Database Maintenance Options for SQL Server 2005

You set the database maintenance options for SQL Server using the DBCC Utility. It isrecommended that you run the following options about once a week:

CHECKCATALOG

CHECKDBYou must use an SA connection for running these options.

You should also update the database statistics as needed.

Page 32: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 32/130

Microsoft SQL Server Installation and Configuration

26 SmartPlant P&ID Installation and Upgrade Guide

Run DBCC Utility Options for SQL Server 2005

1. Open the SQL Server Management Studio.

2. In the Microsoft SQL Server Management Studio window, under the Object Explorer,select the server (top-level node), right-click, and on the shortcut menu, click New Query.

3. Type the appropriate query using the syntax shown, for example:

DBCC CHECKCATALOG ('Site_Server1_DB')

You must enclose the name of your database within the quotes and parentheses asshown.

Identical syntax applies for the CHECKDB command.

4. Click Query > Execute.

5. View the Messages window for the results of the query.

You can save the results to an external file. To do so, click Query > Results To >Results to File.

The software automatically corrects basic problems. For more complex problems, youmust refer to the query results and correct these problems manually.

Update Statistics for SQL Server 2005

1. Open the SQL Server Management Studio.

2. In the Microsoft SQL Server Management Studio window, under the Object Explorer,select the server (top-level node), right-click, and on the shortcut menu, click New Query.

3. Type the following SQL script with the name of your database, for example:

USE Site_Server1_DBGOEXEC SP_UPDATESTATS

This script updates the statistics for every table in the database.

Installing SQL Server Client

The SQL Server client provides with the means to interface with the SQL Server databaseserver. You can install the SQL Server client on each client machine after you have completedthe SQL Server database server installation.

Before you install the SQL Server client on a client machine, ensure that:

SQL Server database server is installed on a database server machine.

The SQL Server client version is compatible with your SQL Server database server version.

You have appropriate access rights to the SQL Server database server.

Page 33: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 33/130

  Microsoft SQL Server Installation and Configuration

SmartPlant P&ID Installation and Upgrade Guide 27

You do not need to install the SQL Server client on the computer where you installed the SQLServer database server, as all the client utilities are automatically installed during the SQL Serverdatabase server installation. See your SQL Server User Guide for additional information aboutSQL Server components and utilities.

Install SQL Server 2005 Client1. Start SQL Server 2005 client Setup to open the Microsoft SQL Server 2005 CTP Setup 

wizard.

2. Accept the licensing agreement.

3. Click Next until you reach the Registration page.

4. On the Registration page, type in the user details.

5. Click Next until you reach the Features Selection page.

6. On the Features Selection page, select the required features.The Features Selection page should look similar to the following image:

Page 34: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 34/130

Microsoft SQL Server Installation and Configuration

28 SmartPlant P&ID Installation and Upgrade Guide

7. Click Next until you reach the Setup Progress page.The Setup Progress page displays the progress and status of the components being installed.

Page 35: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 35/130

  Microsoft SQL Server Installation and Configuration

SmartPlant P&ID Installation and Upgrade Guide 29

8. Click Next, the Completion page opens.

9. Click Finish, and restart the client machine.

Page 36: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 36/130

Microsoft SQL Server Installation and Configuration

30 SmartPlant P&ID Installation and Upgrade Guide

Page 37: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 37/130

 

S E C T I O N 6

Loading SmartPlant P&ID Prerequisite

SoftwareInstall any required prerequisite software which is not yet installed on your computer. Note thatrequirements may vary depending on your particular configuration.

Adobe Reader 8.0 (required to view the Software License Agreement and Printable Guides).

SmartPlant License Manager 2009 (10.00.05.00). The licensing is delivered on its own CDthat comes with your SmartPlant P&ID product CD.

Microsoft Office 2003 or 2007 (Microsoft Excel is required for working with reporttemplates and for viewing the Installation Checklist and various other files).

SmartPlant 3D Piping Specification Remote Access Client, Version 01.00. The Piping

Specification Client software is required for using SmartPlant 3D specifications in theSmartPlant P&ID Piping Specification Utility and is available on the SmartPlant P&ID product CD.

Install SmartPlant 3D Piping Specification RemoteAccess Client

In order to use the Piping Specification utility with SmartPlant 3D, you must install theSmartPlant 3D Piping Specification Remote Access Client.

1. Insert the SmartPlant P&ID CD into the CD-ROM drive.

2. On the SmartPlant P&ID Installation screen, click Prerequisite Software.3. Click SmartPlant 3D Piping Specification Remote Access Client Installation.

4. Follow the instructions to install the client software.

5. When the setup is complete, click Close to return to the list of prerequisite software.

Installing the SmartPlant P&ID Software

After installing and configuring the database software and any of the prerequisite software, youare ready to install SmartPlant Engineering Manager and SmartPlant P&ID.

Grant Permissions to Write to a Registry Key

If you are installing over an older version of the SmartPlant software, you may receive an errorduring the installation process stating that setup does not have permission to modify one or moreregistry keys. This procedure explains how to grant write permissions to the registry keys forcomputers running Windows XP.

SmartPlant P&ID Installation and Upgrade Guide 31

Page 38: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 38/130

Installing the SmartPlant P&ID Software

32 SmartPlant P&ID Installation and Upgrade Guide

1. Click Start > Run.

2. Type regedit.exe, and click OK .

3. In the left window, select the HKEY_LOCAL_MACHINE  > SOFTWARE > Intergraph > Applications registry key.

4. Right-click and select Permissions.

5. On the Permissions for dialog box, click Advanced.

6. At the bottom of the Advanced Security Settings dialog box, clear the option: Inherit from

parent the permission entries that apply to child objects. Include these with entries

explicitly defined here.

7. A security dialog box appears to verify your change. Click Remove.

8. Reselect the Inherit from parent the permission entries that apply to child objects.

Include these with entries explicitly defined here check box.

9. Select the Replace permission entries on all child objects with entries shown here that

apply to child objects check box.

Install SmartPlant Engineering Manager1. Insert the product CD into the CD-ROM drive. If the installation does not start

automatically, double-click setup.exe in the main folder.

2. Click SmartPlant Engineering Manager Installation.

3. Click Next to start the installation wizard.

4. Type your User Name, Company Name, and Serial Number, then click Next.

5. Verify your Name, Company, and Serial Number, then click Yes.

6. Click Display to view and read the license agreement. You must have Adobe Reader toview the license agreement.

7. Close the Adobe Reader window, then click Yes to accept the license agreement.

8. Specify the Destination Folder, then click Next.

If you are installing the software on a 64-bit operating system, either do not install to the Program Files (x86) folder (the default location), or if you do so, make sure thatyou copy the seed files to another location that does not contain parentheses in the path.

9. Verify that the appropriate components are selected, then click Next.

If you want to upgrade your SmartPlant Engineering Manager data, be sure that youselect Upgrade Utility to install the SmartPlant Engineering Upgrade Utility. For moreinformation, see Using the SmartPlant Engineering Upgrade Utility (Upgrade_EngDataOvr.htm).

10. Accept the default Program Folders or select a new Program Folder name, then click

Next.11. Review your Current Settings, then click Next to install SmartPlant Engineering Manager.

Page 39: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 39/130

  Installing the SmartPlant P&ID Software

SmartPlant P&ID Installation and Upgrade Guide 33

12. Click Finish to close the installation wizard.

If you are reinstalling SmartPlant Engineering Manager, you must first remove the previousSmartPlant Engineering Manager installation using the Add/Remove Programs option inthe Windows Control Panel.

Be sure to apply all available SmartPlant Engineering Manager service packs for the versionyou are installing. For more information, please contact Intergraph Customer Support.

Install SmartPlant P&ID

If you have not already installed and configured SmartPlant License Manager on yourworkstation, we recommend doing so before installing SmartPlant P&ID.

SmartPlant P&ID requires the SmartPlant License Manager software for concurrentlicensing for both the core SmartPlant P&ID product and for each manager. This licensingsoftware is delivered on its own CD that comes with your SmartPlant P&ID product CD. Formore information about using and configuring concurrent licensing, see the SmartPlant License

 Manager Installation and User's Guide (SPLMInstall_UserGuide.pdf).

1. Insert the SmartPlant P&ID CD into the CD-ROM drive. If the installation does not startautomatically, double-click setup.exe in the main folder.

2. Click SmartPlant P&ID Installation.

3. Click Next to start the installation wizard.

4. Type your User Name, Company Name, and Serial Number, then click Next.

5. Verify your Name, Company, and Serial Number, then click Yes.

6. Click Display to view and read the license agreement. You must have Adobe Reader toview the license agreement.

7. Close the Adobe Reader window, then click Yes to accept the license agreement.

8. Specify the destination folder, then click Next.

9. Verify that the appropriate components are selected, then click Next.

10. Accept the default Program Folder or type a new Program Folder name, then click Next.

11. Review your Current Settings, then click Next to install SmartPlant P&ID.

12. Click Finish.

If you do not plan to immediately make use of the system editing functionality introduced inSmartPlant P&ID Version 4.2, you must take steps to make the Version 2009 software behave more like Version 4.1, such as running the validation programs that are deliveredwith Version 4.1 instead of the new programs delivered with Version 2009. All validation

 programs that were configured for the plant before upgrading remain configured afterupgrade. The Upgrade Utility does not change the ProgIDs of validation programs in thedata dictionary. However, the uninstall and reinstall of the software on a client machinedeletes the Version 4.1 validation programs if you do not take measures to avoid it.

Page 40: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 40/130

Installing the SmartPlant P&ID Software

34 SmartPlant P&ID Installation and Upgrade Guide

Before installing SmartPlant P&ID 2009, the old validation programs delivered with Version4.1 should be moved to a different folder so that when the Version 4.1 software isuninstalled, the old validation programs will not be deleted. When you install the Version2009 software, the new validation programs are installed in their normal locations. Afterinstalling the Version 2009 software, you must re-register the old Version 4.1 validation

 programs. For more information, see Running in Version 4.1 Compatibility Mode.

Be sure to apply all available SmartPlant P&ID service packs for the version you areinstalling. For more information, please contact Intergraph Customer Support.

If you try to install SmartPlant P&ID software when you do not have write permissions tothe registry on the computer on which you are installing, the following warning messageappears. For more information, see Grant Permissions to Write to a Registry Key (on page31).

If Oracle software is not detected on the computer during the installation of SmartPlantP&ID, the following warning message appears:

If you plan to use Oracle, click No to stop the installation process and install the Oraclesoftware before you proceed further. If you are planning to use Microsoft SQL Serversoftware, click Yes to continue with the installation process.

Uninstall a Previous Version of SmartPlant

Engineering Manager1. From the Windows Control Panel, select Add or Remove Programs.

2. Select Intergraph SmartPlant Engineering Manager and then click Remove.

To uninstall a previous Service Pack, select the appropriate row in the Currently

installed programs list.

Page 41: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 41/130

  Installing the SmartPlant P&ID Software

SmartPlant P&ID Installation and Upgrade Guide 35

3. In the Installation for SmartPlant Engineering Manager wizard, on the Welcome page,select Remove and then click Next.

4. At the message prompt to confirm removal of the software, click Yes.

5. On the Maintenance Complete page, click Finish.

Uninstall a Previous Version of SmartPlant P&ID1. From the Windows Control Panel, select Add or Remove Programs.

2. Select Intergraph SmartPlant P&ID and then click Change/Remove.

To uninstall a previous Service Pack, select the appropriate row in the Currently

installed programs list.

3. In the Installation for SmartPlant P&ID wizard, on the Welcome page, select Remove and then click Next.

4. At the message prompt to confirm removal of the software, click Yes.

5. On the Maintenance Complete page, click Finish.

Install SmartPlant Reference Data

1. Insert the product CD into the CD-ROM drive. If the installation does not startautomatically, double-click setup.exe in the main folder.

2. Click SmartPlant Reference Data for P&ID Installation.

3. Click Next to start the installation wizard.

4. Click Display to view and read the license agreement. You must have Adobe Reader to viewthe license agreement.

5. Close the Adobe Reader window, then click Yes to accept the license agreement.

6. Type your User Name and Company Name, then click Next.

7. Specify the Destination Folder, then click Next.

8. Verify that the appropriate components are selected, then click Next.

For a configuration in an integrated environment, be sure to install the Integration

Resource Files during reference data installation.

After installation, be sure the Integration Resource Path setting in Options Manager points to this folder.

9. Review your Current Settings, then click Next to install the reference data.

10. Click Finish to close the installation wizard.

11. After installation, share the folder that contains the reference data. All SmartPlant usersmust be granted read permission to this share. Write permission to the share is required tomake changes to the symbols, rules, templates, and other reference data.

We recommend that you make a copy of the reference data and store it with your plant files. This common practice will help you with future service pack installations, datarecovery, and so forth.

Page 42: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 42/130

Installing the SmartPlant P&ID Software

36 SmartPlant P&ID Installation and Upgrade Guide

Configuring Reference Data for SmartPlant P&ID

SmartPlant Reference Data for P&ID contains the symbols, rules, labels, styles, templates,insulation specification and other information that you use to create a P&ID. The default

location for the reference data is C:\Program Files\SmartPlant\P&ID Reference Data.

If the reference data is located elsewhere, use SmartPlant P&ID Options Manager to identify thelocation of symbols, rules, labels, and other reference data for the application. You can alsodefine symbology for graphics, default formats for data, and key distances that affect the behavior of the application. Usually, a project manager sets these options at the beginning of a project. The project manager seldom modifies these options except on rare occasions when project requirements dictate a change. For more information about using SmartPlant P&IDOptions Manager, see Customizing Your Reference Data (on page 103).

You no longer need to set the default data locations in Options Manager before creating aP&ID in SmartPlant Drawing Manager. These locations are set at the time of plant structure

creation. The drawing template path should be set to the correct node name and share nameso that the software can locate the templates for P&ID creation. For the correct share name,see Install SmartPlant Reference Data (on page 35).

For a configuration in an integrated environment, be sure the Integration Resource Path setting in Options Manager points to the Integration Resource Files installed with theSmartPlant P&ID Reference Data.

Installing SmartPlant P&ID in Silent Mode

Silent mode installation is a two-stage process. First, you perform a normal installation byrunning the setup.exe file from the command line with special parameters that cause the software

to record the installation session and the options you choose to a file with an .iss extension.Then, from any workstation, you can run setup in silent mode using the recorded .iss file to provide the necessary setup information.

Because SmartPlant P&ID installation requires SmartPlant License Manager software forconcurrent licensing, you must install the SmartPlant License Manager software on yourworkstation prior to creating a silent setup of SmartPlant P&ID and on each workstationwhere you will be silently installing SmartPlant P&ID. For more information aboutinstalling and configuring SmartPlant License Manager, see the SmartPlant License

 Manager Installation and User's Guide (SPLMInstall_UserGuide.pdf).

The environment of the machine on which you run the normal setup to create the .iss file and

the environment of the workstations on which you perform the silent mode installation must be identical; that is, they must have the same database platforms, software versions, installedfiles, drive partitions, and so forth. You must also ensure that there is sufficient disk spaceon each workstation for the installation.

Page 43: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 43/130

  Installing the SmartPlant P&ID Software

SmartPlant P&ID Installation and Upgrade Guide 37

Prior to creating a silent setup of SmartPlant P&ID over a network, ensure that the followingconditions exist:

For a new release, all previous existing versions of SmartPlant P&ID on the targetmachine have been uninstalled prior to network installation.

The target machine does not have a directory by the same name to which SmartPlantP&ID is to be installed.

The target machine meets the free disk space recommendations specified in SmartPlant

 P&ID Workstation (SPELInstall_Workstation_Reqs_1a.htm).

All applications are closed.

Install SmartPlant P&ID in Silent Mode

1. Open a Command Prompt window from the Start menu.

2. At the command prompt, type:

"<setup source folder path>\setup.exe" -r -f1"<path>\<filename>.iss".

Be sure the <setup source folder path> specifies the path to the folder thatcontains the setup.exe file that launches the SmartPlant P&ID InstallShield Wizard, not thesetup.exe file that launches the SmartPlant P&ID AutoPlay executable. For example, on theSmartPlant P&ID CD, the setup.exe file in the P&ID folder is the file that launches theInstallShield Wizard. Double quotes are required only if the path to the setup.exe filecontains spaces.

The -r parameter tells setup to automatically generate the silent setup file(<filename>.iss), and to record all setup input.

The - f1"<path>\<filename>.iss" parameter specifies the path and filename for the

silent setup file. The double quotes are required around this path, with no space betweenthe -f1 and the opening double quotes. For example, if you type the following commandstring, the software places the resulting .iss file in the c:\installfiles folder.

\\sourceserver\instrumentation\setup.exe -r - f1"c:\installfiles\silentsetup.iss" 

3. Work through the standard software installation on your database platform. For details, referto the appropriate procedure in the SmartPlant P&ID Installation and Upgrade Guide.

When you click Display on the License Agreement dialog box while running setupin record mode, the following message appears.

Page 44: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 44/130

Installing the SmartPlant P&ID Software

38 SmartPlant P&ID Installation and Upgrade Guide

Click OK  to acknowledge that you are accepting the license agreement for all users onwhose computers you will install the product. Setup then returns you to the normalinstallation process by displaying the license agreement and enabling the Yes button onthe License Agreement dialog box.

4. At each workstation on which you want to install the software, open a Command Prompt 

window and type:"<setup source folder path>\setup.exe" -s -f1"<path>\<filename>.iss" -

f2"<path>\<filename>.log" 

Be sure to use the same setup executable that you used in step 3 above.

The -s parameter tells setup to run in silent mode using the indicated .iss file.

The - f1"<path>\<filename>.iss" parameter specifies the path and the filename for thesilent setup (.iss) file you want to run. The double quotes are required, with no space between the -f1 and the opening double quotes. For example, -

f1"c:\installfiles\silentsetup.iss".

(Optional) Use the - f2"<path>\<filename>.log" parameter to record a log file of thesetup process. The double quotes are required, with no space between the -f2 and theopening double quotes. For example, - f2"c:\installfiles\silentsetup.log". If -f2 is notdefined, a log file is created in the same location as the .iss file.

5. Check the .log file to ensure that the installation proceeded without errors. A successfulsilent installation produces a .log file looking something like this:

[InstallShield Silent]Version=v7.00File=Log File[ResponseResult]ResultCode=0

[Application] Name=SmartPlant P&IDVersion=2009 (xx.xx.xx.xx)Company=IntergraphLang=0009 In general, if an error occurred, the ResultCode will be a number less thanzero. Possible result codes include the following:

Any value greater than 0 = Success.

-1 General error

-2 Invalid mode

-3 Required data not found in the

Setup.iss file

-4 Not enough memory available

-5 File does not exist

-6 Cannot write to the response file

-7 Unable to write to the log file

Page 45: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 45/130

  Installing the SmartPlant P&ID Software

SmartPlant P&ID Installation and Upgrade Guide 39

-8 Invalid path to the InstallShield Silentresponse file

-9 Not a valid list type (string or number)

-10 Data type is invalid

-11 Unknown error during setup

-12 Dialog boxes are out of order

-51 Cannot create the specified folder

-52 Cannot access the specified file orfolder

-53 Invalid option selected

This procedure also applies to the uninstall operation. The uninstall procedure should usethe same command and procedures as for the installation, both for the record mode and for each

workstation mode; however, you should specify a different name for the .iss file so as not tooverwrite the file used for the installation.

Page 46: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 46/130

Installing the SmartPlant P&ID Software

40 SmartPlant P&ID Installation and Upgrade Guide

Page 47: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 47/130

 

S E C T I O N 7

Working in Thin Client Mode

Overview

You can use SmartPlant P&ID in thin client mode, which supports Citrix Presentation Server orMicrosoft Terminal Server using Remote Desktop for Administration. For installation details ofCitrix Presentation Server client / server or Microsoft Terminal Server, refer to the appropriatesoftware vendor's documentation. When working in an integrated environment, thin client modeoperation is used as the means of providing Workshare.

When you access the SmartPlant P&ID application via Citrix, we strongly recommend that

you do not perform any administration activities that run automatically for a long time on aclient machine. When you execute administration activities via Citrix client, the softwareactually performs these activities on the server side, while the client remains idle, and theconnection to Citrix is lost, possibly resulting in corruption of data. Examples of these typeof administration activities are: upgrading the database to a new version or importing a largenumber of drawings.

As a workaround, we recommend that you perform these kind of activities either on yourdatabase server machine or on a client machine using a configuration other than Citrix.

When using thin client mode, all users share a common database, resulting in intellectual property being shared between all sites.

Comparison of Thin Client Mode and SmartPlant P&IDWorkshare

For data sharing between sites, you can use SmartPlant P&ID's Workshare functionality or youcan run SmartPlant P&ID in thin client mode using Citrix Presentation Server or MicrosoftTerminal Server.

Using SmartPlant P&ID Workshare

Users on the host and on each satellite work in separate databases. This means that it is possibleto segregate intellectual property between sites by transferring only the data that needs to be

shared. When using Workshare, it is necessary to update reference data at remote locations andto move data between sites.

Using Thin Client Mode

All users share a common database, so that there is no need to update reference data at remotelocations or to move data between sites.

SmartPlant P&ID Installation and Upgrade Guide 41

Page 48: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 48/130

Working in Thin Client Mode

42 SmartPlant P&ID Installation and Upgrade Guide

Tuning the Software for Use in Thin Client Mode

The following procedures describe special instructions for the installation of SmartPlant P&IDwhen working in thin client mode using Citrix Presentation Server 4.5 on Windows 2003

Server. Tuning SmartPlant P&ID involves performing the following operations: Installing P&ID on a Citrix Presentation Server.

Publishing the P&ID program to view P&ID on a web page or in a published Citrixapplication list.

Configuring Citrix Presentation Server for P&ID.

Publish the SmartPlant Application

You need to publish the application to allow you to view the data using a web page.

1. On the Start menu, click Programs > Citrix > Metaframe Presentation Server to start the

Citrix Management Console.The names of dialog boxes may vary from the ones described in this document

according the version of Citrix Presentation Server that you are using.

2. Click Action > New > Published Application.

3. In the Published Application wizard, type a display name such as SmartPlant P&ID, andan application description, and then click Next.

4. On the Specify What to Publish page, do the following:

a. Click the Application option button (the default).

 b. Beside Command Line, click Browse to navigate to the SmartPlant P&ID executablefile location.

c. Click Next.

5. On the Program Neighborhood Settings page, if desired, define a program neighborhoodfolder and add shortcuts for the clients, and then click Next.

6. On the Specify Application Appearance page, specify the window size, color, and start-upsettings according to your needs, and then click Next.

7. On the Specify ICA Client Requirement page, accept the default value, and then clickNext.

8. On the Specify Servers page, add the Citrix server and then click Next.

9. On the Specify Users page, add the user accounts that are to be granted access to the published application and then click Finish.

10. After publishing the application, do the following to create the .ica and .html files:a. On the Citrix Management Console, select the SmartPlant P&ID application, right-

click, then click Create ICA File and follow the wizard instructions.

 b. On the Citrix Management Console, select the SmartPlant P&ID application, right-click, then click Create HTML File and follow the wizard instructions.

Page 49: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 49/130

  Working in Thin Client Mode

SmartPlant P&ID Installation and Upgrade Guide 43

Configure Citrix Presentation Server 4.5

1. Configure Citrix Presentation Server to mount a user drive with a common drive letter (forexample, U:) and create a common folder path for the program in this drive, for example,

U:\Program Files\SmartPlant\P&ID Workstation.

To prevent performance problems that may be caused if the software maps drive U: to aserver that is very remote from the Citrix server, ensure that the U: drive is on or local tothe Citrix server and that the 'TS Roaming Profiles' option is enabled.

Make sure that the common folder path contains the SmartPlantV4.ini file. You can alsouse this folder for temporary files.

Modify the system path statement on the server to include the common folder path in thesystem path.

Terminal Server Logon SequenceThe following section describes the logon sequence of system procedures carried outautomatically.

Ensure that you have edited the Rootdrv2.cmd file to specify the home folder driveletter. For this installation, you need to change the line Set RootDrive=DriveLetter to Set

RootDrive=U. The U: drive points to C:\Documents and Settings\<username>.

1. When a user logs on to Windows 2003 Server, a logon script Userlogon.cmd starts running.Therefore, you can run any pre-logon command or script from this file.

2. The Userlogon.cmd file calls the Userlogn1.cmd file which contains the compatibility logonscripts.

3. The Userlogon.cmd file checks whether you have set up the logon to the user's home folder.The Userlogon.cmd file then calls the Rootdrv.cmd file located in the pathC:\Winnt\Application Compatibility Scripts.

4. The Rootdrv.cmd file calls the Rootdrv2.cmd file.

Page 50: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 50/130

Working in Thin Client Mode

44 SmartPlant P&ID Installation and Upgrade Guide

Page 51: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 51/130

 

S E C T I O N 8

Upgrading to SmartPlant P&ID 2009

Upgrading from SmartPlant P&ID Version 4.3, 2007, or 2007.x to Version 2009 involves thefollowing steps:

1. Correcting Oracle database constraint violations using SmartPlant P&ID Version 4.3, 2007,or 2007.x. If you are using SQL Server, you can skip this step.

2. Upgrading the plant, project, satellite, and application database tables of SmartPlant P&IDVersion 4.3, 2007, or 2007.x using Version 2009 of the SmartPlant Engineering ManagerUpgrade Utility.

3. Upgrading reference data using SmartPlant P&ID Options Manager 2009.

4. Updating drawings, when necessary, using SmartPlant P&ID Drawing Manager 2009.

If you are upgrading from an earlier version of SmartPlant P&ID to those mentioned above,you must first upgrade that version to SmartPlant P&ID 4.3 (SmartPlant EngineeringManager 4.4) using Version 4.4 of the Upgrade Utility, before upgrading to Version 2009.For more information, visit the Intergraph support Web site: http://support.intergraph.com (http://support.intergraph.com/).

SmartPlant Engineering Manager 2009 can display sites and plants created in SmartPlantEngineering Manager Versions 4.4 (SmartPlant P&ID 4.3), 2007, or 2007.x. While the plants that have not been upgraded will appear in the Tree view, none of the data below the plant will be available. Attempting to work in a non-upgraded plant results in a messagestating that the plant must be upgraded first.

Before using the new version of the software, we strongly recommend that you completely

upgrade your plant and update all drawings to the current version. A plant with a mixture ofupgraded and non-upgraded data may result in some data being permanently inaccessible.

When upgrading from SmartPlant P&ID 4.1, it is recommended that you reference the newLlama type library in your legacy projects and recompile. This helps to ensure that anyversion compatibility issues can be detected right away. If any functionality of the previoustype library version has been changed or deleted, legacy code may not perform as expected.To prevent errors when running the PrintFromToData Line List report, de- reference theolder version Llama type library and reference the new 6.0 version of Llama.

Correcting Database Constraint Violations

Before you can begin upgrading, you must make sure the SmartPlant P&ID data stored in yourOracle database is compliant with the database constraints. To help you identify non-compliantdata, use the Database Constraint Report.exe reporting utility delivered with your currentversion of SmartPlant P&ID before installing the latest version.

SmartPlant P&ID Installation and Upgrade Guide 45

Page 52: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 52/130

Upgrading to SmartPlant P&ID 2009

46 SmartPlant P&ID Installation and Upgrade Guide

Tasks for correcting constraint violations

1. Make a complete backup of the data you are upgrading.

2. Generate a Database Constraint Exceptions Report. For more information, see Generate a

 Database Constraint Exceptions Report  (on page 46).

3. Clean up the database by removing orphan model items. For more information, see CleanData Utility (DelOrpModItems.dll) in the SmartPlant P&ID Utilities Guide.

4. Resolve constraint violations. For more information, see Constraint Utilities (on page 47).

5. Generate a database constraint exceptions report again.

6. Run the appropriate constraint utilities again if any exceptions still exist.

7. Continue running the database constraint report and the constraint utilities until noexceptions are reported.

8. Make a complete backup of the now compliant data.

If you are using Microsoft SQL Server, you can skip this database constraints process.

For additional information on resolving discrepancies listed in the database constraint report,contact your custom service representative.

Generate a Database Constraint Exceptions Report

Use SmartPlant P&ID or one of its manager applications to connect to the plant on which youwant to run the Database Constraint Exception Report utility.

If you use SmartPlant P&ID to connect to the plant, be sure to close all drawings before proceeding.

1. In the Program Files\SmartPlant\P&ID Workstation\Program folder, double-click theDatabase Constraint Report.exe file.

2. On the Database Constraint Exception Report Utility dialog box, click Connect toActive Plant.

The utility runs the report on the active plant that you are connected to at thetime. To run a report on another plant, connect to that plant using SmartPlant P&ID or oneof its manager applications.

3. After connecting to the database, click the Create Database Constraint Report button.This process may take several minutes, depending on the amount of data you have in your plant.

4. When complete, the utility automatically saves a copy of the report in the temp directoryunder your user profile and displays the file name (plant name - ConstraintExceptions.xls)in the list box on the right side of the Database Constraint Exception Report Utility

dialog box.

5. Exit the Database Constraint Exception Report utility.

6. Open the report using Microsoft Excel and save a copy of the report to another location otherthan the temp directory.

Page 53: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 53/130

  Upgrading to SmartPlant P&ID 2009

SmartPlant P&ID Installation and Upgrade Guide 47

7. Review the completed report for discrepancies that must be resolved before you can upgradeto the new version of SmartPlant P&ID. We recommend running this utility again until nodiscrepancies are reported.

Microsoft Excel must be installed on any workstation from which you run the Database

Constraint Exception Report utility.

Workshare must be disabled before cleaning up any constraint violations.

Database Constraint Report Results

The Database Constraint Report file is a Microsoft Excel file containing several worksheets.

The first sheet in the report is the Report Progress Messages, which contains a list of theconstraint checks made and the number of violations detected for each constraint check. Eachviolation type appears on its own worksheet, with the name of the constraint violation displayedon the worksheet tab.

Each worksheet also contains a list of drawings containing constraint exceptions, along with thename of the recommended constraint utility (usually in cell B1) to use in resolving the violation.

All constraint utilities (see "Using Constraint Utilities" on page 47), including the CleanData utility (DelOrphModItem.dll), are run on an open drawing inside SmartPlant P&ID.However, unlike all the other constraint utilities that run on a drawing-by-drawing basis, theClean Data utility runs on the entire plant data set. If Clean Data is used to resolve any particularconstraint violation, a particular drawing will not be specified in the report for this constraintviolation nor will a utility name be listed at the top of the worksheet.

Using Constraint Utilities

Before running any of the constraint utilities recommended by the database constraint report, run

the Clean Data utility inside a blank drawing, then run the Database Constraint Report.exe again. Running Clean Data first decreases the number of exceptions listed in the report andlessens the amount of further manual data cleanup required. For more information about runningthe Clean Data utility, see Clean Data (Delete Orphan Model Items) in the SmartPlant P&IDUtilities Guide.

The remaining constraint utilities must be run from within specific drawings. These utilities arelocated in the C:\Program Files\SmartPlant\P&ID Workstation\Program folder, along with theClean Data (DelOrphModItems.dll) utility.

Each plant may require a different set of utilities. Open each drawing listed in the databaseconstraint report and run the recommended macros on the drawing. You need to run only themacros listed in the report for that particular drawing.

Constraint Utilities

Delivered with SmartPlant P&ID, the following constraint utilities help you correct any databaseconstraint exceptions reported in the database constraint exception report.

Page 54: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 54/130

Upgrading to SmartPlant P&ID 2009

48 SmartPlant P&ID Installation and Upgrade Guide

In general, each utility attempts to repair the constrain violation. However, in some cases theviolation could not be cleaned up by the utility and the item is band-aided in the drawing. Thissituation is noted and logged in each utility's corresponding log file. For more information, seeConstraint Utilities Log Files (on page 49).

You must manually fix any band-aided items in a drawing by deleting the item and

replacing it. If you have difficulty finding the band-aided items, click Tools > Options inSmartPlant P&ID, then select the Display as Printed option on the Options > General tab.

cmdnotconnectedcomps.dll — Repairs items that have a relationship to a PipeRun orSignalRun (sp_piperunid or sp_signalrunid are not null), but are not referenced by acorresponding connector. If the relationship cannot be repaired, you must delete it and replaceit.

cmdLPCheck.dll — Checks for LabelPersist records pointing to a representation that does notexist. If the graphical label is watching a graphic, the database is updated to match, thusrepairing the LabelPersist. If the label cannot be repaired, the utility band-aids it. You shoulddelete and replace these band-aided items.

cmdRepOIDCheck.dll — Checks for symbol records with a null graphic OID. If the graphicalsymbol exists, the utility repairs the item by updating the database with its graphic OID value. Ifthe graphical symbol does not exist, the utility sets the InStockpile flag = True to repair the item.

ConnectorItem12.dll — Checks for connector records pointing to a symbol that does not exist.If the graphical connector is connected to a symbol, the utility repairs the connector by updatingthe database to match. If the connector cannot be repaired, the utility band-aids it. You shoulddelete and replace these band-aided items.

OPCFK.dll — Checks for OPC records with a partner that does not exist. If the graphical OPCexists, fix it. You should delete these items.

PointIndexCheck.dll — Checks for PipingPoint records and SignalPoint records with non-unique indices or point numbers, then repairs the item by deleting from the database whichever

one of the duplicate points is not loaded into the cache.RelationshipOIDMacro.dll — Checks for relationship records with a null graphic OID. If thegraphical relationship indicator exists, the utility repairs the item by updating the database withits graphic OID value. If the graphical relationship indicator does not exist, the utility deletes therelationship from the database.

RepairBadConnector.dll — Checks for connectors with the same start and end objects andconnectors with the wrong number of vertices. The utility band-aids the graphical connector,which you should delete.

RepairNullFileNameCmd.dll — Checks for LabelPersist records with a null file name value.

If the number of LabelPersist records equals the number of SmartLabel objects locked to thewatched symbol, the utility repairs the LabelPersist record by updating the filename valuefor the LabelPersist.

If the number of LabelPersist records does not equal the number of SmartLabel objectslocked to the watched symbol, then the utility band-aids the watched symbol. You shoulddelete band-aided items.

Page 55: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 55/130

  Upgrading to SmartPlant P&ID 2009

SmartPlant P&ID Installation and Upgrade Guide 49

For the remaining LabelPersist records with a null filename, if the graphic exists, the utility band-aids it. You should delete band-aided items. If the graphic does not exist, the utilitydeletes the representation from the database.

RepairOrphanedNozzleCmd.dll - Checks for the following situations.

Nozzle records without a Parent — If the Nozzle graphic is not in the drawing, the utilityrepairs the nozzle by setting the Instockpile flag = True. If the Nozzle graphic is in thedrawing, the utility tries to set either the SP_EquipmentID or SP_PartOfID based on thegraphic relationship. The graphic parent must be an equipment or equipment component forthe relationship to be re-established. If the relationship cannot be re-established, the utility band-aids it. You should delete band-aided items.

Nozzles associated via SP_EquipmentID to a Parent in the stockpile - If the Nozzlegraphic is not in the drawing, the utility repairs the Nozzle by setting the Instockpile flag =True. If the Nozzle graphic is in the drawing, the utility band-aids it. You should delete band-aided items.

Nozzles associated via SP_PartOfID to a Parent in the stockpile — If the Nozzle graphicis not in the drawing, the utility repairs the Nozzle by setting Instockpile flag = True. If the

 Nozzle graphic is in the drawing, the utility band-aids it. You should delete band-aideditems.

Nozzles that are a Part of a Run — The utility clears the SP_PartOfID attribute. If the Nozzle graphic is not in the drawing, the utility repairs the Nozzle by setting the Instockpileflag = True. If the Nozzle graphic is in the drawing, the utility band-aids it. You shoulddelete band-aided items.

Constraint Utilities Log Files

Each constraint utility generates a log file, which records each action taken to correct theconstraint violation.

Log files are located at the path specified in your TEMP environment variable.

Constraint Utility  Log File 

cmdnotconnectedcomps.dll RepairNotConnectedComps.log

cmdLPCheck.dll RepairBadEmbLabelCmd.log

cmdRepOIDCheck.dll RepresentationOIDChecks.log

ConnectorItem12.dll ConnectorItem12_Check.log

DelOrpModItems.dll (CleanDB) SPDelOrpModItems.log

DBCleanup.txt

OPCFK.dll OPC_OPC_FK.log

PointIndexCheck.dll PointIndexConstraint_check.log

RelationshipOIDMacro.dll RelationshipOID_Checks.log

RepairBadConnector.dll RepairBadConnector.log

Page 56: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 56/130

Upgrading to SmartPlant P&ID 2009

50 SmartPlant P&ID Installation and Upgrade Guide

Constraint Utility  Log File 

RepairOrphanedNozzleCmd.dll RepairOrphanedNozzles_.pid.log

RepairNullFileNameCmd.dll RepairNullFileNameCmd.log

Before Running the Upgrade Utility

The following tasks must be completed before you begin upgrading your plant using theUpgrade Utility.

If you are using an Oracle database, the Upgrade Utility checks your Oracle data for compliancewith the SmartPlant P&ID database constraints. If you have not already generated a DatabaseConstraint Report on your data using your current version of SmartPlant P&ID and cleared upany discrepancies, run the Database Constraint Report.exe before installing the new softwareand proceeding with the upgrade. This utility is delivered to the C:\Program

Files\SmartPlant\P&ID Workstation\Program folder by default.

Back Up Your Data

Before you upgrade, back up your existing site and plant data using the Backup and Restorefunctionality in SmartPlant Engineering Manager.

Share Paths to Site .INI Files

The Upgrade Utility must be able to read the site INI file for the site containing the plants beingupgraded. Create a UNC network share to the folder containing the site INI file and be preparedto provide this path during the upgrade process.

Set Oracle Parameters

If you are using an Oracle database, you must modify the following parameters in the initsid

name.ora file using Oracle Enterprise Manager before you begin your upgrade. Aftercompleting the upgrade process, reset these parameters to their original values.

OPEN_CURSORS — Set to at least 500. You can use a higher number if necessary for otherapplications. SmartPlant uses open cursors to improve performance and scalability for databaseinserts, updates, and deletes.

Hash Parameters — Provide extra memory for the Oracle hash procedure by setting thefollowing hash parameters to the values shown below. The upgrade process runs much faster ifthe hash table fits in RAM, rather than being written to and read from the disk. Therefore, by providing extra memory for this procedure during the upgrade process, you can significantlyreduce the time required.

hash_join_enabled=true True is the default setting. However,you should make sure the setting wasnot previously changed to False.

Page 57: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 57/130

  Upgrading to SmartPlant P&ID 2009

SmartPlant P&ID Installation and Upgrade Guide 51

hash_area_size=number   This setting determines how muchRAM is available for use by the hashtables. The default value forhash_area_size is 131072, and thevalue you enter for number should be

a multiple of this default value. Thenew value should be as large as possible without interfering with theneeds of the operating system. Avalue of 1310720 (default x 10)would not be unreasonable for aserver with a gigabyte or more ofmemory.

Memory Management Considerations

Upgrading database information requires significant changes and, therefore, a significant amountof database server resources. For that reason, Intergraph makes the following recommendations.

Upgrade only one plant at a time on a database server.

As much as possible, limit other activity on the database server during the upgrade process.You should limit the use of SmartPlant applications on the server, as well as access to thedatabase by other plants.

The more database server resources available for upgrade, the faster the upgrade process will proceed. The more activity occurring on the database server during the upgrade process, thelonger that process will take.

Page 58: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 58/130

Upgrading to SmartPlant P&ID 2009

52 SmartPlant P&ID Installation and Upgrade Guide

Page 59: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 59/130

 

S E C T I O N 9

Using the SmartPlant Engineering Manager UpgradeUtility

The SmartPlant Engineering Manager Upgrade Utility upgrades the plant and applicationdatabases to the latest version of SmartPlant.

Version 2009 of the SmartPlant Engineering Manager Upgrade Utility allows you to upgrade plants created in the following software:

SmartPlant Engineering

Manager

SmartPlant P&ID SmartPlant

Electrical

Version 4.4 Version 4.3 Version 3.5

Version 2007 Version 2007 Version 2007

Version 2007.x Version 2007.x Version 2007.7

For SmartPlant Electrical, the software cannot perform an upgrade of an archive. However,you can create an archive of an upgraded plant as soon as you complete the upgrade.

You are not required to upgrade all plants in a particular site at the same time. However, plants that share reference data, such as styles, templates, and symbols, should be upgradedat the same time.

Upgrading Plants Created with SmartPlant Engineering Manager Prior to Version 4.4

Plants created prior to version 4.4 must first be upgraded to version 4.4 or 2007 before they can be upgraded to version 2009.

Version 4.1 must be first upgraded to version 4.4 using the Upgrade Utility version 4.4.

Versions 4.2 and 4.3 can be upgraded using any of the following versions of the Upgrade Utility:

4.4

2007

2007.x

After upgrading plants to version 4.4 or higher use version 2009 of the Upgrade Utility toupgrade your plants to Version 2009.

Upgrading Plants Containing Projects

Running the Upgrade Utility on a plant containing projects upgrades both the plant and its projects at the same time. Each of the upgrade tasks handles any necessary changes in both the plant databases and the project databases.

SmartPlant P&ID Installation and Upgrade Guide 53

Page 60: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 60/130

Upgrading to SmartPlant P&ID 2009

54 SmartPlant P&ID Installation and Upgrade Guide

Upgrading Satellites in a Workshare Collaboration

You no longer have to collapse or shut down projects or satellites in Workshare collaborations before upgrading. Upgrading a satellite is a separate process. The host for a connected satellitemust be upgraded before the satellite.

Upgrading a Site

When you open a site created in Version 4.4, 2007, or 2007.x using SmartPlant EngineeringManager 2009, you are prompted to upgrade that site to Version 2009.

Use the Upgrade Site command to perform the upgrade. This command removes the restrictionin which projects with the same name cannot reside in the same plant and then updates the sitedata dictionary version number to 2009.

Upgrading a P&ID site is only possible when the source and target have the samecharacter set.

Upgrade a Plant

After you select the site containing the plants you want to upgrade, the SmartPlant EngineeringUpgrade Utility displays a list of active plants that are available for upgrade.

1. Select the plant in the Tree view to see the available applications that can be upgraded forthat plant.

Page 61: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 61/130

  Upgrading to SmartPlant P&ID 2009

SmartPlant P&ID Installation and Upgrade Guide 55

2. Right-click the active plant and select Upgrade Plant from the shortcut menu. The utilitymoves the plant from the Active plants node to the Upgrades in progress node anddisplays the list of upgrade tasks required to upgrade the selected plant.

3. Right-click in either view and select Finish Next Task  to start the first upgrade task.

4. If there is more than one task in the Upgrade Tasks view, click Finish All Tasks tocomplete the plant upgrade. After the plant is upgraded, the utility moves it back under theActive plants node and updates the plant status in the Upgrade Tasks view to Up-to-date.

Oracle users, for the upgrade process to finish correctly after upgrading your plants andassociated applications, the Convert Oracle Data Type process must be carried out. Unlessyou do so, you will not be able to work with a plant in SmartPlant Engineering Manager,SmartPlant Electrical, or SmartPlant P&ID.

You must complete all upgrade tasks for a plant before you upgrade the reference data ordrawings in the plant.

The rules file for the upgraded plant are marked as out-of-date for the Update Drawings commands in Drawing Manager. The formats and select lists will also be marked as out-of-date.

Page 62: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 62/130

Upgrading to SmartPlant P&ID 2009

56 SmartPlant P&ID Installation and Upgrade Guide

Upgrade SmartPlant P&ID

Upgrading a P&ID site is only possible when the source and target are using thesame character set.

1. Select the plant in the Active Plants node, right-click and select the Upgrade P&ID command.

2. The utility moves the plant from the Active Plants node to the Upgrades in progress nodeand displays the list of upgrade tasks required to upgrade the P&ID application.

3. Right-click in either view and select Finish Next Task  to start the first upgrade task.

Page 63: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 63/130

  Upgrading to SmartPlant P&ID 2009

SmartPlant P&ID Installation and Upgrade Guide 57

4. When the first task finishes, click Finish All Tasks to complete the application upgrade.

5. After the application is upgraded, the utility moves the plant back under the Active plants node and updates the application status in the Upgrade Tasks view to Up-to-date.

Oracle users, for the upgrade process to finish correctly after upgrading your plantsand associated applications, the Convert Oracle Data Type process must be carried out. Unlessyou do so, you will not be able to work with a plant in SmartPlant Engineering Manager,SmartPlant Electrical, or SmartPlant P&ID.

See Also

 Finish Next Task Command  (see "Finish Next Task Command (File Menu)" on page 59) Run to Selected Task Command  (see "Run to Selected Task Command (File Menu)" on page 59)Upgrade P&ID Command  (see "Upgrade P&ID Command (Upgrade Menu)" on page 61)

Page 64: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 64/130

Page 65: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 65/130

 

S E C T I O N 1 0

Upgrade Utility Commands

The Upgrade Utility provides the following commands.

In This SectionOpen Site Command (File Menu).................................................. 59Finish Next Task Command (File Menu) ...................................... 59Finish All Tasks Command (File Menu) ....................................... 59Run to Selected Task Command (File Menu)................................ 59Show Log Command (File Menu) ................................................. 60Upgrade Site Command (Tools Menu).......................................... 60Upgrade Plant Command (Upgrade Menu) ................................... 60Upgrade P&ID Command (Upgrade Menu).................................. 61

 

Open Site Command (File Menu)Allows you to select another site containing other plants you want to upgrade.

Finish Next Task Command (File Menu)

Runs the first incomplete task in the Upgrade Tasks view. The status of each task appears in theStatus column.

The Upgrade Utility records how far it progresses during an upgrade task so that it canrecover if system problems occur.

Finish All Tasks Command (File Menu)

Runs all incomplete tasks listed in the Upgrade Tasks view. The status of each task appears inthe Status column.

The Upgrade Utility records how far it progresses during an upgrade task so that it canrecover if system problems occur.

Run to Selected Task Command (File Menu)

Runs all incomplete tasks up to and including the selected task. The status of each task appearsin the Status column in the Upgrade Tasks view.

The Upgrade Utility records how far it progresses during an upgrade task so that it can

recover if system problems occur.

SmartPlant P&ID Installation and Upgrade Guide 59

Page 66: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 66/130

Upgrading to SmartPlant P&ID 2009

60 SmartPlant P&ID Installation and Upgrade Guide

Show Log Command (File Menu)

Displays the upgrade log file.

The upgrade log file contains a list of all changes made during the upgrade, including eachupgrade subtask.

The log file, named UpgradeV4_plantname.log, is saved in the folder where the drawingsfor the plant are stored.

Upgrade Site Command (Tools Menu)

This command removes the restriction in which projects with the same name cannot reside in thesame plant and then updates the site data dictionary version number to 2009. For moreinformation, see Upgrading a Site (on page 54).

Upgrade Plant Command (Upgrade Menu)Displays the upgrade tasks required for the plant upgrade process. On choosing this command,the utility moves the plant from the Active plants node to the Upgrades in progress node anddisplays the list of upgrade tasks required to upgrade the selected plant.

Click File > Finish Next Task  or File > Finish All Tasks to actually start the upgrade process.

If you have not yet run a task, you can cancel the upgrade process by selecting the plant underthe Upgrades in Progress node and clicking File > Cancel to restore the pre-upgrade state.

Oracle users, for the upgrade process to finish correctly after upgrading your plants andassociated applications, the Convert Oracle Data Type process must be carried out. Unlessyou do so, you will not be able to work with a plant in SmartPlant Engineering Manager,SmartPlant Electrical, or SmartPlant P&ID.

You must complete all upgrade tasks for a plant before you upgrade the reference data ordrawings in the plant.

The rules file for the upgraded plant are marked as out-of-date for the Update Drawings commands in Drawing Manager. The formats and select lists will be marked as up-to-date.

Page 67: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 67/130

  Upgrading to SmartPlant P&ID 2009

SmartPlant P&ID Installation and Upgrade Guide 61

You cannot upgrade a backed-up plant without restoring it first.

For a list of all changes made during the plant upgrade, including each upgrade subtask, seethe plant upgrade log file. The log file, named UpgradeV600_  plant name.log, is saved inthe folder where the plant structure resides.

To view the plant upgrade log file, select the plant in the Tree view, and then click File >Show Log.

Upgrade P&ID Command (Upgrade Menu)

Displays the upgrade tasks required for the SmartPlant P&ID application upgrade process. Clickone of the File > Finish commands to actually start the upgrade process.

See AlsoUpgrade SmartPlant P&ID (on page 56)

After Running the Upgrade UtilityAfter you complete all of the upgrade tasks for a plant, make a full backup of the upgradeddatabases. You should also use the Oracle analyzer scripts to optimize your databases.

Backup Each Upgraded Plant

After you have completed the upgrade process for each plant, you should do the following:

1. Set the backup location for the plant in SmartPlant Engineering Manager and perform a full backup. For more information about backing up a plant, see the Backup and Restore section in the SmartPlant Engineering Manager Help.

2. Perform a complete database backup.

3. Perform a file system backup to archive the drawings, reference data, and other files.

Use Oracle Analyzer Scripts

The Oracle performance tuning documentation recommends analyzing the database objects aftera large number of records have been added. These analyzer scripts collect statistics and storethem internally in the database to determine potential execution paths so that the one with thelowest cost can be selected for use. After the upgrade, you should add these scripts to yournightly backup routine.

Preserve Software Customizations

The Upgrade Utility does not make changes that might overwrite user customization of displaynames, property formats, calculation programs, validation programs, or layouts.

Page 68: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 68/130

Upgrading to SmartPlant P&ID 2009

62 SmartPlant P&ID Installation and Upgrade Guide

A data dictionary change made during an upgrade can cause layouts that usePipingPoint properties to have an incorrect caption or column heading. None of the defaultlayouts delivered during installation include PipingPoint properties. However, if you addedthese properties to one of the default layouts or created a new layout with PipingPoint properties,you can manually revise the captions for any layouts that use PipingPoint properties after you

upgrade by doing the following:1. Open SmartPlant P&ID.

2. In the list on the Engineering Data Editor toolbar, select the saved view that containsPipingPoint properties.

3. In the Engineering Data Editor, click the View  menu and select Edit View.

4. On the Table Properties dialog box, click Advanced.

5. Click the Layout tab.

6. In the Display Property list, select the PipingPoint property.

PipingPoint properties start with the word End , such as End, End 2, End 3, and End 4.

7. Confirm that the caption is appropriate for the property.

8. If you need to modify the caption, make changes in the Caption box at the bottom of theAdvanced Table Properties dialog box.

Making Manual Changes

After running the Upgrade Utility, you must still perform the following changes for SmartPlantP&ID 2009 manually:

Opening and saving the rules file so that the new rule options are added to the Rules.rul file.

Possibly copying any new or modified symbols from ~\Program Files\SmartPlant\P&IDReference Data to the plant's reference data, making sure that you do not overwrite anycustomizations.

If the plant has been upgraded from SmartPlant P&ID 4.3: Adding all the new rules for jacketing.

Adding the new rule for Serial Lines (Instrument Signal Lines).

Creation of the graphics on the Jacket Layer of the symbols for jacketing.

Upgrading Reference Data

Reference data often changes between versions of the software. These changes can includedeletions and additions to reference data, as well as modifications to existing data formats andlocations. After you upgrade your plant data using the SmartPlant Engineering Upgrade Utility,

you can use the Upgrade Reference Data command in SmartPlant P&ID Options Manager toupgrade styles, template files, symbols, and assemblies.

Page 69: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 69/130

  Upgrading to SmartPlant P&ID 2009

SmartPlant P&ID Installation and Upgrade Guide 63

User Access

Before you can upgrade the reference data and drawings for an upgraded plant, you must defineuser access for the plant in SmartPlant Engineering Manager. For more information aboutdefining user access, see the SmartPlant Engineering Manager User's Guide.

After you upgrade reference data, you cannot view it in earlier versions of the software.

For information about changes made during the reference data upgrade, see theV4RefDataUpgrade.log file. This log file is saved in the folder where the symbols arestored. For more information about upgrading reference data, see SmartPlant P&ID Options

 Manager Help.

Upgrade Reference Data

1. Click Start > Programs > SmartPlant P&ID > Options Manager.

2. Select the site and plant for which you want to upgrade reference data.

3. Click Tools > Upgrade Reference Data. A splash screen displays, then a message boxinforms you when the upgrade operation successfully completes.

4. Click OK .

After you upgrade reference data, you should not view it in earlier versions of the software.

For information about changes made during the reference data upgrade, see theV4RefDataUpgrade.log file. This log file is saved in the folder where the symbols arestored.

For more information about upgrading reference data, see SmartPlant P&ID Options

 Manager Help.

Page 70: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 70/130

Upgrading to SmartPlant P&ID 2009

64 SmartPlant P&ID Installation and Upgrade Guide

Updating Drawings

Changes are often made to the SmartPlant P&ID reference data while work is being managed onthe P&IDs. When these changes are made, they apply to all drawings items after the time of

change, but do not apply to existing drawing items. The Update Drawings functionality(provided by the set of Out-of-Date Drawings commands in Drawing Manager) allows you tomanage which drawings are updated with the latest reference data changes by defining valuesthat define out-of-date drawings criteria and by resolving any symbols that have been deleted,moved, or renamed.

You can also schedule these update operations and create reports. For more information aboutthis functionality, see the Drawing Manager Help.

Using the Update Drawings functionality is not required as part of the upgrade process, but it is strongly recommended.

When you submit a selection of P&IDs to the Out-of-Date Drawings > Update command,Drawing Manager analyzes the drawing for changes to the following:

Data Dictionary (select lists)

Formats

Symbols (moved and missing symbols, and changes to the .sym file)

Rules Manager

Options Manager (heat tracing, gapping, and symbology)

Model Items (via Llama)

OPCs (moved)

Drawings in a recreate state

Drawing Properties

After this analysis process, a summary displays, listing the number of drawings selected, thenumber of out-of-date drawings, and the number of drawings with missing symbols. You mustmanually resolve the missing symbols using the Resolve Missing Symbols dialog box, whichlists the symbols in question and allows you to define the new location of each symbol.

In addition to the interactive approach of updating drawings, you can schedule the entire update process, except for the resolution of missing symbols, which is a manual process as describedabove.

Reporting capability provides a summary of the selected drawings and the out-of-date criteriadetected during the analyze step. This report format is non-configurable.

Update Command (File > Out-of-Date Drawings Menu)Displays the Update Drawings dialog box. When you select this command, the selecteddrawings are analyzed based on the out-of-date criteria and the results display on the Update

Drawings dialog box.

Page 71: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 71/130

  Upgrading to SmartPlant P&ID 2009

SmartPlant P&ID Installation and Upgrade Guide 65

Update does not update any symbol whose definition has been changed into a break component.This situation occurs when you have a catalog item that has been placed in a drawing and thenyou change its definition to be a break component. The SmartPlant P&ID Replace commanddoes not allow a non-breaking component to be replaced with a break component. The Update command relies on the SmartPlant P&ID Replace command to replace symbols that are out-of-

date.Intergraph recommends that you backup your work or create a version of your work prior

to using this command.

Total drawings selected — Displays the number of drawings selected.

Report — Generates a Microsoft Excel report describing the details of out-of-date drawing(s).

Out-of-date drawings — Displays the number of drawings that are out-of-date based on thecriteria selected using the Out-of-Date Drawing Criteria dialog box.

Resolve — Displays the Resolve Missing Symbols dialog box. Use this button to resolve anymissing symbols.

Drawings with missing symbols — Displays the number of out-of-date drawings containingsymbols that do not exist in the catalog.

If the path to your Rules file is set incorrectly in SmartPlant P&ID Options Manager, thenthe Update Drawings command will not work. For example, if the path is invalid, then alldrawings in the project are in an out-of-date state but the software cannot update them. Thiserror also occurs if the Catalog Explorer Root Path specified in SmartPlant P&ID OptionsManager is invalid. An error message displays and the report displays Drawings with a ? in the

criteria column have missing or incorrect reference data.

Page 72: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 72/130

Upgrading to SmartPlant P&ID 2009

66 SmartPlant P&ID Installation and Upgrade Guide

Resolve Command (File > Out-of-Date Drawings > UpdateDrawings Menu)

Displays the Resolve Missing Symbols dialog box which provides a way for you to define any

symbols that have been deleted, moved, or renamed.

In order to resolve any missing symbols, you must have an existing symbol in the catalog todefine as the replacement for the missing symbol.

You cannot resolve missing symbols for offline instruments of a different class using thiscommand.

Old Path - Displays the relative path of the missing symbol.

New Path - Displays possible options for defining correct locations for the missing symbol(s).

Drawings - Displays the list of drawings that contain the missing symbol(s).

See Also

Out-of-Date Drawing Criteria Command  (see "Out-of-Date Drawing Criteria Command (ToolsMenu)" on page 67)

Update Command  (see "Update Command (File > Out-of-Date Drawings Menu)" on page 64)

Page 73: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 73/130

  Upgrading to SmartPlant P&ID 2009

SmartPlant P&ID Installation and Upgrade Guide 67

Out-of-Date Drawing Criteria Command (Tools Menu)

Displays the Out-of-Date Drawing Criteria dialog box. Items selected in this list define whatcriteria is used to search for out-of-date values when you use the commands on the File > Out-

of- Date Drawings menu.

Select out-of-date drawing criteria

Select List Changes 

Data Dictionary Select List — Data dictionary select list GUID on the drawing item is notequivalent to select list GUID in Data Dictionary.

PID Select List — PID select list GUID on the drawing item is not equivalent to the selectlist GUID in PID schema.

Format Changes 

Formats GUID on the drawing item is not equivalent to Formats GUID from the Database.

Default Formats GUID on the drawing item is not equivalent to Default Formats GUID inOption Manager setting.

Out-of-Date Symbols — File Last Modified Time Stamp on at least one representation in thedrawing is not equivalent to the File Last Modified Time Stamp on the corresponding symboldefinition file.

Missing Symbols — Filename specified for at least one representation in the drawing does nothave the corresponding symbol definition file available in the current catalog.

Rule Changes — Rules GUID on the drawing item is not equivalent to the GUID from theRules file.

Heat Trace Changes — Heat Trace GUID on the drawing is not equivalent to the Heat TraceGUID in Option Manager Setting.

Page 74: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 74/130

Upgrading to SmartPlant P&ID 2009

68 SmartPlant P&ID Installation and Upgrade Guide

Gapping Changes — Gapping GUID on the drawing item is not equivalent to the GappingGUID in Option Manager Setting.

Symbology Changes — Symbology GUID on the drawing item is not equivalent to theSymbology GUID in Option Manager Setting.

Out-of-Date Model Items — SP_ModelItemTimeStamp for at least one representation in thedrawing is not equivalent to the TimeStamp on the History Item of its Model Item. This criteriacovers model items updated via Llama (Outside the drawing).

Moved OPCs — MatingOPCPath (will have Drawing Id of its mate) on the OPC is notequivalent to the SP_DrawingId of its mate OPC. The OPC label is in a to-be-updated state asits mate has been moved.

Recreate State — The drawing is in a Recreate state.

Drawing Property Changes — Property Changes GUID on the drawing item is not equivalentto Drawing Property Changes GUID on the drawing item. Drawing Property Changes GUID isset when drawing properties are modified from Drawing Manager.

See Also Resolve Command  (see "Resolve Command (File > Out-of-Date Drawings > Update DrawingsMenu)" on page 66)Out-of-Date Drawing Criteria Command  (see "Out-of-Date Drawing Criteria Command (ToolsMenu)" on page 67)Update Command  (see "Update Command (File > Out-of-Date Drawings Menu)" on page 64)

Page 75: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 75/130

 

S E C T I O N 1 1

Configuring SmartPlant Engineering

ManagerAfter installing the software and reference data, use SmartPlant Engineering Manager to create asite server and plant structures within the site, associate applications to the plant structure, andconfigure user access.

Working with Database Schemas

The SmartPlant schemas are configured to use separate data dictionaries for SmartPlantEngineering Manager and each engineering application. While each application sees only thereference data that applies to it, each application shares some common SmartPlant EngineeringManager data. This configuration supports the requirement for distributed management of therelational database, supports navigation across application tables for read-only access, andsupports integration of data across applications.

A valid site with one plant consists of six database schemas when you use SmartPlant P&ID asyour application, seven database schemas when you use SmartPlant Electrical, and nine databaseschemas if you use both applications concurrently. The plant structure schemas are shared between SmartPlant P&ID and SmartPlant Electrical.

For example, in the following figure, the site server contains two plants, one with bothSmartPlant P&ID and SmartPlant Electrical associated to it and the other with only theSmartPlant P&ID application associated.

SmartPlant P&ID Installation and Upgrade Guide 69

Page 76: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 76/130

Configuring SmartPlant Engineering Manager

70 SmartPlant P&ID Installation and Upgrade Guide

The figure below shows the schemas that would exist in the database for this configurationexample, assuming that both applications are in the same database instance. On a given databaseserver, we recommend putting all plants in one database instance.

The majority of database activity occurs in the application schemas (SPPID Schema, SPPIDData Dictionary Schema, SPEL Schema, SPEL Data Dictionary Schema, and SPEL ReferenceSchema) since this is where the application data is stored. The plant schema contains thesmallest amount of data compared with the other schemas.

Understanding Default Database User NamesOracle and SQL Server databases require user names and passwords for each of the schemas anddata dictionaries created by the New Site Server, New Plant Structure, Load Plant Structure,New Project, and Associate Application wizards.

SmartPlant Engineering Manager uses the formulas in the following table to generate defaultvalues for these user names.

Schema Type Database User Name Example

Site Schema Name of the site Site1

Site Data Dictionary Site Schema user name + 'd' Site1d

Plant Schema Name of the plant Plant1

Plant Data DictionarySchema

 Name of the plant + 'd' Plant1d

P&ID Schema Plant schema user name + 'pid' Plant1pid

Page 77: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 77/130

  Configuring SmartPlant Engineering Manager

SmartPlant P&ID Installation and Upgrade Guide 71

Schema Type Database User Name Example

P&ID Data DictionarySchema

Plant schema user name + 'pidd' Plant1pidd

Electrical Schema Plant schema user name + 'el' Plant1el

Electrical Data DictionarySchema

Plant schema user name + 'eld' Plant1eld

Electrical ReferenceSchema

Electrical schema user name + 'ref' Plant1elref

Satellite Plant Schema Plant schema user name + 'sat' +satellite count

Plant1sat1

Satellite P&ID Schema Satellite plant schema user name +'pid'

Plant1sat1pid

Satellite Replication

Schema

Satellite plant schema user name +

'rep'

Plant1sat1rep

Project Schema Plant schema user name + 'p' + project count

Plant1p1

Project P&ID Schema P&ID schema user name + 'p' + project count

Plant1pidp1

Project Electrical Schema Electrical schema user name + 'p' + project count

Plant1elp1

The software sets the related password defaults for each of the above user namesautomatically (Oracle uses the default user name, while SQL Server 2005 appends '1' to the

default user name). In the case of SQL Server 2005 running on Windows Server 2003, ifyou are using SQL Server authentication, you can specify that SQL Server 2005 is to use the password validation rules that are used by Windows Server 2003.

Oracle database user names are limited to 30 characters. Because plant names can be up to64 characters long, the software uses only the first 12 characters of the plant name increating the default database user names using the formulas above.

The software removes all spaces or special characters in a plant name before using that nameto create a default database user name.

Database usernames cannot contain any of the following characters: . < , > ? \ / ' ; { } [ ] ~ ` !% * ( ) & $ @ # "

See Also New Site Server Wizard  (on page 88) Associate Applications Wizard  (on page 89)

Page 78: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 78/130

Configuring SmartPlant Engineering Manager

72 SmartPlant P&ID Installation and Upgrade Guide

Working with Data Dictionaries

SmartPlant Engineering Manager allows you to add or edit attributes in plant and applicationdata dictionaries and then create data dictionary templates from the modified plant or applicationdata dictionaries. You can then move the template to a new site and use it to populate a new

 plant or application schema. For example, you can make your plant customizations one time,create a template of that data dictionary, and then use that template in other sites, much likecopying a plant from site to site, rather than having to perform the same modification steps ateach site.

Data dictionary templates are not database-specific. In other words, a given data dictionarytemplate can be used in both Oracle and SQL Server environments.

The data dictionary template file is a collection of all filters, plant group types, OptionsManager settings, and other database-related items (anything that's not stored in externalfiles, like Rules or Symbols). When using a data dictionary template to create a plant in

another site, you must have the proper rules file (which relies on filters) to go with thattemplate. Rules, insulation specification, symbols, and other file-based reference data arenot included in data dictionary templates.

In a Workshare collaboration, you cannot create a plant or application data dictionarytemplate at a satellite site. You must create the templates at the host site.

Data dictionary templates cannot be upgraded. However, you can use the Data DictionaryTemplate Comparison Utility to compare your existing template with the default templatedelivered with the latest version of SmartPlant Engineering Manager. For more information,see the SmartPlant Data Dictionary Template Comparison Utility User's Guide.

See Also New Data Dictionary Template Command  (see " New Data Dictionary Template Command

(Tools Menu)" on page 74) Data Dictionary Manager Command  (see "Data Dictionary Manager Command (Tools Menu)"on page 72) New Data Dictionary Template Dialog Box (on page 74)

Data Dictionary Manager Command (Tools Menu)

Starts Data Dictionary Manager, allowing you to add and edit attributes in the plant datadictionaries within the site.

To add properties to the active plant database, select the plant structure and click Tools > Data

Dictionary Manager.

Page 79: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 79/130

  Configuring SmartPlant Engineering Manager

SmartPlant P&ID Installation and Upgrade Guide 73

To add, modify, or delete attributes for the plant group types, select the Plant Group Types node and then click Tools > Data Dictionary Manager. Attributes added to a plant group typeusing this method are not automatically included in the attributes for active plant groupstructures that use that plant group type.

To access the site data dictionary, start Data Dictionary Manager outside SmartPlantEngineering Manager. When started from within SmartPlant Engineering Manager, DataDictionary Manager can access only the plant data dictionaries. You cannot swap betweendata dictionaries once Data Dictionary Manager is running.

After accessing Data Dictionary Manager from within SmartPlant Engineering Manager andmaking changes, you must either exit and restart SmartPlant Engineering Manager or reopenthe site to see the changes from within SmartPlant Engineering Manager.

Do not use Oracle reserved words (for example, "address") as attribute names.

See Also New Data Dictionary Template Dialog Box (on page 74)

 New Data Dictionary Template Command  (see " New Data Dictionary Template Command(Tools Menu)" on page 74)

Create a Data Dictionary Template

1. Select the plant or application from which you can to create the template and click Tools >New Data Dictionary Template.

To create a plant data dictionary template, select the Plant node in the Tree view.

To create an application data dictionary template, select the Applications node in theTree view and then select the application in the List view.

2. In the Template file box, browse to the path where you want the template file saved andthen type a file name for the template file.

3. If you are creating an application template, type the Source name for the application datadictionary template. By default, this field displays the name of the source data dictionarytemplate used to create the existing application data dictionary.

Data dictionary templates cannot be upgraded. You cannot use a template created using anolder version of SmartPlant Engineering Manager to create a plant or application schema.

Data dictionary templates are not database-specific. In other words, a given data dictionarytemplate can be used in both Oracle and SQL Server environments.

When using a data dictionary template to create a plant in another site, you must have the proper rules file (which relies on filters) to go with that template. Rules, insulationspecification, symbols, and other file-based reference data are not included in data dictionarytemplates.

Page 80: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 80/130

Configuring SmartPlant Engineering Manager

74 SmartPlant P&ID Installation and Upgrade Guide

See Also Data Dictionary Manager Command  (see "Data Dictionary Manager Command (Tools Menu)"on page 72) New Data Dictionary Template Command  (see " New Data Dictionary Template Command(Tools Menu)" on page 74)

New Data Dictionary Template Command (Tools Menu)

Generates a template .ddt file based on the selected plant or application schema. Use thiscommand to create a data dictionary template from a data dictionary that you have modified viathe Tools > Data Dictionary Manager command.

A plant data dictionary template file contains all the information in the plant schema. Theapplication data dictionary temple contains all filters, plant group types, Options Managersettings and symbology, and other database-related items (anything that's not stored in externalfiles, like rules or symbols).

Data dictionary templates cannot be upgraded. You cannot use a template created using anolder version of SmartPlant Engineering Manager to create a plant or application schema.

Data dictionary templates are not database-specific. In other words, a given data dictionarytemplate can be used in both Oracle and SQL Server environments.

When using a data dictionary template to create a plant in another site, you must have the proper rules file (which relies on filters) to go with that template. Rules, insulationspecification, symbols, and other file-based reference data are not included in data dictionarytemplates.

See Also Data Dictionary Manager Command  (see "Data Dictionary Manager Command (Tools Menu)"on page 72)

 New Data Dictionary Template Dialog Box (on page 74)

New Data Dictionary Template Dialog Box

Allows you to generate a template from an existing plant or application data dictionary.

Template file — Allows you to specify the path and file name for the new template.

Page 81: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 81/130

  Configuring SmartPlant Engineering Manager

SmartPlant P&ID Installation and Upgrade Guide 75

Source name — Available only when creating an application template, this field displays theinternal name of the source data dictionary template used to create the existing application datadictionary. You can type a new name to be used in place of Imperial or Metric in the Plant

Settings table in the plant schema.

See Also Data Dictionary Manager Command  (see "Data Dictionary Manager Command (Tools Menu)"on page 72) New Data Dictionary Template Command  (see " New Data Dictionary Template Command(Tools Menu)" on page 74)

Using Default Settings

SmartPlant Engineering Manager allows you to predefine values for creating sites, plantstructures, projects, and associating application. Using these default settings simplifies thecreation process and allows you to use the same settings across sites and plants.

The values specified on the Default Settings dialog box are used by default only ifyou turn on the Tools > Use Default Settings command.

See Also Default Settings Dialog Box (on page 76) Default Settings Command  (see "Default Settings Command (Tools Menu)" on page 75)Use Default Settings Command  (see "Use Default Settings Command (Tools Menu)" on page

Use Default Settings Command (Tools Menu)

Allows you to toggle on and off using the predefined settings for populating the correspondingvalues in the New Site Server, New Plant Structure, and Associate Applications wizards.

See Also

 Default Settings Command  (see "Default Settings Command (Tools Menu)" on page 75) Default Settings Dialog Box (on page 76)Using Default Settings (on page 75)

Default Settings Command (Tools Menu)

Displays the Default Settings dialog box, which allows you to predefine settings for populatingthe corresponding values in the New Site Server, New Plant Structure, and Associate

Applications wizards. These wizards use the values specified on this dialog box only if youturn on the Tools > Use Default Settings command.

See AlsoUse Default Settings Command  (see "Use Default Settings Command (Tools Menu)" on page Default Settings Dialog Box (on page 76)Using Default Settings (on page 75)

Page 82: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 82/130

Configuring SmartPlant Engineering Manager

76 SmartPlant P&ID Installation and Upgrade Guide

Default Settings Dialog Box

Allows you to predefine values for populating the corresponding values in the New Site Server,New Plant Structure, and Associate Applications wizards.

The default settings values are used by default only if you turn on the Tools > UseDefault Settings command.

 Database Tab (see "Database Tab (Default Settings Dialog Box)" on page 76) Paths Tab (see "Paths Tab (Default Settings Dialog Box)" on page 77) Plant Tab (see "Plant Tab (Default Settings Dialog Box)" on page 79)SmartPlant P&ID Tab (see "SmartPlant P&ID Tab (Default Settings Dialog Box)" on page 80)SmartPlant Electrical Tab

See Also Default Settings Command  (see "Default Settings Command (Tools Menu)" on page 75)Use Default Settings Command  (see "Use Default Settings Command (Tools Menu)" on page

Database Tab (Default Settings Dialog Box)

Displays the database settings you can predefine for populating the corresponding values in theNew Site Server and New Plant Structure wizards. Initially, the values specified during sitecreation populate this tab. You can modify these values for subsequent site or plant creations.

Oracle — Select this option if you are using an Oracle database. This information is carriedforward from the site properties, but you can modify it for subsequent plant creations.

Page 83: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 83/130

  Configuring SmartPlant Engineering Manager

SmartPlant P&ID Installation and Upgrade Guide 77

Oracle alias — Type the name of the Oracle net service alias used by the site in which the plantwill be created.

Refresh — Click this button to update the entries in the tablespace lists if you have changed thesystem user name or password entries.

System user — Type a database system user name. This name does not have to be the databaseadministrator user name, but this user must have system privileges.

System password — Type the system password.

Oracle tablespace — Select a default Oracle tablespace name for your plant database.

We recommend that you do not use SYSTEM for the default tablespace, becauseOracle uses this tablespace for its own use.

Oracle temp tablespace — Select a default Oracle temporary tablespace name for your plantdatabase. If this list is empty, contact your database administrator.

SQL Server — Select this option if you are using a SQL Server database. This information iscarried forward from the site properties, but you can modify it for subsequent plant creations.

Server — Type the node name of the server on which the SQL Server database resides.

Refresh — Click this button to update the database information if you have changed the systemuser name or password entries.

System user — Type a database system user name. This name does not have to be the databaseadministrator user name, but this user must have system privileges.

System password — Type the system password.

Database usernames and passwords cannot contain any of the following characters: . < , >? \ / ' ; { } [ ] ~ ` ! % * ( ) & $ @ # "

See Also

 Default Settings Command  (see "Default Settings Command (Tools Menu)" on page 75)Use Default Settings Command  (see "Use Default Settings Command (Tools Menu)" on page

Paths Tab (Default Settings Dialog Box)

Displays the path settings you can predefine for populating the corresponding values in the New

Site Server, New Plant Structure, and Associate Applications wizards.

Page 84: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 84/130

Configuring SmartPlant Engineering Manager

78 SmartPlant P&ID Installation and Upgrade Guide

All paths, except Seed location, must be in UNC format.

Plant structure root directory — Specify the path to the storage location for the plant data andthe drawing files. Folders for individual plant structures are automatically appended to this pathas they are created.

You must create the plant structure root directory and share it out before using thesedefault settings during plant creation.

Backup root directory — Specify the path to the shared storage folder for backing up the plantfiles. Folders for individual plant structures are automatically appended to this path as they arecreated.

Seed location — Specifies the folder where all the templates are stored. The site administratorsets this path during installation.

See Also Default Settings Command  (see "Default Settings Command (Tools Menu)" on page 75)Use Default Settings Command  (see "Use Default Settings Command (Tools Menu)" on page75)

Page 85: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 85/130

  Configuring SmartPlant Engineering Manager

SmartPlant P&ID Installation and Upgrade Guide 79

Plant Tab (Default Settings Dialog Box)

Displays the plant settings you can predefine for populating the New Plant Structure wizard.

Data Dictionary source — Select the default source for the new plant data dictionary.

Use default template — Select this option to create the plant data dictionary using the deliveredtemplate.

Use custom template — Select this option to create the plant data dictionary using a customtemplate.

Template path — Specify the path where the custom template file is located. This field isenabled only if the Use custom template option is selected. This path is limited to 255characters and must be in UNC format. The software verifies that the specified template is of the proper template type.

Data dictionary templates are not database-specific. In other words, a given datadictionary template can be used in both Oracle and SQL Server environments. For more

information about using data dictionary templates, see Working with Data Dictionaries (on page72).

Hierarchy — Select the default hierarchy that you want to use for new plants. All currentlydefined hierarchies display in this list.

Page 86: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 86/130

Configuring SmartPlant Engineering Manager

80 SmartPlant P&ID Installation and Upgrade Guide

If you want to use a custom hierarchy, you must create it before using these defaultsettings to create a plant structure. Hierarchies cannot be modified during plant structurecreation.

Hierarchy definition — Displays the plant breakdown structure items in the currently selectedhierarchy.

Show warning message when the hierarchy has less than 3 levels — Displays a warningwhen the plant hierarchy has less than three levels. Clear this checkbox, if you do not want thismessage to be displayed.

See Also Default Settings Command  (see "Default Settings Command (Tools Menu)" on page 75)Use Default Settings Command  (see "Use Default Settings Command (Tools Menu)" on page

SmartPlant P&ID Tab (Default Settings Dialog Box)

Displays the SmartPlant P&ID settings you can predefine for populating the correspondingvalues in the Associate Applications wizard.

Data Dictionary source — Select the default source for the SmartPlant P&ID data dictionary.

Use default template — Select this option to create the SmartPlant P&ID data dictionary usingthe delivered template.

Use custom template — Select this option to create the SmartPlant P&ID data dictionary usinga custom template.

Template path — Specify the path where the custom template file is located. This field isenabled only if the Use custom template option is selected. This path is limited to 255characters and must be in UNC format. The software verifies that the specified template is of the proper template type.

Page 87: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 87/130

  Configuring SmartPlant Engineering Manager

SmartPlant P&ID Installation and Upgrade Guide 81

Data dictionary templates are not database-specific. In other words, a given datadictionary template can be used in both Oracle and SQL Server environments. For moreinformation about using data dictionary templates, see Working with Data Dictionaries (on page72).

SmartPlant P&ID reference data path — Type or browse to the SmartPlant P&ID reference

data path. This path is limited to 255 characters and must be in UNC format.

System of units — Select the system used for displaying units in SmartPlant P&ID.

See Also Default Settings Command  (see "Default Settings Command (Tools Menu)" on page 75)Use Default Settings Command  (see "Use Default Settings Command (Tools Menu)" on page

Creating Network Shares

Before using SmartPlant Engineering Manager, you must create the following network shares.The paths to these shares are needed while running the various wizards in SmartPlant

Engineering Manager.

Site Server Share

Create a share on the SmartPlant Engineering Manager (server) workstation to hold the site'sSmartPlantV4.ini file. This share can be on the same computer as SmartPlant EngineeringManager or on a different machine. Because you can have several sites (differentSmartPlantV4.ini files) on one computer, you must create separate shares for each site.

All SmartPlant users must be granted read permissions on a site share (the site administratorgroup needs to be granted read and write permissions). You will need this share name to createthe site later.

Role Template ShareCreate a share on a server to hold the role templates you create for use with SmartPlantEngineering Manager. These templates are standard sets of rights and privileges that you cangrant to user groups, without having to define the rights each time. This share can be on thesame server as SmartPlant Engineering Manager or on a different server.

Only administrators responsible for the creation of sites, plants, user groups, and assigning useraccess require read and write permissions to this share. You must specify this location duringsite creation, or your role templates will not be available for selection.

Backup Location Shares

Create shares to hold the backup data for the site and for each plant structure. These shares can be on the same server as SmartPlant Engineering Manager or on a different server. Werecommend using a separate server for backups. SmartPlant users who will be doing backupsmust be granted read and write permissions on these shares. You will need these share names tocreate the site and plants later.

You must create backup shares for each plant structure you create.

Page 88: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 88/130

Configuring SmartPlant Engineering Manager

82 SmartPlant P&ID Installation and Upgrade Guide

Site Administrator User Group

During site creation, you are asked to specify the user group that you want to have siteadministrator privileges. The group you specify will then possess a set of unique rights that

cannot be granted to any other role. These rights include creating plant structures, creating andmodifying hierarchies, creating and modifying plant group types, enabling and creating projects,and so forth. Site administrators can see all plant structures in the site and have full access tothem. Site administrator privileges do not extend to the individual engineering products.

The following tasks must be completed before a user group can be used as the site administratorgroup:

1. Create the user group using the administrative tools on your computer.

2. Verify that the users you added to the group created above are also members of the localAdministrators group on the computer where SmartPlant Engineering Manager is loaded.

3. Grant network access privileges to the user group you just created using administrative toolson your computer.

For more information about how SmartPlant Engineering Manager applies user access andsite administration privileges, see User Access (see "Change the Site Administrator UserGroup" on page 86).

For information about Novell networking and user groups, see Novell Networking and User

Groups (on page 85).

All users in Groups other than the Administrators group must have write access to theC:\Program Files\SmartPlant folder (or the folder where SmartPlant Engineering Manager isinstalled) in order to use the software.

You can change the user group assigned as the site administrator group after site creation.

For more information, see Change the Site Administrator User Group (on page 86).

Create a User Group

Before creating a site server, you must create, on the computer that will house the sitesmartplantv4.ini file, a local users group containing the users you want to have siteadministration privileges. For example, to create a group named SiteAdmins on a Windows2003 server, use the following steps.

1. From the Windows Control Panel, select Administrative Tools > Computer

Management.

2. Select System Tools > Local Users and Groups.

3. Select Groups in the Tree view, right-click and on the shortcut menu, select the New

Group command.

Page 89: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 89/130

  Configuring SmartPlant Engineering Manager

SmartPlant P&ID Installation and Upgrade Guide 83

4. On the New Group dialog box, type the name and description for the new group.

5. Click Add and, from the Select Users, Computers or Groups dialog box, select users toadd to the new group. Each user added to this group must be a Windows domain user.

Page 90: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 90/130

Configuring SmartPlant Engineering Manager

84 SmartPlant P&ID Installation and Upgrade Guide

6. Click Create to create the new group. The new SiteAdmins group should appear in the listof groups.

Add Users to the Administrators Group

1. On the Local Users and Groups dialog box, double-click the Administrators group.

2. On the Administrators Properties dialog box, click Add.

3. Add the same users to this group that you added to the SiteAdmins group in the sectionabove.

All users in Groups other than the Administrators group must have write access to theC:\Program Files\SmartPlant folder (or the folder where SmartPlant Engineering Manager isinstalled) in order to use the software.

Grant Network Access Privileges

Complete the following steps to grant the Right to access this computer from the network  local policy to the SiteAdmins group you just created.

1. From the Windows Control Panel, select Administrative Tools > Local Security Policy.

Page 91: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 91/130

  Configuring SmartPlant Engineering Manager

SmartPlant P&ID Installation and Upgrade Guide 85

2. On the Local Security Settings dialog box, select the User Rights Assignment local policy,and double-click the Access this computer from the network  policy.

3. On the Local Security Setting dialog box, click Add User or Group and browse to thegroup you created above (for example, SiteAdmins).

Novell Networking and User Groups

 Novell trees are the structures used for users and groups, much like domains on Windowssystems.

For example, if the logged in user is NDS:\\PBS\US\SP2D\AL\HSV\USERS\SPMGR and NovellLevels is set to 3, SmartPlant Engineering Manager would look for groups under NDS:\\PBS\US\SP2D and any sub-nodes of the tree from that path down.

You can modify the NovellLevels registry key to find the right scope to your groups. The lowerthe value, the wider the scope. The default value is 3.

Page 92: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 92/130

Configuring SmartPlant Engineering Manager

86 SmartPlant P&ID Installation and Upgrade Guide

Under the SmartPlant Manager node, you must also define a registry key named ForceNovell and set its value to 1 to use Novell groups rather than Windows groups.

Change the Site Administrator User Group

1. Select the site node in the Tree view.

2. Right-click and select Properties.

3. On the General tab on the Site Properties dialog box, click the Browse button next to theSite administrator user group box.

4. On the New Site Administrator dialog box, define the following properties:

Use local machine and domain groups — Select this option to choose an existing usergroup or domain that is accessible from your machine.

Use site server and domain groups — Select this option to choose a user group ordomain that is accessible from the site server machine.

Role name — Click the Browse button , and select the user group to which youwant to assign site administrator privileges.

Role description — (Optional) Type a descriptive note about the user group youselected, such as noting that this group is assigned site administrator privileges. If adescription was defined when the group was created, it appears by default.

5. Click OK  on the New Site Administrator Group dialog box.

6. Click OK  on the Site Properties dialog box to complete the change.

You must have Site Administrator privileges to change the Site Administrator User Group.You (or the person who changes the Site Administrator User Group) retain SiteAdministrator privileges until you either select a new site or you restart the software.However, if you are also a member of the user group now assigned Site Administrator privileges, you will retain your Site Administrator privileges.

Page 93: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 93/130

  Configuring SmartPlant Engineering Manager

SmartPlant P&ID Installation and Upgrade Guide 87

When the Site Properties dialog box is dismissed, the software checks to see if the SiteAdministrator User Group has changed and, if so, replaces the group in the T_Roles tableand the users in the T_RoleUsers group. If any error occurs or the same group is selected, nochanges occur.

See Also New Site Administrator Group Dialog Box (on page 87)

New Site Administrator Group Dialog Box

Displays when you click the Browse button beside the Site administrator user group box onthe Site Properties > General tab, allowing you to change the user group assigned administrator privileges for the site.

Use local machine and domain groups — Use this option when you want to choose an existinguser group or domain that is accessible from your machine.

Use site server and domain groups — Use this option when you want to choose a user groupor domain that is accessible from the site server machine.

Role name — Type the name of or select the Windows or Novell user group you want to assignto this new role. The name of the SmartPlant role will be the same as the name of the selecteduser group. To quickly find the user group in your domain, you can type a partial name into thisfield and click Check Name.

Check Name — Displays the Microsoft Select dialog box, which allows you to select theWindows or Novell user group you want to assign to this new role. The name of the SmartPlantrole will be the same as the name of the selected user group.

Role description — Type a descriptive note about the role that you are creating. You can make

notes that indicate the privileges assigned to the group. If a description was defined when thegroup was created, it appears by default.

See AlsoSmartPlant Engineering Manager Rights (on page 92)Change the Site Administrator User Group (on page 86)

Page 94: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 94/130

Configuring SmartPlant Engineering Manager

88 SmartPlant P&ID Installation and Upgrade Guide

New Site Server Wizard

The New Site Server wizard steps you through creating a site schema and site data dictionary tohold the database connection information for your site.

To start the New Site Server wizard, select Create a new site from the Site Server Optionsdialog box that appears when you run SmartPlant Engineering Manager for the first time. Youmust provide the following information as you step through the wizard.

Data Dictionary Source — Specifies whether the data dictionary for the new site will be builtfrom the default template or a custom template. You must specify the path to the location of theseed files. Data dictionary templates are not database-specific. In other words, a given datadictionary template can be used in both Oracle and SQL Server environments. For moreinformation about using data dictionary templates, see Working with Data Dictionaries (on page72).

Paths — Consists of naming the new site and specifying Universal Naming Convention (UNC) paths to the site server, backup shares, and template locations.

Database Connection Information — Allows you to specify the alias or database node andsystem password for the database containing the site data.

Site Administrator Privileges — Specify the local user group that can be assigned siteadministrator privileges. Use the user access controls provided with your operating system tocreate a group or to verify a group exists that can be used for these purposes. After you havecreated the site, you can change the user group that is assigned site administrator privileges usingthe Site Server Properties dialog box. You can also add or remove users from that user groupusing the user access controls provided with your operating system.

Site Schema and Site Data Dictionary Schema Information — Allows you to specify usernames and passwords for both schemas. All data needed to maintain the site is written into the

site's schema.

You cannot create a new site unless you log on using a domain account that hasadministrator privileges on the computer where you are running SmartPlant EngineeringManager.

Before you can create a site using an Oracle database, you must create a database instance inOracle and the database must be started. In the Windows Control Panel, select Services toverify that the database is running.

The Site Server Options dialog box appears during future sessions only if SmartPlantEngineering Manager cannot find the site SmartPlantV4.ini file.

See Also New Data Dictionary Template Command  (see " New Data Dictionary Template Command(Tools Menu)" on page 74)

Page 95: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 95/130

  Configuring SmartPlant Engineering Manager

SmartPlant P&ID Installation and Upgrade Guide 89

New Plant Structure Wizard

The New Plant Structure wizard steps you through creating a plant structure. To start thiswizard, select the Plant Structures root in the Tree view and then click File > New. You must

 provide the following information as you step through the wizard.

Data Dictionary Source — Specifies whether the data dictionary for the new plant will be builtfrom a default template or a custom template. You must specify the path to the location of theseed files. Data dictionary templates are not database-specific. In other words, a given datadictionary template can be used in both Oracle and SQL Server environments. For moreinformation about using data dictionary templates, see Working with Data Dictionaries (on page72).

Hierarchy — Indicates the template for the plant breakdown structure of the plant. You candefine your own hierarchy that you can then use in creating plant structures or you can use oneof the several delivered hierarchies.

Root Item Attributes — Specifies the plant structure root item and the name that will appear in

the Plant Structures node in the software.

Paths — Consists of UNC paths for the plant structure storage location and a backup storagelocation.

Database Connection Information — Allows you to specify the alias and system password forthe database instance that contains the plant data.

Plant Schema and Data Dictionary Schema Information — Allows you to specify usernames and passwords for both schemas. All data needed to maintain the plant structure is writteninto the plant schema.

You can use the Default Settings commands on the Tools menu to specify default values tosimplify the plant creation process. For more information, see Using Default Settings: An

Overview (see "Using Default Settings" on page 75).

After creating your new plant structure, be sure to associate applications (see "AssociateApplications Wizard" on page 89) with your plant and to assign user access (see "Create a New Role" on page 90) for the new plant structure.

Creating, restoring, or copying different plants on the same site, from two terminals, at thesame time, is not possible, a Run-time error 91:Object variable or With block variable

not set message is displayed on both terminals.

See Also Associate Applications Wizard  (on page 89)

User Access (on page 91)

Associate Applications Wizard

Engineering applications (such as SmartPlant Instrumentation, SmartPlant P&ID, or SmartPlantElectrical) are used to access data within your plant structure. Before you can use an applicationwith your data, you must associate that application with the plant structure.

Page 96: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 96/130

Configuring SmartPlant Engineering Manager

90 SmartPlant P&ID Installation and Upgrade Guide

To associate an application with your plant structure, use the Tools > Associate Applications command to open the Associate Applications wizard that helps you step through creating theapplication schema and data dictionary.

The association procedure of SmartPlant Instrumentation is different from association ofSmartPlant P&ID or SmartPlant Electrical and involves database configuration as the association

 prerequisite. For details, see Associating SmartPlant Instrumentation with the Plant Structure

When associating an application, you must provide the following information as you stepthrough the wizard.

Data Dictionary Source — Specifies whether the data dictionary for the associated applicationwill be built from a default template or a custom template. You must specify the path to thelocation of the seed files. Data dictionary templates are not database-specific. In other words, agiven data dictionary template can be used in both Oracle and SQL Server environments. Formore information about using data dictionary templates, see Working with Data Dictionaries (on page 72).

Application Schema and Application Data Dictionary Schema Information — Allows youto specify user names and passwords for both schemas. All data needed to maintain theapplication association is written into the application schema.

When associating SmartPlant P&ID or SmartPlant Electrical, you can use the Default

Settings commands on the Tools menu to specify default values to simplify the applicationassociation process. For more information, see Using Default Settings: An Overview (see"Using Default Settings" on page 75).

In an integrated environment, if only one application is associated with the plant at the timeit is registered, only that application is registered. If another application is later associatedwith the plant, the Register command is enabled so that you can register the new applicationwith the plant. For more information, see Register Command.

Create a New Role

1. Select the Roles node under the plant structure or project to which you want to add the newrole.

2. Right-click and select New Role.

3. On the General tab, define the following properties:

Use local machine and domain groups — Use this option when you want to choose anexisting user group or domain that is accessible from your machine.

Use site server and domain groups — Use this option when you want to choose a usergroup or domain that is accessible from the site server machine.

Role name — Select the Browse button to display the Select Groups dialog box, whichallows you to select the Windows or Novell user group you want to assign to this newrole. The name of the SmartPlant role will be the same as the name of the selected usergroup.

Page 97: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 97/130

  User Access

SmartPlant P&ID Installation and Upgrade Guide 91

Role description — Type a descriptive note about the role that you are creating. Youcan make notes that indicate the privileges assigned to the group. If a description wasdefined when the group was created, it appears by default.

Template — Select a pre-defined role template. If you do not want to use a template,select None.

4. On the Rights tab, specify the access privileges for this group of users. This step is optionalif you selected a template on the General tab. You can still modify individual access rightsafter applying a role template.

If users experience access problems after you create a role for the group to which the user isassigned, check with your Information Technology group to see if that user was created on aWindows NT domain that has been upgraded to Windows XP. Microsoft provides a methodfor adding users to the built-in Pre-Windows 2000 Compatible Access Group to handlethis backward-compatibility issue. For more information, see the Microsoft KnowledgeBase article number 303973 at http://support.microsoft.com.

The new role will not be created if you do not select any rights.

When setting the rights for the new role, be sure to not only set the rights for theapplications, but also set the access permissions available under the SmartPlant EngineeringManager rights.

You can automatically include the site administrators group in each plant you create byselecting the Add the site administrator group to each plant created option on the Site

Properties > General tab. Doing this saves you the step of creating a new role to grant theseusers access to the new plant.

See AlsoSmartPlant Engineering Manager Rights (on page 92)SmartPlant P&ID User Access Rights (see "SmartPlant P&ID Access Rights" on page 94)

User Access

Overview

User access identifies the users allowed to work at specified access levels within the site andrelated plant structures. With user access, administrators can control access to data and therebyensure the security of their project data.

Page 98: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 98/130

User Access

92 SmartPlant P&ID Installation and Upgrade Guide

SmartPlant Engineering Manager incorporates user access as an integral product feature by usingroles to define and maintain user privileges and rights at the plant structure level, where eachapplication has its own set of rights. Roles are the primary focus, with each role associated to asingle Windows or Novell user group. Each role is then assigned specific rights for eachengineering application and for SmartPlant Engineering Manager.

To see the roles currently defined for a plant, click the Roles node under the plant node inthe Tree view.

To view the rights settings for a particular role, right-click the role in the List view and clickProperties.

Mutually-Exclusive Rights

Users can have access privileges that vary from one plant to another in the same site. Theserights are defined by categories. Categories with radio button options indicate that the rightscontained within are mutually exclusive, meaning you can choose only one right in that categoryto apply to the role. In other categories, you can choose multiple rights, as denoted by check

 boxes.

None — The user is not allowed to execute the application or utility for this plant structure.

Read-Only — The user can execute the application or utility for this plant structure to viewthe data held within it.

Modify Settings — The user can execute the application or utility for this plant structure toview the data held within it and to modify any custom settings.

Full Control — The user can execute the application or utility for this plant structure and perform all commands and modifications. This right is not available to a satellite site whenoperating in the Workshare mode because the reference data must be controlled by the hostsite.

SmartPlant Engineering Manager provides roles templates to help you easily create new roles.Because the most labor-intensive part of a role creation is setting the values for the rights, youcan create templates for specific roles and then use those templates multiple times. This featureis useful for defining a role template in one site and then reusing that same role templatethroughout all of your sites.

See AlsoSmartPlant Engineering Manager Rights (on page 92)Create a New Role (on page 90)SmartPlant P&ID Access Rights (on page 94)

SmartPlant Engineering Manager Rights

SmartPlant Engineering Manager contains two sets of rights: site administrator rights and plantstructure rights.

Page 99: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 99/130

  User Access

SmartPlant P&ID Installation and Upgrade Guide 93

Site Administrator Rights

Site administrators, while not appearing in the Roles node in a plant structure, have a set ofunique rights that cannot be granted to any other role. This group of users has privileges to createand modify plant structures, roles, hierarchies, and plant group types, to enable projects, and soforth.

Only members of the user group specified as the Site Administrator User Group during sitecreation can see the Hierarchy Templates and Plant Group Types roots in the Tree view. Siteadministrators can see all plant structures and have full access to them.

Site administrator privileges do not extend by default to full privileges in the engineeringapplications.

Additional site administrators can be added to the Site Administrator User Group by usingthe administrative tools provided by Windows or Novell. Be sure that these users are grantednetwork access rights to the computer where SmartPlant Engineering Manager is installed.

You can change the user group assigned as the site administrator group after site creation.

For more information, see Change the Site Administrator User Group (on page 86). You can automatically include the site administrators group in each plant you create by

selecting the Add the site administrator group to each plant created option on the Site

Properties > General tab. Doing this saves you the step of creating a new role to grant theseusers access to the new plant. For more information, see General Tab (Site Server PropertiesDialog Box).

Plant Structure Rights

These rights are valid only within the plant structure with which the right is associated. Toaccess the plant structure through SmartPlant Engineering Manager, the user must belong to arole that has at least read-only access to the plant structure.

The following rights are available to the Plant Structure Access category and are mutuallyexclusive.

Page 100: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 100/130

User Access

94 SmartPlant P&ID Installation and Upgrade Guide

Category Right

Plant Structure Access None — The user is not allowed to see any part of the plant structure, including the plant structure node.

Read-Only — The plant structure is visible, but the usercannot create, modify, or delete any data within the plant structure.

Full Control — The user can create plant groups, addapplications and roles, and create projects and satellites, but cannot see the hierarchies or the plant group types.This right is valid only within the SmartPlantEngineering Manager software.

Formats None — The user is not allowed to launch FormatManager.

Read-Only — The user can launch Format Manager and

view the format settings but cannot create, modify, ordelete formats.

Full Control — The user can launch Format Managerand can create, modify, or delete formats.

See AlsoChange the Site Administrator User Group (on page 86)

SmartPlant P&ID Access Rights

Category Right Notes

Catalog None None prevents users from accessing CatalogManager.

Read-Only Read-Only allows users to view symbols inCatalog Manager, but not make changes.

Full Control Full Control allows users to create newsymbols and edit existing symbols. FullControl is disabled for Workshare satellitesand projects.

Plant Filters None None prevents users from accessing FilterManager.

Read-Only Read-Only allows users to view existingfilter definitions, but not make changes.

Full Control Full Control allows users to create newfilters and edit existing filters. Full Controlis disabled for Workshare satellites and projects.

Page 101: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 101/130

  User Access

SmartPlant P&ID Installation and Upgrade Guide 95

Category Right Notes

Display Sets None

Read-Only

Full Control

Controls the ability to view, edit, and definedisplay sets. Full Control is disabled forWorkshare satellites.

Default Views None

Read-Only

Full Control

Controls the ability to specify default filtersand layouts for item types. Also controlssetting the Brief/Bulk Lists associated withitem types.Full Control is disabled for Worksharesatellites and projects.

Plant Reports None None prevents users from accessing the plant reports.

Read-Only Read-Only allows users to view existingreport definitions, but not make changes.

Full Control Full Control allows users to create new plantreports and edit existing reports. FullControl is disabled for Workshare satellitesand projects.

Rules None None prevents users from accessing RuleManager.

Read-Only Read-Only allows users to view existing ruledefinitions, but not make changes.

Full Control Full Control allows users to create new rulesand edit existing rule definitions. FullControl is disabled for Workshare satellitesand projects.

Data Dictionary None None prevents users from accessing DataDictionary Manager. Modify Select Entryand Full Control are disabled for Worksharesatellites and for projects.

Read-Only Read-Only allows users to view settings inthe data dictionary, but not make anychanges.

Modify Select

Entry

Modify Select Entry allows users to edit

select lists.

Full Control Full Control allows users to add items andedit existing items in the data dictionary.Modify Select Entry and Full Control aredisabled for Workshare satellites and for projects.

Page 102: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 102/130

User Access

96 SmartPlant P&ID Installation and Upgrade Guide

Category Right Notes

Options None None prevents users from accessing OptionsManager.

Read-Only Read-Only allows users to view optionsettings, but not make any changes.

Modify Settings Modify Settings allows users to changereference data pointers.

Full Control Full Control allows users to add options andedit existing options. Full Control isdisabled for Workshare satellites and for projects, but users must have at least ModifySettings level privileges to use Workshare.

InsulationSpecifications

 None None prevents users from accessingInsulation Manager.

Read-Only Read-Only allows users to view insulationsettings, but not make any changes.

Full Control Full Control, disabled for Worksharesatellites and projects, allows users to addsettings and edit existing insulation settings.

DrawingManagement

Create P&ID Create P&ID allows users to execute theNew Drawing command in DrawingManager.

Delete P&ID Delete P&ID allows users to execute theDelete command in Drawing Manager.

Refresh P&ID Refresh P&ID allows users to execute theCompare and Refresh and Validate commands in SmartPlant P&ID. Users mustalso have Full Control permission for P&IDObjects before they can refresh a drawing.

Create Version Create Version allows users to execute theCreate Version command in DrawingManager.

Delete Version Delete Version allows users to execute theDelete Version command in Drawing

Manager.Fetch Version Fetch Version allows users to execute the

Fetch Version command in DrawingManager.

Page 103: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 103/130

  User Access

SmartPlant P&ID Installation and Upgrade Guide 97

Category Right Notes

Edit Import Map Edit Import Map allows users to execute theEdit Import Map command in DrawingManager.

Update P&ID Update P&ID allows users to execute theUpdate P&ID command in DrawingManager to update existing drawings.

Create Revision Create Revision allows the user to createrevision properties, modify revision properties, and associate revision propertieswith the revised drawing.

Delete Revision Delete Revision allows the user to delete arevision and its associated version.

P&ID Objects None None prevents users from accessing objects

in the SmartPlant P&ID Modelerenvironment.

Read-Only Read-Only allows users to view objects inthe SmartPlant P&ID Modeler environment, but not make any changes.

Modify Properties To import, user needs at least the ModifyProperties right.

Full Control To refresh drawings in SmartPlant P&ID,users must have Full Control permission onP&ID Objects.

Workshare Publish Publish allows users to publish drawings toother satellites or back to the host.

Get LatestVersion

Get Latest Version allows users to obtain thelatest published drawing from the host orsatellite site.

Assign DrawingOwnership

Assign Drawing Ownership allows users tospecify which Workshare sites haveread/write permission for publisheddrawings.

Synchronize

Reference Data

Synchronize Reference Data allows users to

update their reference data with thereference data at the host.

SynchronizeShared Items

Synchronize Shared Items allows users toupdate their shared items with the shareditems at the host.

Page 104: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 104/130

User Access

98 SmartPlant P&ID Installation and Upgrade Guide

Category Right Notes

Projects Check Out Check Out allows users to execute theCheck Out and Undo Check Out commands in Drawing Manager.

Check In Check In allows users to execute the Check

In command in Drawing Manager.

Fetch Fetch allows users to execute the Fetch command in Drawing Manager.

Change Status Change Status allows users to interact withthe Project Status dialog box in DrawingManager. If you are not granted this right,you can only view the project status, butcannot modify it.

Claim Claim allows users to execute the Claim and

Release Claim commands in SmartPlantP&ID.

SmartPlant Publish

Retrieve

Enables or disables the ability to publish toor retrieve documents. Select the check boxto enable an option; clear to disable.

SmartPlant P&ID Access Rights Examples

The following examples are suggestions for granting rights to common groups of users. Theseexample are a great starting place for defining custom SmartPlant P&ID role templates.

Plant Administrators

This user group has full control over all aspects of the plant structure for drawings,administrative tasks, and reference data. The users should have the capability to create plantgroups, add applications and roles, create projects, enable Workshare, and create satellites, butshould not see the hierarchy templates or plant group types.

Category Right

SPEM Plant Structure Access Full-Control

Catalog Full-Control

Plant Filters Full-Control

Display Sets Full-Control

Default Views Full-Control

Formats Full-Control

Page 105: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 105/130

  User Access

SmartPlant P&ID Installation and Upgrade Guide 99

Category Right

Plant Reports Full-Control

Rules Full-Control

Data Dictionary Full-Control

Options Full-Control

Insulation Specifications Full-Control

Drawing Management Create P&ID, Delete P&ID, Archive,Retrieve

P&ID Objects Full Control

Workshare Publish, Get Latest Version, Assign DrawingOwnership,Synchronize Reference Data, Synchronize

Shared ItemsSmartPlant Publish, Retrieve

Plant Users

This group has full control on all drawings, can set personal filters, set up personal display sets,set up My Reports, create drawings, and archive drawings (needed for personal use in case thereare big changes to the drawing design).

Category Right

SPEM Plant StructureAccess

Read-Only

Catalog None

Plant Filters Read-Only

Display Sets Full-Control

Default Views Read-Only

Formats None

Plant Reports Read-Only

Rules None

Data Dictionary None

Options None

Insulation Specifications None

Drawing Management Create P&IDArchive

Page 106: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 106/130

User Access

100 SmartPlant P&ID Installation and Upgrade Guide

Category Right

P&ID Objects Full Control

Workshare Undefined (do not chooseanything)

SmartPlant Undefined (do not chooseanything)

Engineers

This group has access to drawings to view and modify data reports but not graphics. They canset up personal filters, set up personal display sets, and create My Reports. They should not beable to modify any project reference data or perform any administrative tasks with respect todrawing management, projects, or Workshare activities.

Category Right

SPEM Plant StructureAccess

Read-Only

Catalog None

Plant Filters Read-Only

Display Sets Full-Control

Default Views Read-Only

Formats None

Plant Reports Read-Only

Rules NoneData Dictionary None

Options None

Insulation Specifications None

Drawing Management Undefined (do not chooseanything)

P&ID Objects Modify Properties

Workshare Undefined (do not chooseanything)

SmartPlant Undefined (do not chooseanything)

Page 107: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 107/130

  User Access

SmartPlant P&ID Installation and Upgrade Guide 101

Managers

This group needs only view data access. They can set up personal filters, set up personal displaysets, and create My Reports. They should not be able to modify any project reference data or perform any administrative tasks with respect to drawing management or Workshare activities.

Category Right

SPEM Plant StructureAccess

Read-Only

Catalog None

Plant Filters Read-Only

Display Sets Full-Control

Default Views None

Formats None

Plant Reports None

Rules None

Data Dictionary None

Options None

Insulation Specifications None

Drawing Management Undefined (do not chooseanything)

P&ID Objects Read-Only

Workshare Undefined (do not chooseanything)

SmartPlant Undefined (do not chooseanything)

Page 108: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 108/130

User Access

102 SmartPlant P&ID Installation and Upgrade Guide

Page 109: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 109/130

 

S E C T I O N 1 2

Customizing Your Reference Data

Several tools are delivered during installation that allow you to customize your reference data.

Customizing Reference Data Options

Reference data options control the look and feel of the product and controls much of the dataused throughout the life of a project.

Use SmartPlant P&ID Options Manager to define how you want particular P&ID items to appearin drawings by selecting colors, line styles, gapping styles, and heat tracing styles for the project.

1. Click Start > Programs > SmartPlant P&ID > Options Manager.

2. Define the symbology, gapping, heat tracing, formatting, and distances as needed.

3. Click Settings.

4. Verify that all \\node\share entries are set to the shares defined during ref erence datainstallation.

5. Click File > Save.

For more information about working with reference data options, click Help > Printable Guides in SmartPlant P&ID and select the Options Manager User's Guide.

Working with Filters

SmartPlant Filter Manager, delivered with SmartPlant Engineering Manager, allows you to

select the items to display in the engineering application. You can use this feature to clear theview of other items to display one class of items.

For more information about working with filters, click Help > Printable Guides in SmartPlantEngineering Manager and select the SmartPlant Filter Manager User's Guide.

Working with Formats

SmartPlant Format Manager, delivered with SmartPlant Engineering Manager, allows you todefine the characteristics and formats for labels, report data and formatted properties. You canalso create and edit formats.

For more information about working with formats, click Help > Printable Guides in SmartPlantEngineering Manager and select the SmartPlant Format Manager User's Guide.

SmartPlant P&ID Installation and Upgrade Guide 103

Page 110: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 110/130

Customizing Your Reference Data

104 SmartPlant P&ID Installation and Upgrade Guide

Working with Symbols and Labels

Symbols include a graphic representation of the item as well as the properties associated withthat item. SmartPlant Catalog Manager, delivered with SmartPlant Engineering Manager, allows

you to create and edit these symbols.

Some of the characteristics of a SmartPlant symbol include the graphic representation of theitem, labels, heat tracing, the icon that represents the item in the Catalog Explorer, and the properties associated with the item.

Two types of labels display important information about drawing items:

Driving — Sets the property in the model, for example, a dimension that changes the size ofthe object.

Driven — Reports the property in the model, for example, a pressure label that takes its pressure value from the associated pump.

For more information about working with symbols and labels, click Help > Printable

Guides in SmartPlant Engineering Manager and select SmartPlant Catalog Manager

User's Guide.

Modifying Data Model Properties

SmartPlant Data Dictionary Manager, delivered with SmartPlant Engineering Manager, allowsyou to modify the data model properties, including the database entries, select lists, and itemtypes that form the underlying data structure.

With Data Dictionary Manager, you can perform the following tasks: Add and change properties for specific database tables

Create select lists and add entries to them

Associate validation programs with various item types

Because your changes can affect the database for the entire project, only system administratorsand project managers typically customize the database with Data Dictionary Manager.

For more information about using Data Dictionary Manager, click Help > Printable Guides inSmartPlant Engineering Manager and select SmartPlant Data Dictionary Manager User's

Guide.

Synchronizing Reference DataSmartPlant Reference Data Synchronization (RDS) Manager provides tools for comparing,synchronizing, and managing reference data across multiple plants. This application isespecially useful when you need to maintain a central set of reference data for all of the plantsacross a site without having a network or database connection between plants.

Page 111: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 111/130

  Customizing Your Reference Data

SmartPlant P&ID Installation and Upgrade Guide 105

The reference data synchronization process involves three steps:

1. Creating an RDS package that contains the reference data from the source plant.

2. Comparing the RDS package to the target plant reference data.

3. Synchronizing (merging) the RDS package into the plant and application reference data atthe target.

For more information, see the SmartPlant Reference Data Synchronization User's Guide.

After synchronizing the reference data across the plants, you must use the UpdateDrawings functionality in SmartPlant P&ID to synchronize the drawings in each plant with theupdated reference data. For more information about updating drawings, see the SmartPlant

 P&ID Drawing Manager Users Guide.

Recommended Configuration

Select the plant whose reference data you want to use as the source reference data.

Create a data RDS package from the source plant.

Back up the target plant.

Lock down (set to read-only) the user access to the reference data at the source plants. Allowfull-control user access to the reference data only at the target plant.

Synchronize the target plants with the source plant RDS package.

Do not use the RDS Manager to synchronize reference data between a host andsatellites in a Workshare collaboration. Use the Workshare Synchronize Reference Data command instead.

Establishing Design Rules

By defining typical or standard design rules, you can quickly and easily place requiredequipment, interconnecting piping, instrumentation, and other accessories on a drawing. Theserules define the placement characteristics of items and how items interact with each other. Usingrules, you also confirm that you meet proper design criteria.

SmartPlant P&ID Rule Manager provides the tools for creating and editing rules. For moreinformation, click Help > Printable Guides in SmartPlant P&ID and click the Rule Manager

User's Guide link.

Configuring Border Templates

The delivered borders are embedded in the delivered template files. Before you can see

modifications made to the drawing border during the course of a project, you must edit  (see"Edit Delivered Templates" on page 107) the delivered templates. If you do not modify thedelivered template files, the borders of the drawings created with these templates will not bemodifiable on a global level. In other words, changes to border files do not show up in drawingsthat are using the embedded border template files, which means that you can change the borderof drawings only on a drawing-by-drawing basis.

Page 112: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 112/130

Customizing Your Reference Data

106 SmartPlant P&ID Installation and Upgrade Guide

SmartPlant P&ID Delivered Templates

SmartPlant P&ID delivers the following border templates.

Metric TemplatesTemplate File Border File Page Size

A0-Size.pid A0border.igr A0 Wide(1189mm x841mm)

A1-Size.pid A1border.igr A1 Wide(841mm x594mm)

A1-Wide(Metric).pid A1-Wide(Metric).igr A1 Wide(841mm x

594mm)

A1-Wide NoteArea.pid

A1-Wide Note Area.igr A1 Wide(841mm x594mm)

A2-Size.pid A2border.igr A2 Wide(594mm x420mm)

A2-Wide(Metric).pid A2-Wide(Metric).igr A2 Wide(594mm x420mm)

A2-Wide NoteArea.pid

A2-Wide Note Area.igr A2 Wide(594mm x420mm)

A3-Size.pid A3border.igr A3 Wide(420mm x297mm)

A3-Wide (Metric).pid A3-Wide (Metric).igr A3 Wide(420mm x297mm)

A4-Size.pid A4border.igr A4 Wide

(297mm x210mm)

A4-Wide (Metric).pid A4-Wide (Metric).igr A4 Wide(297mm x210mm)

Page 113: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 113/130

  Customizing Your Reference Data

SmartPlant P&ID Installation and Upgrade Guide 107

Template File Border File Page Size

A5-Size.pid A5border.igr A5 Wide(210mm x148mm)

English Templates

Template File Border File Page Size

A-Size.pid A-Wide.igr A Wide(11in x 8.5in)

A-Wide (Imperial).pid A-Wide (Imperial).igr A Wide(11in x 8.5in)

B-Size.pid B-Wide.igr B Wide (17inx 11in)

B-Wide (Imperial).pid B-Wide (Imperial).igr B Wide (17inx 11in)

C-Size.pid C-Wide.igr C Wide (22inx 17in)

C-Wide (Imperial).pid C-Wide (Imperial).igr C Wide (22inx 17in)

C-Wide Note Area(Imperial).pid

C-Wide Note Area(Imperial).igr

C Wide (22inx 17in)

D-Size.pid D-Wide.igr D Wide(34in x 22in)

D-Wide (Imperial).pid D-Wide (Imperial).igr D Wide(34in x 22in)

D-Wide Note Area(Imperial).pid

D-Wide Note Area(Imperial).igr

D Wide(34in x 22in)

E-Size.pid E-Wide.igr E Wide (44inx 34in)

Edit Delivered Templates

Before editing the delivered templates, verify that the correct plant structure has been selectedand that no drawings are open.

1. In Windows Explorer, browse to the default templates location defined in Options Manageror the location of the reference data of your plant.

Page 114: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 114/130

Customizing Your Reference Data

108 SmartPlant P&ID Installation and Upgrade Guide

2. Select the template that matches the system of units and page size requirements for thedrawing and double-click the template file to open it in SmartPlant P&ID. Refer to the previous chart to determine the appropriate template and border files.

You also can drag the template file into the application window to open the templatefile.

3. Select the existing border file, and press Delete.

4. Click Edit > Insert > Object.

5. Clear the Link  check box to be sure the item will be embedded.

6. Click Browse.

7. Click the border file to use. You can use the delivered border or choose another border.

8. Click Open.

9. Click OK  on the Insert Object dialog box.

10. Position the border file in the template.

11. Click File > Exit.

Create a Border Template1. Start SmartPlant P&ID.

2. Verify that the correct plant structure has been selected.

3. Click File > New Template.

4. Click File > Page Setup.

5. Select the sheet size in the Standard option and then click OK .

6. Click File > Properties.

7. On the Units tab select a unit in the Length, Angle, and/or Area Readout boxes to specifythe default units of measure, and then click OK .

8. Click Edit > Insert > Object.

9. Verify that Link  is on if you want the border file linked, or clear the Link  check box if youwant to link the file.

10. Select the border to use and click Open, and then click OK .

11. Click File > Save.

12. Type the name for the template in the File Name box.

13. Save the template border in the default templates location defined in Options Manager.

14. Click Save.

15. Click File > Exit.

Page 115: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 115/130

 

S E C T I O N 1 3

Using SmartPlant P&ID in Production

SmartPlant Drawing Manager handles all of the drawing file maintenance tasks by allowing youto create, open, update, and delete drawings, and to modify drawing properties and print multipledrawings. See both the SmartPlant P&ID Drawing Manager  and the SmartPlant P&ID Help files for more information about handling drawings.

Before using the new version of the software, we strongly recommend that youcompletely upgrade your plant and all drawings to the current version. A plant with a mixture ofupgraded and non-upgraded drawings may result in some data being permanently inaccessible.

Start SmartPlant P&ID

1. Click Start > Programs > SmartPlant P&ID > Drawing Manager.2. Click File > Open Database. If the plant that you want appears in the Available plant

structures list, select the plant and go to step 6.

3. On the Open Plant Structure dialog box, click Site Server.

4. On the Open Site Server dialog box, select the correct SmartPlantv4.ini file and clickOpen.

5. Select the plant in the Available plant structures list.

6. Click Open. The Open command checks to make sure you have the correct access privileges for the selected plant structure and passes your access information back to thesoftware.

7. In the Tree view, click through the plant hierarchy nodes until you find the drawing you

want to work with.8. Double-click the drawing in the list of drawings to open it in SmartPlant P&ID.

You can also open drawings directly from within SmartPlant P&ID. To do this, follow thesteps 1-6 above to connect to the plant database, then close Drawing Manager, open SmartPlantP&ID, then click File > Open to navigate to the drawing. For more information, see theSmartPlant P&ID User's Guide.

Tips for Creating a P&ID Drawing

With SmartPlant P&ID, you can easily perform the tasks required to create a detailed plantmodel. You can place components such as equipment, piping, and instrumentation from Catalog

Explorer or the stockpile into graphical representations of your plant model in the drawing.SmartPlant P&ID provides multiple views of a central, unified data structure that represents the plant model. The plant model is the computer representation of the conceptual design in itsentirety, including all plant components and their relationships. By manipulating model views,you can organize the information within the plant model to better understand and maintain thedata. A view is a visual presentation of the data that composes the plant model. A view can be aschematic drawing, a table, or a report.

SmartPlant P&ID Installation and Upgrade Guide 109

Page 116: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 116/130

Using SmartPlant P&ID in Production

110 SmartPlant P&ID Installation and Upgrade Guide

Assemblies — One key feature of SmartPlant P&ID is using catalogs to create instances ofcomponents within the plant model. The standard modeling environment lets you place itemsfrom the catalog into the appropriate model views. If you repeatedly place particular groups ofitems, you can save the group of items as an assembly. Assemblies appear as symbols in theCatalog Explorer list view so that you can place them exactly as you place other symbols in

your drawing.Properties Window — Allows you to add values for various properties of each item after you place it in your drawing. Also, you can annotate your drawing with labels as you design thedrawing.

Consistency Checking - As you work on your drawing, you can monitor any inconsistencies inyour design by reviewing the inconsistency indicators. These indicators appear in your drawingas soon as an inconsistency occurs in the design. You can resolve inconsistencies using solutionsfrom the Consistency Check  dialog box.

Reporting — Reports help you keep track of information in the drawing. For example, after youfinish the drawing, you can generate order lists for the components in the drawing.

Display Sets — Replacing the former display tab functionality, displays sets allow you tocontrol the display of the model in the Drawing view. Display sets use filters you define tocontrol which symbols you want to display. You can also define colors and widths for displayitems, then save these filters and share them with other users working in the same plant, and usethese filters to print a subset of the entire drawing.

Use the UpgradeTabsCMD.dll to convert display tabs created in previous SmartPlantP&ID versions to display sets. The new display set displays in My Display Sets folder. Formore information, see Display Tabs Conversion Utility in the SmartPlant P&ID Utilities Guide.

Recreating Drawings

SmartPlant P&ID continually updates the database as you edit a drawing; however, the drawingfile is not updated until the file is saved (that is, when you click File > Save or when you exitSmartPlant P&ID). Occasionally, the software may terminate abnormally due to power outages,and so forth. As a result, the database is up-to-date with changes posted to the drawing, but thedrawing file reflects the status when it was last saved. When a drawing is re-opened, thesoftware recognizes that the drawing file is different from the database.

When the software notifies you that a re-create is necessary, click OK  to re-create the drawingfrom the database. Do not interfere with the re-create process once it is started or else thedrawing can become unusable.

For best system performance, close all other applications except for SmartPlant P&ID when

running the re-create process. During the re-create process the status bar at the bottom of the P&ID window displays

updates about the particular elements currently being reconciled with the database. You cancheck the log file, Recreate[Drawing#].log, in the Temp directory for any problems that mayhave occurred during the re- create process.

Page 117: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 117/130

  Using SmartPlant P&ID in Production

SmartPlant P&ID Installation and Upgrade Guide 111

If your reference data has changed, use the Update Drawings functionality to incorporatethose changes into your existing drawings. For more information, see the SmartPlant P&ID

 Drawing Manager User's Guide.

After the re-create process finishes, SmartPlant P&ID reinitializes the drawing. Review the re-created drawing and resolve any errors that occurred.

Resolving Error Conditions

If a section of the drawing could not re-create successfully, an error condition appears on thedrawing as a highlighted line (orange by default). Error conditions are almost always associatedwith a pipe or signal run and must be resolved manually.

1. Delete the heavy orange line segment and components directly connected to it.

2. Re-route the line runs and replace all connections and components as required.

Filtered Printing

The Display Set functionality allows you to print a drawing using multiple filters. Using thePrint filter options on the Print dialog box in Drawing Manager, you can select the display setthat specifies which symbols in the drawing to print. If no display set is applied, the entiredrawing prints.

Page 118: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 118/130

Using SmartPlant P&ID in Production

112 SmartPlant P&ID Installation and Upgrade Guide

Page 119: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 119/130

 

S E C T I O N 1 4

Working with SmartPlant Integration

Overview

SmartPlant integration standardizes and improves the communication among the variousauthoring tools you use in the course of designing, constructing, and operating a plant.SmartPlant integration manages data exchange among these authoring tools, which enablessharing and re-use of plant information throughout the plant lifecycle. SmartPlant Foundationacts as a repository for data and a medium through which information is shared among othertools, such as SmartPlant Electrical, SmartPlant Instrumentation, SmartPlant P&ID, SmartPlant3D, and Zyqad.

Most of the commands that provide access to SmartPlant integration functionality exist in the

common user interface available on the SmartPlant menu in Engineering Manager, SmartPlantInstrumentation, SmartPlant Electrical, SmartPlant P&ID, and Drawing Manager.

The following graphic displays what SmartPlant P&ID publishes and retrieves and shows theflow of data and the different types of data.

SmartPlant P&ID Installation and Upgrade Guide 113

Page 120: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 120/130

Working with SmartPlant Integration

114 SmartPlant P&ID Installation and Upgrade Guide

SmartPlant P&ID interacts with SmartPlant Foundation by correlating items between the plantdatabase and the SmartPlant Foundation database, retrieving documents from SmartPlantFoundation. Also, SmartPlant P&ID creates a set of tasks in the To Do List that you can run toupdate the plant database. In SmartPlant P&ID, you can also use the commands on theSmartPlant menu to publish documents and retrieve data, access the SmartPlant Foundation

Web Client in order to browse in SmartPlant Foundation, and subscribe to change notificationsand compare documents.

You can only use the SmartPlant menu commands after your plant is registered. For moreinformation, see SmartPlant Engineering Manager Help.

Registering Tools

Before you can publish and retrieve documents from any of the other authoring tools, such asSmartPlant Electrical or SmartPlant Instrumentation, you must register each plant in SmartPlantP&ID with a SmartPlant Foundation database. The connection allows SmartPlant P&ID to usethe commands on the SmartPlant menu. A SmartPlant Engineering Manager administratortypically registers a plant.

The software maps a plant and all its projects to a single SmartPlant Foundation URL, which points to one, and only one, SmartPlant Foundation plant database and its projects. When youuse the Register command in any of the authoring tools, you are registering an authoring tool plant with a SmartPlant Foundation URL and plant that you specify.

The system administrator must register each plant in the authoring tool once; this action takes place in SmartPlant Engineering Manager. After the plant is registered, you can publish andretrieve documents.

Preparing the Integrated Environment

To enable SmartPlant P&ID to work in an integrated environment, you must do the following:

1. Install the Schema Component and the SmartPlant Client, delivered with SmartPlantFoundation, on each SmartPlant Engineering Manager and P&ID workstation. For moreinformation about installing these components, see the SmartPlant Enterprise Installation

and Setup Guide.

Before you install the Schema Component and the SmartPlant Client, be sure to installthe software prerequisites described in the SmartPlant Client Workstations section of theSmartPlant Enterprise Installation and Setup Guide.

2. Use a hierarchy that contains a minimum of three levels when you create your plant inSmartPlant Engineering Manager.

In addition to requiring a minimum of three-levels in hierarchies, SmartPlantconfigurations also require that the names of hierarchy items cannot be changed after theyare created and that the hierarchy structure cannot be modified after you create the project.For more information, see the SmartPlant Enterprise Installation and Setup Guide or theUsing Custom Hierarchies in SmartPlant  topic in the SmartPlant Engineering Manager

User's Guide.

3. Associate applications with and assign user access rights to your plant.

Page 121: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 121/130

  Working with SmartPlant Integration

SmartPlant P&ID Installation and Upgrade Guide 115

When SmartPlant P&ID and SmartPlant Electrical are both enabled for a plant, theyare both enabled for all projects in that plant. If a project requires only one of theseapplications, create separate plants in the project, then enable SmartPlant P&ID for one plantand SmartPlant Electrical for the other.

4. Edit the SmartPlant resource path setting in Options Manager to point to the folder where

you installed the Integration Resource Files.The path specified in Options Manager must contain the tool schema (for

example, SPIDDataMap.xml) for publish and retrieve operations between the tool andSmartPlant to work properly. For more information, see the SmartPlant P&ID User's Guide.

5. Register your SmartPlant plant with SmartPlant Foundation, as described in the SmartPlant

 Engineering Manager Help.

When you register your plant, you must specify the location of the SmartPlantEngineering Manager schema map file (SPEMDataMap.xml). For more information,see the Specify Map File Dialog Box topic in the SmartPlant Engineering Manager

User's Guide.

If only one application is associated with the plant at the time it is registered, only thatapplication is registered. If another application is later associated with the plant, theRegister command is enabled so that you can register the new application with the plant.

Tool Requirements for Integrating SmartPlant P&ID

The following lists include rules that must be followed when using SmartPlant P&ID whenworking in an integrated environment. Following these rules allows SmartPlant P&ID data to beshared correctly with SmartPlant 3D, SmartPlant Instrumentation, and the other tools that are part of the integrated environment. Other tools that are not listed here have no knownSmartPlant P&ID/SmartPlant integration issues.

General Integration Requirements

The following is a list of best practice scenarios for using SmartPlant P&ID so data will migratecorrectly to the other SmartPlant tools.

When working with Projects and As-built, all instruments in the Instrument Index must be placed on a P&ID drawing. This is because the Stockpile is not communicated back andforth between Projects and As-Built.

SmartPlant P&ID retrieves equipment components and nozzles and generates correspondingcreate tasks in the To Do List for them. The system allows you to automatically place theitems in a drawing when the To Do List task is executed. The items are placed attached to

their parent equipment item, based on a spacing algorithm. You can adjust the location and post-placement as necessary.

Page 122: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 122/130

Working with SmartPlant Integration

116 SmartPlant P&ID Installation and Upgrade Guide

Working with SmartPlant Instrumentation

Connect to Process Lines

Connect to Process lines are required for connecting instruments to equipment nozzles and

 pipe runs in SmartPlant P&ID. All non-piped offline equipment instruments must be connected to vessels through non-

electric signal lines and nozzles in SmartPlant P&ID. This enables SmartPlantInstrumentation to recognize that instruments are connected to vessels.

If SmartPlant P&ID assigns an object to an intermediate level in the hierarchy and publishes,SmartPlant Instrumentation will assign the object to the level in the hierarchy in SmartPlantInstrumentation determined by their logic. Because instruments belong to units inSmartPlant Instrumentation, an instrument assigned to the intermediate level in SmartPlantP&ID will be assigned to the unit in SmartPlant Instrumentation. Panels will be assigned tothe plant. SmartPlant P&ID may get an update on retrieve to move the object to anotherlevel in their hierarchy than where it was published based on the move done automatically by SmartPlant Instrumentation. Instruments will move to the top level; panels will move tothe bottom.

Deleting and Adding Items

When you are working in a Projects environment, and items are correlated using theSmartPlant integration tools, you should minimize deleting and re-adding any items.SmartPlant P&ID will reuse tag numbers in the numbering scheme when you delete and re-add items. SmartPlant Instrumentation tracks tag numbers claimed in a project, and thistracking will not work if tag numbers are reused after correlation. If you must delete an itemin this situation, you can delete the item to the SmartPlant P&ID Stockpile.

Ports

SmartPlant Instrumentation uses physical ports, while SmartPlant P&ID uses logical ports.SmartPlant Instrumentation publishes the physical ports with the Dimensional Data Sheetsand not the Instrument Index. SmartPlant P&ID retrieves the Instrument Index and does notretrieve the Dimensional Data Sheets.

When the workflow goes from SmartPlant P&ID to SmartPlant Instrumentation, followed bySmartPlant Instrumentation publishing the Dimensional Datasheet, a Same As relationship iscreated between the ports in the SmartPlant Foundation database. That Same As relationshipis required by SmartPlant 3D to correctly match the design basis ports to the 3Drepresentation of the ports.

When the workflow goes from SmartPlant Instrumentation to SmartPlant P&ID, however, aSame As relationship is not created in the SmartPlant Foundation database. Without theSame As relationship created in the SmartPlant Foundation database, the result may beadditional ports in SmartPlant 3D. To obtain the Same As relationship on the ports requiresthat SmartPlant P&ID publish the P&ID with the instrument, this P&ID be retrieved bySmartPlant Instrumentation and then having SmartPlant Instrumentation publish theDimensional Datasheet.

Page 123: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 123/130

  Working with SmartPlant Integration

SmartPlant P&ID Installation and Upgrade Guide 117

Working with SmartPlant 3D

Piping

Deleting pipe runs should be avoided in SmartPlant P&ID. You should either use the

SmartPlant P&ID Undo command or try to reconnect the pipe run correctly. Deleting piperuns in SmartPlant P&ID causes delete instructions to be passed to SmartPlant 3D whichrequires a SmartPlant 3D user to remodel the pipe runs.

Working with Zyqad

Retrieving Documents

Zyqad datasheets can contain multiple objects and may be formatted in a traditionaldatasheet view or list view (for example, as an equipment list). Datasheets retrieved fromZyqad may include stream data, specialty piping data, or relief valve data as required by business practices.

Using Nozzles, Projects and Claiming in the SmartPlant Environment

When using Projects in an integrated environment and SmartPlant P&ID claims a pump butnot the motor and then publishes, when Zyqad retrieves, they will respond to the claim onthe pump and then claim the motor. When Zyqad publishes, both the pump and motor are published. When P&ID retrieves they get the update on the pump and get a create task forthe motor, even though they can clearly see the motor on the P&ID. Without it beingclaimed to the P&ID project it is not acknowledged as belonging to the project.

The same holds true for the equipment and nozzle issue. SmartPlant P&ID permits anequipment object to be claimed to the project without requiring the nozzles to be claimed,even if the nozzles are seen on the P&ID. Zyqad's claim method does not support this. When

Zyqad retrieves the equipment claim it claims the nozzles along with the equipment. WhenP&ID retrieves from Zyqad the nozzles are Create tasks since P&ID is not looking toretrieve Claim status from other tools.

In these cases, either the P&ID user will have to delete the create tasks or agree to add theobjects to the project scope. If they agree to add them to the project scope they should deletethe create tasks first, then claim the objects and then re-retrieve the Zyqad document. Thiswould generate update tasks. Optionally, since Zyqad requires all related nozzles to beclaimed when claiming equipment, when claiming equipment in SmartPlant P&ID, allnozzles could be claimed. This causes the scopes of the claims between Zyqad andSmartPlant P&ID to match.

Using Workshare in an Integrated EnvironmentThe following rules apply to using the Workshare functionality within an integrated SmartPlantenvironment.

You can enable and disable Workshare before or after registering a Greenfield plant.

You can create satellites and connect to them after registering.

Page 124: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 124/130

Working with SmartPlant Integration

118 SmartPlant P&ID Installation and Upgrade Guide

You cannot register a satellite.

You cannot retrieve a WBS document when Workshare is enabled.

Using the Integration Commands Within a Workshare Collaboration

The Workshare host can perform the following actions from within SmartPlant P&ID whenregistered. For more information about these commands, see the SmartPlant P&ID User's

Guide.

Publish - Any drawing can be published.

Retrieve - Any SmartPlant document can be retrieved.

Correlate - Reviewing correlation is available if the drawing is in a read-only state. It is not possible to assign correlation in a read- only drawing.

To Do List - Only available at the Workshare Host. To Do List tasks may be reviewed ondrawings for which the host does not have ownership, but these tasks may not be executedunless ownership is assigned to the Host. The To Do List is not available at the Satellite.

Using the Catalog Index in SmartPlant P&ID and SmartPlantIntegration

When you select the Retrieve command, the software accesses the CatalogIndex.mdb and thesystem performs the following options:

1. Using the retrieved document, the object type and classification of the retrieved item isdetermined.

2. Using the SmartPlant P&ID Map file, the ItemTypeName (Equipment, PipeRun,PipingComp, and so forth), and codelist indices for Class, Sub-Class, and Type isdetermined.

Catalog Index LookupThe Catalog Index file is used to find a symbol in the catalog with type properties that match thegiven values. The lookup is performed using the most specific information first. If a match isfound, that symbol is used. However, if there is no match, the more generic type information isused for additional searches. In this way, a generic symbol will be returned if no specific symbolis available in the catalog.

Search Based on Type Value - Searches the catalog index for all rows with matchingItemTypeName and Type values and IsDefaultForType = True. If one or more rows are found,then use the CatalogItemName from the first one. If no match is found, then perform the search based on Subclass.

Search Based on Subclass Value - Searches the catalog index for all rows with matching

ItemTypeName and SubClass values and IsDefaultForSubclass = true. If one or more rows arefound, then use the CatalogItemName from the first one. If no match is found, then perform thesearch based on Class.

Page 125: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 125/130

  Working with SmartPlant Integration

SmartPlant P&ID Installation and Upgrade Guide 119

Search Based on Class Value - Searches the catalog index for all rows with matchingItemTypeName and Class values and IsDefaultForClass = True. If one or more rows are found,then use the CatalogItemName from the first one. If no match is found, then return an emptystring.

Mapping for SmartPlant IntegrationIf you customize the plant database items or attributes in your SmartPlant Engineering Manager plant, you must define the mapping between these customized plant attributes and the propertiesin the SmartPlant schema.

1. Open the plant data dictionary by right-clicking the plant in the Tree view in SmartPlantEngineering Manager and selecting the Data Dictionary Manager command. For moreinformation, see Data Dictionary Manager Command  (SPEMToolsDataDictMgrCMD.htm).

2. Add or modify the attributes in Data Dictionary Manager for each level in your hierarchy.For more information, see the Add a Property to Database Tables topic in the Data

 Dictionary Manager User's Guide.

3. Open the plant SPEMDataMap.xml schema map file in the Schema Editor and map the plantdatabase items between the tool schema (SPEMDataMap.xml) and the SmartPlant schema.For more information, see the Schema Editor User's Guide.

If you add an enumerated list attribute to the plant data dictionary, see the Hierarchical

 Enumerated Lists topic in the SmartPlant P&ID User's Guide for information aboutmapping these complex data types.

The default SPEMdatamap.xml file contains the EF_SPAPlant attributes (CompanyName,SiteName, SiteLocation, DivisionName, DivisionLocation). To use these default attributes,use the EF_SPAPLANT.ddt when creating your plant in SmartPlant Engineering Manager.

The default SPEMdatamap.xml and the EF_SPAPLANT.ddt files are delivered to the

C:\Program Files\SmartPlant\Engineering Manager\EFResources folder.

Using Custom Hierarchies

SmartPlant integration supports custom hierarchies, as long as they contain a minimum of threelevels. By default, the delivered SPEMdatamap.xml file is compatible with the standardSmartPlant Plant > Area > Unit hierarchy.

After registering, SmartPlant Engineering Manager cannot retrieve the PBS document if the plant and SmartPlant hierarchies are not compatible. To be compatible with the SmartPlanthierarchy, your plant hierarchy can contain less than or equal, but not more than the numberof levels in the SmartPlant hierarchy.

Page 126: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 126/130

Working with SmartPlant Integration

120 SmartPlant P&ID Installation and Upgrade Guide

SmartPlant Engineering Manager retrieves from the SmartPlant hierarchy only the hierarchylevels it needs. For example, if your plant hierarchy contains 4 levels and the SmartPlanthierarchy contains 8 levels, only the top 4 levels of the SmartPlant hierarchy are retrieved.

Hierarchy item names at the same level do not have to match. Hierarchies are mapped bydepth (level), not by name.

In addition to requiring a minimum of three-levels in hierarchies, SmartPlant integration alsorequires that the names of hierarchy items cannot be changed after they are created and thatthe hierarchy structure cannot be modified after you create the project. For moreinformation, see the SmartPlant Enterprise Installation and Setup Guide.

Register Command (SmartPlant Menu)

Allows you to register a plant database, along with its associated applications, with an instanceof SmartPlant Foundation. Each database must be registered before you can connect toSmartPlant Foundation to perform any specific tasks, such as publishing or retrieving files. Youcan register each plant database only once.

During registration, the software maps the plant database, all of its projects, and all of its theassociated applications to a single SmartPlant Foundation URL, which points to one SmartPlantFoundation plant database, and returns a unique signature for the tool/plant combination beingregistered.

You must install the Schema Component and the SmartPlant Client, delivered withSmartPlant Foundation, on your SmartPlant Engineering Manager workstation before youcan register. For more information, see the topic Configure SmartPlant P&ID for an

 Integrated Environment  in the appropriate Installation and Upgrade Guide.

If only one application is associated with the plant at the time it is registered, only thatapplication is registered. If another application is later associated with the plant, you must

also register the new application with the plant.

We recommend that you re-register each tool with SmartPlant Foundation after upgradingthat tool to the current software version.

After the plant is registered, the SmartPlant tab is added to the Plant Structure Properties dialog box. The SmartPlant tab displays the SmartPlant Foundation URL, the SmartPlantFoundation plant database, and the unique application identifiers returned by the registration process.

Page 127: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 127/130

 

adding users • 84user groups • 84

 backing up • 61upgraded plants • 61

 backup locations • 81sharing • 81

 border templates • 105, 106, 107, 108configuring • 105creating • 108

delivered • 106, 107 break componenet • 64, 66, 68

update drawings • 64, 66, 68 break labels • 62

upgrading • 62

catalog index • 115CatalogIndex.mdb • 115out-of-date • 115retrieving symbols • 115updating • 115

configuring • 12, 36, 69, 81, 105 border templates • 105Integration Resource Path • 36network shares • 81Oracle networking • 12reference data • 36SmartPlant Engineering Manager • 69

correcting • 110error conditions • 110

creating • 82, 108, 109 border templates • 108P&IDs • 109

user groups • 82customizing • 103, 104, 105, 106, 107

 border templates • 105, 106, 107data model • 104filters • 103formats • 103labels • 104

Options Manager • 103reference data • 103

rules • 105symbols • 104

Data Dictionary Manager • 104data model • 104

customizing • 104database • 11, 12, 20database constraints • 45, 46, 47, 49

utilities • 47database servers • 7

configuration • 11, 12networking components • 12Oracle ARCHIVELOG mode • 20Oracle Cost Based Optimizer • 20system requirements • 7tuning • 20

display sets • 111 printing • 111

Drawing Manager • 2, 109overview • 2starting SmartPlant P&ID • 109

drawings • 64, 66, 67, 68, 110, 111out-of-date criteria • 66, 67, 68 printing • 111re-creating • 110re-creating errors • 110updating • 64

error conditions • 110

Filter Manager • 103filtered printing • 111

filters • 103customizing • 103

Format Manager • 103formats • 62, 103

upgrading • 62

Index

SmartPlant P&ID Installation and Upgrade Guide 121

Page 128: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 128/130

Index

122 SmartPlant P&ID Installation and Upgrade Guide

hardware • 7, 8hardware requirements • 7

database servers • 7requirements • 7

workstation • 8

installation • 36Installation Guide • 2

overview • 2silent mode • 36

installing • 11, 31, 32, 33, 35database • 11reference data • 35SmartPlant • 31SmartPlant 3D client • 31

SmartPlant Engineering Manager • 32SmartPlant P&ID • 31, 33

Insulation Manager • 2integration • 11, 114

 preparing the environment • 114supported Oracle versions • 11

labels • 104customizing • 104

logs • 61

network access privileges • 84granting to user groups • 84

network shares • 81 backups • 81 plant structure • 81role template • 81site server • 81

 Novell networking • 85user groups • 85

O Options Manager • 2, 103

customizing • 103overview • 2

Oracle • 20, 61Oracle analyzer scripts • 61

analyzer scripts • 61

ARCHIVELOG mode • 20Cost Based Optimizer • 20statistics • 61tuning • 61

out-of-date • 64, 66, 68

resolve drawings • 66, 68update drawings • 64, 66, 68overviews • 1

SmartPlant P&ID • 1

 permissions • 31 piping specification • 31PipingPoint • 61 placing • 109

items • 109 plant structures • 81

sharing • 81 printing • 111

filtered • 111P&IDs • 111

R  

recommendations • 7database servers • 7

re-creating drawings • 110reference data • 35, 36, 62, 63, 103

configuring • 36customizing • 103

installing • 35Integration Resource Files • 36Integration Resource Path • 36Options Manager • 103upgrading • 62, 63

registering • 113with SmartPlant Foundation • 113

registry • 31requirements • 7, 8

database servers • 7hardware • 7software • 7

workstation • 8role templates • 81

sharing • 81Rule Manager • 2, 105

overview • 2rules • 105

Page 129: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 129/130

  Index

SmartPlant P&ID Installation and Upgrade Guide 123

rules for integrating authoring and viewingtoolscustomizing • 105

servers • 7database • 7

silent mode installation • 36site administrators • 84, 85

network access privileges • 84 Novell networking • 85user group • 84

site servers • 81sharing • 81

SmartPlant • 31SmartPlant 3D • 31

installing remote access client • 31

SmartPlant Engineering Manager • 32, 69,113configuring • 69installing • 32

SmartPlant Foundation • 113SmartPlant integration • 11, 114

 preparing the environment • 114supported Oracle versions • 11

SmartPlant P&ID • 1, 2, 31, 109Drawing Manager • 2, 109installing • 31Insulation Manager • 2

Options Manager • 2overviews • 1Rule Manager • 2starting • 109using • 109

SmartPlant SmartPlant P&ID • 33installation • 31installing • 33

software • 8requirements • 7workstation • 8

starting • 109

P&IDs • 109SmartPlant P&ID • 109subtasks • 61, 62symbols • 104, 115

customizing • 104retrieving • 115

system requirements • 7

database servers • 7

tasks • 61, 62understanding • 61, 62

updating • 64P&IDs • 64

upgrade • 61, 62upgrade tasks • 61, 62

logs • 61manual changes • 62tasks • 61understanding • 61, 62

upgrading • 47, 49, 50, 51, 61, 62, 63, 64, 66,68

after • 61 backing up after • 61 backing up old data • 50 break labels • 62cleanup macros • 49constraint utilities • 47formats • 62memory management • 51Oracle • 61 plants • 61reference data • 62, 63setting Open_Cursors parameter • 50

sharing paths • 50update drawings • 64, 66, 68

user customizations • 61user groups • 82, 84, 85

adding users • 84creating • 82network access privileges • 84 Novell networking • 85

customization • 61utilities • 47

Clean Data • 47DelOrphModItem.dll • 47

Workshare • 115

Zyqad • 115

Page 130: SPPID Install Guide.pdf

8/17/2019 SPPID Install Guide.pdf

http://slidepdf.com/reader/full/sppid-install-guidepdf 130/130

Index

retrieving documents • 115