Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Unified Engineering

Annotated ​.xml Output File from PSI

  • Last UpdatedJan 24, 2023
  • 5 minute read

This is an example of an XML file written by the PSI application - the XML file used on the return path from CAESAR II. Refer to Return Process for further information.

<?xml version="1.0" encoding="utf-8"?>

Standard header information

<PipeStressExport xmlns="http://aveva.com/pipestress116.xsd">

<DateTime>15:43:24 19 July 2016</DateTime>

The date and time at which the XML files was generated. This, and the next few elements are put into the 'title page' of the .CII file

<Source>AVEVA PSI</Source>

<VersionNumber>12.1.1</Version>

<UserName>Tim.Sharrock</UserName>

<Purpose>Preliminary stress run</Purpose>

<ProjectName>APS</ProjectName>

<MDBName>/ALL</MDBName>

<TitleLine>PSI stress Output</TitleLine>

<!-- Configuration information -->

<Units>

<DistanceUnits>MM</DistanceUnits>

The AVEVA E3D Design Distance units: which can be one of:

NameValue linearConversionFactors[ ]=

{ // store as mm

{"mm",1.0},

{"Inch",25.4},

{"Finch",25.4}, // assume same as inch...

{0,0.0}

};

<BoreUnits>MM</BoreUnits>

The AVEVA E3D Design Bore units: which can be one of:

NameValue linearConversionFactors[ ] =

{ // store as mm

{"mm",1.0},

{"Inch",25.4},

{"Finch",25.4}, // assume same as inch...

{0,0.0}

}

<PressureUnits>BAR G</PressureUnits>

The units used in the database for pressures: which can be one of:

NameValue pressureConversionFactors[ ] =

{ // store as Bar

{"lb./sq.in",0.068946},

{"lb./sq.ft",4.787917e-4},

{"BAR", 1.0},

{"N./sq.cm", 0.1},

{"N./sq.mm", 10.0},

{"dyne/cm2", 0.000001},

{"kpa", 0.01},

{0,0.0}

};

<TemperatureUnits>C</TemperatureUnits>

The units used in the database for temperatures: which can be one of:

NameValue temperatureConversionFactors[ ] =

{ // store as Celsius

{"C",1.0},

{"F",1.0/1.8},

{"K",1.0},

{0,0.0}

};

NameValue temperatureConversionOffsets[ ] =

{ // store as Celsius

{"C",0.0},

{"F",-32.0},

{"F",+273.15},

{0,0.0}

};

<WeightUnits>kg</WeightUnits>

The units used in the database for weights: which can be one of:

NameValue weightConversionfactors[] =

{ // store as kg weight

{"lb",0.45359237},

{"kg",1.0},

{"N",0.10197 },

{0,0.0}

};

<ForceUnits>KN.</ForceUnits>

The units used in the database for forces: which can be one of:

NameValue forceConversionfactors[] =

{ // store as Newtons

{"lb",4.4480},

{"kip",4448.0}, // kiloPounds...

{"N.",1.0},

{"N",1.0},

{"KN.",1000.0},

{"KN",1000.0},

{0,0.0}

};

<WallThicknessUnits>mm</WallThicknessUnits>

The units used in the database for wall thicknesses: which can be one of:

NameValue linearConversionFactors[] =

{ // store as mm

{"mm",1.0},

{"Inch",25.4},

{"Finch",25.4}, // assume same as inch...

{0,0.0}

};

<FluidDensityUnits>kg./cu.m</FluidDensityUnits>

The units used in the database for fluid density: which can be one of:

NameValue densityConversionfactors[] =

{ // store as kg./cu.m

{"lb./cu.in",27680.0},

{"lb./cu.ft",16.0185},

{"kg./cu.m", 1.0},

{"kg./cu.dm",1.0e3},

{"kg./cu.cm",1.0e6},

{"kg./cu.mm",1.0e9},

{0,0.0}

};

</Units>

<Pipe>

This pipe element is the "StressGroup" in PSI - it is stored as a PIPE element

<FullName>/XP36-GROUP</FullName>

The name of the stress-group

<Ref>=2013286672/1995</Ref>

The AVEVA E3D Design reference of the stress-group - this is used, on the return for identifying the stress-group

<Branch>

The branch however is a "real" AVEVA E3D Design branch included in the Stress-Group

<Branchname>/XP36A</Branchname>

The name of the AVEVA E3D Design branch

<Temperature>

CAESAR II allows up to 10 temperatures at each node, AVEVA E3D Design stores one at a branch level, PSI allows you to specify extra temperatures, but not varying over the model.

<Temperature1>330</Temperature1>

All the temperature elements use the units defined in the <TemperatureUnits> element

<Temperature2>-100000</Temperature2>

-10000 is used by AVEVA E3D Design for unset values

<Temperature3>-100000</Temperature3>

<Temperature4>-100000</Temperature4>

<Temperature5>-100000</Temperature5>

<Temperature6>-100000</Temperature6>

<Temperature7>-100000</Temperature7>

<Temperature8>-100000</Temperature8>

<Temperature9>-100000</Temperature9>

</Temperature>

<Pressure>

CAESAR II allows up to 10 pressures at each node, AVEVA E3D Design stores one at a branch level, PSI allows you to specify extra pressures, but not varying over the model

<Pressure1>17</Pressure1>

All the temperature elements use the units defined in the <TemperatureUnits> element

<Pressure2>0</Pressure2>

-10000 is used by AVEVA E3D Design for unset values

<Pressure3>0</Pressure3>

<Pressure4>0</Pressure4>

<Pressure5>0</Pressure5>

<Pressure6>0</Pressure6>

<Pressure7>0</Pressure7>

<Pressure8>0</Pressure8>

<Pressure9>0</Pressure9>

</Pressure>

<MaterialNumber>102</MaterialNumber>

The material number is an integer, and is passed straight through to the .CII file.

<InsulationDensity>100</InsulationDensity>

<FluidDensity>1000</FluidDensity>

<Node>

<NodeNumber>-1</NodeNumber>

If the node-number is -1, then the node should not be represented in the output file.

<Endpoint>1</Endpoint>

The Endpoint is broadly equivalent to the AVEVA E3D Design ppoint of the node (except that endpoints 1 and 2 are the parrive and pleave, rather than ppoints 1 and 2.

For some component types we only consider some of the endpoints:

we need the node at endpoint 0 for a bend

node 0 of a tee is needed for connecting branches

when we reach endpoint 2 of a reducer we have both sets of diameters available

and there is some logic involved in identifying rigid components. What I currently use is:

if((componentType=="RIGID") ||

((endpoint==2) &&

((componentType=="GASK")||

(componentType=="FLAN"))||

(((endpoint==2)||(endpoint==0)) &&

(componentType=="VALV")||

(componentType=="FILT")||

(componentType=="INST")||

(componentType=="PCOM")||

(componentType=="TRAP"))))

{

data.rigidData().m_enabled=true;

the (componentType=="RIGID") case does not, I think occur in any XML files written by the released PSI - but did in some pre-release versions.

<Rigid>1</Rigid>

<ComponentType>BRAN</ComponentType>

The component type is the AVEVA E3D Design element type

<Weight>0</Weight>

The weight is in <WeightUnits>. For a rigid block made up of several AVEVA E3D Design components the PML will assemble, and if necessary distribute the total weight, and will assign the combined weight to suitable nodes in the XML file.

<ComponentRefNo>=2013286676/3060</ComponentRefNo>

The AVEVA E3D Design element reference - primarily used for identifying components whn data is being translated back from the stressing package.

<OutsideDiameter>88.9000015258789</OutsideDiameter>

In <BoreUnits>

<WallThickness>3.17</WallThickness>

In <WallThicknessUnits>

<CorrosionAllowance>1</CorrosionAllowance>

In <CorrosionAllowanceUnits>

<InsulationThickness>150</InsulationThickness>

In <BoreUnits>

<Position>6867 3700 1490</Position>

In <DistanceUnits> with respect to the world

<BendRadius>0</BendRadius>

In <DistanceUnits> - set to zero for "not a bend"

<SIF>0</SIF>

This element is misnamed - it does not contain a SIF value, but may contain a tee-type code as used in CAESAR II (this ends up in the SIF & TEES table in the .cii file) - we may need to consider changes in this area, depending on how other stressing packages handle tees.

</Node>

We have now reached the end of the first Node element, so comments will become sparser,

<Node>

<NodeNumber>10</NodeNumber>

<NodeName></NodeName>

<Endpoint>1</Endpoint>

<ComponentType>FLAN</ComponentType>

<Weight>4.565</Weight>

<ComponentRefNo>=2013286676/3061</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-2000.00 13800.00 0.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>20</NodeNumber>

<NodeName></NodeName>

<Endpoint>2</Endpoint>

<Rigid>2</Rigid>

<ComponentType>RIGID</ComponentType>

<Weight>4.565</Weight>

<ComponentRefNo>=2013286676/3061</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-2050.00 13800.00 0.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>-1</NodeNumber>

<NodeName></NodeName>

<Endpoint>1</Endpoint>

<ComponentType>TEE</ComponentType>

<Weight>1.31</Weight>

<ComponentRefNo>=2013286676/3062</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-2913.00 13800.00 0.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>-1</NodeNumber>

<NodeName></NodeName>

<Endpoint>3</Endpoint>

<ComponentType>TEE</ComponentType>

<Weight>1.31</Weight>

<ComponentRefNo>=2013286676/3062</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-2999.00 13800.00 86.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>30</NodeNumber>

<NodeName></NodeName>

<Endpoint>0</Endpoint>

<ComponentType>TEE</ComponentType>

<Weight>1.31</Weight>

<ComponentRefNo>=2013286676/3062</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-2999.00 13800.00 0.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>-1</NodeNumber>

<NodeName></NodeName>

<Endpoint>2</Endpoint>

<ComponentType>TEE</ComponentType>

<Weight>1.31</Weight>

<ComponentRefNo>=2013286676/3062</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-3085.00 13800.00 0.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>40</NodeNumber>

<NodeName></NodeName>

<Endpoint>1</Endpoint>

<Rigid>1</Rigid>

<ComponentType>FLAN</ComponentType>

<Weight>4.565</Weight>

<ComponentRefNo>=2013286676/3063</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-3949.00 13800.00 0.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>-1</NodeNumber>

<NodeName></NodeName>

<Endpoint>2</Endpoint>

<ComponentType>FLAN</ComponentType>

<Weight>4.565</Weight>

<ComponentRefNo>=2013286676/3063</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-3999.00 13800.00 0.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>-1</NodeNumber>

<NodeName></NodeName>

<Endpoint>1</Endpoint>

<ComponentType>GASK</ComponentType>

<Weight>0.19</Weight>

<ComponentRefNo>=2013286676/3064</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-3999.00 13800.00 0.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>-1</NodeNumber>

<NodeName></NodeName>

<Endpoint>2</Endpoint>

<ComponentType>GASK</ComponentType>

<Weight>0.19</Weight>

<ComponentRefNo>=2013286676/3064</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-4001.00 13800.00 0.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>-1</NodeNumber>

<NodeName></NodeName>

<Endpoint>1</Endpoint>

<ComponentType>FLAN</ComponentType>

<Weight>4.565</Weight>

<ComponentRefNo>=2013286676/3065</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-4001.00 13800.00 0.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>50</NodeNumber>

<NodeName></NodeName>

<Endpoint>2</Endpoint>

<Rigid>2</Rigid>

<ComponentType>RIGID</ComponentType>

<Weight>9.32</Weight>

<ComponentRefNo>=2013286676/3065</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-4051.00 13800.00 0.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>-1</NodeNumber>

<NodeName></NodeName>

<Endpoint>1</Endpoint>

<ComponentType>BEND</ComponentType>

<Weight>0</Weight>

<ComponentRefNo>=2013286676/3066</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-4790.00 13800.00 0.00</Position>

<BendRadius>210</BendRadius>

<BendType>0</BendType>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>60</NodeNumber>

<NodeName></NodeName>

<Endpoint>0</Endpoint>

<ComponentType>BEND</ComponentType>

<Weight>0</Weight>

<ComponentRefNo>=2013286676/3066</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>0</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-5000.00 13800.00 0.00</Position>

<BendRadius>210</BendRadius>

<BendType>0</BendType>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>-1</NodeNumber>

<NodeName></NodeName>

<Endpoint>2</Endpoint>

<ComponentType>BEND</ComponentType>

<Weight>0</Weight>

<ComponentRefNo>=2013286676/3066</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-5000.00 13800.00 210.00</Position>

<BendRadius>210</BendRadius>

<BendType>0</BendType>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>70</NodeNumber>

<NodeName></NodeName>

<Endpoint>1</Endpoint>

<Rigid>1</Rigid>

<ComponentType>FLAN</ComponentType>

<Weight>4.565</Weight>

<ComponentRefNo>=2013286676/3067</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-5000.00 13800.00 450.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>-1</NodeNumber>

<NodeName></NodeName>

<Endpoint>2</Endpoint>

<ComponentType>FLAN</ComponentType>

<Weight>4.565</Weight>

<ComponentRefNo>=2013286676/3067</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-5000.00 13800.00 500.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>90</NodeNumber>

<NodeName></NodeName>

<Endpoint>2</Endpoint>

<Rigid>2</Rigid>

<ComponentType>RIGID</ComponentType>

<Weight>4.565</Weight>

<ComponentRefNo>=2013286676/3060</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-5000.00 13800.00 500.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

</Branch>

<Branch>

<Branchname>/XP36B</Branchname>

<Temperature>

<Temperature1>-100000</Temperature1>

<Temperature2>-100000</Temperature2>

<Temperature3>-100000</Temperature3>

<Temperature4>-100000</Temperature4>

<Temperature5>-100000</Temperature5>

<Temperature6>-100000</Temperature6>

<Temperature7>-100000</Temperature7>

<Temperature8>-100000</Temperature8>

<Temperature9>-100000</Temperature9>

</Temperature>

<Pressure>

<Pressure1>0</Pressure1>

<Pressure2>0</Pressure2>

<Pressure3>0</Pressure3>

<Pressure4>0</Pressure4>

<Pressure5>0</Pressure5>

<Pressure6>0</Pressure6>

<Pressure7>0</Pressure7>

<Pressure8>0</Pressure8>

<Pressure9>0</Pressure9>

</Pressure>

<MaterialNumber>0</MaterialNumber>

<InsulationDensity>100</InsulationDensity>

<FluidDensity>0</FluidDensity>

<Node>

<NodeNumber>100</NodeNumber>

<NodeName></NodeName>

<Endpoint>1</Endpoint>

<ComponentType>BRAN</ComponentType>

<Weight>0</Weight>

<ComponentRefNo>=2013286676/3068</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-2999.00 13800.00 0.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>110</NodeNumber>

<NodeName></NodeName>

<Endpoint>1</Endpoint>

<Rigid>1</Rigid>

<ComponentType>FLAN</ComponentType>

<Weight>4.565</Weight>

<ComponentRefNo>=2013286676/3069</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-2999.00 13800.00 536.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>-1</NodeNumber>

<NodeName></NodeName>

<Endpoint>2</Endpoint>

<ComponentType>FLAN</ComponentType>

<Weight>4.565</Weight>

<ComponentRefNo>=2013286676/3069</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-2999.00 13800.00 586.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

<Node>

<NodeNumber>130</NodeNumber>

<NodeName></NodeName>

<Endpoint>2</Endpoint>

<Rigid>2</Rigid>

<ComponentType>RIGID</ComponentType>

<Weight>4.565</Weight>

<ComponentRefNo>=2013286676/3068</ComponentRefNo>

<OutsideDiameter>88.9000015258789</OutsideDiameter>

<WallThickness>3.17</WallThickness>

<CorrosionAllowance>1</CorrosionAllowance>

<InsulationThickness>50</InsulationThickness>

<Position>-2999.00 13800.00 586.00</Position>

<BendRadius>0</BendRadius>

<SIF>0</SIF>

</Node>

</Branch>

</Pipe>

</PipeStressExport>

Related Links
TitleResults for “How to create a CRG?”Also Available in