Website

Github

Mailing List

Wiki

Roadmap

Calendar

FlexMeasures is the intelligent and developer-friendly EMS to support real-time energy flexibility apps, rapidly and scalable.

When we use a lot of renewable energy, flexibility is becoming crucial and valuable, e.g. for demand response. FlexMeasures is a real-time decision support platform (project operation), but also highly effective as a simulation tool (project design).

The problem it helps to solve is:

What are the best times to run flexible assets, like batteries, heat pumps or industry processes?

In a nutshell, FlexMeasures turns data into optimized schedules for flexible assets:

Why? Planning ahead allows flexible assets to serve the whole system with their flexibility, e.g. by shifting energy consumption to other times. For the asset owners, this creates CO₂ savings but also monetary value (e.g. through self-consumption, dynamic tariffs and grid incentives).

Developing apps & services around energy flexibility is expensive work. FlexMeasures is designed to be developer-friendly, which helps you to go to market quickly, while keeping the costs of software development at bay. FlexMeasures supports:

  • Real-time data integration & intelligence
  • Model data well ― units, time resolution & uncertainty (of forecasts)
  • Faster app-building (API/UI/CLI, plugin & multi-tenancy support)

As for use cases, here are a few relevant areas in which FlexMeasures can help you:

  • E-mobility (smart EV charging, V2G, V2H)
  • Heating (heat pump control)
  • Industry (best running times for processes with buffering capacity)

You decide what to optimize for ― prices, CO₂, peaks.

It becomes even more interesting to use FlexMeasures in integrated scenarios with increased complexity. For example, in modern domestic/office settings in the built environment which combine solar panels, electric heating and EV charging, in industry settings that optimize for self-consumption of local solar panels, or when consumers can engage with multiple markets simultaneously.
In these cases, our goal is that FlexMeasures helps you to achieve “value stacking”, which is often required to achieve a positive business case. Multiple sources of value can combine with multiple types of assets.

As possible users, we see energy service companies (ESCos) who want to build real-time apps & services around energy flexibility for their customers, or medium/large industrials who are looking for support in their internal digital tooling. However, even small companies and hobby projects might find FlexMeasures useful! We are constantly improving the ease of use.

FlexMeasures can be used as your EMS, but it can also integrate with existing systems as a smart backend, or as an add-on to deal with energy flexibility specifically.

FlexMeasures Videos

This video was originally posted at https://fosdem.org/2025/schedule/event/fosdem-2025-6109-overcoming-the-chicken-and-egg-problem-from-the-battlelines-of-the-s2-energy-flexibility-protocol-adoption/ and is provided by FOSDEM under the Creative Commons Attribution 2.0 Belgium Licence. To view a copy of this licence, visit http://creativecommons.org/licenses/by/2.0/be/deed.en

Abstract:
Open communication protocols and open source software go hand in hand and fuel each other. But there is a potential chicken-and-egg problem: Should the OEMs support it first, or are they waiting for widespread support of the protocol in EMS implementations (who are hesitant if the OEMs don't support it)?

The only forward is to start showing real solutions and implementations with front-runners from both sides. Then, these smaller showcases can become an avalanche and lift the sector up in an open way. Both steps are difficult and need partnerships.

Energy flexibility optimization behind the meter is already deployed in practice. However, networking protocols and definitions of flexibility are used which are not standardized and not openly available. This makes building new solutions with new flexible energy assets (like EVs, batteries, heat pumps and also solar inverters) a chore and drives up costs. Each new energy asset (or new brand) has to be integrated with their specific protocols and patterns. New protocols attempt to standardize these concepts, such as the S2 protocol. It targets an international audience for both existing and new/future energy assets. See https://s2standard.org/

S2 is approved as European standard, but the next batteline is to showcase that implementations can work and that both sides, OEMs and EMS, are willing to get to work. Open source implementations will provide building blocks and serve as reference.

This presentation will show the efforts and experiences of two different consortia, from different implementation projects, with adopting the protocol and creating tools to spur adoption by other innovators and OEMs. Of course, we will also briefly outline the protocol itself, and address differences and shared features in other existing protocols in this space, like EEBus and OpenADR.

We hope this talk can spur more interest and collaboration in this space and towards a lift for open efforts in the industry.

Join our presentation if you want to learn more about protocol standardization efforts within the energy transition and S2 specifically!

Speakers:
Nicolas Höning, Seita Energy Flexibility 17:59

This video was originally posted at https://fosdem.org/2025/schedule/event/fosdem-2025-6109-overcoming-the-chicken-and-egg-problem-from-the-battlelines-of-the-s2-energy-flexibility-protocol-adoption/ and is provided by FOSDEM under the Creative Commons Attribution 2.0 Belgium Licence. To view a copy of this licence, visit http://creativecommons.org/licenses/by/2.0/be/deed.en

Abstract:
Open communication protocols and open source software go hand in hand and fuel each other. But there is a potential chicken-and-egg problem: Should the OEMs support it first, or are they waiting for widespread support of the protocol in EMS implementations (who are hesitant if the OEMs don't support it)?

The only forward is to start showing real solutions and implementations with front-runners from both sides. Then, these smaller showcases can become an avalanche and lift the sector up in an open way. Both steps are difficult and need partnerships.

Energy flexibility optimization behind the meter is already deployed in practice. However, networking protocols and definitions of flexibility are used which are not standardized and not openly available. This makes building new solutions with new flexible energy assets (like EVs, batteries, heat pumps and also solar inverters) a chore and drives up costs. Each new energy asset (or new brand) has to be integrated with their specific protocols and patterns. New protocols attempt to standardize these concepts, such as the S2 protocol. It targets an international audience for both existing and new/future energy assets. See https://s2standard.org/

S2 is approved as European standard, but the next batteline is to showcase that implementations can work and that both sides, OEMs and EMS, are willing to get to work. Open source implementations will provide building blocks and serve as reference.

This presentation will show the efforts and experiences of two different consortia, from different implementation projects, with adopting the protocol and creating tools to spur adoption by other innovators and OEMs. Of course, we will also briefly outline the protocol itself, and address differences and shared features in other existing protocols in this space, like EEBus and OpenADR.

We hope this talk can spur more interest and collaboration in this space and towards a lift for open efforts in the industry.

Join our presentation if you want to learn more about protocol standardization efforts within the energy transition and S2 specifically!

Speakers:
Nicolas Höning, Seita Energy Flexibility

YouTube Video UExLeUZmMUo5WGtwdHNXLTAzZ0VRaVFUaTRzSEZoQ2NyNS41MjE1MkI0OTQ2QzJGNzNG

FOSDEM 2025 Energy Devroom: From the battlelines of the S2 energy flexibility protocol adoption

February 14, 2025 11:12 am

Knowledge Transfer Between Past to Current Projects - from Interflex to FlexMeasures- Nicolas Höning

September 25, 2024 4:02 pm

This video was originally posted to https://fosdem.org/2024/schedule/event/fosdem-2024-2509-using-flexmeasures-to-build-a-climate-tech-startup-in-15-minutes/. Thank you to FOSDEM for sharing under CC-BY-2.0-BE-DEED (http://creativecommons.org/licenses/by/2.0/be/deed.en).

FlexMeasures is the intelligent & developer-friendly EMS to support real-time energy flexibility apps, rapidly and scalable.

In this talk, presented by Nicolas Höning of Seita, we want to focus on the "developer-friendly" part, and demonstrate the steps it takes to turn FlexMeasures into a smart backend, for instance to power the intelligent scheduling in your new climate tech startup! (you can also tinker with this at home, of course)

In this highly relevant example, we assume you control the heating for your customers' buildings. There is a heat pump and solar panels. You promise your customers to heat their home with their own solar power if possible. You even promise to use the cheapest grid power when the sun isn't shining. Green building, low energy bill!

Our tutorial will turn this promise into reality ― in any case, the data-driven optimal computations you'd need (measuring and on/off control of hardware not included).

FlexMeasures is a Flask web server, so this tutorial will use Python. We will use the FlexMeasures API, but also its CLI and the Python client ― the possibilities are rich. We also show how to add custom logic in a FlexMeasures plugin.

In short, we will:
-create a new customer account with the relevant asset models for this use case (via a new API endpoint, e.g. called from your CRM)
-feed local measurements (e.g. solar, temperature) regularly into your FlexMeasures server, using the FlexMeasures Python client
-get the latest price and weather forecast data from third-party-APIs (regularly via cron jobs), using existing FlexMeasures plugins
-create forecasts for solar data and prices (regularly via cron jobs)
-call the FlexMeasures scheduler to compute when to draw green & cheap electricity for heating (via the FlexMeasures API) which you can out to use in the building
-define a cost reporter and let it run (regularly via cron jobs)
-configure a FlexMeasures dashboard to show the relevant data in one place

Learn more about the LF Energy FlexMeasures Project at https://lfenergy.org/projects/flexmeasures/. 16:19

This video was originally posted to https://fosdem.org/2024/schedule/event/fosdem-2024-2509-using-flexmeasures-to-build-a-climate-tech-startup-in-15-minutes/. Thank you to FOSDEM for sharing under CC-BY-2.0-BE-DEED (http://creativecommons.org/licenses/by/2.0/be/deed.en).

FlexMeasures is the intelligent & developer-friendly EMS to support real-time energy flexibility apps, rapidly and scalable.

In this talk, presented by Nicolas Höning of Seita, we want to focus on the "developer-friendly" part, and demonstrate the steps it takes to turn FlexMeasures into a smart backend, for instance to power the intelligent scheduling in your new climate tech startup! (you can also tinker with this at home, of course)

In this highly relevant example, we assume you control the heating for your customers' buildings. There is a heat pump and solar panels. You promise your customers to heat their home with their own solar power if possible. You even promise to use the cheapest grid power when the sun isn't shining. Green building, low energy bill!

Our tutorial will turn this promise into reality ― in any case, the data-driven optimal computations you'd need (measuring and on/off control of hardware not included).

FlexMeasures is a Flask web server, so this tutorial will use Python. We will use the FlexMeasures API, but also its CLI and the Python client ― the possibilities are rich. We also show how to add custom logic in a FlexMeasures plugin.

In short, we will:
-create a new customer account with the relevant asset models for this use case (via a new API endpoint, e.g. called from your CRM)
-feed local measurements (e.g. solar, temperature) regularly into your FlexMeasures server, using the FlexMeasures Python client
-get the latest price and weather forecast data from third-party-APIs (regularly via cron jobs), using existing FlexMeasures plugins
-create forecasts for solar data and prices (regularly via cron jobs)
-call the FlexMeasures scheduler to compute when to draw green & cheap electricity for heating (via the FlexMeasures API) which you can out to use in the building
-define a cost reporter and let it run (regularly via cron jobs)
-configure a FlexMeasures dashboard to show the relevant data in one place

Learn more about the LF Energy FlexMeasures Project at https://lfenergy.org/projects/flexmeasures/.

YouTube Video UExLeUZmMUo5WGtwdHNXLTAzZ0VRaVFUaTRzSEZoQ2NyNS4wMTcyMDhGQUE4NTIzM0Y5

FOSDEM 2024 Energy Devroom - Using FlexMeasures to Build a Climate Tech Startup in 15 Minutes

February 14, 2024 3:54 pm

Recent FlexMeasures News

Upcoming Meetings

View the meeting calendar

View the calendar of all LF Energy events

Project Special Interest Group: Grid Operations

Project Lifecycle Stage: Incubation