楼宇智能化属于电气领域,处于IFC标准中的专业领域层。在IFC4标准中定义为IfcElectricalDomain。IfcElectricalDomain支持的类型主要有IfcFlowTerminalType(终端设备类型)、IfcFlow SegmentType(终端分段类型)、IfcFlowFittingType(终端灯具类型)、IfcFlowStorageDeviceType(终端存储设备类型)、IfcFlowControllerType(终端开关类型)、IfcDistributionControlElementType(配电控制类型)和IfcEnergyConversionDeviceType(能量转换设备类型)。
其中IfcFlowTerminalType定义的实体有Outlet(插座)、LightFixture(灯具)、Lamp(光源)、ElectricAppliance(电器设备)、AudioVisualApplication(音视频设备)、CommunicationsAppliance(通讯设备)。楼宇智能化中的前端设备主要有摄像机,属于音视频设备,因此可以用AudioVisualApplication来表示,下面对楼宇智能化中的前端设备进行基于IFC标准的数据描述。
AudioVisualApplication的Express-G图表示如图。
AudioVisualApplication的Express描述如下:
ENTITY IfcAudioVisualApplianceType
SUBTYPE OF IfcFlowTerminalType; //IfcAudioVisualApplianceType是IfcFlowTerminalType的子类型
PredefinedType: IfcAudioVisualApplianceTypeEnum;
WHERE //形式限制
CorrectPredefinedType: (PredefinedType <>
IfcAudioVisualApplianceTypeEnum.USERDEFINED) OR((PredefinedType=
IfcAudioVisualApplianceTypeEnum.USERDEFINED) AND EXISTS
(SELF\IfcElementType.ElementType));
END_ENTITY;
AudioVisualApplication属性间的继承关系如下:
ENTITY IfcAudioVisualApplianceType
ENTITY IfcRoot
GlobalId: IfcGloballyUniqueId;
OwnerHistory: OPTIONAL IfcOwnerHistory;
Name: OPTIONAL IfcLabel;
Description: OPTIONAL IfcText;//定义
IfcRoot的四个属性
ENTITY IfcObjectDefinition
INVERSE //反转属性,明确定义实体之间“双向”的一对多或多对多关系
HasAssignments: SET OF IfcRelAssigns FOR RelatedObjects;
Nests: SET [0:1] OF IfcRelNests FOR RelatedObjects;
IsNestedBy: SET OF IfcRelNests FOR RelatingObject;
HasContext: SET [0:1] OF IfcRelDeclares FOR RelatedDefinitions;
IsDecomposedBy: SET OF IfcRelAggregates
FOR RelatingObject;
Decomposes: SET [0:1] OF IfcRelAggregates FOR RelatedObjects;
HasAssociations: SET OF IfcRelAssociates FOR RelatedObjects;
ENTITY IfcTypeObject
ApplicableOccurrence: OPTIONAL IfcIdentifier;
HasPropertySets: OPTIONAL SET [1:?]
OF IfcPropertySetDefinition;
INVERSE
Types: SET [0:1] OF IfcRelDefinesByType FOR RelatingType;
ENTITY IfcTypeProduct
RepresentationMaps: OPTIONAL LIST [1:?]
OF
UNIQUE IfcRepresentationMap;
Tag: OPTIONAL IfcLabel;
INVERSE
ReferencedBy: SET OF IfcRelAssignsTo Product FOR RelatingProduct;
ENTITY IfcElementType
ElementType: OPTIONAL IfcLabel;
ENTITY IfcDistributionElementType
ENTITY IfcDistributionFlowElementType
ENTITY IfcFlowTerminalType
ENTITY IfcAudioVisualApplianceType
PredefinedType: IfcAudioVisualAppliance TypeEnum;
END_ENTITY;