SPP Id Install Guide
SPP Id Install Guide
SP-P&ID 2009 SP4 (6.0.4) and SPEM 2009 SP5 (6.1.5) January 2009/September 2011 DPID2-PE-200014O-Updated
Copyright
Copyright 1999-2011 Intergraph Corporation. All Rights Reserved. Including software, file formats, and audiovisual displays; may be used pursuant to applicable software license agreement; contains confidential and proprietary information of Intergraph and/or third parties which is protected by copyright law, trade secret law, and international treaty, and may not be provided or otherwise made available without proper authorization from Intergraph Corporation.
Terms of Use
Use of this software product is subject to the End User License Agreement ("EULA") delivered with this software product unless the licensee has a valid signed license for this software product with Intergraph Corporation. If the licensee has a valid signed license for this software product with Intergraph Corporation, the valid signed license shall take precedence and govern the use of this software product. Subject to the terms contained within the applicable license agreement, Intergraph Corporation gives licensee permission to print a reasonable number of copies of the documentation as defined in the applicable license agreement and delivered with the software product for licensee's internal, non-commercial use. The documentation may not be printed for resale or redistribution.
Trademarks
Intergraph, the Intergraph logo, PDS, SmartPlant, SmartMarine, FrameWorks, I-Convert, I-Export, I-Sketch, IntelliShip, INtools, ISOGEN, MARIAN, SmartSketch, SPOOLGEN, SupportManager, and SupportModeler are trademarks or registered trademarks of Intergraph Corporation or its subsidiaries in the United States and other countries. Microsoft and Windows are registered trademarks of Microsoft Corporation. MicroStation is a registered trademark of Bentley Systems, Inc. Other brands and product names are trademarks of their respective owners.
Contents
Welcome to SmartPlant .............................................................................................................................. 7 Installation Checklist ............................................................................................................................... 7 Introducing SmartPlant P&ID .................................................................................................................. 7 SmartPlant P&ID Program Group .................................................................................................... 8 SmartPlant Engineering Manager ........................................................................................................... 8 SmartPlant Engineering Manager Program Group .......................................................................... 9 Internationalization.................................................................................................................................... 11 Hardware and Software Recommendations ........................................................................................... 13 SmartPlant P&ID Database Server ....................................................................................................... 13 SmartPlant P&ID Workstation ............................................................................................................... 14 Oracle Installation and Configuration ..................................................................................................... 17 Configure Oracle Networking Components .......................................................................................... 17 Oracle Installation Workflow ................................................................................................................. 18 Installing Oracle Database Server ........................................................................................................ 18 Install Oracle Database Server ...................................................................................................... 19 Create an Oracle Listener ..................................................................................................................... 19 Creating an Oracle Instance ................................................................................................................. 19 Requirements for Oracle Instance Creation ................................................................................... 20 Create a New Oracle Instance ....................................................................................................... 20 Oracle System User Requirements ...................................................................................................... 23 Installing Oracle Client .......................................................................................................................... 25 Installing Oracle Client Prerequisites ............................................................................................. 25 Install Oracle Client ........................................................................................................................ 25 Register DLLs with RegSrv32 ............................................................................................................... 26 Oracle Tuning Recommendations ........................................................................................................ 26 Microsoft SQL Server Installation and Configuration ........................................................................... 29 Modify Logon Information for SQL Server Services ............................................................................. 30 Install SQL Server 2005 ........................................................................................................................ 30 Configure SQL Server Database Server ........................................................................................ 31 Set Database Maintenance Options for SQL Server ..................................................................... 32 Run DBCC Utility Options for SQL Server ..................................................................................... 33 Update Statistics for SQL Server ................................................................................................... 33 Installing SQL Server Client .................................................................................................................. 33 Install SQL Server Client ................................................................................................................ 34 Installing the Software .............................................................................................................................. 37 Setting up the Database ....................................................................................................................... 37 Loading SmartPlant P&ID Prerequisite Software ................................................................................. 38 Install SmartPlant 3D Piping Specification Remote Access Client ....................................................... 38 Grant Permissions to Write to a Registry Key ...................................................................................... 38 Install SmartPlant Engineering Manager .............................................................................................. 39 Install SmartPlant P&ID ........................................................................................................................ 39
Contents
Uninstall a Previous Version of SmartPlant Engineering Manager ...................................................... 41 Uninstall a Previous Version of SmartPlant P&ID................................................................................. 41 Installing SmartPlant P&ID in Silent Mode ............................................................................................ 42 Install SmartPlant P&ID in Silent Mode .......................................................................................... 42 Configuring Reference Data for SmartPlant P&ID ................................................................................. 45 Install SmartPlant Reference Data........................................................................................................ 45 Working in Thin Client Mode .................................................................................................................... 47 Comparison of Thin Client Mode and SmartPlant P&ID Workshare .................................................... 47 Tuning the Software for Use in Thin Client Mode ................................................................................. 48 Create Global Objects ........................................................................................................................... 48 Publish the SmartPlant Application using Citrix Presentation Server ................................................... 48 Publish the SmartPlant Application using XenApp ............................................................................... 49 Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5) ............................................................................................................................................................. 59 Correcting Database Constraint Violations ........................................................................................... 59 Generate a Database Constraint Exceptions Report ..................................................................... 60 Using Constraint Utilities ................................................................................................................ 61 Before Running the Upgrade Utility ...................................................................................................... 63 Back Up Your Data ......................................................................................................................... 63 Share Paths to Site .INI Files ......................................................................................................... 63 Set Oracle Parameters ................................................................................................................... 63 Memory Management Considerations ........................................................................................... 64 Using the SmartPlant Engineering Manager Upgrade Utility ................................................................ 64 Upgrading a Site ............................................................................................................................. 65 Upgrade a Plant.............................................................................................................................. 66 Upgrade SmartPlant P&ID ............................................................................................................. 67 Upgrade Utility Commands ............................................................................................................ 68 After Running the Upgrade Utility ......................................................................................................... 70 Backup Each Upgraded Plant ........................................................................................................ 70 Use Oracle Analyzer Scripts .......................................................................................................... 70 Preserve Software Customizations ................................................................................................ 71 Making Manual Changes ................................................................................................................ 71 Upgrading Reference Data ................................................................................................................... 71 Upgrade Reference Data ............................................................................................................... 72 Updating Drawings ................................................................................................................................ 72 Update Command (File > Out-of-Date Drawings Menu) ................................................................ 73 Resolve Command (File > Out-of-Date Drawings > Update Drawings Menu)............................... 74 Out-of-Date Drawing Criteria Command (Tools Menu) .................................................................. 75 Out-of-Date Drawing Criteria Dialog Box ....................................................................................... 75 Configuring SmartPlant Engineering Manager ...................................................................................... 77 Working with Database Schemas ......................................................................................................... 77 Understanding Default Database User Names .............................................................................. 78 Working with Data Dictionaries ...................................................................................................... 80 Using Default Settings .................................................................................................................... 82 Creating Network Shares ...................................................................................................................... 88 Site Administrator User Group .............................................................................................................. 88 Create a User Group ...................................................................................................................... 89
Contents
Add Users to the Administrators Group.......................................................................................... 90 Grant Network Access Privileges ................................................................................................... 91 Change the Site Administrator User Group .................................................................................... 91 New Site Administrator Group Dialog Box ..................................................................................... 92 New Site Server Wizard ........................................................................................................................ 93 New Plant Structure Wizard .................................................................................................................. 94 Associate Applications Wizard .............................................................................................................. 95 Create a New Role ................................................................................................................................ 95 User Access ............................................................................................................................................... 97 SmartPlant Engineering Manager Rights ............................................................................................. 98 SmartPlant P&ID Access Rights ......................................................................................................... 100 SmartPlant P&ID Access Rights Examples ................................................................................. 103 Customizing Your Reference Data ........................................................................................................ 107 Customizing Reference Data Options ................................................................................................ 107 Working with Filters ............................................................................................................................. 107 Working with Formats ......................................................................................................................... 107 Working with Symbols and Labels ...................................................................................................... 108 Modifying Data Model Properties ........................................................................................................ 108 Synchronizing Reference Data ........................................................................................................... 108 Establishing Design Rules .................................................................................................................. 109 Configuring Border Templates ............................................................................................................ 109 SmartPlant P&ID Delivered Templates ........................................................................................ 109 Edit Delivered Templates ............................................................................................................. 110 Create a Border Template ............................................................................................................ 111 Using SmartPlant P&ID in Production................................................................................................... 113 Start SmartPlant P&ID ........................................................................................................................ 113 Tips for Creating a P&ID Drawing ....................................................................................................... 113 Re-creating Drawings ......................................................................................................................... 114 Filtered Printing ................................................................................................................................... 115 Working with SmartPlant Integration .................................................................................................... 117 Preparing the Integrated Environment ................................................................................................ 118 Tool Requirements for Integrating SmartPlant P&ID .......................................................................... 119 General Integration Requirements ............................................................................................... 119 Working with SmartPlant Instrumentation .................................................................................... 119 Working with SmartPlant 3D ........................................................................................................ 121 Working with Aspen Basic Engineering........................................................................................ 121 Using Workshare in an Integrated Environment .......................................................................... 122 Using the Catalog Index in SmartPlant P&ID and SmartPlant Integration ................................... 122 Mapping for SmartPlant Integration .................................................................................................... 123 Using Custom Hierarchies .................................................................................................................. 123 Register Command (SmartPlant Menu) .............................................................................................. 124 Index ......................................................................................................................................................... 125
Contents
SECTION 1
Welcome to SmartPlant
The Intergraph SmartPlant family of process industry solutions is an open line of discipline-specific software tools that provide an integrated solution for the entire plant life cycle. Knowledge-based, intuitive, easy-to-use, accessible, flexible, and data-driven, SmartPlant supports global workflows. The software enables users to create logical and physical definitions of 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 of information and to provide this data to multiple users at any moment in the appropriate form. Workflows are compressed, reducing production time, lowering costs, enhancing global execution, 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, and maintenance phases.
Installation Checklist
For the recommended installation workflow, see the SmartPlant P&ID Installation Checklist: (SPPIDInstall_Checklist.xls), delivered during product setup to the ..\SmartPlant\P&ID Workstation\Program\resdlls\0009\ folder.
Welcome to SmartPlant
operating system platforms, SmartPlant P&ID does not require a traditional, expensive CAD engine for P&ID creation. The open architecture of SmartPlant P&ID permits integration with other systems, such as Intergraph PDS, SmartPlant Instrumentation, and Aspen Basic Engineering, all of which allow users to share data with third-party software.
Welcome to SmartPlant
Welcome to SmartPlant
10
SECTION 2
Internationalization
Supporting internationalization in a homogeneous environment is one of the enhancements available in SmartPlant Enterprise. A homogeneous environment uses elements from only a single locale. For example, a German customer running on a German operating system using only German characters and German cultural conventions is a fully supported homogeneous environment 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 regional settings after the project has started. Do not cross the decimal locale boundary. This is the most common cause of numeric data corruption 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 values unpredictably. For example, a pipe run with a pressure of 35.3 psi can be read by the software as 353 psi to the user with different regional settings. A cable length defined as 39 ft 11,21 inches has been interpreted as 121718910971323 meters when published to an XML file. These incorrect interpretations may be used in internal software calculations and can be impossible to backtrack or correct. Do not change the decimal point character to try to solve an 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 Eastern Europe and Japan. Create Oracle databases using AL32UTF8 for the database character set and AL16UTF16 for the NLS character set. Never modify the NLS_LANG registry entry on an Oracle client. Doing so causes the character data not to convert to Unicode. Create Microsoft SQL Server databases with locale-specific collation settings and ensure that all databases have the same setting.
Heterogeneous Environments
In contrast, a heterogeneous environment using elements from different, or even multiple locales, is not supported. Many customers are currently operating in unsupported heterogeneous environments and are often not aware of that fact. Examples of heterogeneous environments: 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/English operating system 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
11
Internationalization
12
SECTION 3
13
2 GB
1 GB
500 MB
100 MB
2.5 GB
1.1 GB
Total:
0.25 GB
14
250 MB
25 MB 30 MB 0.55 GB
Software Prerequisites
Adobe Reader 9.0 or later compatible version (required for viewing the Software License Agreement and Printable Guides). The latest version is downloadable from the Adobe Web site. SmartPlant License Manager 2010. The licensing is delivered on its own CD that comes with your SmartPlant P&ID product CD. Microsoft Internet Explorer 7.0 or 8.0 (required for viewing the Online documentation delivered with the software) Microsoft XML Core Services (MSXML) 6.0 Service Pack 1 One of the following versions of Microsoft Office (Microsoft Excel is required for working with report templates and for viewing the Installation Checklist and various other files): Microsoft Office Version 2003 Service Pack 3 2007 Service Pack 2 with Hotfix Package (msoshext-x-none.msp): February 22, 2011 http://support.microsoft.com/kb/2483216 2010 (32-bit only) with Hotfix Package (msoshext-x-none.msp): February 22, 2011 http://support.microsoft.com/kb/2483230 Select for download the 32-bit file: office2010kb2483230fullfilex86glb Microsoft Office must include the installation of Visual Basic for Applications. SmartPlant 3D Piping Specification Remote Access Client, Version 01.00. The Piping Specification Client software is required for using SmartPlant 3D specifications in the SmartPlant P&ID Piping Specification Utility and is available on the SmartPlant P&ID product CD. Microsoft Data Access Components (MDAC) 2.8 Service Pack 1 MDAC is delivered as part of Microsoft Windows XP, Windows Server 2003, Vista, and Windows 7 installations. Microsoft .NET Framework 3.5 Service Pack 1 Supported Operating Systems Windows XP or Server 2003 Windows Vista or Windows 7
15
Optional Software
Apart from SmartPlant Engineering Manager and SmartSketch, the following software programs are not Intergraph corporation software and are owned by third parties. It is the responsibility of the customer to select in its sole discretion the applicable third party software the customer desires to use to generate reports and Intergraph makes no recommendation as to the choice of said third party software. The customer is responsible for obtaining a valid license to use said third party software from the owner of said third party software and to pay any license fees to the owner of said third party software for the use of said third party software. INTERGRAPH DISCLAIMS AND MAKES NO WARRANTY EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR THE WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE IN REGARDS TO SAID THIRD PARTY SOFTWARE. For administrative functions, SmartPlant Engineering Manager 2009, SP5 For working in a Citrix environment, Citrix Presentation Server 4.5 or XenApp 6 One of the following drawing software programs (for compatibility with the 'Save As' feature): SmartSketch 2009, 2009 SP1, 2009.1, or 2009.1 SP1 Autodesk AutoCAD 2000 or 2002 Bentley MicroStation J (not certified on Vista, Windows 7, or on a 64-bit machine)
16
SECTION 4
Oracle Instances
If one server hosts the databases of several products, Intergraph recommends that each product's database 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 affected application will be off-line during backup, performance tuning, and other database maintenance activities. Additionally, global tuning parameters that apply to one instance can be tailored to the specific product requirements. According to Oracle documentation, the only limit to the number of instances you can have on any machine is the availability of resources. However, the number of instances on one database server should be minimized, because each additional instance puts additional load on the server. Each instance adds redundant tablespaces, rollback segments, background processes, and memory 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 the number of plants increases, or a plant becomes very large, consider separating the database into new 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.
17
18
3. 4. 5. 6. 7. 8. 9.
19
20
9.
10. 11.
12.
21
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. Accept the settings on the other tabs and click Next.
f.
22
13. On the page Step 11 of 12: Database Storage, if you intend to create a SmartPlant Electrical or SmartPlant P&ID database in the current Oracle database, change the data file size of the TEMP and USERS tablespaces to 100 MB. 14. 15. 16. 17. To change the size, double-click the field under Size. Click Next. On the page Step 12 of 12: Creation Options, click Finish. On the Confirmation dialog box, click OK. Restart the server machine.
23
24
25
26
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 ALTER DATABASE statement. You can enable automatic archiving either dynamically using the ALTER SYSTEM statement or by setting the initialization parameter LOG_ARCHIVE_START to TRUE. Running the database in ARCHIVELOG mode has several advantages over NOARCHIVELOG mode. 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 to 505, the database monitoring system will warn you if the system tablespace is growing heavily. This setting has no impact on performance.) Tablespace System / initial und next set to 64KB (Setting the pctincrease parameter to 50 allows you to take advantage of the dynamic growth provided by Oracle, leading to larger extents in a large database.) RollBackSegment und Temp-Tablespace create rollback segment <name> tablespace rbs storage (optimal 10MB) begin dbms_stats.gather_database_stats (cascate => TRUE); end;/ (Gathers statistics on the schemas. Use with the OPTIMIZER_MODE variable set to ALL_ROWS.)
27
28
SECTION 5
29
3. 4. 5. 6.
For more information about MSSQLServer properties and granting permissions to domain users, refer to your SQL Server and Windows documentation.
30
31
4. 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, set the maximum memory to a higher value to avoid poor performance. 5. Select the Database Settings page and change the value of Default index fill factor to 80.
32
33
34
35
36
SECTION 6
37
38
39
If Oracle software is not detected on the computer during the installation of SmartPlant P&ID, the following warning message appears:
40
If you plan to use Oracle, click No to stop the installation process and install the Oracle software before you proceed further. If you are planning to use Microsoft SQL Server software, click Yes to continue with the installation process. The driver used for printing the PDF files, SmartPlant PDF Converter 302, is included in the SmartPlant P&ID installation. This printer is used for PDF generation and should not be removed or used for any other purpose. If you are unable to generate PDF files because this driver is missing, restore the driver by running the executable file InstallPDFConverter.exe, which is installed by default in the software installation folder path ..\SmartPlant\P&ID Workstation\Program\.
41
42
Click OK to acknowledge that you are accepting the license agreement for all users on whose computers you will install the product. Setup then returns you to the normal installation process by displaying the license agreement and enabling the Yes button on the 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 2 above. 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 operating system, database platforms, software versions, installed files, drive partitions, and so forth. The /s parameter tells the setup to run in silent mode using the indicated .iss file. The /f1"<path>\<filename>.iss" parameter specifies the path and the filename for the silent 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 the setup process. The double quotes are required, with no space between the /f2 and the opening double quotes. For example, /f2"c:\installfiles\silentsetup.log". If /f2 is not defined, 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 successful silent installation produces a .log file looking something like this: [InstallShield Silent] Version=v7.00 File=Log File [ResponseResult] ResultCode=0 [Application] Name=SmartPlant P&ID Version=2009 (xx.xx.xx.xx) Company=Intergraph Lang=0009 In general, if an error occurred, the ResultCode will be a number less than zero. Possible result codes include the following:
43
-53 Invalid option selected 6. Restart the computer. This procedure also applies to the uninstall operation. The uninstall procedure should use the 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 to overwrite the file used for the installation.
44
SECTION 7
45
46
SECTION 8
47
48
49
4. On the Publish Application wizard Welcome page, click Next. 5. On the Name page, enter values for Display name and Application description, and then click Next.
6. On the Type page, choose the application type options as follows: a. Click the Application option button (the default).
50
d. Click Next.
51
8. On the Servers page, do the following: a. Click Add. b. On the Select Servers dialog box, select Servers. c. Select the Include subfolders check box.
52
53
f. Click Next. 9. On the Users page, add a domain user account that is to be granted access to the published application as follows: a. Click Add. b. On the Select Users or Groups dialog box, click Add List of Names. c. Enter names using the format user@domain.
54
e. Click OK on the Account Names Checked verification message box. f. Click OK on the Add List of Names dialog box.
55
h. Click Next. 10. On the Shortcut presentation page, do the following: a. Click Change Icon to change the application icon if necessary.
56
c. Click Next.
57
If successful, the application will appear under Applications. 12. Repeat the above steps for each application you want to publish.
58
SECTION 9
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
SmartPlant Engineering Upgrade Utility Version 2009 SP5 upgrades the SmartPlant P&ID database from Versions 2009, 2009 SP1, 2009 SP2, or 2009 SP3 to Version 2009 SP4. If you are upgrading from a SmartPlant P&ID database version earlier than 2009, you must first upgrade that database version to SmartPlant P&ID 2009 using Version 2009 of the Upgrade Utility, before upgrading to SmartPlant P&ID 2009 SP4. For more information, visit the Intergraph Customer Support (http://support.intergraph.com) Web site. SmartPlant Engineering Manager Version 2009 SP5 is compatible with SmartPlant P&ID software version 2009 SP4. 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 of upgraded and non-upgraded data may result in some data being permanently inaccessible. To upgrade, you must perform the following steps: 1. Correct Oracle database constraint violations using SmartPlant P&ID 2009. If you are working on a SQL Server platform, you can skip this step. 2. Upgrade the plant, project, satellite, and application database tables of SmartPlant P&ID 2009 using the SmartPlant Engineering Manager Upgrade Utility. 3. Open and then close Options Manager without running any commands. This action updates the RAD version for the ProjectStyles.spp file and as a result, changes the status of the Symbology for the drawings to 'Out-of-Date'. 4. Update drawings as needed using SmartPlant P&ID Drawing Manager 2009 SP4.
59
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
6. Run the appropriate constraint utilities again if any exceptions still exist. 7. Continue running the database constraint report and the constraint utilities until no exceptions 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.
3. 4.
5. 6. 7.
Microsoft Excel must be installed on any workstation from which you run the Database Constraint Exception Report utility.
60
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
on the entire plant data set. If Clean Data is used to resolve any particular constraint violation, a particular drawing will not be specified in the report for this constraint violation nor will a utility name be listed at the top of the worksheet.
Constraint Utilities
Delivered with SmartPlant P&ID, the following constraint utilities help you correct any database constraint exceptions reported in the database constraint exception report. In general, each utility attempts to repair the constrain violation. However, in some cases the violation cannot be cleaned up by the utility and the item is band-aided in the drawing. This situation is noted and logged in each utility's corresponding log file. For more information, see Constraint Utilities Log Files (on page 62). You must manually fix any band-aided item in a drawing by deleting the item and replacing it. If you have difficulty finding the band-aided items, click Tools > Options in SmartPlant 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 or SignalRun (sp_piperunid or sp_signalrunid are not null), but are not referenced by a corresponding connector. If the relationship cannot be repaired, you must delete it and replace it. cmdLPCheck.dll Checks for LabelPersist records pointing to a representation that does not exist. If the graphical label is watching a graphic, the database is updated to match, thus repairing the LabelPersist. If the label cannot be repaired, the utility band aids it. You should delete and replace these band-aided items. cmdRepOIDCheck.dll Checks for symbol records with a null graphic OID. If the graphical symbol exists, the utility repairs the item by updating the database with its graphic OID value. If the 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 updating the database to match. If the connector cannot be repaired, the utility band aids it. You should delete and replace these band-aided items. OPCFK.dll Checks for OPC records with a partner that does not exist. If the graphical OPC exists, 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.
61
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
RelationshipOIDMacro.dll Checks for relationship records with a null graphic OID. If the graphical relationship indicator exists, the utility repairs the item by updating the database with its graphic OID value. If the graphical relationship indicator does not exist, the utility deletes the relationship from the database. RepairBadConnector.dll Checks for connectors with the same start and end objects and connectors 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 the watched symbol, the utility repairs the LabelPersist record by updating the filename value for the LabelPersist. If the number of LabelPersist records does not equal the number of SmartLabel objects locked to the watched symbol, then the utility band aids the watched symbol. You should delete band-aided items. 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 utility deletes 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 utility repairs the nozzle by setting the Instockpile flag = True. If the Nozzle graphic is in the drawing, the utility tries to set either the SP_EquipmentID or SP_PartOfID based on the graphic relationship. The graphic parent must be an equipment or equipment component for the 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 Nozzle graphic 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 graphic is 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-aided items. 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 Instockpile flag = True. If the Nozzle graphic is in the drawing, the utility band aids it. You should delete band-aided items.
62
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
Constraint Utility DelOrpModItems.dll (CleanDB) Log File SPDelOrpModItems.log DBCleanup.txt OPCFK.dll PointIndexCheck.dll RelationshipOIDMacro.dll RepairBadConnector.dll RepairOrphanedNozzleCmd.dll RepairNullFileNameCmd.dll OPC_OPC_FK.log PointIndexConstraint_check.log RelationshipOID_Checks.log RepairBadConnector.log RepairOrphanedNozzles_.pid.log RepairNullFileNameCmd.log
63
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
hash_area_size=number This setting determines how much RAM is available for use by the hash tables. The default value for hash_area_size is 131072, and the value you enter for number should be a multiple of this default value. The new value should be as large as possible without interfering with the needs of the operating system. A value of 1310720 (default x 10) would not be unreasonable for a server with a gigabyte or more of memory.
64
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
Before you can upgrade your plants, you must upgrade your site using SmartPlant Engineering Manager 2009 SP5. You are not required to upgrade all plants in a particular site at the same time. When upgrading from SmartPlant Engineering Manager 2007.x to 2009 SP5 where you intend to use the Windows 7 operating system, you must first install SmartPlant Engineering Manager 2009 on Windows XP or Vista and perform the upgrade from 2007.x to 2009 (including a plant and application upgrade). After that, you can upgrade the operating system to Windows 7, install SmartPlant Engineering Manager 2009 SP5 and perform the upgrade from 2009. On Windows 7, when installing SmartPlant Engineering Manager 2009 prior to upgrading to 2009 SP5, if you receive the following message, just click OK to continue.
The SmartPlant Engineering Manager 2009 SP5 installation will register the OCX file.
Upgrading a Site
When you open a site created in Version 2009 SP2 or earlier using SmartPlant Engineering Manager 2009 SP5, you are prompted to upgrade the site. Use the Upgrade Site command to perform the upgrade.
65
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
Upgrade a Plant
It is not necessary to upgrade your plant if the plant version is 2009 or later. If your plant is in one of these versions, you can skip this procedure. For earlier versions of a plant, using SmartPlant Engineering Upgrade Utility 2009, follow this procedure to upgrade your plant to Version 2009. After you select the site containing the plants you want to upgrade, the SmartPlant Engineering Upgrade Utility displays a list of active plants that are available for upgrade. 1. Select a plant in the Tree view to see the available applications that can be upgraded for that plant.
2. Right-click the active plant and select Upgrade Plant from the shortcut menu. The utility moves the plant from the Active plants node to the Upgrades in progress node and displays the list of upgrade tasks required to upgrade the selected plant.
3. Right-click in either pane and on the shortcut menu, click Finish All Tasks to complete the plant upgrade.
66
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
After the plant is upgraded, the utility moves it back under the Active plants node and updates the plant status in the Upgrade Tasks pane to Up-to-date.
2. The utility moves the plant from the Active Plants node to the Upgrades in progress node and displays the list of upgrade tasks required to upgrade the P&ID application.
67
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
3. Right-click in either pane and on the shortcut menu, click Finish All Tasks to complete the application upgrade.
4. 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 pane to Up-to-date.
All drawings in the upgraded plant will be out-of-date because of select lists and formats. These drawings must be updated using the Update Drawings command in Drawing Manager.
See Also
Finish Next Task Command (File Menu) (on page 69) Run to Selected Task Command (File Menu) (on page 69) Upgrade P&ID Command (Upgrade Menu) (on page 70)
68
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
69
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
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, see the plant upgrade log file. The log file, named UpgradeV600_plant name.log, is saved in the 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.
See Also
Upgrade a Plant (on page 66)
See Also
Upgrade SmartPlant P&ID (on page 67)
70
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
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 the Advanced Table Properties dialog box.
User Access
Before you can upgrade the reference data and drawings for an upgraded plant, you must define user access for the plant in SmartPlant Engineering Manager. For more information about defining 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 the V4RefDataUpgrade.log file. This log file is saved in the folder where the symbols are stored. For more information about upgrading reference data, see SmartPlant P&ID Options Manager Help.
71
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
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 the V4RefDataUpgrade.log file. This log file is saved in the folder where the symbols are stored. For more information about upgrading reference data, see SmartPlant P&ID Options Manager Help.
Updating Drawings
Changes are often made to the SmartPlant P&ID reference data while work is being managed on the 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 to manage which drawings are updated with the latest reference data changes by defining values that 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 about this 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. After upgrading to the latest version of SmartPlant P&ID, opening Options Manager for the first time updates the RAD version for the ProjectStyles.spp file and as a result, changes the status of the Symbology for the drawings to 'Out-of-Date'. For this reason, after upgrading SmartPlant P&ID, you should open and close Options Manager once before updating your drawings using SmartPlant P&ID Drawing Manager. 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)
72
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
Rules Manager Options Manager (heat tracing, gapping, and symbology) Model Items (via Llama) OPCs (moved) Drawings in a Re-create state Drawing Properties After this analysis process, a summary displays, listing the number of drawings selected, the number of out-of-date drawings, and the number of drawings with missing symbols. You must manually resolve the missing symbols using the Resolve Missing Symbols dialog box, which lists 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 described above. Reporting capability provides a summary of the selected drawings and the out-of-date criteria detected during the analyze step. This report format is non-configurable.
Total drawings selected Displays the number of drawings selected. Report Generates a Microsoft Excel report describing the details of out-of-date drawing(s).
73
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
Out-of-date drawings Displays the number of drawings that are out-of-date based on the criteria selected using the Out-of-Date Drawing Criteria dialog box. Resolve Displays the Resolve Missing Symbols dialog box. Use this button to resolve any missing symbols. Drawings with missing symbols Displays the number of out-of-date drawings containing symbols that do not exist in the catalog. If the path to your Rules file is set incorrectly in SmartPlant P&ID Options Manager, then the Update Drawings command will not work. For example, if the path is invalid, then all drawings in the project are in an out-of-date state but the software cannot update them. This error also occurs if the Catalog Explorer Root Path specified in SmartPlant P&ID Options Manager is invalid. An error message displays and the report displays Drawings with a ? in the criteria column have missing or incorrect reference data.
Resolve Command (File > Out-of-Date Drawings > Update Drawings 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 to define as the replacement for the missing symbol. You cannot resolve missing symbols for offline instruments of a different class using this command. 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).
74
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
See Also
Update Command (see "Update Command (File > Out-of-Date Drawings Menu)" on page 73)
75
Upgrading to SmartPlant P&ID 2009 SP4 (SmartPlant Engineering Manager 2009 SP5)
Gapping Changes Gapping GUID on the drawing item is not equivalent to the Gapping GUID in Option Manager Setting. Symbology Changes Symbology GUID on the drawing item is not equivalent to the Symbology GUID in Option Manager Setting. Out-of-Date Model Items SP_ModelItemTimeStamp for at least one representation in the drawing is not equivalent to the TimeStamp on the History Item of its Model Item. This criteria covers model items updated via Llama (Outside the drawing). Moved OPCs MatingOPCPath (will have Drawing Id of its mate) on the OPC is not equivalent to the SP_DrawingId of its mate OPC. The OPC label is in a to-be-updated state as its mate has been moved. Recreate State The drawing is in a re-create state. Drawing Property Changes Property Changes GUID on the drawing item is not equivalent to Drawing Property Changes GUID on the drawing item. Drawing Property Changes GUID is set when drawing properties are modified from Drawing Manager.
76
SECTION 10
77
The majority of database activity occurs in the application schemas (SPPID Schema, SPPID Data Dictionary Schema, SPEL Schema, SPEL Data Dictionary Schema, and SPEL Reference Schema) since this is where the application data is stored. The plant schema contains the smallest amount of data compared with the other schemas.
78
Electrical Reference Schema Electrical schema user name + 'ref' Satellite Plant Schema Satellite P&ID Schema Plant schema user name + 'sat' + satellite count Satellite plant schema user name + 'pid'
Satellite Replication Schema Satellite plant schema user name + 'rep' Project Schema Project P&ID Schema Project Electrical Schema
Plant schema user name + 'p' + project Plant1p1 count P&ID schema user name + 'p' + project count Electrical schema user name + 'p' + project count Plant1pidp1 Plant1elp1
The software sets the related password defaults for the above user name automatically to <default user name> for Oracle and to <default user name> + '1' for SQL Server. In the case of SQL Server 2005 running on Windows Server 2003, if you 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. Database usernames cannot start with a numeric digit and cannot contain any of the following characters: ~ ` ! % ^ & * ( ) - + = { } [ ] \ / ; : " < > , . ? | Oracle database user names are limited to 30 characters. Because site or plant names can be up to 64 characters long, the software uses only the first 12 characters of the name in creating the default database user names using the formulas above. The software removes all spaces or special characters in a site name before using that name to create a default database user name. Oracle database passwords cannot contain the characters: " ' @ SQL Server database passwords cannot contain the character: '
See Also
New Site Server Wizard (on page 93) Associate Applications Wizard (on page 95)
79
See Also
New Data Dictionary Template Dialog Box (on page 82)
See Also
New Data Dictionary Template Dialog Box (on page 82)
80
in the Tree view. To create a plant data dictionary template, select the Plant node To create an application data dictionary template, select the Applications node in the Tree 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 and then type a file name for the template file. 3. If you are creating an application template, type the Source name for the application data dictionary template. By default, this field displays the name of the source data dictionary template used to create the existing application data dictionary. Data dictionary templates cannot be upgraded. You cannot use a template created using an older version of SmartPlant Engineering Manager to create a site, plant, or application schema. Data dictionary templates are not database-specific. In other words, a given data dictionary template 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, insulation specification, symbols, and other file-based reference data are not included in data dictionary templates.
See Also
Data Dictionary Manager Command (Tools Menu) (on page 80) New Data Dictionary Template Command (Tools Menu) (on page 81)
81
See Also
Data Dictionary Manager Command (Tools Menu) (on page 80) New Data Dictionary Template Dialog Box (on page 82)
Template file Allows you to specify the path and file name for the new template. Source name Available only when creating an application template, this field displays the internal name of the source data dictionary template used to create the existing application data dictionary. 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 (Tools Menu) (on page 80) New Data Dictionary Template Command (Tools Menu) (on page 81)
See Also
Default Settings Dialog Box (on page 83) Default Settings Command (Tools Menu) (on page 83) Use Default Settings Command (Tools Menu) (on page 83)
82
See Also
Using Default Settings (on page 82)
See Also
Use Default Settings Command (Tools Menu) (on page 83) Default Settings Dialog Box (on page 83) Using Default Settings (on page 82)
83
Oracle
Select this option if you are using an Oracle database. This information is carried forward from the site properties, but you can modify it for subsequent plant creations. Oracle alias Type the name of the Oracle net service alias used by the site in which the plant will be created. Refresh Click this button to update the entries in the tablespace lists if you have changed the system user name or password entries. System user Type a database system user name. This name does not have to be the database administrator user name, but this user must have the DBA role. System password Type the system password. Oracle system passwords cannot contain any special characters other than: @ ('at' symbol), . (period), and _ (underscore). Oracle tablespace Select a default Oracle tablespace name for your plant database. We recommend that you do not use SYSTEM for the default tablespace, because Oracle uses this tablespace for its own use. Oracle temp tablespace Select a default Oracle temporary tablespace name for your plant database. If this list is empty, contact your database administrator.
84
SQL Server
Select this option if you are using a SQL Server database. This information is carried 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 system user name or password entries. System user Type a database system user name. This name does not have to be the database administrator user name, but this user must have sysadmin privileges. Database user names cannot contain any of the following characters: ~ ` ! % ^ & * ( ) - + = { } [ ] \ / ; : " < > , . ? | For a SQL Server database, the period (.) is not allowed. System password Type the system password. SQL Server database passwords cannot contain the character: '. Other special characters are allowed for system passwords.
Plant structure root directory Specify the path to the storage location for the plant data and the drawing files. Folders for individual plant structures are automatically appended to this path as they are created. You must create the plant structure root directory and share it out before using these default settings during plant creation. Backup root directory Specify the path to the shared storage folder for backing up the plant files. Folders for individual plant structures are automatically appended to this path as they are created. Seed location Specifies the folder where all the templates are stored. The site administrator sets this path during installation.
85
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 delivered template. Use custom template Select this option to create the plant data dictionary using a custom template. Template path Specify the path where the custom template file is located. This field is enabled only if the Use custom template option is selected. This path is limited to 255 characters 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 data dictionary 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 page 80). Hierarchy Select the default hierarchy that you want to use for new plants. All currently defined hierarchies display in this list.
86
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 using the delivered template. Use custom template Select this option to create the SmartPlant P&ID data dictionary using a custom template. Template path Specify the path where the custom template file is located. This field is enabled only if the Use custom template option is selected. This path is limited to 255 characters 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 data dictionary 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 page 80). 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.
87
88
89
6. Click Create to create the new group. The new SiteAdmins group should appear in the list of groups.
90
3. Add the same users to this group that you added to the SiteAdmins group in the section above. All users in Groups other than the Administrators group must have Read/Write access to the folder where SmartPlant Engineering Manager is installed in order to use the software.
3. On the Local Security Setting dialog box, click Add User or Group and browse to the group you created above (for example, SiteAdmins).
91
See Also
New Site Administrator Group Dialog Box (on page 92)
Use local machine and domain groups Use this option when you want to choose an existing user group or domain that is accessible from your machine.
92
See Also
SmartPlant Engineering Manager Rights (on page 98) Change the Site Administrator User Group (on page 91)
93
See Also
Associate Applications Wizard (on page 95) Create a New Role (on page 95) User Access (on page 97)
94
95
See Also
SmartPlant Engineering Manager Rights (on page 98) SmartPlant P&ID Access Rights (on page 100)
96
SECTION 11
User Access
User access identifies the users allowed to work at specified access levels within the site and related plant structures. With user access, administrators can control access to data and thereby ensure the security of their project data. SmartPlant Engineering Manager incorporates user access as an integral product feature by using roles to define and maintain user privileges and rights at the plant structure level, where each application has its own set of rights. Roles are the primary focus, with each role associated to a single Windows user group. Each role is then assigned specific rights for each engineering application and for SmartPlant Engineering Manager. To see the roles currently defined for a plant, click the Roles node under the plant node in the Tree view. To view the rights settings for a particular role, right-click the role in the List view and click Properties.
Mutually-Exclusive Rights
Users can have access privileges that vary from one plant to another in the same site. These rights are defined by categories. Categories with radio button options indicate that the rights contained within are mutually exclusive, meaning you can choose only one right in that category to 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 view the data held within it. Modify Settings The user can execute the application or utility for this plant structure to view 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 when operating in the Workshare mode because the reference data must be controlled by the host site. 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, you can create templates for specific roles and then use those templates multiple times. This feature is useful for defining a role template in one site and then reusing that same role template throughout all of your sites.
See Also
SmartPlant Engineering Manager Rights (on page 98) Create a New Role (on page 95) SmartPlant P&ID Access Rights (on page 100)
97
User Access
98
User Access
The following rights are available to the Plant Structure Access category and are mutually exclusive. Category Plant Structure Access Right 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 user cannot create, modify, or delete any data within the plant structure. Full Control The user can create plant groups, add applications and roles, and create projects and satellites, but cannot see the hierarchies or the plant group types. This right is valid only within the SmartPlant Engineering Manager software. Formats None The user is not allowed to launch Format Manager. Read-Only The user can launch Format Manager and view the format settings but cannot create, modify, or delete formats. Full Control The user can launch Format Manager and can create, modify, or delete formats.
99
User Access
Plant Filters
Display Sets
Default Views
Controls the ability to specify default filters and layouts for item types. Also controls setting the Brief/Bulk Lists associated with item types. Full Control is disabled for Workshare satellites and projects. None prevents users from accessing the plant reports. Read-Only allows users to view existing report definitions, but not make changes. Full Control allows users to create new plant reports and edit existing reports. Full Control is disabled for Workshare satellites and projects. None prevents users from accessing Rule Manager. Read-Only allows users to view existing rule definitions, but not make changes. Full Control allows users to create new rules and edit existing rule definitions. Full Control is disabled for Workshare satellites and projects. None prevents users from accessing Data Dictionary Manager. Modify Select Entry and Full Control are disabled for Workshare satellites and for projects. Read-Only allows users to view settings in the data dictionary, but not make any changes.
Plant Reports
Rules
Data Dictionary
None
Read-Only
Modify Select Entry Modify Select Entry allows users to edit select lists.
100
User Access
Category Right Full Control Notes Full Control allows users to add items and edit existing items in the data dictionary. Modify Select Entry and Full Control are disabled for Workshare satellites and for projects. None prevents users from accessing Options Manager. Read-Only allows users to view option settings, but not make any changes. Modify Settings allows users to change reference data pointers. Full Control allows users to add options and edit existing options. Full Control is disabled for Workshare satellites and for projects, but users must have at least Modify Settings level privileges to use Workshare. None prevents users from accessing Insulation Specification Manager. Read-Only allows users to view insulation settings, but not make any changes. Full Control, disabled for Workshare satellites and projects, allows users to add settings and edit existing insulation settings. Create P&ID allows users to execute the New Drawing command in Drawing Manager. Delete P&ID allows users to execute the Delete command in Drawing Manager. Refresh P&ID allows users to execute the Compare and Refresh and Validate commands in SmartPlant P&ID. Users must also have Full Control permission for P&ID Objects before they can refresh a drawing. Create Version allows users to execute the Create Version command in Drawing Manager. Delete Version allows users to execute the Delete Version command in Drawing Manager. Fetch Version allows users to execute the Fetch Version command in Drawing Manager. Edit Import Map allows users to execute the Edit Import Map command in Drawing Manager. Update P&ID allows users to execute the Update P&ID command in Drawing Manager to update existing drawings. Create Revision allows the user to create revision properties, modify revision properties, and associate revision properties with the revised drawing.
Options
Insulation Specifications
Drawing Management
Create Version Delete Version Fetch Version Edit Import Map Update P&ID Create Revision
101
User Access
Category Right Delete Revision P&ID Objects None Read-Only Modify Properties Full Control Workshare Publish Get Latest Version Assign Drawing Ownership Synchronize Reference Data Synchronize Shared Items Projects Check Out Check In Fetch Change Status Notes Delete Revision allows the user to delete a revision and its associated version. None prevents users from accessing objects in the SmartPlant P&ID Modeler environment. Read-Only allows users to view objects in the SmartPlant P&ID Modeler environment, but not make any changes. To import, user needs at least the Modify Properties right. To refresh drawings in SmartPlant P&ID, users must have Full Control permission on P&ID Objects. Publish allows users to publish drawings to other satellites or back to the host. Get Latest Version allows users to obtain the latest published drawing from the host or satellite site. Assign Drawing Ownership allows users to specify which Workshare sites have read/write permission for published drawings. Synchronize Reference Data allows users to update their reference data with the reference data at the host. Synchronize Shared Items allows users to update their shared items with the shared items at the host. Check Out allows users to execute the Check Out and Undo Check Out commands in Drawing Manager. Check In allows users to execute the Check In command in Drawing Manager. Fetch allows users to execute the Fetch command in Drawing Manager. Change Status allows users to interact with the Project Status dialog box in Drawing Manager. If you are not granted this right, you can only view the project status, but cannot modify it. Claim allows users to execute the Claim and Release Claim commands in SmartPlant P&ID. Enables or disables the ability to publish to or retrieve documents. Select the check box to enable an option; clear to disable.
102
User Access
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 plant groups, add applications and roles, create projects, enable Workshare, and create satellites, but should not see the hierarchy templates or plant group types. Category SPEM Plant Structure Access Catalog Plant Filters Display Sets Default Views Formats Plant Reports Rules Data Dictionary Options Insulation Specifications Drawing Management P&ID Objects Workshare Right Full-Control Full-Control Full-Control Full-Control Full-Control Full-Control Full-Control Full-Control Full-Control Full-Control Full-Control Create P&ID, Delete P&ID, Archive, Retrieve Full Control Publish, Get Latest Version, Assign Drawing Ownership, Synchronize Reference Data, Synchronize Shared Items Publish, Retrieve
SmartPlant
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 there are big changes to the drawing design). Category Right
SPEM Plant Structure Access Read-Only Catalog Plant Filters None Read-Only
103
User Access
Category Display Sets Default Views Formats Plant Reports Rules Data Dictionary Options Insulation Specifications Drawing Management P&ID Objects Workshare SmartPlant Right Full-Control Read-Only None Read-Only None None None None Create P&ID Archive Full Control Undefined (do not choose anything) Undefined (do not choose anything)
Engineers
This group has access to drawings to view and modify data reports but not graphics. They can set up personal filters, set up personal display sets, 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, projects, or Workshare activities. Category Right
SPEM Plant Structure Access Read-Only Catalog Plant Filters Display Sets Default Views Formats Plant Reports Rules Data Dictionary Options Insulation Specifications Drawing Management None Read-Only Full-Control Read-Only None Read-Only None None None None Undefined (do not choose anything)
104
User Access
Category P&ID Objects Workshare SmartPlant Right Modify Properties Undefined (do not choose anything) Undefined (do not choose anything)
Managers
This group needs only view data access. They can set up personal filters, set up personal display sets, 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 Structure Access Read-Only Catalog Plant Filters Display Sets Default Views Formats Plant Reports Rules Data Dictionary Options Insulation Specifications Drawing Management P&ID Objects Workshare SmartPlant None Read-Only Full-Control None None None None None None None Undefined (do not choose anything) Read-Only Undefined (do not choose anything) Undefined (do not choose anything)
105
User Access
106
SECTION 12
107
108
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. Allow full-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 and satellites in a Workshare collaboration. Use the Workshare Synchronize Reference Data command instead.
Metric Templates
Template File A0-Size.pid A1-Size.pid A1-Wide(Metric).pid A1-Wide Note Area.pid A2-Size.pid Border File A0border.igr A1border.igr A1-Wide(Metric).igr A1-Wide Note Area.igr A2border.igr Page Size A0 Wide (1189mm x 841mm) A1 Wide (841mm x 594mm) A1 Wide (841mm x 594mm) A1 Wide (841mm x 594mm) A2 Wide (594mm x 420mm)
109
English Templates
Template File A-Size.pid A-Wide (Imperial).pid B-Size.pid B-Wide (Imperial).pid C-Size.pid C-Wide (Imperial).pid C-Wide Note Area (Imperial).pid D-Size.pid D-Wide (Imperial).pid D-Wide Note Area (Imperial).pid E-Size.pid Border File A-Wide.igr A-Wide (Imperial).igr B-Wide.igr B-Wide (Imperial).igr C-Wide.igr C-Wide (Imperial).igr C-Wide Note Area (Imperial).igr D-Wide.igr D-Wide (Imperial).igr D-Wide Note Area (Imperial).igr E-Wide.igr Page Size A Wide (11in x 8.5in) A Wide (11in x 8.5in) B Wide (17in x 11in) B Wide (17in x 11in) C Wide (22in x 17in) C Wide (22in x 17in) C Wide (22in x 17in) D Wide (34in x 22in) D Wide (34in x 22in) D Wide (34in x 22in) E Wide (44in x 34in)
110
111
112
SECTION 13
113
Re-creating Drawings
SmartPlant P&ID continually updates the database as you edit a drawing; however, the drawing file is not updated until you actually save the file (that is, when you click File > Save or when you exit SmartPlant 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 that you posted to the drawing, but the drawing file reflects the status when you last saved the drawing. When you re-open the drawing, the software recognizes that the drawing file is different from the database. The software displays a message box that states: 'One or more items in this drawing are inconsistent with the database. Click OK to re-create the drawing from the database.' During the re-create process, the status bar at the bottom of the main window keeps you informed about the particular elements currently reconciling with the database. Also, a log file, Recreate-DrawingName.log, is created in your Temp folder. You can check this file for irregularities that occur during the re-create process. Do not interfere with the re-create process once started because the drawing 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 can check the log file, Recreate[Drawing#].log, located in the Temp directory, for any problems that may have occurred during the re-create process. If your reference data has changed, use the Update Drawings functionality to incorporate those 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 and displays the message 'Re-create drawing is complete'. Review the re-created drawing and resolve any errors that occurred.
114
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 the Print filter options on the Print dialog box in Drawing Manager, you can select the display set that specifies which symbols in the drawing to print. If no display set is applied, the entire drawing prints.
115
116
SECTION 14
SmartPlant P&ID interacts with SmartPlant Foundation by correlating items between the plant database and the SmartPlant Foundation database, retrieving documents from SmartPlant Foundation. Also, SmartPlant P&ID creates a set of tasks in the To Do List that you can run to update the plant database. In SmartPlant P&ID, you can also use the commands on the SmartPlant menu to publish documents and retrieve data, access the SmartPlant Foundation
117
Registering Tools
Before you can publish and retrieve documents from any of the other authoring tools, such as SmartPlant Electrical or SmartPlant Instrumentation, you must register each plant in SmartPlant P&ID with a SmartPlant Foundation database. The connection allows SmartPlant P&ID to use the commands on the SmartPlant menu. A SmartPlant Engineering Manager administrator typically 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 you use 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 and retrieve documents.
118
119
Instrument Expansion
A SmartPlant P&ID instrument or loop tag does not always have a 1:1 relationship with instruments in SmartPlant Instrumentation. In some cases, a single item tag in a P&ID corresponding to an instrument or loop needs to be expanded to create several instruments when publishing the data for SmartPlant Instrumentation. For this purpose, the Expansion Type property in SmartPlant P&ID specifies the expansion behavior when publishing an instrument or loop. Each value of the property corresponds to a SmartPlant Instrumentation rule that determines which instrument types and numbers are to be created in SmartPlant Instrumentation when the SmartPlant P&ID tag is expanded and retrieved. When retrieving data back to SmartPlant P&ID, the behavior of a particular instrument created by expansion is determined by SmartPlant Instrumentation parameters. For an expanded instrument, the state of the IRetrievableExpansion interface determines whether that instrument will be retrieved by SmartPlant P&ID: if the IRetrievableExpansion interface is realized, the instrument is retrieved, whereas if the IRetrievableExpansion interface is not realized, the instrument is not retrieved. The 'parent' item tag is always retrieved, regardless of the realization state of the IRetrievableExpansion interface.
Ports
SmartPlant Instrumentation uses physical ports, while SmartPlant P&ID uses logical ports. SmartPlant Instrumentation publishes the physical ports with the Dimensional Data Sheets and not the Instrument Index. SmartPlant P&ID retrieves the Instrument Index and does not retrieve the Dimensional Data Sheets. When the workflow goes from SmartPlant P&ID to SmartPlant Instrumentation, followed by SmartPlant Instrumentation publishing the Dimensional Datasheet, a Same As relationship is created between the ports in the SmartPlant Foundation database. That Same As relationship is required by SmartPlant 3D to correctly match the design basis ports to the 3D representation of the ports. When the workflow goes from SmartPlant Instrumentation to SmartPlant P&ID, however, a Same As relationship is not created in the SmartPlant Foundation database. Without the Same As relationship created in the SmartPlant Foundation database, the result may be additional ports in SmartPlant 3D. To obtain the Same As relationship on the ports requires that SmartPlant P&ID publish the P&ID with the instrument, this P&ID be retrieved by SmartPlant Instrumentation and then having SmartPlant Instrumentation publish the Dimensional Data Sheet.
120
121
122
123
124
Index
A
adding users .............................................90 user groups ...........................................90
D
Data Dictionary Manager ....................... 108 data model ............................................. 108 customizing ........................................ 108 database ...................................... 17, 27, 37 database constraints .............. 59, 60, 61, 62 utilities .................................................. 61 database servers ..................................... 13 configuration................................... 17, 37 networking components ....................... 17 Oracle ARCHIVELOG mode ................ 27 Oracle Cost Based Optimizer .............. 27 system requirements ............................ 13 tuning ................................................... 27 display sets ............................................ 115 printing ............................................... 115 Drawing Manager............................... 8, 113 overview ................................................. 8 starting SmartPlant P&ID ................... 113 drawings ........................................... 72, 115 printing ............................................... 115 updating ............................................... 72
B
backing up.................................................70 upgraded plants ....................................70 backup locations .......................................88 sharing ..................................................88 border templates .................... 109, 110, 111 configuring ..........................................109 creating ...............................................111 delivered .................................... 109, 110 break componenet ....................................73 update drawings....................................73 break labels ..............................................71 upgrading ..............................................71
C
catalog index ...........................................119 CatalogIndex.mdb ...............................119 out-of-date...........................................119 retrieving symbols ...............................119 updating ..............................................119 configuring ..................... 17, 45, 77, 88, 109 border templates .................................109 Integration Resource Path ....................45 network shares......................................88 Oracle networking .................................17 reference data .......................................45 SmartPlant Engineering Manager.........77 creating .................................... 89, 111, 113 border templates .................................111 P&IDs ..................................................113 user groups ...........................................89 customizing .................... 107, 108, 109, 110 border templates ........................ 109, 110 data model ..........................................108 filters ...................................................107 formats ................................................107 labels ...................................................108 Options Manager ................................107 reference data .....................................107 rules ....................................................109 symbols ...............................................108
F
Filter Manager ........................................ 107 filtered printing ....................................... 115 filters....................................................... 107 customizing ........................................ 107 Format Manager .................................... 107 formats ............................................. 71, 107 upgrading ............................................. 71
H
hardware ............................................ 13, 14 hardware requirements ............................ 13 database servers ................................. 13 requirements ........................................ 13 workstation ........................................... 14
I
installation ................................................ 42 Installation Guide ....................................... 8 overview ................................................. 8 silent mode ........................................... 42 installing ................................. 37, 38, 39, 45 database .............................................. 37
125
Index
reference data .......................................45 SmartPlant ............................................38 SmartPlant 3D client .............................38 SmartPlant Engineering Manager.........39 SmartPlant P&ID .............................38, 39 Insulation Manager .....................................8 integration .........................................37, 118 preparing the environment ..................118 supported Oracle versions ....................37 P&IDs ................................................. 115
R
recommendations .................................... 13 database servers ................................. 13 reference data ...................... 45, 71, 72, 107 configuring............................................ 45 customizing ........................................ 107 installing ............................................... 45 Integration Resource Files ................... 45 Integration Resource Path ................... 45 Options Manager ............................... 107 upgrading ....................................... 71, 72 registering .............................................. 117 with SmartPlant Foundation ............... 117 registry ..................................................... 38 requirements ...................................... 13, 14 database servers ................................. 13 hardware .............................................. 13 software................................................ 13 workstation ........................................... 14 role templates .......................................... 88 sharing ................................................. 88 Rule Manager .................................... 8, 109 overview ................................................. 8 rules ....................................................... 109 rules for integrating authoring and viewing tools customizing ........................................ 109
L
labels.......................................................108 customizing .........................................108 logs ...........................................................71
N
network access privileges .........................91 granting to user groups .........................91 network shares .........................................88 backups.................................................88 plant structure .......................................88 role template .........................................88 site server .............................................88
O
Options Manager ................................8, 107 customizing .........................................107 overview ..................................................8 Oracle .................................................27, 70 Oracle analyzer scripts .............................71 analyzer scripts .....................................70 ARCHIVELOG mode ............................27 Cost Based Optimizer ...........................27 statistics ................................................70 tuning ....................................................70 out-of-date...........................................73, 74 resolve drawings ...................................74 update drawings....................................73 overviews ....................................................7 SmartPlant P&ID .....................................7
S
servers ..................................................... 13 database .............................................. 13 silent mode installation............................. 42 site administrators .............................. 90, 91 network access privileges .................... 91 user group ............................................ 90 site servers ............................................... 88 sharing ................................................. 88 SmartPlant ............................................... 38 SmartPlant 3D .......................................... 38 installing remote access client ............. 38 SmartPlant Engineering Manager..... 39, 77, 117 configuring............................................ 77 installing ............................................... 39 SmartPlant Foundation .......................... 117 SmartPlant integration ..................... 37, 118 preparing the environment ................. 118 supported Oracle versions ................... 37 SmartPlant P&ID ...................... 7, 8, 38, 113 Drawing Manager ........................... 8, 113
P
permissions ...............................................38 piping specification ...................................38 PipingPoint ................................................71 placing.....................................................113 items ...................................................113 plant structures .........................................88 sharing ..................................................88 printing ....................................................115 filtered .................................................115
126
Index
installing ................................................38 Insulation Manager .................................8 Options Manager ....................................8 overviews ................................................7 Rule Manager .........................................8 starting ................................................113 using ...................................................113 SmartPlant SmartPlant P&ID ....................39 installation .............................................38 installing ................................................39 software ....................................................14 requirements .........................................13 workstation ............................................14 starting ....................................................113 P&IDs ..................................................113 SmartPlant P&ID .................................113 subtasks ....................................................71 symbols .......................................... 108, 119 customizing .........................................108 retrieving .............................................119 system requirements ................................13 database servers ..................................13 user groups .................................. 89, 90, 91 adding users......................................... 90 creating ................................................ 89 network access privileges .................... 91 customization ........................................... 71 utilities ...................................................... 60 Clean Data ........................................... 60 DelOrphModItem.dll ............................. 60
W
Workshare .............................................. 119
Z
Zyqad ..................................................... 119 retrieving documents .......................... 119
T
tasks..........................................................71 understanding .......................................71
U
updating ....................................................72 P&IDs ....................................................72 upgrade .....................................................71 upgrade tasks ...........................................71 logs .......................................................71 manual changes....................................71 tasks ......................................................71 understanding .......................................71 upgrading ....... 61, 62, 63, 64, 70, 71, 72, 73 after .......................................................70 backing up after ....................................70 backing up old data ...............................63 break labels...........................................71 cleanup macros.....................................62 constraint utilities ..................................61 formats ..................................................71 memory management ...........................64 Oracle ...................................................70 plants ....................................................71 reference data .................................71, 72 setting Open_Cursors parameter .........63 sharing paths ........................................63 update drawings....................................73 user customizations ..................................71
127