| Capability (C079):— representing_properties_numerically | Date: 2007/06/22 12:22:11 Revision: 1.46 |
This section describes the EXPRESS information model for the capability.
TYPE property_assignment_select =
EXTENSIBLE
SELECT;
END_TYPE;
ENTITY Property_representation;
description :
OPTIONAL
STRING;
property : Assigned_property;
rep : Representation;
role :
OPTIONAL
STRING;
END_ENTITY;
description: the text that provides further information about the Property_representation. The value of this attribute need not be specified.
property: the assigned property.
rep: the Representation associated with the property.
role:
the string that specifies the role of the representation with respect to the property. The value of this attribute need not be specified.
EXAMPLE 'detailed representation', 'simplified representation' are examples of role.
Numerical_representation_context
A Numerical_representation_context is a type of Representation_context in which units and uncertainties may be defined. These units and uncertainties apply to the instances of Representation_item that are used in that context.
ENTITY Numerical_representation_context
SUBTYPE OF (Representation_context);
units :
OPTIONAL
SET[1:?] OF Unit;
accuracies :
OPTIONAL
SET[1:?] OF Uncertainty_with_unit;
END_ENTITY;
units:
the set of Units that apply for attribute values of instances of Representation_item used in that context. The value of this attribute need not be specified.
NOTE The units of Numerical_representation_context is only intended to provide a default unit. Its use is not intended to prevent representation items being specified with the same or different units to the context.
accuracies: the uncertainty measures that apply on attribute values of instances of Representation_item used in that context. The value of this attribute need not be specified.
ENTITY Representation;
id :
OPTIONAL
STRING;
name : STRING;
description :
OPTIONAL
STRING;
context_of_items : Representation_context;
items : SET[1:?] OF Representation_item;
END_ENTITY;
id: the identifier for the Representation. The value of this attribute need not be specified.
name:
the words by which the Representation is known.
EXAMPLE The name of a Representation may be the name of a CAD model.
description: the text that provides further information about the Representation. The value of this attribute need not be specified.
context_of_items: the Representation_context that specifies the context of the Representation.
items: the set of Representation_item instances directly included in the Representation.
ENTITY Representation_context;
id : STRING;
kind : STRING;
INVERSE
representations_in_context : SET[1:?] OF Representation FOR context_of_items;
END_ENTITY;
id: the identifier for the Representation_context.
kind:
the text that describes the type of the context.
EXAMPLE 1 'numeric values' is an example of kind of Representation_context.
EXAMPLE 2 '2D space' or '3D space' are examples of kind which can be used for geometric representation contexts.
A Representation_item shall be in the set of items of one or more instances of Representation or it shall belong to one or more instances of Representation, being referred to, directly of indirectly, by items of these instances of Representation.
NOTE this constraint is formally represented in the Express specification of the resource entity that corresponds to Representation_item in the MIM schema.
Only specializations of Representation_item can be instantiated.
ENTITY Representation_item
ABSTRACT SUPERTYPE
;
name : STRING;
END_ENTITY;
name:
the words by which the Representation_item is known.
EXAMPLE The name of a geometric Representation_item may be its element tag in the originating CAD system.
ENTITY Representation_relationship;
relation_type : STRING;
description : STRING;
rep_1 : Representation;
rep_2 : Representation;
END_ENTITY;
relation_type:
the string that specifies the type of the relationship.
Where applicable, the following values shall be used:
EXAMPLE A faceted representation may be derived from a boundary representation.
description: the text that provides further information about the relationship.
rep_1: one of the instances of Representation that is a part of the relationship.
rep_2: the other instance of Representation that is a part of the relationship. If one element of the relationship is the dependent upon the other, this attribute shall be the dependent one.
TYPE any_number_value =
NUMBER;
END_TYPE;
TYPE any_string_value =
STRING;
END_TYPE;
TYPE length_measure =
REAL;
END_TYPE;
TYPE measure_value =
EXTENSIBLE
SELECT
(any_number_value,
any_string_value,
length_measure,
plane_angle_measure);
END_TYPE;
TYPE plane_angle_measure =
REAL;
END_TYPE;
NOTE 1 This definition applies to the SI quantity 'mole'. When the mole is used, the elementary entities, whose quantity is expressed, must be specified . They may be atoms, molecules, ions, electrons or other particles or specified groups of such particles (see ISO 31-8).
NOTE 2 This unit corresponds to one of the seven fundamental quantities as specified in ISO 1000.
ENTITY Amount_of_substance_unit
SUBTYPE OF (Unit);
END_ENTITY;
EXAMPLE The number of parts in an assembly is a physical quantity that may be measured in a unit called 'parts'. Such a unit cannot be related to an SI unit.
ENTITY Context_dependent_unit
SUBTYPE OF (Unit);
WHERE
WR1: EXISTS(SELF\Unit.name);
END_ENTITY;
NOTE A Conversion_based_unit is often used to convert a unit in one system of units to a similar unit in another system.
EXAMPLE An Imperial inch is 25.4 millimetres
ENTITY Conversion_based_unit
SUBTYPE OF (Unit);
conversion_factor : Value_with_unit;
WHERE
WR1: EXISTS(SELF\Unit.name);
END_ENTITY;
conversion_factor: the Value_with_unit that defines the conversion.
EXAMPLE Newtons per square metre is a derived unit.
ENTITY Derived_unit
SUBTYPE OF (Unit);
elements : SET[1:?] OF Derived_unit_element;
END_ENTITY;
elements:
a set of units and their exponents whose product defines the Derived_unit.
NOTE Each element is one term in the Derived_unit.
ENTITY Derived_unit_element;
base_unit : Unit;
exponent : REAL;
END_ENTITY;
base_unit: the unit of a term in the Derived_unit.
exponent: the real number for the Derived_unit.
ENTITY Duration
SUBTYPE OF (Value_with_unit);
WHERE
WR1: 'VALUE_WITH_UNIT_ARM.' + 'TIME_UNIT' IN TYPEOF(SELF\Value_with_unit.unit);
END_ENTITY;
ENTITY Electric_current_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Length_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Luminous_intensity_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Mass_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Plane_angle_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Ratio_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Solid_angle_unit
SUBTYPE OF (Unit);
END_ENTITY;
Thermodynamic_temperature_unit
A Thermodynamic_temperature_unit is a type of Unit in which the degree of heat of a body is expressed.
ENTITY Thermodynamic_temperature_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Time_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Uncertainty_with_unit
SUBTYPE OF (Value_with_unit);
name : STRING;
description :
OPTIONAL
STRING;
END_ENTITY;
name: the words by which the Uncertainty_with_unit is known.
description: the text that provides further information about the Uncertainty_with_unit. The value of this attribute need not be specified.
ENTITY Unit
SUPERTYPE OF
(ONEOF (Amount_of_substance_unit,
Electric_current_unit,
Length_unit,
Luminous_intensity_unit,
Mass_unit,
Plane_angle_unit,
Ratio_unit,
Solid_angle_unit,
Thermodynamic_temperature_unit,
Time_unit));
name : STRING;
si_unit : BOOLEAN;
END_ENTITY;
name: the words by which the Unit is known.
si_unit: the boolean value that indicates whether the Unit is one of the units defined in the SI system.
ENTITY Value_with_unit;
unit : Unit;
value_component : measure_value;
END_ENTITY;
unit: the Unit with which the physical quantity is expressed.
value_component: the value of the quantity.
ENTITY Measure_item
ABSTRACT SUPERTYPE
SUBTYPE OF (Representation_item);
WHERE
WR1: SIZEOF(USEDIN(SELF, 'FOUNDATION_REPRESENTATION_ARM.REPRESENTATION.ITEMS'))>0;
END_ENTITY;
A Numerical_item_with_unit is a type of Measure_item that is also a Value_with_unit. The quantity value is therefore provided with its own unit.
NOTE A unit that is specified by Numerical_item_with_unit supersedes a unit associated with the Numerical_representation_context.
ENTITY Numerical_item_with_unit
SUBTYPE OF (Measure_item, Value_with_unit);
END_ENTITY;
NOTE The present version of this application module does not enable to represent whether the values have been imposed or were derived or measured. It is expected that a future version will add this capability.
ENTITY Property_value_representation
SUBTYPE OF (Representation);
SELF\Representation.context_of_items : Numerical_representation_context;
END_ENTITY;
context_of_items: the Numerical_representation_context in which the value is represented.