Access sub-data of the argument.
Returns the event value, device id, device name, timestamp or forecast timestamp.
Remark: if there is no forecast timestamp, "0" is returned
Get the value of the event stored in the PowerConsumption Variable.
Returns the first or last element of the Vector as Scalar<any>
Get the first Event from the $PowerGeneration vector.
Returns the set of event values, device ids, device names, timestamps or forecast timestamps.
Remark: if there is no forecast timestamp, "0" is returned
Get the values of all events in the vector $PowerConsumption as new Vector<Number>
Returns the set of event values, device ids, device names, timestamps or forecast timestamps, grouped by device or time spans.
Get the values of all events in the group $PowerConsumption as new Vector<Number>
Returns the device id or name of the device which is part of the GroupedScalar key.
Get all device names from all the devices in the $PowerConsumption group.
Returns the value of the group as new Vector<any>.
Get all Values from the $PowerConsumption group.
Returns a GroupedScalar, which holds the first or last value of each group.
Get all Values from the $PowerConsumption group.
Returns the values, device ids, device names, timestamps or forecast timestamps of all events in the group and return as new GroupedVector<Number>.
Get the values of all events in the group $PowerConsumption as new Vector<Number>
Returns the device ids or device names of all devices which are the groups key, and return as new Vector<Text>.
Get all device names from all the devices in the $PowerConsumption group.
Selects the event related building, and returns the specified building data, such as the building id, the registration date when the building was registered, the activation date when the building was activated on MOOST side, or the types of all devices.
See
Get all device types from the event related device.
A special case is the Properties Accessor on the ScalayBuilding>. It allows to select the value that is defined in a customer property on a building and use it in the rule language.
Returns the value that is defined in the according properties entry on the building. When used in a rule condition the rule can only be trigger for buildings that have the according property set.
Use the value of the Property "energyThreshold" defined on the buildings to compare it against a dataset of type EnergyConsumption.
Scalar<Event>::Value : Scalar<Number>
Scalar<Event>::DeviceId : Scalar<Text>
Scalar<Event>::DeviceName : Scalar<Text>
Scalar<Event>::Timestamp : Scalar<Time>
Scalar<Event>::ForecastTimestamp : Scalar<Time>$PowerConsumption::Value
$PowerConsumption::TimestampVector<any>::First : Scalar<any>
Vector<any>::Last : Scalar<any>$PowerConsumption::FirstVector<Event>::Value : Vector<Number>
Vector<Event>::DeviceId : Vector<Text>
Vector<Event>::DeviceName : Vector<Text>
Vector<Event>::Timestamp : Vector<Time>
Vector<Event>::ForecastTimestamp : Vector<Time>$PowerConsumption::ValueGroupedScalar<any, Event>::Value : Vector<Number>
GroupedScalar<any, Event>::DeviceId : Vector<Text>
GroupedScalar<any, Event>::DeviceName : Vector<Text>
GroupedScalar<any, Event>::Timestamp : Vector<Time>
GroupedScalar<any, Event>::ForecastTimestamp : Vector<Time>GROUP_BY_DEVICE($PowerConsumption)::ValueGroupedScalar<Device, any>::GroupKeyDeviceId : Vector<Text>
GroupedScalar<Device, any>::GroupKeyDeviceName : Vector<Text>GROUP_BY_DEVICE($PowerConsumption)::GroupKeyDeviceNameGroupedScalar<any, any>::GroupKeyValue : Vector<any>GROUP_BY_DEVICE($PowerConsumption)::GroupValueGroupedVector<any, any>::First : GroupedScalar<any, any>
GroupedVector<any, any>::Last : GroupedScalar<any, any>GROUP_BY_DEVICE($PowerConsumption)::FirstGroupedVector<any, Event>::Value : GroupedVector<Number>
GroupedVector<any, Event>::DeviceId : GroupedVector<Text>
GroupedVector<any, Event>::DeviceName : GroupedVector<Text>
GroupedVector<any, Event>::Timestamp : GroupedVector<Time>
GroupedVector<any, Event>::ForecastTimestamp : GroupedVector<Time>GROUP_BY_DEVICE($PowerConsumption)::ValueGroupedVector<Device, any>::GroupKeyDeviceId : Vector<Text>
GroupedVector<Device, any>::GroupKeyDeviceName : Vector<Text>GROUP_BY_DEVICE($PowerConsumption)::GroupKeyDeviceNameBuilding::Id
Building::RegistrationTimestamp
Building::ActivationTimestamp
Building::DaysSinceActivation
Building::DeviceTypes
Building::EconomicalMotivationScore
Building::EcologicalMotivationScore
Building::SelfSufficiencyMotivationScore
Building::MultiPersonScore
Building::CommercialBuildingScore
Building::IsSelfSufficiencyMotivated
Building::IsEcologicalMotivated
Building::IsSelfSufficiencyMotivated
Building::IsMultiPerson
Building::IsSinglePerson
Building::IsResidential
Building::IsCommercial
Building::IsInSameCountry
Building::IsInSameConsumptionCategory
Building::AllBuilding::DeviceTypesBuilding::Properties[energyThreshold]$EnergyConsumption > Building::Properties[energyThreshold]