Template: SwedishDefence:FailureOccurrence

This section specifies the template FailureOccurrence.

The specification comprises a SysML Block that represents the template and an associated Parametric Diagram that defines the templates and PLCS PSMTemplate objects instantiated by the FailureOccurrence template.

The specification comprises the following sections:

NOTE    An explanation of a template and its specification is provided in the Template overview
The FailureOccurrence template describes how to represent occurrence of the failure in ItemOfSupplyIndividual.

No templates have been explicitly defined as being related to the FailureOccurrence template.

NOTE    The FailureOccurrence template may make reference to other templates as part of the Parametric Diagram. These are not listed here.

Figure 1 shows the SysML Block that represents the template. The Block is an abstraction representing a pattern of templates and PLCS PSMTemplate objects.

The properties, i.e. the SysML Block Part, Reference and Value properties, of the template's SysML Block are described in the Template Properties section.

The output ports shown on the template's SysML Block are described in the template output ports section.

The SysML Parametric diagrams for the template Block are shown in template parametric diagram section.

Figure 1 -  Template block definition diagram for FailureOccurrence

The following SysML Part, Reference, and Value properties are defined for this template:

References:
failureOnIndividual [1] (Template: SwedishDefence:ItemIndividual)
Relationship to an item of supply individual on which a failure occurrence is applied to.
failureOccurrenceStatus [0..1] (Template: OASIS:StateAssertion)
Relationship to state assertion that indicates the state of the failure.
termValue [0..*] (Template: SwedishDefence:TermValue)
Relationship to a term value of the monitoring term to compare if a failure occurrence happens during special follow-up
failureTriggerMeterReading [0..1] (Template: SwedishDefence:MeterReadingActivity)
Relationship to a meter reading activity to record a relationship between a failure occurrence and an operational property.
failureOnItem [0..1] (Template: SwedishDefence:ItemDefinition)
Relationship to an item definition to indicate which item of supply or part definition that a failure occurrence is applied to.
failureInSuperiorIndividual [1] (Template: SwedishDefence:ItemIndividual)
Relationship to a superior item of supply individual that the failure occurrence is applied to.
failureLocation [0..1] (Template: SwedishDefence:PhysicalElement)
Relationship to a physical element to indicate what location in the physical breakdown structure that a failure occurrence is applied to.
faultMode [0..1] (Template: SwedishDefence:FaultModeDefinition)
Identified fault.
Parts:
failureOccurrenceIdentifier [1] (Template: OASIS:Identification)
Identification of specific failure occurrence.
Values:
occurrenceDate [0..1] (Block: Ap239Ap233Psm:DateTimeString)
Occurrence date of the failure.

The following constraint, normally a uniqueness constraint, is applicable when instantiating the DateTimeString:

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: XSDDATETIME
Specification: (OCL2.0)
self.matches('[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z')

The following output ports are defined for this template:

PSMobservation (Block: Ap239Ap233Psm:Observation)
Enables the Block: Ap239Ap233Psm:Observation instantiated by this template to be referenced when the template is used.
OASISobservation (Template: OASIS:Observation)
Enables the Template: OASIS:Observation instantiated by this template to be referenced when the template is used.

There are no constraints defined for this template.

This section describes the template's Parametric Diagram. The diagram details the pattern of templates and PLCS PSMTemplate objects that are required to represent the template FailureOccurrence.

The public properties, i.e. those visible in the template's SysML block (See Figure 1) are shown on the left of a Parametric Diagram.

NOTE    Restrictions on the reference data to be set on the public properties is defined in the Template Properties section.

The output ports are shown on the right of a Parametric Diagram.

PLCS PSM objects are shaded khaki and Templates are shaded light green in a Parametric Diagram.

Figure 2 -  FailureOccurrence

The following blocks are instantiated by this template and bound to private parts of the template as shown in the Parametric Diagram section:

Private Part Property:failureObservation [1] (Template: OASIS:Observation)
Private Part Property:failureObservationAssignment [1] (Block: Ap239Ap233Psm:ObservationAssignment)
Private Part Property:failureOccurrenceStatusAsg [0..1] (Block: Ap239Ap233Psm:ObservationAssignment)
Private Part Property:failureSuperiorIndividualObservationAssignment [1] (Block: Ap239Ap233Psm:ObservationAssignment)
Private Part Property:failureLocationObservationAssignment [0..1] (Block: Ap239Ap233Psm:ObservationAssignment)
Private Part Property:partDefinitionOrItemOfSupply [1] ( Constraint Block: SwedishDefence:FailureOccurrence:PartDefinitionOrItemOfSupply)
Private Part Property:failureObsAsg [1] (Template: OASIS:Classifier)
Private Reference Property:classFailureObservationAssignment [1] (Block: Ap239Ap233Psm:ExternalOwlClass)

The following constraint, normally a uniqueness constraint, is applicable when instantiating the ExternalOwlClass:

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: ur1
Specification: (OCL2.0)
ExternalOwlClass::allInstances()->isUnique(class)
Private Part Property:failureOccStatusAsg [0..1] (Template: OASIS:Classifier)
Private Reference Property:classFailureOccurrenceStatusAssignment [0..1] (Block: Ap239Ap233Psm:ExternalOwlClass)

The following constraint, normally a uniqueness constraint, is applicable when instantiating the ExternalOwlClass:

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: ur1
Specification: (OCL2.0)
ExternalOwlClass::allInstances()->isUnique(class)
Private Reference Property:classFailureSuperiorIndividualObservationAssignment [1] (Block: Ap239Ap233Psm:ExternalOwlClass)

The following constraint, normally a uniqueness constraint, is applicable when instantiating the ExternalOwlClass:

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: ur1
Specification: (OCL2.0)
ExternalOwlClass::allInstances()->isUnique(class)
Private Part Property:failureSupIndObsAsg [1] (Template: OASIS:Classifier)
Private Part Property:failureLocObsAsg [0..1] (Template: OASIS:Classifier)
Private Reference Property:classFailureLocationObservationAssignment [0..1] (Block: Ap239Ap233Psm:ExternalOwlClass)

The following constraint, normally a uniqueness constraint, is applicable when instantiating the ExternalOwlClass:

rule.Ap239Ap233Psm.ExternalOwlClass.ur1
Constraint: ur1
Specification: (OCL2.0)
ExternalOwlClass::allInstances()->isUnique(class)
Private Part Property:failureFaultModeAssignment [0..1] (Block: Ap239Ap233Psm:ObservationAssignment)
Private Part Property:termValuePva [0..*] (Block: Ap239Ap233Psm:PropertyValueAssignment)

There are no instances that have been instantiated in this template.

Figure 3 shows the constraint blocks that have been created in the template.

Constraint Blocks are typically used to combine blocks into a collection that can then be bound to a property. For example, combining a set of identifications that can then be bound to property of type Identification.

Constraints diagram
Figure 3 -  Constraint block diagram for FailureOccurrence

The following constraint blocks have been created:

Constraint: PartDefinitionOrItemOfSupply
Specification: (OCL2.0)
assigned = if not partDefinition.oclIsUndefined() then partDefinition else itemOfSupply endif
Either or

No example data sets have been provided for this Template.

Issue reporting