Expression Details
- Last UpdatedFeb 17, 2025
- 4 minute read
Weight
The defaults comes with preset expressions and functions, as can be seen for weight. The PML expression !!ce.:psiweight for example assumes you are at a piping component as the expression is based on the current element (!!ce), so this expression get the weight from the psiweight attribute of the current element.
Wall Thickness
The function to determine the wall thickness is worth noting:
!!psifindwall(!this.node.component,!this.node.point)
The function called psifindwall uses an object called a stress node (!this.node) which is the current node and is passed to the function.
The functions are stored in ¼\pmllib\design\functions and are called *.pmlfnc. To find where your PSI pmllib folder is, type q evar pmllib on the command line. Any new PML functions need to be saved in here.
Material
Materials are determined by the following expression :matnum of matxt of spref of hstu of ce
-
:Matnum is a UDA (user-defined attribute) which is added to SPCO’s
-
Matxt is the text describing the material from which the component is constructed
-
Spref is the component specification reference
-
Hstu is the head tube specification
-
Ce is the current element
So it obtains the material from the material text of the specification of the head tube of the current element.
Fluid Density
The Fluid Density is determined by the following expression Density of sden1 of tden1 of flure of pspec
-
Sden1 is an element of the fluid reference (Spot density)
-
Tden1 is an element of the fluid reference (Table of density)
-
Flure is the fluid reference
-
Pspec is the piping specification
So it obtains the density by looking at the piping specifications fluid reference, and then looks at the spot density from its table of density.
Insulation density is obtained in a similar way to Fluid Density and both relate to values at branch level.
SIFs
SIFs are determined by the following expression rating of cate of catref of ce which means it looks for SIF values at the rating of the category of the catalogue reference of the current element. The rating refers to a number which corresponds to a CAESAR II intersection type code (1-17, where 0 is unset). These will need to be setup in the catalogue.
Ignored Components
These settings control which components are not sent to CAESAR II for analysis. For example, support ATTA’s are defined by the setting of their ATTY attribute. Insulation symbol ATTAs have ATTY set to INPP (insulation personnel protection) and Split ATTAs for system isometrics have ATTY set to SSSS. As seen below, ATTA’s with their ATTY set to INPP and SSSS are not sent to CAESAR II as they are in the Ignored components list. Items can be added by pressing the Edit button and removed by pressing the Delete button.

Ignored components are a selection rather than an expression and they are evaluated by checking the components attributes against an attribute value. For example the first ignored item in the list is an atta with the atty attribute set to INPP. Each ignored component type needs to have a separate entry on the window.
The add and edit window is as shown below:

Stress Ready
The Stress Ready setting controls when a stress group is ready to be added to a stress group. It can be turned on/off in the Interface Settings. The default expression for this is !!ce.lissue. This means that when a branch is added to a stress group it is checked that !!ce.lissue = true If the branch is not ready for stressing then a message will be displayed to the user and it will not be added to the stress group.

An existing expression can be changed by pressing the Edit button or a new one can be created by pressing the Add button. Multiple expressions/functions are allowed for the same property. If multiple expressions/functions exist, the first expression/function is checked to see if it returns a value. If it does, it uses this value. if it doesn’t, it tries the next one and carries on until it finds one. The order of precedence can be changed by using the arrows which move expressions up or down. If no value is found then it is set to zero. Expressions can also be removed by pressing the Delete button.
Note:
For further information, refer to Catalogs and Specifications and Catalogs and Specifications Reference.
Temperature and Pressure
These are determined by the expressions Press of bran and Temp of bran, which simply get the temperature and pressure values at branch level.