IfcWorkCalendar

BACnet MVD

#### IfcWorkCalendar

Natural language names

| Arbeitskalender
| Work Calendar
| Calendrier de travail

Change log

Item | SPF | XML | Change | Description
--- | --- | --- | --- | ---
IFC2x3 to IFC4
IfcWorkCalendar |  |  | ADDED |

##### Semantic definitions at the entity

Entity definition

An IfcWorkCalendar defines working and non-working time periods for tasks and resources. It enables to define both specific time periods, such as from 7:00 till 12:00 on 25th August 2009, as well as repetitive time periods based on frequently used recurrence patterns, such as each Monday from 7:00 till 12:00 between 1st March 2009 and 31st December 2009.

> HISTORY New entity in IFC4.

A work calendar is a subtype of IfcControl and thus inherits the feature for controlling other objects through IfcRelAssignsToControl, which is used to define a work calendar for tasks (IfcTask) and resources (IfcResource). It also inherits a name and description attribute, whereas a name shall be given and a description may be given as an indication of its content and usage.

The definition of time periods can be derived from a base calendar and/or modified/defined by a set of working times and non-working exception times. All time periods defined by IfcWorkCalendar.ExceptionTimes override the time periods inherited from the base calendar (base calendar is defined as the next applicable calendar for the task or resource). Thus, exception times replace the working times from the base calendar.

Figure 159 shows the definition of a work calendar, which is defined by a set of work times and exception times. The work times are defined as recurring patterns with optional boundaries (applying from and/or to a specific date). The shown example defines a simple work calendar with working times Monday to Thursday 8:00 to 12:00 and 13:00 to 17:00, Friday 8:00 to 14:00 and as exception every 1st Monday in a month the work starts one hour later - i.e. the working time on every 1st Monday in a month is overriden to be 9:00 to 12:00 and 13:00 to 17:00. Both the working time and the exception time is valid for the period of 01.09.2010 till 30.08.2011.

Figure 159 — Work calendar instantiation

Attribute definitions

# | Attribute | Type | Cardinality | Description | B
--- | --- | --- | --- | --- | ---
7 | WorkingTimes | IfcWorkTime | ? S[1:?] | Set of times periods that are regarded as an initial set-up of working times. Exception times can then further restrict these working times. |  | X
8 | ExceptionTimes | IfcWorkTime | ? S[1:?] | Set of times periods that define exceptions (non-working times) for the given working times including the base calendar, if provided. |  | X

9

PredefinedType

IfcWorkCalendarTypeEnum

?

Identifies the predefined types of a work calendar from which the type required may be set.

> IFC4 CHANGE Attribute added

X

Formal Propositions

Rule | Description
--- | ---
CorrectPredefinedType | The attribute ObjectType must be asserted when the value of the IfcWorkCalendarTypeEnum is set to USERDEFINED.

##### Inherited definitions from supertypes

Entity inheritance
Attribute inheritance

# | Attribute | Type | Cardinality | Description | B
--- | --- | --- | --- | --- | ---
IfcRoot
1 | GlobalId | IfcGloballyUniqueId |  | Assignment of a globally unique identifier within the entire software world. | X | X

2

OwnerHistory

IfcOwnerHistory

?

Assignment of the information about the current ownership of that object, including owning actor, application, local identification and information captured about the recent changes of the object,

> NOTE only the last modification in stored - either as addition, deletion or modification.

> IFC4 CHANGE The attribute has been changed to be OPTIONAL.

X

X

3 | Name | IfcLabel | ? | Optional name for use by the participating software systems or users. For some subtypes of IfcRoot the insertion of the Name attribute may be required. This would be enforced by a where rule. | X | X
4 | Description | IfcText | ? | Optional description, provided for exchanging informative comments. |  | X
IfcObjectDefinition
| HasAssignments | IfcRelAssigns @RelatedObjects | S[0:?] | Reference to the relationship objects, that assign (by an association relationship) other subtypes of IfcObject to this object instance. Examples are the association to products, processes, controls, resources or groups. |  | X

Nests

IfcRelNests
@RelatedObjects

S[0:1]

References to the decomposition relationship being a nesting. It determines that this object definition is a part within an ordered whole/part decomposition relationship. An object occurrence or type can only be part of a single decomposition (to allow hierarchical strutures only).

> IFC4 CHANGE The inverse attribute datatype has been added and separated from Decomposes defined at IfcObjectDefinition.

X

IsNestedBy

IfcRelNests
@RelatingObject

S[0:?]

References to the decomposition relationship being a nesting. It determines that this object definition is the whole within an ordered whole/part decomposition relationship. An object or object type can be nested by several other objects (occurrences or types).

> IFC4 CHANGE The inverse attribute datatype has been added and separated from IsDecomposedBy defined at IfcObjectDefinition.

X

X

HasContext

IfcRelDeclares
@RelatedDefinitions

S[0:1]

References to the context providing context information such as project unit or representation context. It should only be asserted for the uppermost non-spatial object.

> IFC4 CHANGE The inverse attribute datatype has been added.

X

IsDecomposedBy

IfcRelAggregates
@RelatingObject

S[0:?]

References to the decomposition relationship being an aggregation. It determines that this object definition is whole within an unordered whole/part decomposition relationship. An object definitions can be aggregated by several other objects (occurrences or parts).

> IFC4 CHANGE The inverse attribute datatype has been changed from the supertype IfcRelDecomposes to subtype IfcRelAggregates.

X

X

Decomposes

IfcRelAggregates
@RelatedObjects

S[0:1]

References to the decomposition relationship being an aggregation. It determines that this object definition is a part within an unordered whole/part decomposition relationship. An object definitions can only be part of a single decomposition (to allow hierarchical strutures only).

> IFC4 CHANGE The inverse attribute datatype has been changed from the supertype IfcRelDecomposes to subtype IfcRelAggregates.

X

X

| HasAssociations | IfcRelAssociates @RelatedObjects | S[0:?] | Reference to the relationship objects, that associates external references or other resource definitions to the object.. Examples are the association to library, documentation or classification. | X | X
IfcObject

5

ObjectType

IfcLabel

?

The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED.

X

IsDeclaredBy

IfcRelDefinesByObject
@RelatedObjects

S[0:1]

Link to the relationship object pointing to the declaring object that provides the object definitions for this object occurrence. The declaring object has to be part of an object type decomposition. The associated IfcObject, or its subtypes, contains the specific information (as part of a type, or style, definition), that is common to all reflected instances of the declaring IfcObject, or its subtypes.

> IFC4 CHANGE New inverse relationship, change made with upward compatibility for file based exchange.

X

X

Declares

IfcRelDefinesByObject
@RelatingObject

S[0:?]

Link to the relationship object pointing to the reflected object(s) that receives the object definitions. The reflected object has to be part of an object occurrence decomposition. The associated IfcObject, or its subtypes, provides the specific information (as part of a type, or style, definition), that is common to all reflected instances of the declaring IfcObject, or its subtypes.

> IFC4 CHANGE New inverse relationship, change made with upward compatibility for file based exchange.

X

IsTypedBy

IfcRelDefinesByType
@RelatedObjects

S[0:1]

Set of relationships to the object type that provides the type definitions for this object occurrence. The then associated IfcTypeObject, or its subtypes, contains the specific information (or type, or style), that is common to all instances of IfcObject, or its subtypes, referring to the same type.

> IFC4 CHANGE New inverse relationship, the link to IfcRelDefinesByType had previously be included in the inverse relationship IfcRelDefines. Change made with upward compatibility for file based exchange.

X

IsDefinedBy

IfcRelDefinesByProperties
@RelatedObjects

S[0:?]

Set of relationships to property set definitions attached to this object. Those statically or dynamically defined properties contain alphanumeric information content that further defines the object.

> IFC4 CHANGE The data type has been changed from IfcRelDefines to IfcRelDefinesByProperties with upward compatibility for file based exchange.

X

IfcControl

6

Identification

IfcIdentifier

?

An identifying designation given to a control It is the identifier at the occurrence level.

> IFC4 CHANGE Attribute unified by promoting from various subtypes of IfcControl.

X

| Controls | IfcRelAssignsToControl @RelatingControl | S[0:?] | Reference to the relationship that associates the control to the object(s) being controlled. |  | X
IfcWorkCalendar
7 | WorkingTimes | IfcWorkTime | ? S[1:?] | Set of times periods that are regarded as an initial set-up of working times. Exception times can then further restrict these working times. |  | X
8 | ExceptionTimes | IfcWorkTime | ? S[1:?] | Set of times periods that define exceptions (non-working times) for the given working times including the base calendar, if provided. |  | X

9

PredefinedType

IfcWorkCalendarTypeEnum

?

Identifies the predefined types of a work calendar from which the type required may be set.

> IFC4 CHANGE Attribute added

X

##### Definitions applying to Design Transfer View

Concept inheritance

# | Concept | Template | Model View
--- | --- | --- | ---
IfcRoot
| Revision Control | Revision Control | Design Transfer View

##### Definitions applying to BACnet View

Instance diagram

#####

Concept usage

WorkTimes

The WorkTimes concept applies to this entity.

mvdXML Specification
`<?xml version="1.0"?>
<ConceptRoot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" uuid="57448f53-44c5-4e76-920f-b6ad7b0f55ff" name="IfcWorkCalendar" status="sample" applicableRootEntity="IfcWorkCalendar">
<Concepts>
<Concept uuid="a603c0d6-bca5-4f83-993c-a8965ed016ef" name="WorkTimes" status="sample" override="false">
<Template ref="c2413671-6b20-476b-b21f-0092e6d67347" />
<Requirements>
<Requirement applicability="import" requirement="mandatory" exchangeRequirement="b8a611d3-6f94-4bdf-b974-b74089a6e6c7" />
<Requirement applicability="export" requirement="mandatory" exchangeRequirement="b8a611d3-6f94-4bdf-b974-b74089a6e6c7" />
</Requirements>
</Concept>
</Concepts>
</ConceptRoot>
`
Concept inheritance

# | Concept | Template | Model View
--- | --- | --- | ---
IfcRoot
| Revision Control | Revision Control | Design Transfer View
IfcWorkCalendar
| WorkTimes | WorkTimes | BACnet View

##### Formal representations

XML Specification
`<xs:element name="IfcWorkCalendar" type="ifc:IfcWorkCalendar" substitutionGroup="ifc:IfcControl" nillable="true"/>
<xs:complexType name="IfcWorkCalendar">
<xs:complexContent>
<xs:extension base="ifc:IfcControl">
<xs:sequence>
<xs:element name="WorkingTimes" nillable="true" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element ref="ifc:IfcWorkTime" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="ifc:itemType" fixed="ifc:IfcWorkTime"/>
<xs:attribute ref="ifc:cType" fixed="set"/>
<xs:attribute ref="ifc:arraySize" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="ExceptionTimes" nillable="true" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element ref="ifc:IfcWorkTime" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="ifc:itemType" fixed="ifc:IfcWorkTime"/>
<xs:attribute ref="ifc:cType" fixed="set"/>
<xs:attribute ref="ifc:arraySize" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="PredefinedType" type="ifc:IfcWorkCalendarTypeEnum" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
`
EXPRESS Specification
`ENTITY IfcWorkCalendar
SUBTYPE OF (IfcControl);
WorkingTimes : OPTIONAL SET [1:?] OF IfcWorkTime;
ExceptionTimes : OPTIONAL SET [1:?] OF IfcWorkTime;
PredefinedType : OPTIONAL IfcWorkCalendarTypeEnum;
WHERE
CorrectPredefinedType : NOT(EXISTS(PredefinedType)) OR (PredefinedType <> IfcWorkCalendarTypeEnum.USERDEFINED) OR
((PredefinedType = IfcWorkCalendarTypeEnum.USERDEFINED) AND EXISTS(SELF\IfcObject.ObjectType));
END_ENTITY;

EXPRESS-G diagram

`

Link to this page