Expressions

Expressions are Table-level objects in Granta MI, and are used to define mathematical expressions used in Equations and Logic Attributes.

Expressions can include numeric Attributes and Meta-Attributes from within the same Table, as well as (database-level) Parameters and Constants, referenced as follows:

Type Format Examples
Parameter [P:<name>]

[P:Temperature]

[P:Cycles]

Constant [C:<name>]

[C:Electron Charge]

[C:Volume of Ideal Gas at STP]

Attribute [A:<name>]

[A:Density]

[A:Shear modulus]

Meta-Attribute [A:<parent-name>#<meta-name>]

[A:Density#Sample size]

[A:Shear modulus#Std Dev]

For Attributes and Meta-Attributes only, the A: prefix may be omitted. for example, [Density].

The calculation of Expressions is performed in database units. The result will then be converted to the relevant display unit, if it is different.