Template:- OASIS:ActualActivity

The ActualActivity template describes how to represent a record of an activity that has at least started and may have finished - an actual activity.

It can be used to record any information about an actual activity, such as who has performed and/or reported the activity, what method (a specification of how to perform an activity) was followed, and when the activity was performed. It is mandatory to assign an identifier or name to the activity, and a start time, and to relate it to a method (activity method).

This template should not be used for recording activities that are performed by a product. e.g. a sortie flown by an aircraft, nor activities managed by a WorkOrder and DirectedActivity.

The ActualActivity is one of a set of templates used to represent work and activities. These are summarized in Figure 1 which shows that the model contains templates for:

The actual templates are:

The SysML Block Definition diagram in Figure 2 shows how a activity is represented in the PLCS PSM.

Template Properties

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

References:
activityInputs [0..*] (Block: Ap239Ap233Psm:ActivityAssignmentSelect)
the inputs to the activity
activityOutputs [0..*] (Block: Ap239Ap233Psm:ActivityAssignmentSelect)
the outputs or results from the activity.
plannedActivity [0..1] (Block: Ap239Ap233Psm:Activity)
the planned activity that resulted in this activity being undertaken.
methodUsed [0..1] (Block: Ap239Ap233Psm:ActivityMethod)
the method by which the activity was undertaken
performedBy [0..*] (Block: Ap239Ap233Psm:OrganizationOrPersonInOrganizationSelect)
the person or organization that performed the activity
resourcesUsed [0..*] (Block: Ap239Ap233Psm:ResourceAsRealized)
the resources that were used to perform the activity
location [0..*] (Block: Ap239Ap233Psm:Location)
The location where the activity was performed.
contract [0..*] (Template: OASIS:Contract)
The contract under which the activity was performed.
project [0..*] (Template: OASIS:Project)
The project under which the activity was performed.
Parts:
ids [1..*] (Template: OASIS:Identification)
The collection of identifiers of the activity.
The reference data used in Template: OASIS:Identification is restricted as follows:
RDL constraint 1:
The id must be classified as an Activity_identification_code or a subclass thereof.
The reference data for:
OASIS:Identification.role -> ExternalOwlClass.class
is restricted to the following class or a subclass:
classifications [0..*] (Template: OASIS:Classifier)
The classification of the activity.
The reference data used in Template: OASIS:Classifier is restricted as follows:
RDL constraint 1:
The reference data for:
OASIS:Classifier.class -> ExternalOwlClass.class
is restricted to the following class or a subclass:
descriptions [0..*] (Template: OASIS:Descriptor)
the descriptions of the activity
status [0..1] (Template: OASIS:StateAssertion)
the status of the activity
The reference data used in Template: OASIS:StateAssertion is restricted as follows:
RDL constraint 1:
The status is represented subclasses of State_of_activity.
The reference data for:
OASIS:StateAssertion.sameAs -> ExternalOwlObject.individual
is restricted to the following class or a subclass:
names [0..*] (Template: OASIS:Name)
The names of the activity
Values:
dateStarted [1] (Block: Ap239Ap233Psm:DateTimeString)
The date and time when the activity started.

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')
dateCompleted [0..1] (Block: Ap239Ap233Psm:DateTimeString)
The date and time when the activity ended.

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')