# Grid: Classical mathematics solves the green ...

Everyone talks about AI and machine learning, but a demo project with a water tower shows that a model with stochastic differential equations can describe energy flexibility surprisingly well with just a few intuitive parameters.

If the CO2 emission is to be reduced, the proportion of renewable energy sources must be significantly increased. If at the same time, the cost of the green transition is to be kept down efficiently, there is a great need for energy flexibility on the part of consumers, so that they use electricity when there is plenty of green energy in the electricity grid. And here is the price of electricity a co-player.

Rune Grønborg Junker, Postdoc at DTU Compute, together with colleagues and with the help of Grundfos, has found an intuitive way in which mathematical models describe how energy-flexible consumers react to electricity prices. While many focus on AI and machine learning, the researchers here have returned to classical mathematics to find the answer.

– At AI, you do a lot, but you don’t quite know what happens. Here we have done something intuitive that makes sense. When we test our model, we can understand the things we see because we apply stochastic differential equations. The differential equations describe how people behave on average. While the stochastic part describes how in practice there is a degree of uncertainty in how people actually consume energy. You could say that this is a kind of formulating physical laws for energy, says Rune Grønborg Junker.

– Right now, though, AI doesn’t work at all for such a description either. It may be that it’s going to do it sometime, but we’re nowhere near having something that works. This, on the other hand, is something that works now. In addition, AI should estimate maybe 500 numbers, here just eight numbers. It makes a significant difference to the robustness, he says.

Uses water tower as an electricity consumer

In the demo project, Rune Grønborg Junker and the team at DTU Compute have used a water tower at Grundfos to investigate price-based management of flexibility.

Grundfos has implemented a controller based on the energy price in the water tower. The price of electricity helps to control how much water they will have to pump up in the tower, so that there is enough water for those who need it, but then you pump it up with the electric pumps as cheaply as possible. The water tower here symbolizes the ordinary consumer.

The Rune Grønborg team has based on real data from the water tower, found the connection between electricity prices and electricity consumption. They have successfully described this relationship using a model of stochastic differential equations. By predicting consumption based on this model, they have calculated how to turn up and down the electricity price to control the water tower’s electricity consumption so that it fell most appropriately.

The result showed that if the owner of the water tower could predict the future 100 %, then by buying into the Scandinavian spot market, the owner could save 5.4% on the electricity bill. By contrast, using DTU Compute’s model would save 4.1%, but at the same time, that simulation is true to reality.

– As such, savings of either 5.4% or 4.1% in energy flexibility don’t count. For it will be impossible to predict the future 100%. We have focused on showing that using the model can take advantage of flexibility 76%, so it is reasonably close to being as efficient as it can be. If we focus more on optimizing the model, we must expect the result to be even better, says Rune Grønborg Junker.

Examines the possibilities of energy flexibility in the balance markets

The water tower is a simple system where the dynamics are controlled. Once the tower is completely filled, there is no room for more water.

– Therefore, there is virtually no difference between reality and simulation. And we have used real data from the water tower, so it should be easy to use the model in real life. Just as it fits, for example, the battery in an electric car, which must also be discharged when it is filled up completely, because there is then no room for more, says Rune Grønborg Junker.

In this project, we have chosen to focus on the simplest market, namely the spot market, but it is expected that there is more value in using energy flexibility in the balance markets. The team is therefore now investigating the possibilities there.

DTU Compute and Grundfos are the first to test price management for flexibility in this way. The demo project is based on the work Rune Grønborg Junker has done in his PhD, which he defended in February 2020.

The demonstration project is mainly paid by the Innovation Fund Denmark through the CITIES project (Centre for IT–Intelligent Energy Systems) and the FED project; Flexible Energy Denmark. Grundfos and Bjerringbro Community Waterworks are responsible for data on the water tower. The results of the test case have just been published in the journal Applied Energy. Learn more here

##### Contact
Article location: https://www.citiesinnovation.org/classical-mathematics-still-solves-the-challenges-of-the-green-transition-at-the-grid/

## Solution#2: Analysis of Heating Data

The solution for analysis of heating data is an analytical tool for treating and integrating of big data collected from smart meters, socio-economic data, energy informations and building models. This treatment tool enables to quantify and characterize energy consumption of entire districts and cities.

## Solution#5: Energy demand modelling in buildi...

The solution “Energy demand modeling in buildings” offers methodologies for the modeling of energy demand and flexibility potentials for whole districts and cities. It includes a tool for bottom-up classification of buildings in a given area into certain types, which can be sum up and modeled by aggregation to ensure higher energy flexibility.

## Hong Kong: CITIES model for Energy Systems in...

These weeks, Hong Kong is massive in the media due to major demonstrations and unrest in the city, but life in the city continues alongside. Last week, PhD student Hjørdis Amanda Schlüter and Professor John Bagterp, both affiliated with CITIES and the Smart Cities Accelerator at DTU Compute, attended the IEEE CCTA 2019 (Conference on …