PID Designer User Guide
PID Designer User Guide
User Guide
AVEVA Solutions Ltd
Disclaimer
Information of a technical nature, and particulars of the product and its use, is given by AVEVA
Solutions Ltd and its subsidiaries without warranty. AVEVA Solutions Ltd and its subsidiaries disclaim
any and all warranties and conditions, expressed or implied, to the fullest extent permitted by law.
Neither the author nor AVEVA Solutions Ltd, or any of its subsidiaries, shall be liable to any person or
entity for any actions, claims, loss or damage arising from the use or possession of any information,
particulars, or errors in this publication, or any incorrect use of the product, whatsoever.
Copyright
Copyright and all other intellectual property rights in this manual and the associated software, and every
part of it (including source code, object code, any data contained in it, the manual and any other
documentation supplied with it) belongs to AVEVA Solutions Ltd or its subsidiaries.
All other rights are reserved to AVEVA Solutions Ltd and its subsidiaries. The information contained in
this document is commercially sensitive, and shall not be copied, reproduced, stored in a retrieval
system, or transmitted without the prior written permission of AVEVA Solutions Ltd Where such
permission is granted, it expressly requires that this Disclaimer and Copyright notice is prominently
displayed at the beginning of every copy that is made.
The manual and associated documentation may not be adapted, reproduced, or copied, in any material
or electronic form, without the prior written permission of AVEVA Solutions Ltd. The user may also not
reverse engineer, decompile, copy, or adapt the associated software. Neither the whole, nor part of the
product described in this publication may be incorporated into any third-party software, product,
machine, or system without the prior written permission of AVEVA Solutions Ltd, save as permitted by
law. Any such unauthorised action is strictly prohibited, and may give rise to civil liabilities and criminal
prosecution.
The AVEVA products described in this guide are to be installed and operated strictly in accordance with
the terms and conditions of the respective licence agreements, and in accordance with the relevant
User Documentation. Unauthorised or unlicensed use of the product is strictly prohibited.
AVEVA Solutions Ltd, High Cross, Madingley Road, Cambridge, CB3 0HB, United Kingdom
Trademarks
AVEVA and Tribon are registered trademarks of AVEVA Solutions Ltd or its subsidiaries. Unauthorised
use of the AVEVA or Tribon trademarks is strictly forbidden.
AVEVA product names are trademarks or registered trademarks of AVEVA Solutions Ltd or its
subsidiaries, registered in the UK, Europe and other countries (worldwide).
The copyright, trade mark rights, or other intellectual property rights in any other product, its name or
logo belongs to its respective owner.
PID Designer User Guide
Contents
Contents Page
PID Designer
1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Starting P&ID Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3 Project Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4 Drawing Elements not supported by
the ISO15926 (Version 3.2.0) Schema. . . . . . . . . . . . . . . . . . 7
5 The Export Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
6 Appendix: The ISO15926 (Version 3.2.0)
Schema Specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
6.1 Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
6.2 XML Model Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
6.2.1 XML File Document Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6.2.2 XML Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6.2.3 Geometries (Axis and Reference) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
6.2.4 Character encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.2.5 Tag Referencing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.2.6 PersistentId referencing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.3 Shared Attribute Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
6.3.1 ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.3.2 Tag. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.3.3 Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.3.4 StockNumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.3.5 ComponentName. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.3.6 ComponentClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.3.7 ComponentType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.3.8 Revision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.3.9 Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.3.10 Units. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.4 Element Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
6.4.1 PlantModel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.4.2 Association . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.4.3 Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.4.4 BsplineCurve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.4.5 CenterLine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.4.6 Circle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.4.7 Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.4.8 CompositeCurve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.4.9 Connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.4.10 ConnectionPoints. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.4.11 ConnectionType. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.4.12 ControlPoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.4.13 ControlPointWeight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.4.14 Coordinate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.4.15 CrossPageConnection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.4.16 Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.4.17 Discipline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6.4.18 Drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6.4.19 DrawingBorder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6.4.20 Ellipse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
6.4.21 EndDiameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
6.4.22 Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
6.4.23 Extent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6.4.24 FabricationCategory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6.4.25 GenericAttributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.4.26 GeometricPrimitives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.4.27 Height . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.4.28 History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6.4.29 Identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6.4.30 IdentifierElement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.4.31 InsideDiameter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.4.32 InstrumentLoop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.4.33 KnotMultiplicities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.4.34 Knot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.4.35 Knots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.4.36 Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.4.37 Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.4.38 Manufacturer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.4.39 Material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.4.40 MaterialDescription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.4.41 Max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.4.42 MaximumDesignPressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.4.43 MaximumDesignTemperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.4.44 MaximumOperatingPressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.4.45 MaximumOperatingTemperature. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6.4.46 Min . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6.4.47 MinimumDesignPressure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6.4.48 MinimumDesignTemperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.4.49 MinimumOperatingPressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.4.50 MinimumOperatingTemperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.4.51 ModelNumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.4.52 Multiplicity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.4.53 NominalDiameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.4.54 NormalDesignPressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.4.55 NormalDesignTemperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.4.56 NormalOperatingPressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
6.4.57 NormalOperatingTemperature. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
6.4.58 Nozzle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6.4.59 NozzleType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6.4.60 OperatorType. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.4.61 OutsideDiameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.4.62 PConnectionPoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.4.63 PersistentID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
6.4.64 PipeConnector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
6.4.65 PipeFlowArrow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6.4.66 PipingNetworkSystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
6.4.67 PipingComponent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
6.4.68 PipingNetworkSegment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6.4.69 PlantArea . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
6.4.70 PlantInformation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6.4.71 PlantItem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6.4.72 Point. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.4.73 PolyLine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.4.74 Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.4.75 Presentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.4.76 ProcessInstrument. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.4.77 Rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.4.78 Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.4.79 Remark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.4.80 Scale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.4.81 Shape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
6.4.82 ShapeCatalogue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
6.4.83 SignalConnectorSymbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
6.4.84 SignalLine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
6.4.85 SpecificationBreak . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
6.4.86 StartDiameter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
6.4.87 String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.4.88 Supplier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.4.89 Surface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.4.90 TestPressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6.4.91 Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6.4.92 Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
6.4.93 TrimmedCurve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
6.4.94 UnitsOfMeasure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6.4.95 WallThickness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
6.4.96 Weight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
6.4.97 WeightsData . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
1 Introduction
P&ID Designer is a utility which exports data from AutoCAD P&IDs into XML files in
ISO15926 (Version 3.2.0) format.
These files contain both engineering item data and graphical data for use by the P&ID
Manager application. Refer to P&ID Manager documentation for further information.
P&ID Designer is an add-on for AutoCAD P&ID 2008.
Start P&ID Designer either by selecting the P&ID Designer desktop icon or the shortcut on
the Programs menu:
AutoCAD P&ID 008 with the P&ID Designer add-on is then started.
The add-on adds the AVEVA P&ID Designer toolbar and menu, and two project setup
options to AutoCAD P&ID 2008.
3 Project Setup
The two project setup options added for P&ID Designer are P&ID Designer_Output and
P&ID Designer_Tolerance. They are located in the Custom section of the Project Details
page of the Project Setup dialog.
The P&ID Designer_Output option specifies the location to which the XML files generated
by P&ID Designer are exported. The default location is the root directory of the project.
The P&ID Designer_Tolerance option specifies the distance within which elements on the
drawing are assumed to be connected by P&ID Designer. Items at or within the specified
distance of each other are assumed to be connected. Items further apart are assumed not to
be connected.
The default setting for Metric projects is 0.5mm.
The default setting for Imperial projects is 0.02 inches.
The ISO15926 (Version 3.2.0) schema does not support all the drawing elements that
AutoCAD is capable of producing. These limitations should be considered when creating
and exporting from drawings.
The following elements are not supported:
• Splines: are not exported.
• Complex line styles: basic line styles consisting of lines, dashes, dots etc are exported
correctly. More complex lines styles that include more complicated shapes are not
supported. They will be replaced by simple lines.
• Complex hatching: basic hatching consisting of lines, dashes, dots etc is exported
correctly. More complex hatching that includes more complicated shapes is not
supported, and is not exported.
• Trimmed ellipses: ellipses that have been trimmed, i.e. that have had a part of them
removed, are not fully supported. The schema does not include sufficient tags to define
them properly. As a result, exported trimmed ellipses will be converted into other
shapes, typically arcs.
• Polylines with variable widths: the schema does not include sufficient tags to represent
more than one width for a single line. Only the first width specified for such a line is
exported.
• AutoCAD Fonts: are not supported and are automatically replaced by the Romans font
on export.
The specification of the ISO15926 (Version 3.2.0) schema is included at the end of this
document.
To export data from a drawing, open the drawing and select the Export option on the AVEVA
P&ID Designer menu, or the Export button on the AVEVA P&ID Designer toolbar:
The Export to ISO15926 dialog is then displayed:
A text file is generated by the export procedure, which lists the messages displayed in the
Details tab. Select the View button to open this file in Notepad.
The export procedure creates an XML file with the same name as the drawing file. The
exported file is placed in the location specified by the P&ID Designer_Output project setup
option (see above), and is now ready for use by P&ID Manager.
Example of an exported XML file displayed in XML Notepad.
6.1 Notation
Where the notation ‘…’ is used in examples it implies content that has been omitted due to it
not being relevant for the example.
Elements in examples have been abbreviated to <Tag … /> to show structure but limit
content.
Each structural element may contain geometric and text elements to represent the drawing
contents.
The <Reference> element defines what is effectively the rotation about the <Axis> element.
When you see the value written as <Reference X="1" Y="0" Z="0"/> it indicates that the X-
Axis with which the object's points are defined use the same X-Axis on the output surface/
window with which to orientate - in other words no rotation is required when you have the
following paired elements;
<Axis X="0" Y="0" Z="1"/>
<Reference X="1" Y="0" Z="0"/>
6.3.1 ID
The ID attributes of XML elements has the form ‘XMP_<n>’ where n is a sequential number
within the XML file. These id values may be used for cross referencing elements and are
transient. i.e. these ids are generated for each version of the file and cannot be used to
match file contents between two different exports of the same drawing.
For example :-
6.3.2 Tag
This should contain the full Tag for an item without additional text. This is an xsd:string
attribute with no specific validation (see Character encoding for character constraints)
6.3.3 Specification
This is a free text field that has no clearly defined semantics. Specification information may
be best represented in GenericAttributes.
6.3.4 StockNumber
This is defined as:
‘A code that will identify a purchasable plant item
‘The StockNumber attribute contains the unique name of this component that can be
used to relate to the complete set of information that is contained in the vendor
catalogue for the component. This attribute taken with the Specification and
NominalDiameter will identify a specific item, fully defining its parameters size and
optionally material and all other information available for it.’
This attribute is an xsd:string attribute and has no specific validation or constraints other
than those defined in the ‘Character encoding’ section of this document.
6.3.5 ComponentName
If present on a component that is inside a ShapeCatalogue element then this is the unique
id for the symbol within the XML file.
If present on a component that is not inside a ShapeCatalogue element then this is the
reference to the geometry of the components symbol. The component may have additional
annotation defined within it (See also Scale).
6.3.6 ComponentClass
The format of the ComponentClass attribute is documented in the XML Model Overview
section. The attribute is the RDL Designation field from the ISO 15926 RDL specification.
The value of this field is converted to Camel Case with all spaces removed. Notes : some
fields contain characters that must be substituted when written in XML (e.g. ‘&’ characters
must be substituted with &). For example:
6.3.7 ComponentType
The precise semantics of this attribute are not documented so I would either omit it or
default it to ‘Normal’.
Permitted values :-
‘Normal’
‘Explicit’
‘Parametric’
6.3.8 Revision
If known this attribute should contain the revision or version of the item. This has the type of
xsd:string and therefore has no specific syntax or format constraints other than those
detailed in Character encoding.
6.3.9 Status
One of the following values :-
‘Current’ – This implies this is the latest version of an item
‘Deleted’ – This item has been superseded or removed from the drawing.
‘Modified’ – The last change to this item was a modification.
‘New’ – This is the first version of the item in the drawing.
If the item has a status of ‘Deleted’ then the item will be ignored by P&ID Manager.
Items will be deleted by Manager if they have a status of Deleted or if they do not appear in
the new version of a file and used to exist.
6.3.10 Units
The Units attribute is to be taken from the ISO15926 RDL catalogue using the name from
the catalogue converted to camel-case. All measurement values such as distances and
pressures are either accompanied by their units of measure or defaulted to the value
provided on the PlantInformation/UnitsOfMeasure element. The unit of measure for the
coordinate geometry is stipulated in the PlantInformation/@Units attribute. The permitted
values are as follows:
Angles:
Degree, Radian, deg, rad
Area :
SquareMillimetre, SquareCentimetre, SquareMetre, SquareKilometre, SquareInch,
SquareFoot, SquareYard, SquareMile, sq mm, sq cm, sq m, sq km
Distances:
Micron, Millimetre, Centimetre, Decimetre, Metre, Kilometre, Inch, Foot, Yard, Mile,
mm, cm, m, km, in, ft, yd
Pressures:
MillinewtonMetreSquared, NewtonMetreSquared, KilonewtonMetreSquared,
Picopascal, Micropascal, Millipascal, Pascal, Kilopascal, Megapascal, Gigapascal,
Bar, Bara, Barg
Temperatures:
DegreeKelvin, DegreeCelsius, DegreeRankine, DegreeFahrenheit, degC, degF, degK
Volume :
CubicMillimetre, CubicCentimetre, CubicMetre, CubicInch, CubicFeet, CubicYard, cc,
litres, gallons, USGallons, barrels
Weight:
Microgram, Milligram, Gram, Kilogram, Megagram, PoundMass, OunceMass, mg, Kg,
lb, oz
6.4.1 PlantModel
This is the root node of an XML document and only exists as the root node of an XML file.
Other than the first two child elements, PlantInformation and Extent, the ordering of child
elements within a PlantModel element is not significant.
There shouldn’t be any need to place graphical elements into a PlantModel element as all
drawing annotation such as borders and floating text should be child elements of the
drawing element.
While a Position element may be provided is has no attached semantics and is often
defaulted to 0,0,0.
Child Elements:
Example:
<?xml version="1.0" encoding="UTF-8" ?>
<PlantModel xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xsi:noNamespaceSchemaLocation=".\XMLSchema.xsd">
<PlantInformation … />
<Extent … />
<Drawing … />
<ShapeCatalogue … />
<Equipment … />
…
</PlantModel>
6.4.2 Association
The Association element is used to relate engineering items to other resources.
One documented use of this is to relate in-line ProcessInstrument elements with
InstrumentLoop elements. In this case each in-line ProcessInstrument element has an
Association child element which details the relationship using the Type attribute with a value
of ‘is a part of’.
Child elements :
None
Attributes:
Example:
<ProcessInstrument ...>
<Association Type="is a part of" ItemID="XMP_235"/>
...
</ProcessInstrument>
6.4.3 Axis
See Geometries (Axis and Reference).
Child elements :
None
Attributes :
Example:
<Axis X="0" Y="0" Z="1" />
6.4.4 BsplineCurve
Geometric curve primitive detailing a Bspline.
Child elements:
Attributes:
Example:
6.4.5 CenterLine
Geometric curve primitive detailing the line geometry between the components of a
PipingNetworkSegment. A CenterLine element is used to imply the presence of tubing.
The interpolation between each coordinate is linear.
Child elements:
Attributes:
Example:
<CenterLine NumPoints="2">
<Presentation LineType="Solid" LineWeight="1"
Color="7" R="1" G="1" B="1" />
<Extent>
<Min X="77" Y="463" Z="0" />
<Max X="646" Y="463" Z="0" />
</Extent>
<Coordinate X="77" Y="463" Z="0" />
<Coordinate X="646" Y="463" Z="0" />
</CenterLine>
6.4.6 Circle
A geometric primitive describing a circle.
Child elements:
Attributes:
Example:
<Circle Radius="8">
<Presentation LineType="Solid" LineWeight="1" Color="22"
R="0.79" G="0.239" B="0.087" />
<Extent>
<Min X="710" Y="258" Z="0" />
<Max X="726" Y="274" Z="0" />
</Extent>
<Position>
<Location X="718" Y="266" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="1" Y="0" Z="0" />
</Position>
</Circle>
6.4.7 Component
Used to group geometric and text primitives within a Drawing element. This inherits all
elements and attributes from the base type ‘PlantItem’. See ‘PlantItem’ for the definitions of
the inherited contents..
Child elements:
See ‘PlantItem’, no additional elements are defined.
Attiribute :
See ‘PlantItem’, no additional attributes are defined.
Example:
<Component ID="XMP_12" Tag>
<Extent>
<Min X="199.6153088" Y="155.02299606" Z="0" />
<Max X="236.78321894" Y="194.01149803" Z="0" />
</Extent>
<Position>
<Location X="221" Y="182" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="1" Y="0" Z="0" />
</Position>
…
<Text … />
</Component>
6.4.8 CompositeCurve
A collection of geometric curve primitives
Child elements:
Attributes:
None
Example:
<CompositeCurve>
<Presentation LineType="Solid" LineWeight="1" Color="22"
R="0.79" G="0.239" B="0.087" />
<Extent>
<Min X="714.38797635" Y="260.50328515" Z="0" />
<Max X="720.62485791" Y="263.00328515" Z="0" />
</Extent>
<Circle ... />
<Circle ... />
<PolyLine ... />
</CompositeCurve>
6.4.9 Connection
This element is used to describe the flow connectivity between elements. The source of the
flow is defined using the attributes FromID and FromNode while the flow destination is
defined using ToID and ToNode. A connection element and its attributes are not mandatory
but must be present to represent the topology of a network. If the FromID/ToID attributes
reference a Nozzle, PipeConnector or SpecificationBreak element then the FromNode/
ToNode attributes are not required.
See ConnectionPoints for details on what is being referenced.
Child elements:
None
Attributes:
Example:
<PipingNetworkSegment … >
…
<Connection FromID="XMP_73" ToID="XMP_4" ToNode="2" />
…
</PipingNetworkSegment>
6.4.10 ConnectionPoints
This element is used to describe the potential flow connections from and to the parent of this
element. Each potential connection location is represented as a Node element. Nodes are
ordered and positioned on the drawing. Each Node element may be referenced by at most
one Connection element.
The first node (known as Node 0) represents the geometric origin of the parent of the
ConnectionPoints element.
Child elements:
Attributes:
Example:
nectionPoints NumPoints="4" FlowIn="1" FlowOut="2">
<!-- Node 0 : Geometric origin of the component -->
<Node>
<Position>
<Location X="337" Y="211" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="1" Y="0" Z="0" />
</Position>
</Node>
<!-- Node 1 : FlowIn default -->
<Node>
<Position>
<Location X="337" Y="211" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="1" Y="0" Z="0" />
</Position>
<NominalDiameter Value="4" />
</Node>
<!-- Node 2 : FlowOut default -->
<Node>
<Position>
<Location X="337" Y="211" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="1" Y="0" Z="0" />
</Position>
<NominalDiameter Value="4" />
</Node>
<!-- Node 3 : Secondary flow, direction not stated -->
<Node>
<Position>
<Location X="337" Y="211" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="1" Y="0" Z="0" />
</Position>
<NominalDiameter Value="4" />
</Node>
</ConnectionPoints>
6.4.11 ConnectionType
This is a free form string element that may be unit qualified.
Child elements:
None
Attributes:
Example:
<ConnectionType>Welded</ConnectionType>
6.4.12 ControlPoints
Child elements :
Attributes:
None
Example:
<ControlPoints>
<Coordinate X="10241.64" Y="10283.399" Z="41.0"/>
<Coordinate X="10241.64" Y="10283.399" Z="41.0"/>
<Coordinate X="10241.64" Y="10283.399" Z="41.0"/>
<Coordinate X="10241.64" Y="10283.399" Z="41.0"/>
</ControlPoints>
6.4.13 ControlPointWeight
This is defined as an any but should be considered to be of type xsd:integer.
Child elements:
None
Attributes :
None
Example:
<ControlPointWeight>1</ControlPointWeight>
6.4.14 Coordinate
A Coordinate element is a Tuple of ordinates denoting a location in the drawing plane. For
2D drawings the Z ordinates should always be 0.
Child elements:
None
Attributes:
Example:
<Coordinate X="112" Y="106" Z="0" />
<Coordinate X="112" Y="110" />
6.4.15 CrossPageConnection
An element describing how to match PipeConnector elements to represent cross page
connectivity on a P&ID.
Child elements:
None
Attributes:
Example:
<CrossPageConnection DrawingName="A1-51-2003-1"
AttributeName="PersistentID" AttributeValue="{SOME_ID_1}"
Context="http://www.aveva.com/example/P&ID"/>
6.4.16 Description
A textual description of an item
Child elements:
None
Attributes:
None
Example:
<Description>some piece of plant equipment</Description>
6.4.17 Discipline
This is a simple element with no attributes containing one of the following values to classify
an element:
Electrical
Mechanical
Process
HVAC
Telecomms
Example:
<Discipline>Mechanical</Discipline>
6.4.18 Drawing
This contains metadata about the drawing and graphical annotation for the drawing that the
XML file contains.
Child elements:
Attributes:
Example:
<Drawing Name="A1-51-2003-1" Type="PID" Size="A0"
Title="Sample Project drawing" Revision="A">
<Presentation R="0" G="0" B="0" />
<Extent>
<Min X="0" Y="-2" Z="0" />
<Max X="850.0" Y="620.25" Z="0" />
</Extent>
<PolyLine NumPoints="4">…</PolyLine>
…
</Drawing>
6.4.19 DrawingBorder
This element may be used to separate the drawing frame and borders from the drawing
annotation.
Child elements:
Attributes:
Example:
<DrawingBorder Name="Top" Size="A0-Portrait">
<Presentation R="0" G="0" B="0" />
<Extent>
<Min X="0" Y="-2" Z="0" />
<Max X="850.0" Y="620.25" Z="0" />
</Extent>
<PolyLine NumPoints="4">…</PolyLine>
…
</DrawingBorder>
6.4.20 Ellipse
A geometric primitive used to describe an ellipse.
Child elements:
Attributes:
Example:
<Ellipse PrimaryAxis="7.62" SecondaryAxis="3.83916">
<Presentation Layer="Default" LineType="Solid"
LineWeight="0.13 mm" Color="Red" R="1" G="0" B="0"/>
<Extent>
<Min X="184.52505999" Y="425.32167093" Z="0"/>
<Max X="199.76504821" Y="429.16757932" Z="0"/>
</Extent>
<Position>
<Location X="192.145059987" Y="425.328421759" Z="0"/>
<Axis X="0" Y="0" Z="1"/>
<Reference X="1" Y="0" Z="0"/>
</Position>
</Ellipse>
6.4.21 EndDiameter
This is the internal bore for a segment or a PipingNetworkSystem at its destination.
Child elements:
None
Attributes:
Example:
<EndDiameter Value="4" />
6.4.22 Equipment
An Equipment element inherits elements and attributes from the base type ‘PlantItem’. See
‘PlantItem’ for the definitions of the inherited contents.
Child elements:
Attributes:
Example:
<Equipment ID="XMP_12" Tag="P-1502B" ComponentClass="VerticalPump"
ComponentName="VPump" StockNumber="puv1">
<Extent>
<Min X="199.6153088" Y="155.02299606" Z="0" />
<Max X="236.78321894" Y="194.01149803" Z="0" />
</Extent>
<Position>
<Location X="221" Y="182" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="1" Y="0" Z="0" />
</Position>
<PersistentID Identifier="{A1-51-2003-1_Topology-EQUIPMENT-2}"
Context="http://www.aveva.com/example/P&ID" />
…
<Nozzle ID="XMP_14" Tag="N2" ComponentClass="FlangedNozzle"
StockNumber="flnn1">
…
</Nozzle>
</Equipment>
6.4.23 Extent
A minimum bounding geometry describing the minimum and maximum coordinates of the
descendants of this elements parent.
Child elements:
Attributes:
None
Example:
<Extent>
<Min X="199.6153088" Y="155.02299606" Z="0" />
<Max X="236.78321894" Y="194.01149803" Z="0" />
</Extent>
6.4.24 FabricationCategory
This is a free form string element that may be unit qualified.
Child elements:
None
Attributes:
Example:
None
6.4.25 GenericAttributes
This element permits application specific attributes/properties to be output into an XML file.
The properties themselves must adhere to the following complex type definition:
<complexType name="GenericAttributeType" mixed="true">
<attribute name="Format" type="xsd:string"/>
<attribute name="Value" type="xsd:string"/>
</complexType>
Child elements:
Attributes:
Example:
<GenericAttributes Number="6" Set="Instrument">
<TagSuffix Format="string" Value=" "/>
<LoopTagSuffix Format="string" Value=" "/>
<MeasuredVariableCode Format="string" Value="F"/>
<Description0 Format="string" Value="155"/>
<InstrumentTypeModifier Format="string" Value="CV"/>
<TagSequenceNo Format="string" Value="001"/>
</GenericAttributes>
6.4.26 GeometricPrimitives
A collection of geometric elements.
Child elements:
Attributes:
Example:
<GeometricPrimitives NumPrimitives="3">
<Extent>
<Min X="53" Y="125" Z="0"/>
<Max X="89" Y="130" Z="0"/>
</Extent>
<Circle ... />
<Circle ... />
<Surface ... />
</GeometricPrimitives>
6.4.27 Height
This is the height of the Nozzle origin on it’s parent Equipment, measured from the origin of
the Equipment.
Child elements:
None
Attributes:
Example:
<Height Value="1.3" Units="m"/>
6.4.28 History
This is provided to contain an audit trail of the changes to an item.
Child elements:
Attributes:
Example:
<History NumTransaction="3">
<Transaction ... />
<Transaction ... />
<Transaction ... />
</History>
6.4.29 Identifier
This element is used to capture the structure of an identifier such as a Tag. Not usually
used.
Child elements:
Attributes:
Example:
<Identifier Purpose="Tag breakdown">
<IdentifierElement Name="start" Value="AB-"/>
<IdentifierElement Name="middle" ItemID="XMP_24"
DependantAttribute="[Prefix]-[Number]"/>
</Identifier>
6.4.30 IdentifierElement
A structural element describing part of the structure of an identifier.
Child elements:
None
Attributes:
Example:
<IdentifierElement Name="start" Value="AB-"/>
6.4.31 InsideDiameter
This is the internal bore for an item at its source end.
Child elements:
None
Attributes:
Example:
<InsideDiameter Value="4" />
6.4.32 InstrumentLoop
A collection of related instruments. This element inherits elements and attributes from the
base type ‘PlantItem’. See ‘PlantItem’ for the definitions of the inherited contents. Inline
instruments are associated to instrument loops by using the Association element.
Child elements:
Attributes:
See ‘PlantItem’, no additional attributes are defined.
Example:
<InstrumentLoop ID="XMP_123">
<Extent>
<Min X="355" Y="339" Z="0" />
<Max X="481" Y="355" Z="0" />
</Extent>
<SignalLine ... />
<SignalLine ... />
<SignalLine ... />
<ProcessInstrument ... />
<ProcessInstrument ... />
</InstrumentLoop>
6.4.33 KnotMultiplicities
Child elements:
Attributes:
None
Example:
<KnotMultiplicities>
<Multiplicity>4</Multiplicity>
<Multiplicity>4</Multiplicity>
</KnotMultiplicities>
6.4.34 Knot
This is defined as an any but should be considered to be of type xsd:integer.
Child elements :
None
Attributes:
None
Example:
<Knot>1</Knot>
6.4.35 Knots
Child elements:
6.4.36 Line
A linear geometry defined by two points.
Child elements:
Attributes:
None
Example:
<Line>
<Presentation LineWeight="1" LineType="Solid" Color="red"
R="1" G="0" B="0" />
<Extent>
<Min X="831" Y="502.6" Z="0" />
<Max X="841" Y="502.6" Z="0" />
</Extent>
<Coordinate X="841" Y="502.6" Z="0" />
<Coordinate X="831" Y="502.6" Z="0" />
</Line>
6.4.37 Location
A Location element matches the definition of a Coordinated, it is a Tuple of ordinates
denoting a location in the drawing plane. For 2D drawings the Z ordinates should always be
0.
Child elements:
None
Attributes:
Example:
<Location X="112" Y="106" Z="0" />
<Location X="112" Y="110" />
6.4.38 Manufacturer
The manufacturer responsible for producing the item
Child elements:
None
Attributes:
None
Example:
<Manufacturer>My company</Manufacturer>
6.4.39 Material
The name of the Material used to construct the item
Child elements:
None
Attributes:
None
Example:
<Material>Copper</Material>
6.4.40 MaterialDescription
A description of the material relating to an item
Child elements:
None
Attributes:
None
Example:
<MaterialDescription>Some descriptive text</MaterialDescription>
6.4.41 Max
Maximum coordinates for an Extent element
Child elements:
None
Attributes:
Example:
<Max X="236.78321894" Y="194.01149803" Z="0" />
6.4.42 MaximumDesignPressure
The maximum design pressure for an item.
Child elements:
None
Attributes:
Example:
<MaximumDesignPressure Value="12" />
6.4.43 MaximumDesignTemperature
The maximum design temperature for an item.
Child elements:
None
Attributes:
Example:
<MaximumDesignTemperature Value="12" />
6.4.44 MaximumOperatingPressure
The maximum operating pressure for an item.
Child elements:
None
Attributes:
Example:
<MaximumOperatingPressure Value="12" />
<MaximumOperatingPressure Value="35" Units="bar" />
6.4.45 MaximumOperatingTemperature
The maximum operating temperature for an item.
Child elements:
None
Attributes:
Example:
<MaximumOperatingTemperature Value="12" />
<MaximumOperatingTemperature Value="35" Units="DegreeCelsius" />
6.4.46 Min
Child elements:
None
Attributes:
Example:
<Min X="199.6153088" Y="155.02299606" Z="0" />
6.4.47 MinimumDesignPressure
This is the minimum design pressure for an item.
Child elements:
None
Attributes:
Example:
<MinimumDesignPressure Value="12" />
<MinimumDesignPressure Value="35" Units="bar" />
6.4.48 MinimumDesignTemperature
This is the minimum design temperature for an item.
Child elements:
None
Attributes:
Example:
<MinimumDesignTemperature Value="12" />
<MinimumDesignTemperature Value="35" Units="DegreeCelsius" />
6.4.49 MinimumOperatingPressure
This is the minimum operating pressure for an item.
Child elements:
None
Attributes:
Example:
<MinimumOperatingPressure Value="12" />
<MinimumOperatingPressure Value="35" Units="bar" />
6.4.50 MinimumOperatingTemperature
This is the minimum operating temperature for an item.
Child elements:
None
Attributes:
Example:
<MinimumOperatingTemperature Value="12" />
6.4.51 ModelNumber
String element detailing the model number for a component.
Child elements:
None
Attributes:
None
Example:
<ModelNumber>A485798347-BjiOM-9347</ModelNumber>
6.4.52 Multiplicity
This is defined as an any but should be considered to be of type xsd:integer.
Child elements:
None
Attributes:
None
Example:
<Multiplicity>4</Multiplicity>
6.4.53 NominalDiameter
This is the internal bore for an item.
Child elements:
None
Attributes:
Example:
<NominalDiameter Value="4" />
<NominalDiameter Value="200" Units="mm" />
6.4.54 NormalDesignPressure
Design pressure of an item under normal conditions.
Child elements:
None
Attributes:
Example:
<NormalDesignPressure Value="4" />
<NormalDesignPressure Value="3" Units="barg" />
6.4.55 NormalDesignTemperature
Design temperature of an item under normal conditions.
Child elements:
None
Attributes:
Example:
<NormalDesignTemperature Value="52" />
<NormalDesignTemperature Value="80" Units="DegreeCelsius" />
6.4.56 NormalOperatingPressure
Operating pressure of an item under normal conditions.
Child elements:
None
Attributes:
Example:
<NormalOperatingPressure Value="4" />
<NormalOperatingPressure Value="3" Units="barg" />
6.4.57 NormalOperatingTemperature
Operating temperature of an item under normal conditions
Child elements:
None
Attributes:
Example:
<NormalOperatingTemperature Value="52" />
<NormalOperatingTemperature Value="80" Units="DegreeCelsius" />
6.4.58 Nozzle
A Nozzle element inherits elements and attributes from the base type ‘PlantItem’. See
‘PlantItem’ for the definitions of the inherited contents.
Child elements:
Attributes:
See ‘PlantItem’, no additional attributes
Example:
<Nozzle ID="XMP_10" Tag="N1" ComponentClass="FlangedNozzle">
<Extent>
<Min X="205.47371879" Y="245.5" Z="0" />
<Max X="215" Y="263" Z="0" />
</Extent>
<Position>
<Location X="215" Y="255" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="-1" Y="0" Z="0" />
</Position>
<PersistentID Identifier="{A1-51-2003-1_Topology-NOZZLE-1}"
Context="http://www.aveva.com/example/P&ID" />
<Line>
<Presentation LineType="Solid" LineWeight="1"
R="0.25" G="0.82" B="0.15" />
<Extent>
<Min X="211" Y="255" Z="0" />
<Max X="215" Y="255" Z="0" />
</Extent>
<Coordinate X="211" Y="255" Z="0" />
<Coordinate X="215" Y="255" Z="0" />
</Line>
…
<NominalDiameter Value="4" />
</Nozzle>
6.4.59 NozzleType
This is a simple element with one attribute and no contents
Child elements:
None
Attributes:
Example:
<NozzleType Value="Flanged"/>
6.4.60 OperatorType
This is a free form string element that may be unit qualified.
Child elements:
None
Attributes:
Example:
None
6.4.61 OutsideDiameter
This is the external diameter of an item.
Child elements:
None
Attributes:
Example:
<OutsideDiameter Value="4" />
<OutsideDiameter Value="200" Units="mm" />
6.4.62 PConnectionPoints
See Issues.
6.4.63 PersistentID
The PersistentID element contains a source system identifier for an object that remains
consistent between exports of a drawing. A PersistentID is made up of two components the
identifier and its scope.
A PersistentID should be the same for an object that appears on multiple drawings where it
is practicable to do this. If this cannot be achieved the T, if present, will be used by P&ID
Manager for rationalising objects.
Child elements:
None
Attributes:
Example:
<PersistentID
Identifier="{A1-51-2003-1_Topology-NOZZLE-1}"
Context="http://www.aveva.com/example/P&ID" />
6.4.64 PipeConnector
An on or off page connector that represents the connectivity of a PipingNetworkSegment
across a page boundary. These are contained by the PipingNetworkSegment elements and
reference as the segment source or destination.
A PipeConnector element inherits elements and attributes from the base type ‘PlantItem’.
See ‘PlantItem’ for the definitions of the inherited contents.
Child elements:
Attributes:
See ‘PlantItem’, no Additional attributes
Example:
<PipeConnector ID="XMP_92" Tag="A1-51-2003-3" StockNumber="flag1">
<Presentation LineType="Solid" LineWeight="1"
Color="7" R="1" G="1" B="1" />
<Extent … />
<Position … />
<PersistentID … />
<PolyLine … />
<Text … />
<CrossPageConnection … />
</PipeConnector>
6.4.65 PipeFlowArrow
This element is an annotation primitive to represent the direction of flow of a
PipingNetworkSegment.
A PipeFlowArrow element inherits elements and attributes from the base type ‘PlantItem’.
See ‘PlantItem’ for the definitions of the inherited contents.
Child elements:
See ‘PlantItem’, no additional elements
Attributes:
See ‘PlantItem’, no additional attributes
Example:
<PipeFlowArrow ID="XMP_29" >
<Presentation LineType="Solid" LineWeight="1"
Color="7" R="1" G="1" B="1" />
<Extent>
<Min X="671" Y="148" Z="0" />
<Max X="673" Y="152" Z="0" />
</Extent>
<Position>
<Location X="672" Y="148" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="0" Y="1" Z="0" />
</Position>
<PolyLine NumPoints="42">
<Presentation LineType="Solid" LineWeight="1"
Color="7" R="1" G="1" B="1" />
<Extent>
<Min X="671" Y="148" Z="0" />
<Max X="673" Y="152" Z="0" />
</Extent>
<Coordinate X="671" Y="152" Z="0" />
<Coordinate X="672" Y="148" Z="0" />
<Coordinate X="673" Y="152" Z="0" />
<Coordinate X="671" Y="152" Z="0" />
</PolyLine>
</PipeFlowArrow>
6.4.66 PipingNetworkSystem
A PipingNetworkSystem contains the information for a physical PipingNetworkSystem in the
plant or a section thereof as contained within a module. The PipingNetworkSystem contains
all of the PlantItems that belong to it. A PipingNetworkSystem may have multiple sources
and multiple destinations.'
A PipingNetworkSystem element inherits elements and attributes from the base type
‘PlantItem’. See ‘PlantItem’ for the definitions of the inherited contents.
Child elements:
Attributes:
See ‘PlantItem’, no additional attributes
Example:
<PipingNetworkSystem ID="PLINE_1">
<Extent ... />
<PersistentID ... />
<NominalDiameter ... />
<MinimumDesignPressure ... />
<MaximumDesignPressure ... />
<PipingNetworkSegment ... />
<PipingNetworkSegment ... />
<PipingNetworkSegment ... />
<SpecificationBreak ... />
</PipingNetworkSystem>
6.4.67 PipingComponent
This represents a physical component that is common to piping systems.
A PipingComponent element inherits elements and attributes from the base type ‘PlantItem’.
See ‘PlantItem’ for the definitions of the inherited contents.
Child elements:
Attributes:
Example:
<PipingComponent ID="PipeTee_5" ComponentClass="PipeTee">
<Presentation LineType="Solid" LineWeight="1"
Color="7" R="1" G="1" B="1" />
<Extent>
<Min X="112" Y="182" Z="0" />
<Max X="112" Y="182" Z="0" />
</Extent>
<Position>
<Location X="112" Y="182" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="1" Y="0" Z="0" />
</Position>
<PersistentID … />
<ConnectionPoints NumPoints="4" FlowIn="1" FlowOut="2" … />
</PipingComponent>
6.4.68 PipingNetworkSegment
A PipingNetworkSegment is a subsection of a PipingNetworkSystem where the engineering
parameters are common. A PipingNetworkSegment will start at a Nozzle,
SpecificationBreak or the downstream end of a Reducer or Tee and end at a Nozzle,
SpecificationBreak, Reducer, Tee or an open pipe. For a P&ID it can also start or end with a
PipeConnector. It will contain one or more CenterLine, PipingComponent, Equipment and
ProcessInstrument elements. For a P&ID it is the CenterLines that join the successive
components together and these should be considered in the same way as the other
symbols and all must occur in the order head to tail.
A PipingNetworkSegment element inherits elements and attributes from the base type
‘PlantItem’. See ‘PlantItem’ for the definitions of the inherited contents.
PipeConnectors representing on and off page connectivity are contained by the
PipingNetworkSegment. See for details of PipingNetworkSegment connectivity.
Child Elements:
Attributes:
See ‘PlantItem’, no additional attributes
Example:
<PipingNetworkSegment ID="XMP_86" Tag="B-902" Specification="A3B">
<Extent>
<Min X="227" Y="118" Z="0" />
<Max X="337" Y="211" Z="0" />
</Extent>
<PersistentID Identifier="{A1-51-2003-1_Topology-SEGMENT-1}"
Context="http://www.aveva.com/example/P&ID" />
<Connection FromID="XMP_73" ToID="XMP_87" ToNode="2" />
<NominalDiameter Value="4" />
<PipeFlowArrow ID="XMP_78" … />
<CenterLine NumPoints="3">
<Presentation LineType="Solid" LineWeight="1"
Color="7" R="1" G="1" B="1" />
<Extent>
<Min X="227" Y="118" Z="0" />
<Max X="227" Y="132" Z="0" />
</Extent>
<Coordinate X="227" Y="118" Z="0" />
<Coordinate X="227" Y="132" Z="0" />
<Coordinate X="291" Y="132" Z="0" />
</CenterLine>
<PipingComponent ID="XMP_87" ComponentClass="PipeTee" … />
</PipingNetworkSegment>
6.4.69 PlantArea
In the P&ID content of an XML file this is just an object that may be used to represent the
name and attributes of named part(area) of a plant. A plant Area is not permitted to contain
model elements but may be referenced to associated segments, Equipment etc with a
named PlantArea.
A PlantArea element inherits elements and attributes from the base type ‘PlantItem’. See
‘PlantItem’ for the definitions of the inherited contents.
Child elements:
See ‘PlantItem’, no additional elements
Attributes:
Example:
<PlantArea Name="Area-42">
<Extent .. />
<Association ../>
<Association ../>
<Association ../>
</PlantArea>
6.4.70 PlantInformation
This element collects the metadata for a PlantModel. The Date and Time attributes should
be the Date and Time of the XML file creation.
Child elements:
Attributes:
Example:
<PlantInformation SchemaVersion="3.1.2"
OriginatingSystem="VPEPID"
ModelName="http://www.aveva.com/P&ID/example"
Date="2006-12-12" Time="16:43:23"
Is3D="no" Units="Millimetre" Discipline="PID">
<UnitsOfMeasure Distance="Inch" />
</PlantInformation>
6.4.71 PlantItem
This element is a base abstract type of many elements within an XML file, it defines the
common elements and attributes for these items.
Child elements:
Attributes:
Example:
N/A since the type is abstract
6.4.72 Point
A geometric primitive representing a one dimensional geometry.
Child elements:
Attributes:
Example:
<Point>
<Presentation LineType="Solid" LineWeight="1"
Color="22" R="0.79" G="0.239" B="0.087" />
<Location X="714.387976347" Y="261.753285151" Z="0" />
</Point>
6.4.73 PolyLine
Geometric curve primitive detailing a polyline. The interpolation between each coordinate is
linear.
Child elements:
Attributes:
Example:
<PolyLine NumPoints="2">
<Presentation LineType="Solid" LineWeight="1"
Color="7" R="1" G="1" B="1" />
<Extent>
<Min X="77" Y="463" Z="0" />
<Max X="646" Y="463" Z="0" />
</Extent>
<Coordinate X="77" Y="463" Z="0" />
<Coordinate X="646" Y="463" Z="0" />
</PolyLine>
6.4.74 Position
This defines the place where an items origin is on a P&ID drawing. This is in effect the
location of the items symbol. The Axis and Reference attributes are used to define the
coordinate orientation in 3D space. The drawing is considered to be on the plane of Z=0.
Child elements:
Attributes:
None
Example:
<Position>
<Location X="716.06" Y="268.76" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="1" Y="0" Z="0" />
</Position>
6.4.75 Presentation
The element defines a styles used to draw geometric and textual content. Whle all
attributes are defined as optional in the schema the R, G, B, LineWeight and LineType
attributes are expected for all geometric primitives, otherwise the behaviour is undefined.
Child elements:
None
Attributes:
Example:
<Presentation LineType="Solid" LineWeight="2mm"
Color="22" R="0.8" G="0.25" B="0.1" />
6.4.76 ProcessInstrument
This represents a physical instrument that is common to piping systems.
A ProcessInstrument element inherits elements and attributes from the base type
‘PlantItem’. See ‘PlantItem’ for the definitions of the inherited contents.
Child elements:
Attributes:
See ‘PlantItem’, no additional attributes
Example:
<ProcessInstrument ID="XMP_33" Tag="LT-117"
ComponentClass="LevelTransmitter">
<Extent>
<Min X="710" Y="258" Z="0" />
<Max X="726" Y="274" Z="0" />
</Extent>
<Position>
<Location X="718" Y="266" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="1" Y="0" Z="0" />
</Position>
<Circle Radius="8" … />
<Text … />
</ProcessInstrument>
6.4.77 Rating
This is a unit qualified string value to describe the rating of an item.
Child elements:
None
Attributes:
Example:
<Rating Value="5" Units="bar"/>
6.4.78 Reference
See Geometries (Axis and Reference).
Child elements:
None
Attributes:
Example:
<Reference X="1" Y="0" Z="0" />
6.4.79 Remark
A string comment element
Child elements:
None
Attributes:
None
Example:
<Remark>WP2134</Remark>
6.4.80 Scale
The scale element is used when symbols are drawn from a shape catalogue. The Scale
element enables symbols to be rescaled when positioned in a drawing.
Child elements:
None
Attributes:
Example:
<Scale X="2" Y="2" />
6.4.81 Shape
The Shape element defines a closed curve. The interpolation between each coordinate is
linear.
Child elements:
Attributes:
Example:
<Shape NumPoints="4" Filled="Solid" >
<Presentation LineType="Solid" LineWeight="1"
Color="7" R="1" G="1" B="1" />
<Extent>
<Min X="77" Y="463" Z="0" />
<Max X="646" Y="534" Z="0" />
</Extent>
<Coordinate X="77" Y="463" Z="0" />
<Coordinate X="77" Y="534" Z="0" />
<Coordinate X="646" Y="463" Z="0" />
<Coordinate X="77" Y="463" Z="0" />
</Shape>
6.4.82 ShapeCatalogue
A Shape Catalogue defines a symbol library for a file. The elements for which the symbols
can be defined are currently limited to Equipment and PipingComponent elements only.
See ComponentName for how to reference and name a symbol in the catalogue.
See Scale for how to scale symbols when drawn.
Child elements:
Attributes:
Example:
<ShapeCatalogue Name="Symbols">
<Equipment ID="XMP_22" ComponentClass="VerticalPump"
ComponentName="VPump">
<Extent … />
<Position … />
<PersistentID … />
<Circle … />
…
</Equipment>
<ShapeCatalogue>
6.4.83 SignalConnectorSymbol
An on or off page connector that represents the connectivity of a SignalLine across a page
boundary.
A SignalConnectorSymbol element inherits elements and attributes from the base type
‘PlantItem’. See ‘PlantItem’ for the definitions of the inherited contents.
Child elements:
Attributes:
See ‘PlantItem’, no additional attributes
Example:
<SignalConnectorSymbol ID="XMP_92">
<Presentation LineType="Solid" LineWeight="1"
Color="7" R="1" G="1" B="1" />
<Extent … />
<Position … />
<PersistentID … />
<PolyLine … />
<Text … />
<CrossPageConnection … />
</SignalConnectorSymbol>
6.4.84 SignalLine
A connection between two instruments carrying instrumentation signals.
A SignalLine element inherits elements and attributes from the base type ‘PlantItem’. See
‘PlantItem’ for the definitions of the inherited contents.
Child elements:
Attributes:
See ‘PlantItem’, no additional attributes
Example:
<SignalLine ID="XMP_86" Tag="B-902" >
<Extent>
<Min X="227" Y="118" Z="0" />
<Max X="337" Y="211" Z="0" />
</Extent>
<PersistentID Identifier="{A1-51-2003-1_Topology-SIGNALLINE-1}"
Context="http://www.aveva.com/example/P&ID" />
<Connection FromID="XMP_73" ToID="XMP_87" ToNode="2" />
<NominalDiameter Value="4" />
<CenterLine NumPoints="3">
<Presentation LineType="Solid" LineWeight="1"
Color="7" R="1" G="1" B="1" />
<Extent>
<Min X="227" Y="118" Z="0" />
<Max X="227" Y="132" Z="0" />
</Extent>
<Coordinate X="227" Y="118" Z="0" />
<Coordinate X="227" Y="132" Z="0" />
<Coordinate X="291" Y="132" Z="0" />
</CenterLine>
<ProcessInstrument ID="XMP_87" … />
</SignalLine>
6.4.85 SpecificationBreak
This represents the point at which there is a change in specification of the piping. See
Issues.
A SpecificationBreak element inherits elements and attributes from the base type
‘PlantItem’. See ‘PlantItem’ for the definitions of the inherited contents.
A SpecificationBreak may only be contained by a PipingNetworkSystem element.
Child elements :
(See ‘PlantItem’) No Additional elements
Attributes :
(See ‘PlantItem’) No Additional attributes
Example :
<SpecificationBreak ID="XMP_34">
<Description>Change in Insulation</Description>
</SpecificationBreak>
6.4.86 StartDiameter
This is the internal bore for a segment or a PipingNetworkSystem at its source.
Child elements:
None
Attributes:
Example:
<StartDiameter Value="4" />
<StartDiameter Value="200" Units="mm" />
6.4.87 String
A string value used to annotate a drawing. Each element represents a single line of text.
Child elements:
None
Attributes:
Example:
<String Value="1. my text annotation"/>
<String Value="2. a second line of text"/>
6.4.88 Supplier
This is the name of the supplier for an item.
Child elements:
None
Attributes:
None
Example:
<Supplier>My supplier</Supplier>
6.4.89 Surface
See Issues.
6.4.90 TestPressure
The pressure that should be used to test an item
Child elements:
None
Attributes:
Example:
<TestPressure Value="60" Units="bar"/>
6.4.91 Text
This defines the textual annotation for a drawing. The text may be provided in an attribute,
referenced using attributes on this item, referenced on attributes of another item or provided
as a set of String elements.
Child elements:
Attributes:
Example:
<Text String="4"-B-902-A3B" Font="romans"
Justification="CenterCenter" Width="19.2"
Height="2.5" TextAngle="90" SlantAngle="0">
<Presentation LineType="Solid" LineWeight="1"
Color="160" R="0" G="0.4" B="1" />
<Extent>
<Min X="331.98850197" Y="154.37335742" Z="0" />
<Max X="334.48850197" Y="182.19944438" Z="0" />
</Extent>
<Position>
<Location X="333.238501971" Y="154.373357424" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="1" Y="0" Z="0" />
</Position>
</Text>
<Text Font="Arial" Justification="LeftBottom" Width="17.2678"
Height="2.032" TextAngle="90"
DependantAttribute="[FluidSystem][OperFluidCode]">
<Presentation Layer="HiddenObjects" LineType="0" LineWeight="0"
Color="Black" R="0" G="0" B="0"/>
<Extent>
<Min X="262.83575736" Y="344.08495775" Z="0"/>
<Max X="264.86775736" Y="369.5594541" Z="0"/>
</Extent>
<Position>
<Location X="264.867757356" Y="344.08495775" Z="0"/>
<Axis X="0" Y="0" Z="1"/>
<Reference X="1" Y="0" Z="0"/>
</Position>
</Text>
6.4.92 Transaction
A record of a change to an item
Child elements:
Attributes:
Example:
<Transaction Type="to modify" Date="2007-06-10"
Time="10:30:32" CompanyName="My company" Person="Me">
<Remark>Amended Nozzle parameters for new
specification</Remark>
<Remark>WP2134</Remark>
</Transaction>
6.4.93 TrimmedCurve
An arc based on a circle or ellipse definition
Child elements:
Attributes:
Example:
<TrimmedCurve StartAngle="0" EndAngle="56.251">
<Circle Radius="3.175">
<Presentation LineType="Solid" LineWeight="1"
R="0.25" G="0.82" B="0.15" />
<Extent>
<Min X="690.58888896" Y="480.00947926" Z="0" />
<Max X="692" Y="482.64942637" Z="0" />
</Extent>
<Position>
<Location X="688.825" Y="480.009479262" Z="0" />
<Axis X="0" Y="0" Z="1" />
<Reference X="1" Y="0" Z="0" />
</Position>
</Circle>
</TrimmedCurve>
6.4.94 UnitsOfMeasure
This element specifies the default units of measure for the file for each type of measured
value.
Child Elements:
None
Attributes:
Example:
<UnitsOfMeasure Distance="Inch" />
6.4.95 WallThickness
The thickness of the element construction.
Child elements:
None
Attributes:
Example:
<WallThickness Value="4" Units="mm"/>
6.4.96 Weight
The weight of the item.
Child elements:
None
Attributes:
Example:
<Weight Value="6" Units="oz"/>
6.4.97 WeightsData
Child elements:
Attributes:
None
Example:
<WeightsData>
<ControlPointWeight>1</ControlPointWeight>
<ControlPointWeight>1</ControlPointWeight>
<ControlPointWeight>1</ControlPointWeight>
<ControlPointWeight>1</ControlPointWeight>
</WeightsData>