Class Ifc4x2::IfcSwitchingDevice

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x2::IfcSwitchingDevice : public Ifc4x2::IfcFlowController

A switch is used in a cable distribution system (electrical circuit) to control or modulate the flow of electricity. Switches include those used for electrical power, communications, audio-visual, or other distribution system types as determined by the available ports.

HISTORY New entity in IFC2x4

Type Use Definition IfcSwitchingDevice defines the occurrence of any switching device; common information about switching device types is handled by IfcSwitchingDeviceType. The IfcSwitchingDeviceType (if present) may establish the common type name, usage (predefined type), properties, materials, ports, composition, assignments, and representations. The IfcSwitchingDeviceType is attached using the IfcRelDefinesByType objectified relationship and is accessible by the IsTypedBy inverse attribute. If the IfcSwitchingDeviceType has ports or aggregated elements, such objects are reflected at the IfcSwitchingDevice occurrence using the IfcRelDefinesByObject relationship. Figure 208 illustrates switching device type use. Figure 208 — Switching device type use

Property Use Definition The property sets relating to this entity are defined by IfcPropertySet and attached by the IfcRelDefinesByProperties relationship. They are accessible by the IsDefinedBy inverse attribute. Property sets may also be specified at the IfcSwitchingDeviceType, defining the common property data for all occurrences of the same type. They are then accessible by the IsTypedBy inverse attribute pointing to IfcSwitchingDeviceType.HasPropertySets. If both are given, then the properties directly defined at IfcSwitchingDevice override the properties defined at IfcSwitchingDeviceType. Refer to the documentation at the supertype IfcFlowController and ancestors for inherited property set definitions. The following property set definitions are applicable to this entity: (All Types)

Pset_SwitchingDeviceTypeCommon (PSET_TYPEDRIVENOVERRIDE) Pset_SwitchingDeviceTypePHistory (PSET_PERFORMANCEDRIVEN)

CONTACTOR

Pset_SwitchingDeviceTypeContactor (PSET_TYPEDRIVENOVERRIDE)

DIMMERSWITCH

Pset_SwitchingDeviceTypeDimmerSwitch (PSET_TYPEDRIVENOVERRIDE)

EMERGENCYSTOP

Pset_SwitchingDeviceTypeEmergencyStop (PSET_TYPEDRIVENOVERRIDE)

KEYPAD

Pset_SwitchingDeviceTypeKeypad (PSET_TYPEDRIVENOVERRIDE)

MOMENTARYSWITCH

Pset_SwitchingDeviceTypeMomentarySwitch (PSET_TYPEDRIVENOVERRIDE)

SELECTORSWITCH

Pset_SwitchingDeviceTypeSelectorSwitch (PSET_TYPEDRIVENOVERRIDE)

STARTER

Pset_SwitchingDeviceTypeStarter (PSET_TYPEDRIVENOVERRIDE)

SWITCHDISCONNECTOR

Pset_SwitchingDeviceTypeSwitchDisconnector (PSET_TYPEDRIVENOVERRIDE)

TOGGLESWITCH

Pset_SwitchingDeviceTypeToggleSwitch (PSET_TYPEDRIVENOVERRIDE)

Quantity Use Definition The quantities relating to this entity are defined by IfcElementQuantity and attached by the IfcRelDefinesByProperties relationship. They are accessible by the IsDefinedBy inverse attribute. The following base quantities are defined and shall be exchanged with the IfcElementQuantity.Name = ‘BaseQuantities’. Other quantities, being subjected to local standard of measurement, may be defined with another string value assigned to Name. In this case a valid value for MethodOfMeasurement shall be provided.

Qto_SwitchingDeviceBaseQuantities

Material Use Definition The material of the IfcSwitchingDevice is defined by IfcMaterialConstituentSet or as a fallback by IfcMaterial, and attached by the RelatingMaterial attribute on the IfcRelAssociatesMaterial relationship. It is accessible by the HasAssociations inverse attribute. Material information can also be given at the IfcSwitchingDeviceType, defining the common attribute data for all occurrences of the same type. The following keywords for IfcMaterialConstituentSet.MaterialConstituents[n].Name shall be used:

Casing: Material from which the casing is constructed. Conductor: Material from which the conductors are constructed. Surface: Material from which the switch surface is constructed.

Port Use Definition The distribution ports relating to the IfcSwitchingDevice are defined by IfcDistributionPort and attached by the IfcRelConnectsPortToElement relationship. If the switching device occurrence is defined by IfcSwitchingDeviceType, then the port occurrences must reflect those defined at the IfcSwitchingDeviceType using the IfcRelDefinesByObject relationship. Ports are specific to the IfcSwitchingDevice PredefinedType as follows indicated by the IfcDistributionPort Name, PredefinedType, and FlowDirection:

Line (ELECTRICAL, SINK): The supply line. Load (ELECTRICAL, SOURCE): The load controlled by the switch.

Figure 209 illustrates switching device port use. Figure 209 — Switching device port use

Public Types

typedef IfcTemplatedEntityList<IfcSwitchingDevice> list

Public Functions

bool hasPredefinedType() const

Whether the optional attribute PredefinedType is defined for this IfcSwitchingDevice.

::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const
void setPredefinedType(::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value v)
const IfcParse::entity &declaration() const
IfcSwitchingDevice(IfcEntityInstanceData *e)
IfcSwitchingDevice(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory *v2_OwnerHistory, boost::optional<std::string> v3_Name, boost::optional<std::string> v4_Description, boost::optional<std::string> v5_ObjectType, ::Ifc4x2::IfcObjectPlacement *v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation *v7_Representation, boost::optional<std::string> v8_Tag, boost::optional<::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value> v9_PredefinedType)

Public Static Functions

const IfcParse::entity &Class()