BLOG > AREE

AREE Expressions and Functions: Create Custom Trends, Counters and Alarms

23-03-26 | ENERGETIC EFFICIENCY

Custom points trends and counters with AREE expressions and functions

🔍 Custom points, trends and counters with AREE expressions and functions

When raw data is no longer enough, create your own trends.
Advanced calculations? AREE handles them with expressions and functions.
For every need, an expression. For every expression, an answer.

🎯 Why use expressions in AREE?

AREE goes far beyond simple data collection.
Expressions, operators, and logical, mathematical or statistical functions — everything you need to build calculated trends, virtual points, smart counters and alarms truly aligned with your constraints.

This flexibility enables precise analysis: threshold exceedances, moving averages, complex conditions, time-based filtering, cumulative durations… and much more.

🧩 Use case: time above 22°C

One expression… and everything becomes clear.

A client wants to trigger an alarm if the temperature exceeds 22°C for more than 40 hours over a year.

The challenge: a standard delay doesn’t work, since the duration resets every time the temperature drops below the threshold.

The solution relies on a calculated trend using the Duration function — often overlooked, yet extremely powerful.

Expression used:

Duration([Trends/Temperature], “Year”, 1, ” “, ” “, “[@] > 22”, “h”)

Result:
➡️ AREE automatically calculates, day after day, the cumulative time spent above 22°C.
➡️ The latest value always reflects the current state of the year.
➡️ This data can be used directly in a dashboard or an alarm.

In other words:
Exceeded 40 hours? AREE tells you.

💡 Another application: cleanrooms

By combining expressions with schedules and calendars, it becomes possible to calculate, for example, the percentage of time each month where temperature and humidity remain within defined ranges — only during specific time slots and excluding maintenance days.

🔧 A quick technical look

AREE includes a wide range of operators and functions:

Logical: IF, AND, OR, NOT…
Mathematical: ABS, LOG, SQRT, ROUND…
Statistical: COUNT, AVERAGE, MAX…
Text: LEFT, MID, TEXT…
Trend-specific functions: AveragePeriod, InstantPeriod, Duration

With these building blocks, you can model your business rules, create smart trends, and build indicators perfectly tailored to your needs.

🚀 In summary

Creating an alarm, an indicator, or a calculated trend is no longer limited by your tools.
With AREE expressions, you define your own rules, your own analyses, and your own answers.

Related Articles

MeteoSwiss Integration in AREE for Better Energy Management

BLOG > AREEMeteoSwiss joins AREE’s weather data providers! AREE is expanding its connectivity options with the addition of a new connector to MeteoSwiss. This new integration enables users in Switzerland to access relevant local weather data directly within their...

Heatwaves: Control Building Energy Consumption with AREE

BLOG > AREEHigh Temperatures: Stay in Control! 🌡️ How can you distinguish a normal increase in energy consumption from a genuine energy performance issue? During a heatwave, air-conditioning systems are heavily used. An increase in energy consumption is therefore...

A flexible architecture for multisite environments

BLOG > AREE🔷 A Flexible Architecture for MULTISITE Environments 🔷Designed to meet the needs of both single-site and multisite infrastructures, AREE adapts to every configuration thanks to its modular, scalable architecture, fully compatible with all environments —...

AREE is 100% multisite compatible!

BLOG > AREEStop preconceived ideas: YES, AREE is 100% multisite compatible! Contrary to some circulating rumors… AREE has been perfectly managing multisite installations for years! 🔄🏢 We wanted to set the record straight for our clients, integrators, and partners:...

AREE Building at the Etoile Saint-Honoré business center

BLOG > NOUVEAUX PROJETSThe launch of "energy monitoring" project with AREE Building at a very prestigious Parisian building ETOILE SAINT HONORE The Etoile Saint-Honoré business center is ideally located between Place de l'Etoile and Parc Monceau. It is a stone's...

First AREE Datacenter license in Algeria

BLOG > NEW PROJECTSThanks to BSM Data, which signs the first AREE Datacenter license in Algeria. Beyond its sustained activity in France, Borfine Samba and her team continue to develop in French-speaking African markets. BSM Data distributes and integrates...

Municipality of Mamer – Pilot in the use of energy accounting

BLOG > NEW PROJECTSConsumption under the magnifying glassIt is not always easy to have a precise vision of your consumption of water, gas, electricity or even pellets, especially for municipalities that manage dozens of buildings with their own specificities....

← Back to blog – news