SAREF4ENER examples for a Power Profile
type: Dataset
conforms to: v2.1.1
abstract: This example file exemplifies how to model a Power Profile in the SAREF4ENER extension following the definition in the S2 standard.
description: This example file exemplifies how to model a Power profile in the SAREF4ENER extension.
imports: core
imports: saref4ener
license: etsi-software-license

Alternatives group 1
type: AlternativesGroup
comment: This Alternatives Group example follows the PowerProfileDefinition example from page 28 of the S2 documentation. The difference in modelling choice is that Saref4Energy does not contain an equivalent for the PowerSequenceContainers used in S2. Therefore, the PowerSequences in this example together form the cartesian product of the PowerSequenceContainers in
label: Power Sequence Container
consists of: Power sequence 1
consists of: Power sequence 2
consists of: Power sequence 3
consists of: Power sequence 4
consists of: Power sequence 5
consists of: Power sequence 6
has earliest start time: 2023-02-24T17:00:00Z
has latest end time: 2023-02-24T21:00:00Z

Washing Machine
type: Device
comment: An example washing machine that exhibits the example power profile of the S2 documentation.
has profile: Power profile 1

Energy 1
type: Energy

Measurement 1
type: Measurement
has value: 2000
is measured in: kilowattHour
relates to property: Energy 1

Measurement 2
type: Measurement
has value: 1500
is measured in: kilowattHour
relates to property: Power 1

Measurement 3
type: Measurement
has value: 100
is measured in: kilowattHour
relates to property: Energy 1
relates to property: Power 1

Power profile 1
type: PowerProfile
comment: The Power Profile was the only flexibility profile that was in the original saref4Ener. In this extension we added several other forms of energy flexibility drawn from the S2 standard. A major difference in modelling is that S2 divides a appliance task into various phases, where in each phases the Energy Management System can choose the appropriate profile. In EEBUS we (for now) only have the option of choosing the whole program before starting it. Therefore, we appended the various slots of the S2 example into six PowerSequence, each concatenating three consecutive S2 PowerSequences.
consists of: Alternatives group 1
is about: Energy 1
is about: Power 1
belongs to: Washing Machine
node remote controllable: true
supports reselection: true
supports single slot scheduling only: true
total sequences count max: 1

Power sequence 1
type: PowerSequence
abnormal condition only: false
has max pause duration: P0M
comment: This power sequence is the combination of the first PowerSequences of all three PowerSequenceContainers in the S2 PowerProfile example.
consists of: Slot 1
consists of: Slot 2
consists of: Slot 3
consists of: Slot 4
consists of: Slot 5 maximum activation delay
consists of: Slot 6
consists of: Slot 7
consists of: Slot 8
consists of: Slot 9
has end time: 2023-02-17T21:00:00Z
has start time: 2023-02-17T17:00:00Z
is pausable: false

Power sequence 2
type: PowerSequence

Power sequence 3
type: PowerSequence

Power sequence 4
type: PowerSequence

Power sequence 5
type: PowerSequence

Power sequence 6
type: PowerSequence

Power 1
type: Power

Slot 1
type: Slot
belongs to: Power sequence 1
has duration default: PT1H
has duration min: PT30M
has slot value: Measurement 3
slot number: 1

Slot 2
type: Slot
slot number: 2

Slot 3
type: Slot
slot number: 3

Slot 4
type: Slot
slot number: 4

Slot 5 maximum activation delay
type: Slot
comment: The PowerProfile example has a max pause before the first slot of the only power sequence of the second power sequence container. To properly model this we add a maximum activation delay to the fifth slot. Throughout this example we give several ways to model the duration or time, such that we can consider the pros and cons of the various options: include Time ontology or directly use the xsd:decimal datatype.
has activation delay max: PT10M
slot number: 5

Slot 6
type: Slot
slot number: 6

Slot 7
type: Slot
slot number: 7

Slot 8
type: Slot
has activation delay max: PT5M
slot number: 8

Slot 9
type: Slot
slot number: 9