IFC 4.3.2.20251031 (IFC4X3_ADD2) under development

8.11.3.4 IfcDerivedUnit(派生单位)

RV ⓘ
AbV ⓘ

8.11.3.4.1 语义定义(Semantic definition)

派生单位是通过其他单位的表达式构成的单位。

dot_neato <a href='/IFC/RELEASE/IFC4x3/HTML/lexical/IfcUnitAssignment.htm'>IfcUnitAssignment</a> IfcUnitAssignment <a href='/IFC/RELEASE/IFC4x3/HTML/lexical/IfcDerivedUnit.htm'>IfcDerivedUnit</a> IfcDerivedUnit UnitType: LINEARVELOCITYUNIT Name: mph <a href='/IFC/RELEASE/IFC4x3/HTML/lexical/IfcUnitAssignment.htm'>IfcUnitAssignment</a>-><a href='/IFC/RELEASE/IFC4x3/HTML/lexical/IfcDerivedUnit.htm'>IfcDerivedUnit</a> Units IfcDerivedUnitElement_0 IfcDerivedUnitElement Exponent: 1 <a href='/IFC/RELEASE/IFC4x3/HTML/lexical/IfcDerivedUnit.htm'>IfcDerivedUnit</a>->IfcDerivedUnitElement_0 Elements[1] IfcDerivedUnitElement_1 IfcDerivedUnitElement Exponent: -1 <a href='/IFC/RELEASE/IFC4x3/HTML/lexical/IfcDerivedUnit.htm'>IfcDerivedUnit</a>->IfcDerivedUnitElement_1 Elements[2] IfcConversionBasedUnit_0 IfcConversionBasedUnit UnitType: LENGTHUNIT Name: mile IfcDerivedUnitElement_0->IfcConversionBasedUnit_0 Unit IfcConversionBasedUnit_1 IfcConversionBasedUnit UnitType: TIMEUNIT Name: hour IfcDerivedUnitElement_1->IfcConversionBasedUnit_1 Unit IfcDimensionalExponents_0 IfcDimensionalExponents LengthExponent: 1 IfcConversionBasedUnit_0->IfcDimensionalExponents_0 Dimensions IfcMeasureWithUnit_0 IfcMeasureWithUnit ValueComponent: 1609 IfcConversionBasedUnit_0->IfcMeasureWithUnit_0 ConversionFactor IfcSIUnit_0 IfcSIUnit UnitType: LENGTHUNIT Name: METRE IfcMeasureWithUnit_0->IfcSIUnit_0 UnitComponent IfcDimensionalExponents_1 IfcDimensionalExponents TimeExponent: 1 IfcConversionBasedUnit_1->IfcDimensionalExponents_1 Dimensions IfcMeasureWithUnit_1 IfcMeasureWithUnit ValueComponent: 3600 IfcConversionBasedUnit_1->IfcMeasureWithUnit_1 ConversionFactor IfcSIUnit_1 IfcSIUnit UnitType: TIMEUNIT Name: SECOND IfcMeasureWithUnit_1->IfcSIUnit_1 UnitComponent
图 8.11.3.4.A — 如何将英里每小时分配为派生单位的示例

8.11.3.4.2 实体继承(Entity inheritance)

8.11.3.4.3 特性(Attributes)

# 特性(Attributes) 类型 描述
IfcDerivedUnit (5)
1 Elements SET [1:?] OF IfcDerivedUnitElement

定义派生单位的单位组及其指数。

2 UnitType IfcDerivedUnitEnum

从派生单位类型枚举中选择的派生单位类型,用于 IFC 模型。

3 UserDefinedType OPTIONAL IfcLabel

如果 UnitType 属性设置为 USERDEFINED,则为派生单位的类型。

4 Name OPTIONAL IfcLabel

除单位类型外的单位名称,特别是当派生单位元素引用基于转换或上下文的单位时。

* Dimensions IfcDimensionalExponents

此属性是形式化派生的

IfcDeriveDimensionalExponents(Elements)

使用函数 IfcDeriveDimensionalExponents 并以 (SELF) 作为输入值导出的量纲指数。

表 8.11.3.4.B

8.11.3.4.4 形式化命题(Formal propositions)

名称 描述
WR1

单位本身不应重新定义为派生单位。

(SIZEOF (Elements) > 1) OR ((SIZEOF (Elements) = 1) AND (Elements[1].Exponent <> 1 ))
WR2

当属性 UnitType 的枚举值为 USERDEFINED 时,属性 UserDefinedType 也应具有值。

(UnitType <> IfcDerivedUnitEnum.USERDEFINED) OR
((UnitType = IfcDerivedUnitEnum.USERDEFINED) AND 
 (EXISTS(SELF.UserDefinedType)))
表 8.11.3.4.C

8.11.3.4.5 形式化表示(Formal representation)

ENTITY IfcDerivedUnit;
	Elements : SET [1:?] OF IfcDerivedUnitElement;
	UnitType : IfcDerivedUnitEnum;
	UserDefinedType : OPTIONAL IfcLabel;
	Name : OPTIONAL IfcLabel;
 DERIVE
	 Dimensions : IfcDimensionalExponents := IfcDeriveDimensionalExponents(Elements);
 WHERE
	WR1 : (SIZEOF (Elements) > 1) OR ((SIZEOF (Elements) = 1) AND (Elements[1].Exponent <> 1 ));
	WR2 : (UnitType <> IfcDerivedUnitEnum.USERDEFINED) OR
((UnitType = IfcDerivedUnitEnum.USERDEFINED) AND 
 (EXISTS(SELF.UserDefinedType)));
END_ENTITY;

8.11.3.4.6 参考文献