LogoLogo
  • Welcome to the MOOST platform user manual
  • Platform Manual
    • Login
      • Forgot Password
    • Notifications
    • Rules
      • Rule Configurator
        • Data graph
        • Datasets
        • Condition
        • Streak
        • Message
        • Settings
        • Rule Simulator
        • Early Adopter
        • Command
      • Rule Language
        • Syntax
        • Data Types
        • Data Structures
        • Functions
          • AVG
          • COUNT
          • DISTINCT
          • EVAL
          • FILTER
          • GROUP_BY_DEVICE
          • GROUP_BY_TIME
          • MAX
          • MIN
          • POSITION
          • REVERSE
          • SORT
          • SUBSET
          • SUM
        • Operations
          • Plus
          • Minus
          • Multiply
          • Divide
          • Negate
          • Less Than
          • Less or Equal
          • Equal
          • Not Equal
          • Greater or Equal
          • Greater
          • AND
          • OR
          • NOT
          • Format
          • Attribute Accessor
        • Examples
    • Events
    • Buildings
      • Household Profile
    • User Profile
    • Billing Portal
      • Payment Method
      • Update Payment Address
      • Invoices
      • Terminate Subscription
    • Context Services
      • Weather Forecast
      • Solar Production Forecast
      • Power Consumption Forecast
      • Power Generation Forecast
    • Support Center
  • Technical Integration
    • Cloud-to-Cloud Integration
      • Platform On-boarding
      • Configure Notification Settings
        • Receive Notifications
          • iOS Notification Handling
      • MOOST API Integration
        • Request Access Token
        • Synchronize Buildings and Devices
          • Device Types
        • Forward Events
          • Event Types
            • Device Status
            • Charging Modes
            • Switch State
        • Notifications and Interactions
          • Return Notification Interaction
  • Best Practices
    • FAQ
    • User Acceptance Testing
  • Policies
    • Security Policy
    • Privacy Policy
Powered by GitBook

© 2025 MOOST AG

On this page
  • Description
  • EVAL(Text, AttributeOperator)
Export as PDF
  1. Platform Manual
  2. Rules
  3. Rule Language
  4. Functions

EVAL

Description

Evaluates the buildingSelector for the given datasetName and returns a GroupedVector, where:

  • The key is the customerBuildingId.

  • The value is a Vector containing all event values from the dataset, grouped by customerBuildingId.

EVAL(Text, AttributeOperator)

POSITION(datasetName: Text, buildingSelector: AttributeOperator): GroupedVector<Text, Vector<Number>>

Parameters

Parameter
Description

datasetName

The datasetName for which we want to load all events for the buildings specified by the buildingSelector.

buildingSelector

The buildingSelector as AttributeOperator which specifies for which buildings we want to load the events specified by datasetName. Valid values are:

Building::IsSelfSufficiencyMotivated Building::IsEcologicalMotivated Building::IsSelfSufficiencyMotivated Building::IsMultiPerson Building::IsSinglePerson Building::IsResidential Building::IsCommercial Building::IsInSameCountry Building::IsInSameConsumptionCategory Building::All

Returns

Returns a GroupedVector where:

  • The key is the customerBuildingId.

  • The values are vectors containing event values, grouped by household as specified in datasetName.

PreviousDISTINCTNextFILTER

Last updated 2 months ago