PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX s4ener: <https://saref.etsi.org/saref4ener/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

s4ener:LoadControlEventState a rdfs:Class ;
  rdfs:label "Load control event state "@en ;
  rdfs:comment "In the load control, it expresses the possible states of an event used to send overload warning severity level and related load control commands to a device (e.g. a household appliance or a smart meter)."@en ;
  rdfs:subClassOf s4ener:State .

s4ener:PowerProfile a rdfs:Class ;
  rdfs:label "Power profile"@en ;
  rdfs:comment "A way to model curves of power and energy over time, which also provides definitions for the modelling of power scheduling including alternative plans. With a PowerProfile, a device (or power sequences server) exposes the power sequences that are potentially relevant for the CEM (or power sequences client). "@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Profile> .

<https://saref.etsi.org/core/consistsOf> a rdf:Property ;
  rdfs:range s4ener:AlternativesGroup , s4ener:Slot , s4ener:PowerSequence .

s4ener:nodeRemoteControllable a rdf:Property ;
  rdfs:label "node remote controllable"@en ;
  rdfs:comment "Indicates whether the power profile of a device is configured for remote control (e.g., by an energy management system).This refers to the selection chosen by the user on the remote control feature of the device. If nodeRemoteControllable is equal to FALSE, all the supported power sequences shall set the sequenceRemoteControllable property to FALSE. If nodeRemoteControllable is equal to TRUE, at least one power sequence shall be remotely controllable by setting the sequenceRemoteControllable property to TRUE."@en ;
  rdfs:range xsd:boolean .

s4ener:totalSequencesCountMax a rdf:Property ;
  rdfs:label "total sequences count max"@en ;
  rdfs:comment "Represents the total number of power sequences supported by the power profile of a device"@en ;
  rdfs:range xsd:unsignedInt .

s4ener:supportsSingleSlotSchedulingOnly a rdf:Property ;
  rdfs:label "supports single slot scheduling only"@en ;
  rdfs:comment "If set toTRUE, the power profile of a device does NOT permit the modification of more than one slot per configuration command."@en ;
  rdfs:range xsd:boolean .

s4ener:supportsReselection a rdf:Property ;
  rdfs:label "supports reselection"@en ;
  rdfs:comment "If set toTRUE, the power profile of a device does not restrict the number of power sequence re-selections by the CEM, i.e. within a given alternative the CEM may first choose one power sequence, alter the selection by configuring another sequence later on, then alter the selection again, etc. (provided the process rules and data still permit configuration). If supportsReselection is set to FALSE, the device permits the CEM to select a power sequence of an alternative only once."@en ;
  rdfs:range xsd:boolean .

s4ener:alternativesCount a rdf:Property ;
  rdfs:label "alternatives count"@en ;
  rdfs:comment "Indicates the number of alternatives groups provided by a power profile"@en ;
  rdfs:range xsd:integer .

s4ener:belongsTo a rdf:Property ;
  rdfs:label "belongs to"@en ;
  rdfs:comment "A relationship identifying the ownership of an entity. In particular, a slot belongs to a power sequence, a power sequence belongs to an alternative, an alternative  belongs to a power profile, a power profile belongs to a device.  "@en ;
  rdfs:range s4ener:Device , s4ener:AlternativesGroup , s4ener:PowerSequence , s4ener:PowerProfile .

<https://saref.etsi.org/core/Power> a rdfs:Class .

s4ener:ActiveDurationDescription a rdfs:Class ;
  rdfs:label "Active duration description"@en ;
  rdfs:comment "The duration description for the active duration (min and max, sum max and sum min) temporal entities"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#DurationDescription> .

s4ener:StartTime a rdfs:Class ;
  rdfs:label "Start time"@en ;
  rdfs:comment "The startTime of a power sequence or slot. SHALL be present"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:ElapsedSlotTime a rdfs:Class ;
  rdfs:label "Elapsed slot time"@en ;
  rdfs:comment "If state is set to 'running' or 'paused' AND the slot is determined, this element CAN contain the time the slot has already been in 'running' state (this also means the value remains constant during a 'paused' state). Otherwise it SHALL be omitted."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:PauseDurationDescription a rdfs:Class ;
  rdfs:label "Pause duration description"@en ;
  rdfs:comment "The duration description for the pause duration (max and min) temporal entities"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#DurationDescription> .

s4ener:Power a rdfs:Class ;
  rdfs:label "Power"@en ;
  rdfs:comment "Power type and value in a slot (i.e. power, powerMin, powerMax, powerExpectedValue, powerStandardDeviation, powerSkewness)"@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Power> .

s4ener:ActuatorLevel a rdfs:Class ;
  rdfs:label "Actuator level"@en ;
  rdfs:comment "Independent from the ActuatorSwitch class, the ActuatorLevel class enables a user or application to model LEVEL commands (start, up, percentageAbsolute, relative, etc.). This can be used to dim a light, set the speed of an electric motor, etc."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Actuator> .

s4ener:TimePeriodDurationDescription a rdfs:Class ;
  rdfs:label "Time period duration description"@en ;
  rdfs:comment "The duration description for the time period duration temporal entities"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#DurationDescription> .

s4ener:PauseDurationMin a rdfs:Class ;
  rdfs:label "Pause duration min"@en ;
  rdfs:comment "The minimum duration a power sequence can pause after the end of an activity."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:ActivationDelayDurationDescription a rdfs:Class ;
  rdfs:label "Activation delay duration description"@en ;
  rdfs:comment "The duration description for the activation delay duration temporal entity"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#DurationDescription> .

s4ener:TimePeriod a rdfs:Class ;
  rdfs:label "Time period"@en ;
  rdfs:comment "The time period associated with load control event data"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:EndTimeDurationDescription a rdfs:Class ;
  rdfs:label "End time duration Description"@en ;
  rdfs:comment "The duration description for the end time duration temporal entities"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#DurationDescription> .

<https://saref.etsi.org/core/Actuator> a rdfs:Class .

s4ener:LoadControlEventData a rdfs:Class ;
  rdfs:label "Load control event data"@en ;
  rdfs:comment "An event used to send overload warning severity level and related load control commands to a device (e.g. a household appliance or a smart meter)."@en .

s4ener:triggersEventActionProduce a rdf:Property ;
  rdfs:label "triggers event action produce"@en ;
  rdfs:comment "A relationship between a load control event and the produce action triggered by this event"@en ;
  rdfs:range s4ener:EventActionProduce .

s4ener:hasDevice a rdf:Property ;
  rdfs:label "has device"@en ;
  rdfs:comment "A relationship between a load control event (used to send overload warning severity level and related load control commands) and the device interested by this event."@en ;
  rdfs:range s4ener:Device .

s4ener:triggersEventActionConsume a rdf:Property ;
  rdfs:label "triggers event action consume"@en ;
  rdfs:comment "A relationship between a load control event and the consume action triggered by this event"@en ;
  rdfs:range s4ener:EventActionConsume .

<https://saref.etsi.org/core/hasTime> a rdf:Property ;
  rdfs:range s4ener:TimePeriod , <https://w3id.org/linkml/Any> , <https://saref.etsi.org/core/Time> .

s4ener:eventID a rdf:Property ;
  rdfs:label "event ID"@en ;
  rdfs:comment "Used in the Demand Response use case to identify an event"@en ;
  rdfs:range xsd:unsignedInt .

<https://saref.etsi.org/core/hasTimestamp> a rdf:Property ;
  rdfs:range xsd:dateTime .

s4ener:AnticipationDurationDescription a rdfs:Class ;
  rdfs:label "Anticipation duration description"@en ;
  rdfs:comment "The duration description for the anticipation duration temporal entities"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#DurationDescription> .

s4ener:MaxDuration a rdfs:Class ;
  rdfs:label "Max duration"@en ;
  rdfs:comment "If a slot has a configurable duration, it SHALL be present and denote the maximum supported configuration. Note: This element applies to the first repetition of the slot number only"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:EnergyExpected a rdfs:Class ;
  rdfs:label "Energy expected"@en ;
  rdfs:comment "A possible type of energy in a slot that represents the expected energy consumption and its value"@en ;
  rdfs:subClassOf s4ener:Energy .

s4ener:MaxActivationDelay a rdfs:Class ;
  rdfs:label "Max activation delay"@en ;
  rdfs:comment "Maximum delay time between the end of the previous slot and the beginning of the current slot."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:ResumeCostEstimated a rdfs:Class ;
  rdfs:label "Resume cost estimated"@en ;
  rdfs:comment "In a power sequence the additional costs for the resumption of a device to its normal operation (after a pause)."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Price> .

<https://saref.etsi.org/core/Energy> a rdfs:Class .

<https://saref.etsi.org/core/Device> a rdfs:Class .

s4ener:ActivationDelay a rdfs:Class ;
  rdfs:label "Activation delay"@en ;
  rdfs:comment "The scheduled activation delay for a slot."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:RemainingPauseTime a rdfs:Class ;
  rdfs:label "Remaining pause time"@en ;
  rdfs:comment "The duration that the current slot (s4ee:activeSlotNumber) permits being paused. This element SHALL ONLY be present if the power sequence is interruptible. Otherwise, it SHALL be omitted. In case the power sequence is interruptible the following rules apply: If the element is absent this means there is no explicit pause duration restriction for the current slot; a value of 0s denoted the slot does not permit being paused."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:EarliestStartTime a rdfs:Class ;
  rdfs:label "Earliest start time"@en ;
  rdfs:comment """The earliest possible start time for a power sequence or a slot. Only 'xs:duration' value types SHALL be used to denote a relative time which relates to 'now' as time 0.\r
Note: This element applies to the first repetition of the slot number only."""@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:Device a rdfs:Class ;
  rdfs:label "Device"@en ;
  rdfs:comment "A specialization of a saref:Device that exposes a power profile with power sequences to the CEM (note that a s4ee:Device can also be called 'power sequence server'). Most of the existing devices can expose at most 1 power profile, but there are special cases in which more than one power profiles can be exposed by the same device. For example, consider the case of a combined fridge-freezer in which there are 2 logical devices (fridge and freezer) combined in 1 physical device. This combined device can expose 2 power profiles, one for the fridge and one for the freezer. A s4ee:Device (e.g. a household appliance or a smart meter) can also receive events about overload warning severity level and related load control commands (LoadControlEventData)"@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Device> .

s4ener:deviceName a rdf:Property ;
  rdfs:label "device name"@en ;
  rdfs:comment "Provides the name of the device as defined by the manufacturer."@en ;
  rdfs:range xsd:string .

s4ener:hardwareRevision a rdf:Property ;
  rdfs:label "hardware revision "@en ;
  rdfs:comment "Indicates the hardware revision of the device as defined by the manufacturer."@en ;
  rdfs:range xsd:string .

s4ener:powerSource a rdf:Property ;
  rdfs:label "power source"@en ;
  rdfs:comment "Indicates the power source of a device. Possible values are e.g. mainsSinglePhase or battery "@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4ener:manufacturerNodeIdentification a rdf:Property ;
  rdfs:label "manufacturer node identification"@en ;
  rdfs:comment "Indicates a node identification for the device as defined by the manufacturer. This could be used for the identification of a device, even if it was removed from the network and rejoined later with changed node address."@en ;
  rdfs:range xsd:string .

s4ener:receives a rdf:Property ;
  rdfs:label "receives"@en ;
  rdfs:comment "A relationship between a device (e.g., an appliance or a smart meter) and a load control event"@en ;
  rdfs:range s4ener:LoadControlEventData .

s4ener:brandName a rdf:Property ;
  rdfs:label "brand name"@en ;
  rdfs:comment "Provides the name of the brand of a device. Useful where the name of the brand and the vendor differs."@en ;
  rdfs:range xsd:string .

s4ener:manufacturerLabel a rdf:Property ;
  rdfs:label "manufacturer label"@en ;
  rdfs:comment "A short label of the device as defined by the manufacturer. "@en ;
  rdfs:range xsd:string .

s4ener:exposes a rdf:Property ;
  rdfs:label "exposes"@en ;
  rdfs:comment "A relationship between a device and its power profile"@en ;
  rdfs:range s4ener:PowerProfile .

s4ener:deviceCode a rdf:Property ;
  rdfs:label "device code"@en ;
  rdfs:comment "Provides a device code for the device as defined by the manufacturer."@en ;
  rdfs:range xsd:string .

s4ener:vendorName a rdf:Property ;
  rdfs:label "vendor name"@en ;
  rdfs:comment "Provides the name of the vendor of the device as defined by the manufacturer."@en ;
  rdfs:range xsd:string .

s4ener:vendorCode a rdf:Property ;
  rdfs:label "vendor code"@en ;
  rdfs:comment "Provides a code for the vendor of the device as defined by the manufacturer."@en ;
  rdfs:range xsd:string .

s4ener:softwareRevision a rdf:Property ;
  rdfs:label "software revision"@en ;
  rdfs:comment "Indicates the software revision of a device as defined by the manufacturer."@en ;
  rdfs:range xsd:string .

s4ener:serialNumber a rdf:Property ;
  rdfs:label "serial number"@en ;
  rdfs:comment "Indicates the serial number of a device as defined by the manufacturer. Usually the same as printed on the case."@en ;
  rdfs:range xsd:string .

s4ener:manufacturerDescription a rdf:Property ;
  rdfs:label "manufacturer description"@en ;
  rdfs:comment "A description for the device as defined by the manufacturer."@en ;
  rdfs:range xsd:string .

s4ener:PowerMax a rdfs:Class ;
  rdfs:label "Power max"@en ;
  rdfs:comment "A possible type of power in a slot that represents the maximum power consumption and its value"@en ;
  rdfs:subClassOf s4ener:Power .

s4ener:EnergyMin a rdfs:Class ;
  rdfs:label "Energy min"@en ;
  rdfs:comment "A possible type of energy in a slot that represents the minimum energy consumption and its value"@en ;
  rdfs:subClassOf s4ener:Energy .

s4ener:LoadControlEventAction a rdfs:Class ;
  rdfs:label "Load Control event action"@en ;
  rdfs:comment "An action type used to express the action to be performed as a consequence of an event used to send overload warning severity level and related load control commands to a device (e.g. a household appliance or a smart meter)."@en .

s4ener:PowerStandardDeviation a rdfs:Class ;
  rdfs:label "Power standard deviation"@en ;
  rdfs:comment "A possible type of power in a slot that represents the power standard deviation and its value"@en ;
  rdfs:subClassOf s4ener:Power .

s4ener:DefaultDuration a rdfs:Class ;
  rdfs:label "Default duration"@en ;
  rdfs:comment "The duration of a slot (SHALL be present in case of 'determined slot'). If a slot has a configurable lenght, this element SHALL reflect the currently configured lenght"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:ResumeEnergyEstimated a rdfs:Class ;
  rdfs:label "Resume energy estimated"@en ;
  rdfs:comment "In a power sequence, the additional energy the device will consume before resuming its normal operation (after a pause). This is only an estimated value which will not be added to the value stated in any slot value information."@en ;
  rdfs:subClassOf s4ener:Energy .

s4ener:PauseDurationMax a rdfs:Class ;
  rdfs:label "Pause duration max"@en ;
  rdfs:comment "The maximum duration a power sequence can pause after the end of an activity."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:LatestEndTime a rdfs:Class ;
  rdfs:label "Latest end time"@en ;
  rdfs:comment """The latest possible end time for a power sequence or a slot. Only 'xs:duration' value types SHALL be used to denote a relative time which relates to 'now' as time 0.\r
Note: This element applies to the first repetition of the slot number only."""@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

<https://saref.etsi.org/core/Price> a rdfs:Class .

s4ener:EnergyMax a rdfs:Class ;
  rdfs:label "Energy max"@en ;
  rdfs:comment "A possible type of energy in a slot that represents the maximum energy consumption and its value"@en ;
  rdfs:subClassOf s4ener:Energy .

s4ener:Energy a rdfs:Class ;
  rdfs:label "Energy"@en ;
  rdfs:comment "Energy type and value in a slot (i.e., Energy, EnergyMin, EnergyMax, EnergyExpected, EnergyStandardDeviation, EnergySkewness); or the ResumeEnergyEstimated in a power sequence, i.e., the additional energy the device will consume before resuming its normal operation (after a pause)"@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Energy> .

s4ener:DefaultDurationDescription a rdfs:Class ;
  rdfs:label "Default duration description"@en ;
  rdfs:comment "The duration description for the default duration temporal entity"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#DurationDescription> .

s4ener:PowerSequence a rdfs:Class ;
  rdfs:label "Power sequence"@en ;
  rdfs:comment "The specification of a task, such as wash or tumble dry, according to user preferences and/or manufacturer's settings for a certain device.  It is the most 'coarse' view, a power sequence can represent all single steps of a whole task,where the single steps are represented by slots. If the power sequence is pausable by the bound power sequences client, the property 'saref:isInterruptionPossible' SHALL be present and set to true. Otherwise it SHALL be omitted. If the power sequence is stoppable by the bound power sequences client, the property 'saref:isFlexible' SHALL be present and set to true. Otherwise it SHALL be omitted."@en .

s4ener:sequenceID a rdf:Property ;
  rdfs:label "sequence ID"@en ;
  rdfs:comment "Provides a unique power sequence identifier for a certain device"@en ;
  rdfs:range xsd:unsignedInt .

s4ener:activeRepetitionNumber a rdf:Property ;
  rdfs:label "active repetition number"@en ;
  rdfs:comment "Indicates the current repetition of the sequence of slots. SHALL be present if a power sequence can repeat its sequence of slots (i.e., if s4ee:repetitionTotal is present and has a value > 1). Otherwise, it SHALL be absent. "@en ;
  rdfs:range xsd:unsignedInt .

<https://saref.etsi.org/core/hasDescription> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://saref.etsi.org/core/hasPrice> a rdf:Property ;
  rdfs:range s4ener:ResumeCostEstimated .

s4ener:activeSlotNumber a rdf:Property ;
  rdfs:label "active slot number"@en ;
  rdfs:comment "Indicates the currently active slot number, if the power sequence state is set to 'running' or 'paused'. Otherwise it SHALL be omitted."@en ;
  rdfs:range xsd:unsignedInt .

s4ener:maxCyclesPerDay a rdf:Property ;
  rdfs:label "max cycles per day"@en ;
  rdfs:comment "States the maximum amount of starts a power sequence (of a device) allows per day."@en ;
  rdfs:range xsd:unsignedInt .

s4ener:isStoppable a rdf:Property ;
  rdfs:label "is stoppable"@en ;
  rdfs:comment "Specifies if the power sequence is stoppable."@en ;
  rdfs:range xsd:boolean .

s4ener:isPausable a rdf:Property ;
  rdfs:label "is pausable"@en ;
  rdfs:comment "Specifies if the power sequence is pausable."@en ;
  rdfs:range xsd:boolean .

s4ener:taskIdentifier a rdf:Property ;
  rdfs:label "task identifier"@en ;
  rdfs:comment "Represents the task identifier of the power sequence."@en ;
  rdfs:range xsd:unsignedInt .

s4ener:cheapest a rdf:Property ;
  rdfs:label "cheapest"@en ;
  rdfs:comment "Indicates whether a power sequence applies a configuration that minimises the user’s energy bill (if set to TRUE). MAY be present. Absence of this element is equal to the presence with value FALSE. "@en ;
  rdfs:range xsd:boolean .

s4ener:valueSource a rdf:Property ;
  rdfs:label "value source"@en ;
  rdfs:comment "Indicates the source (origin/foundation) of the measurement forecasted values for a power sequence. If absent, the source is undefined. Remark: This element shall express the reliability of the forecast."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://saref.etsi.org/core/hasState> a rdf:Property ;
  rdfs:range s4ener:PowerSequenceState .

s4ener:sequenceRemoteControllable a rdf:Property ;
  rdfs:label "sequence remote controllable"@en ;
  rdfs:comment "Denotes whether a power sequence is modifiable (if value is TRUE) or not (if value is FALSE). Modifiability is required to configure power sequences and slots. It is also required to change a power sequence state."@en ;
  rdfs:range xsd:boolean .

s4ener:greenest a rdf:Property ;
  rdfs:label "greenest"@en ;
  rdfs:comment "Indicates whether a power sequence optimises the configuration towards the maximum availability of renewable energy (if set to TRUE). MAY be present. Absence of this element is equal to the presence with value FALSE. "@en ;
  rdfs:range xsd:boolean .

s4ener:hasEnergy a rdf:Property ;
  rdfs:label "has energy"@en ;
  rdfs:comment "A relationship between a power sequence and its energy (in terms of value and unit of measure)"@en ;
  rdfs:range s4ener:ResumeEnergyEstimated .

s4ener:repetitionsTotal a rdf:Property ;
  rdfs:label "repetition total"@en ;
  rdfs:comment "Contains the total number of repetitions, if a power sequence repeats its sequence of slots. Absence of the element is equal to a presence with a value of 0 (zero). SHALL be absent if the value is 1. "@en ;
  rdfs:range xsd:unsignedInt .

<https://saref.etsi.org/core/State> a rdfs:Class .

s4ener:ActiveDurationMin a rdfs:Class ;
  rdfs:label "Active duration min"@en ;
  rdfs:comment "The active mininum duration a power sequence can run without interruption."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:EndTime a rdfs:Class ;
  rdfs:label "End time"@en ;
  rdfs:comment """The endTime of a power sequence. If the value is available, it SHALL be denoted here. Otherwise the element SHALL be omitted.\r
The end time of a slot MAY be stated in this element. The following equation SHALL apply: endTime - startTime = defaultDuration."""@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:RemainingSlotTime a rdfs:Class ;
  rdfs:label "Remaining slot time"@en ;
  rdfs:comment "If state is set to 'running' or 'paused' AND the slot is determined, this element SHALL contain the time the slot still needs to be in 'running' state (this also means the value remains constant during a 'paused' state). Otherwise it SHALL be omitted."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

<https://saref.etsi.org/core/Profile> a rdfs:Class .

s4ener:ActuatorSwitch a rdfs:Class ;
  rdfs:label "Actuator switch"@en ;
  rdfs:comment "Basic on/off operations on a simple actuator can be modelled with the ActuatorSwitch class. Whether the function turns a device itself ON or OFF, or whether it switches a specific feature, depends on the implementation. For example, one could model the super freeze program of a freezer using ActuatorSwitch class. An ON command would then activate the super freeze program and an OFF command would deactivate it. This example shall just give an idea how ActuatorSwitch can be used for more purposes than only turning devices on and off."@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/Actuator> .

s4ener:PauseTime a rdfs:Class ;
  rdfs:label "Pause time"@en ;
  rdfs:comment "The pause time of a power sequence or a slot"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:LoadControlStateData a rdfs:Class ;
  rdfs:label "Load control state data"@en ;
  rdfs:comment "The representation of the state of an event used to send overload warning severity level and related load control commands to a device (e.g. a household appliance or a smart meter)."@en .

s4ener:hasAppliedEventActionProduce a rdf:Property ;
  rdfs:label "has applied event action produce"@en ;
  rdfs:comment "A relationship between the state of a load control event produce and the action to be performed as a consequence of this event."@en ;
  rdfs:range s4ener:EventActionProduce .

s4ener:hasEventStateProduce a rdf:Property ;
  rdfs:label "has event state produce"@en ;
  rdfs:comment "A relationship between the specification of the state of a load control event produce and the value that this state can assume."@en ;
  rdfs:range s4ener:EventStateProduce ;
  rdfs:subPropertyOf <https://saref.etsi.org/core/hasState> .

s4ener:hasEventStateConsume a rdf:Property ;
  rdfs:label "has event state consume"@en ;
  rdfs:comment "A relationship between the specification of the state of a load control event consume and the value that this state can assume."@en ;
  rdfs:range s4ener:EventStateConsume ;
  rdfs:subPropertyOf <https://saref.etsi.org/core/hasState> .

s4ener:hasAppliedEventActionConsume a rdf:Property ;
  rdfs:label "has applied event action consume"@en ;
  rdfs:comment "A relationship between the state of a load control event consume and the action to be performed as a consequence of this event."@en ;
  rdfs:range s4ener:EventActionConsume .

s4ener:ActiveDurationMax a rdfs:Class ;
  rdfs:label "Active duration max"@en ;
  rdfs:comment "The active maximum duration a power sequence can run without interruption."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

<http://www.w3.org/2006/time#DurationDescription> a rdfs:Class .

s4ener:DurationUncertaintyDescription a rdfs:Class ;
  rdfs:label "Duration uncertainty description"@en ;
  rdfs:comment "The duration description for the duration uncertainty temporal entity"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#DurationDescription> .

s4ener:PowerSkewness a rdfs:Class ;
  rdfs:label "Power skewness"@en ;
  rdfs:comment "A possible type of power in a slot that represents the power skewness and its value"@en ;
  rdfs:subClassOf s4ener:Power .

s4ener:ActiveDurationSumMax a rdfs:Class ;
  rdfs:label "Active duration sum max"@en ;
  rdfs:comment "The active maximum duration a power sequence can run in total (summation of all active times)."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:MaxAnticipation a rdfs:Class ;
  rdfs:label "Max anticipation"@en ;
  rdfs:comment "This field allows the anticipation of the phase if (and only if) the previous phase has the energy set to 0 Wh, each unit is a minute."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:PowerExpected a rdfs:Class ;
  rdfs:label "Power expected "@en ;
  rdfs:comment "A possible type of power in a slot that represents the expected power consumption and its value"@en ;
  rdfs:subClassOf s4ener:Power .

s4ener:SlotTimeDurationDescription a rdfs:Class ;
  rdfs:label "Slot time duration description"@en ;
  rdfs:comment "The duration description for the slot time duration temporal entities"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#DurationDescription> .

<http://www.w3.org/2006/time#TemporalEntity> a rdfs:Class .

s4ener:ActiveDurationSumMin a rdfs:Class ;
  rdfs:label "Active duration sum min"@en ;
  rdfs:comment "The active minimum duration a power sequence must run in total (summation of all active times)."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:PowerMin a rdfs:Class ;
  rdfs:label "Power min"@en ;
  rdfs:comment "A possible type of power in a slot that represents the minimum power consumption and its value"@en ;
  rdfs:subClassOf s4ener:Power .

s4ener:Slot a rdfs:Class ;
  rdfs:label "Slot"@en ;
  rdfs:comment "The single steps of a power sequence are represented by slots. A slot is associated with a slot number (while a power sequence is associated with a power sequence identifier). The slot numbers of two power sequences should be considered independent from each other, i.e., slot number 7 of sequence 1 describes a different slot than slot number 7 of sequence 2. Therefore a slot is only uniquely identified in combination with a sequence ID. "@en .

s4ener:hasPowerValueType a rdf:Property ;
  rdfs:label "has power value type"@en ;
  rdfs:comment "A relationship representing a power value type"@en ;
  rdfs:range s4ener:Power ;
  rdfs:subPropertyOf s4ener:hasValueType .

s4ener:slotActivated a rdf:Property ;
  rdfs:label "slot activated"@en ;
  rdfs:comment "If a slot is optional, represents the current status of the slot (true = the slot will be executed, false = the slot will not be executed). If the slot is not optional, this element SHALL be absent."@en ;
  rdfs:range xsd:boolean .

s4ener:optionalSlot a rdf:Property ;
  rdfs:label "optional slot"@en ;
  rdfs:comment "Indicates whether a slot is optional (if set to TRUE). Otherwise, if a slot is mandatory, SHALL be omitted or set to FALSE. Note: This element applies to every repetition of the slot number."@en ;
  rdfs:range xsd:boolean .

s4ener:hasEnergyValueType a rdf:Property ;
  rdfs:label "has energy value type"@en ;
  rdfs:comment "A relationship representing an energy value type"@en ;
  rdfs:range s4ener:Energy ;
  rdfs:subPropertyOf s4ener:hasValueType .

s4ener:slotNumber a rdf:Property ;
  rdfs:label "slot number"@en ;
  rdfs:comment "Provides a unique slot identifier for a certain power sequence"@en ;
  rdfs:range xsd:unsignedInt .

s4ener:DurationUncertainty a rdfs:Class ;
  rdfs:label "Duration uncertainty"@en ;
  rdfs:comment "The uncertainty of the duration "@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

s4ener:EnergyStandardDeviation a rdfs:Class ;
  rdfs:label "Energy Standard Deviation"@en ;
  rdfs:comment "A possible type of energy in a slot  that represents the energy standard deviation and its value"@en ;
  rdfs:subClassOf s4ener:Energy .

s4ener:MinDuration a rdfs:Class ;
  rdfs:label "Min duration"@en ;
  rdfs:comment "If a slot has a configurable duration, it SHALL be present and denote the minimum supported configuration. Note: This element applies to the first repetition of the slot number only."@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#TemporalEntity> .

<https://saref.etsi.org/core/Time> a rdfs:Class .

s4ener:State a rdfs:Class ;
  rdfs:label "State"@en ;
  rdfs:comment "An entity that represents the possible states in SAREF4EE"@en ;
  rdfs:subClassOf <https://saref.etsi.org/core/State> .

<https://w3id.org/linkml/Any> a rdfs:Class ;
  rdfs:comment "An unconstrained type or object"@en .

s4ener:StartTimeDurationDescription a rdfs:Class ;
  rdfs:label "Start time duration description"@en ;
  rdfs:comment "The duration description for the start time duration temporal entities"@en ;
  rdfs:subClassOf <http://www.w3.org/2006/time#DurationDescription> .

s4ener:EnergySkewness a rdfs:Class ;
  rdfs:label "Energy skewness"@en ;
  rdfs:comment "A possible type of energy in a slot that represents the energy skewness and its value"@en ;
  rdfs:subClassOf s4ener:Energy .

s4ener:AlternativesGroup a rdfs:Class ;
  rdfs:label "Alternatives group"@en ;
  rdfs:comment "A collection of power sequences for a certain profile"@en .

s4ener:activateSlot a rdf:Property ;
  rdfs:label "activate slot"@en ;
  rdfs:comment "Indicates whether a slot is used (activateSlot = true) or not (activateSlot = false). SHALL be present if a slot is optional (i.e., the property s4ee:optionalSlot is TRUE), otherwise SHALL be absent (i.e. in case the slot is mandatory)."@en ;
  rdfs:range xsd:boolean .

s4ener:alternativesGroupID a rdf:Property ;
  rdfs:label "alternatives group ID"@en ;
  rdfs:comment "The endpoint-wide unique identifier for the alternatives group instances provided by a power profile"@en ;
  rdfs:range xsd:integer .

s4ener:hasConnection a rdf:Property ;
  rdfs:label "has connection"@en ;
  rdfs:comment "In the Remote Network Management (RemoteNWM) use case, a relationship between a node in a network (i.e., a s4ee:Device) and its connections (i.e., a s4ee:DeviceConnections). The same s4ee:Device (or node) can have multiple device connections as it can be connected to several networks at the same time."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4ener:hasExpression a rdf:Property ;
  rdfs:label "has expression"@en ;
  rdfs:comment "A relationship between an appliance parameter compatibility action and the associated expressions"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4ener:hasFunction a rdf:Property ;
  rdfs:label "has function"@en ;
  rdfs:comment "A relationship identifying the functions performed by an actuator level and an actuator switch"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4ener:hasValueType a rdf:Property ;
  rdfs:label "has value type"@en ;
  rdfs:comment "A relation representing the value type of an entity"@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4ener:measurementID a rdf:Property ;
  rdfs:label "measurement id"@en ;
  rdfs:comment "Enables the identification of different sensors on one EEBus address."@en ;
  rdfs:range xsd:unsignedInt .

s4ener:messagingNumber a rdf:Property ;
  rdfs:label "messaging number"@en ;
  rdfs:comment "An identifier for one specific message. If a message is marked as obsolete, this number can be used to identify the original message."@en ;
  rdfs:range xsd:unsignedInt .

s4ener:messagingType a rdf:Property ;
  rdfs:label "messaging type"@en ;
  rdfs:comment """Indicates the type of the message. Possible values are:\r
-\tlogging (used for messages, that shall be stored in a log file)\r
-\tinformation (messages, that shall be presented to the customer on a display; lower priority)\r
-\twarning (messages, that shall be presented to the customer on a display; medium priority)\r
-\talarm (messages, that shall be presented to the customer on a display; high priority; if there is an alarm device in the household, it shall generate an alarm)\r
-\temergency (messages, that shall be presented to the customer on a display; very high priority; if there is an alarm device in the household, it shall generate an alarm; additionally, if possible and configured, an emergency call shall be done)\r
-\tobsolete (previously sent messages, that shall be marked as obsolete)"""@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4ener:valueTendency a rdf:Property ;
  rdfs:label "value tendency"@en ;
  rdfs:comment "Indicates whether the tendency of a measurement is rising, stable or falling."@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4ener:xsdDuration a rdf:Property ;
  rdfs:label "duration in xsd "@en ;
  rdfs:comment """This property is added to the  time:DurationDescription class to allow to express time duration also as xsd:duration. This is necessary because in the EEBus/E@h model time is always expressed as xsd:duration. We use this property to express the following time information in the EEBus/E@h model:\r
\r
- the startTime of the power sequence (in the PowerSequence class). SHALL be present\r
- the endTime of the power sequence (in the PowerSequence class). If the value is available, it SHALL be denoted here. Otherwise the element SHALL be omitted.\r
- the startTime of measurement as absolute or relative value (in the Measurement class).\r
- the endTime of measurement as absolute or relative value (in the Measurement class).\r
\r
The duration is expected to be described as in xsd:duration"""@en ;
  rdfs:range <https://w3id.org/linkml/Any> .

s4ener:EventActionConsume a rdfs:Class ;
  rdfs:label "Event action consume"@en ;
  rdfs:comment "An action type used to express a consume action to be performed as a consequence of an event used to send overload warning severity level and related load control commands to a device (e.g. a household appliance or a smart meter)."@en ;
  rdfs:subClassOf s4ener:LoadControlEventAction .

s4ener:Pause a s4ener:EventActionConsume , s4ener:EventActionProduce ;
  rdfs:label "Pause"@en ;
  rdfs:comment "Load control event action with value 'pause'"@en .

s4ener:Resume a s4ener:EventActionConsume , s4ener:EventActionProduce ;
  rdfs:label "Resume"@en ;
  rdfs:comment "Load control event action with value 'resume'"@en .

s4ener:Reduce a s4ener:EventActionConsume , s4ener:EventActionProduce ;
  rdfs:label "Reduce"@en ;
  rdfs:comment "Load control event action with value 'reduce'"@en .

s4ener:Increase a s4ener:EventActionConsume , s4ener:EventActionProduce ;
  rdfs:label "Increase"@en ;
  rdfs:comment "Load control event action with value 'increase'"@en .

s4ener:Emergency a s4ener:EventActionConsume , s4ener:EventActionProduce ;
  rdfs:label "Emergency"@en ;
  rdfs:comment "Load control event action with value 'emergency'"@en .

s4ener:Normal a s4ener:EventActionConsume , s4ener:EventActionProduce ;
  rdfs:label "Normal"@en ;
  rdfs:comment "The value NORMAL used to instantiate the Load Control Event Action class and MeasurandState class"@en .

s4ener:EventStateProduce a rdfs:Class ;
  rdfs:label "Event state produce"@en ;
  rdfs:comment "In the load control, it expresses a produce state of an event an event used to send overload warning severity level and related load control commands to a device (e.g. a household appliance or a smart meter)."@en ;
  rdfs:subClassOf s4ener:LoadControlEventState .

s4ener:EventAccepted a s4ener:EventStateProduce , s4ener:EventStateConsume ;
  rdfs:label "Event accepted"@en ;
  rdfs:comment "Load control state with value 'event accepted'"@en .

s4ener:EventStarted a s4ener:EventStateProduce , s4ener:EventStateConsume ;
  rdfs:label "Event started"@en ;
  rdfs:comment "Load control state with value 'event started'"@en .

s4ener:EventStopped a s4ener:EventStateProduce , s4ener:EventStateConsume ;
  rdfs:label "Event stopped"@en ;
  rdfs:comment "Load control state with value 'event stopped'"@en .

s4ener:EventRejected a s4ener:EventStateProduce , s4ener:EventStateConsume ;
  rdfs:label "Event rejected"@en ;
  rdfs:comment "Load control state with value 'event rejected'"@en .

s4ener:EventCancelled a s4ener:EventStateProduce , s4ener:EventStateConsume ;
  rdfs:label "Event cancelled"@en ;
  rdfs:comment "Load control state with value 'event cancelled'"@en .

s4ener:EventError a s4ener:EventStateProduce , s4ener:EventStateConsume ;
  rdfs:label "Event error"@en ;
  rdfs:comment "Load control state with value 'event error'"@en .

s4ener:EventStateConsume a rdfs:Class ;
  rdfs:label "Event state consume"@en ;
  rdfs:comment "In the load control, it expresses a consume state of an event used to send overload warning severity level and related load control commands to a device (e.g. a household appliance or a smart meter)."@en ;
  rdfs:subClassOf s4ener:LoadControlEventState .

s4ener:EventActionProduce a rdfs:Class ;
  rdfs:label "Event action produce"@en ;
  rdfs:comment "An action type used to express a produce action to be performed as a consequence of an event used to send overload warning severity level and related load control commands to a device (e.g. a household appliance or a smart meter)."@en ;
  rdfs:subClassOf s4ener:LoadControlEventAction .

s4ener:PowerSequenceState a rdfs:Class ;
  rdfs:label "Power sequence state"@en ;
  rdfs:comment "The current state of the power sequence. It can assume one of the values 'running', 'paused', 'scheduled', 'scheduled paused', 'pending', 'inactive', 'completed',  or 'invalid'."@en ;
  rdfs:subClassOf s4ener:State .

s4ener:Running a s4ener:PowerSequenceState ;
  rdfs:label "Running"@en ;
  rdfs:comment "Power sequence state with value 'running'"@en .

s4ener:Paused a s4ener:PowerSequenceState ;
  rdfs:label "Paused"@en ;
  rdfs:comment "Power sequence state or sensor state with value 'paused'"@en .

s4ener:Scheduled a s4ener:PowerSequenceState ;
  rdfs:label "Scheduled"@en ;
  rdfs:comment "Power sequence state with value 'scheduled'"@en .

s4ener:ScheduledPaused a s4ener:PowerSequenceState ;
  rdfs:label "Scheduled paused"@en ;
  rdfs:comment "Power sequence state with value 'scheduled paused'"@en .

s4ener:Pending a s4ener:PowerSequenceState ;
  rdfs:label "Pending"@en ;
  rdfs:comment "Power sequence state with value 'pending'"@en .

s4ener:Inactive a s4ener:PowerSequenceState ;
  rdfs:label "Inactive"@en ;
  rdfs:comment "Power sequence state with value 'inactive'"@en .

s4ener:Completed a s4ener:PowerSequenceState ;
  rdfs:label "Completed"@en ;
  rdfs:comment "Power sequence state with value 'completed'"@en .

s4ener:Invalid a s4ener:PowerSequenceState ;
  rdfs:label "Invalid"@en ;
  rdfs:comment "Power sequence state with value 'invalid'"@en .
